| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="apim_v1alpha.html">API Management API</a> . <a href="apim_v1alpha.projects.html">projects</a> . <a href="apim_v1alpha.projects.locations.html">locations</a> . <a href="apim_v1alpha.projects.locations.observationJobs.html">observationJobs</a> . <a href="apim_v1alpha.projects.locations.observationJobs.apiObservations.html">apiObservations</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="apim_v1alpha.projects.locations.observationJobs.apiObservations.apiOperations.html">apiOperations()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the apiOperations Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="#batchEditTags">batchEditTags(parent, body=None, x__xgafv=None)</a></code></p> |
| 84 |
<p class="firstline">BatchEditTagsApiObservations adds or removes Tags for ApiObservations.</p> |
| 85 |
<p class="toc_element"> |
| 86 |
<code><a href="#close">close()</a></code></p> |
| 87 |
<p class="firstline">Close httplib2 connections.</p> |
| 88 |
<p class="toc_element"> |
| 89 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 90 |
<p class="firstline">GetApiObservation retrieves a single ApiObservation by name.</p> |
| 91 |
<p class="toc_element"> |
| 92 |
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 93 |
<p class="firstline">ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.</p> |
| 94 |
<p class="toc_element"> |
| 95 |
<code><a href="#list_next">list_next()</a></code></p> |
| 96 |
<p class="firstline">Retrieves the next page of results.</p> |
| 97 |
<h3>Method Details</h3> |
| 98 |
<div class="method"> |
| 99 |
<code class="details" id="batchEditTags">batchEditTags(parent, body=None, x__xgafv=None)</code> |
| 100 |
<pre>BatchEditTagsApiObservations adds or removes Tags for ApiObservations. |
| 101 |
|
| 102 |
Args: |
| 103 |
parent: string, Required. The parent resource shared by all ApiObservations being edited. Format: projects/{project}/locations/{location}/observationJobs/{observation_job} (required) |
| 104 |
body: object, The request body. |
| 105 |
The object takes the form of: |
| 106 |
|
| 107 |
{ # Message for requesting batch edit tags for ApiObservations |
| 108 |
"requests": [ # Required. The request message specifying the resources to update. A maximum of 1000 apiObservations can be modified in a batch. |
| 109 |
{ # Message for requesting edit tags for ApiObservation |
| 110 |
"apiObservationId": "A String", # Required. Identifier of ApiObservation need to be edit tags Format example: "apigee.googleapis.com|us-west1|443" |
| 111 |
"tagActions": [ # Required. Tag actions to be applied |
| 112 |
{ # Message for edit tag action |
| 113 |
"action": "A String", # Required. Action to be applied |
| 114 |
"tag": "A String", # Required. Tag to be added or removed |
| 115 |
}, |
| 116 |
], |
| 117 |
}, |
| 118 |
], |
| 119 |
} |
| 120 |
|
| 121 |
x__xgafv: string, V1 error format. |
| 122 |
Allowed values |
| 123 |
1 - v1 error format |
| 124 |
2 - v2 error format |
| 125 |
|
| 126 |
Returns: |
| 127 |
An object of the form: |
| 128 |
|
| 129 |
{ # Message for response to edit Tags for ApiObservations |
| 130 |
"apiObservations": [ # ApiObservations that were changed |
| 131 |
{ # Message describing ApiObservation object |
| 132 |
"apiOperationCount": "A String", # The number of observed API Operations. |
| 133 |
"createTime": "A String", # Create time stamp |
| 134 |
"hostname": "A String", # The hostname of requests processed for this Observation. |
| 135 |
"lastEventDetectedTime": "A String", # Last event detected time stamp |
| 136 |
"name": "A String", # Identifier. Name of resource |
| 137 |
"serverIps": [ # The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. |
| 138 |
"A String", |
| 139 |
], |
| 140 |
"sourceLocations": [ # Location of the Observation Source, for example "us-central1" or "europe-west1." |
| 141 |
"A String", |
| 142 |
], |
| 143 |
"style": "A String", # Style of ApiObservation |
| 144 |
"tags": [ # User-defined tags to organize and sort |
| 145 |
"A String", |
| 146 |
], |
| 147 |
"updateTime": "A String", # Update time stamp |
| 148 |
}, |
| 149 |
], |
| 150 |
}</pre> |
| 151 |
</div> |
| 152 |
|
| 153 |
<div class="method"> |
| 154 |
<code class="details" id="close">close()</code> |
| 155 |
<pre>Close httplib2 connections.</pre> |
| 156 |
</div> |
| 157 |
|
| 158 |
<div class="method"> |
| 159 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 160 |
<pre>GetApiObservation retrieves a single ApiObservation by name. |
| 161 |
|
| 162 |
Args: |
| 163 |
name: string, Required. The name of the ApiObservation to retrieve. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}/apiObservations/{api_observation} (required) |
| 164 |
x__xgafv: string, V1 error format. |
| 165 |
Allowed values |
| 166 |
1 - v1 error format |
| 167 |
2 - v2 error format |
| 168 |
|
| 169 |
Returns: |
| 170 |
An object of the form: |
| 171 |
|
| 172 |
{ # Message describing ApiObservation object |
| 173 |
"apiOperationCount": "A String", # The number of observed API Operations. |
| 174 |
"createTime": "A String", # Create time stamp |
| 175 |
"hostname": "A String", # The hostname of requests processed for this Observation. |
| 176 |
"lastEventDetectedTime": "A String", # Last event detected time stamp |
| 177 |
"name": "A String", # Identifier. Name of resource |
| 178 |
"serverIps": [ # The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. |
| 179 |
"A String", |
| 180 |
], |
| 181 |
"sourceLocations": [ # Location of the Observation Source, for example "us-central1" or "europe-west1." |
| 182 |
"A String", |
| 183 |
], |
| 184 |
"style": "A String", # Style of ApiObservation |
| 185 |
"tags": [ # User-defined tags to organize and sort |
| 186 |
"A String", |
| 187 |
], |
| 188 |
"updateTime": "A String", # Update time stamp |
| 189 |
}</pre> |
| 190 |
</div> |
| 191 |
|
| 192 |
<div class="method"> |
| 193 |
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 194 |
<pre>ListApiObservations gets all ApiObservations for a given project and location and ObservationJob. |
| 195 |
|
| 196 |
Args: |
| 197 |
parent: string, Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job} (required) |
| 198 |
pageSize: integer, Optional. The maximum number of ApiObservations to return. The service may return fewer than this value. If unspecified, at most 10 ApiObservations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| 199 |
pageToken: string, Optional. A page token, received from a previous `ListApiObservations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListApiObservations` must match the call that provided the page token. |
| 200 |
x__xgafv: string, V1 error format. |
| 201 |
Allowed values |
| 202 |
1 - v1 error format |
| 203 |
2 - v2 error format |
| 204 |
|
| 205 |
Returns: |
| 206 |
An object of the form: |
| 207 |
|
| 208 |
{ # Message for response to listing ApiObservations |
| 209 |
"apiObservations": [ # The ApiObservation from the specified project and location and ObservationJobs. |
| 210 |
{ # Message describing ApiObservation object |
| 211 |
"apiOperationCount": "A String", # The number of observed API Operations. |
| 212 |
"createTime": "A String", # Create time stamp |
| 213 |
"hostname": "A String", # The hostname of requests processed for this Observation. |
| 214 |
"lastEventDetectedTime": "A String", # Last event detected time stamp |
| 215 |
"name": "A String", # Identifier. Name of resource |
| 216 |
"serverIps": [ # The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. |
| 217 |
"A String", |
| 218 |
], |
| 219 |
"sourceLocations": [ # Location of the Observation Source, for example "us-central1" or "europe-west1." |
| 220 |
"A String", |
| 221 |
], |
| 222 |
"style": "A String", # Style of ApiObservation |
| 223 |
"tags": [ # User-defined tags to organize and sort |
| 224 |
"A String", |
| 225 |
], |
| 226 |
"updateTime": "A String", # Update time stamp |
| 227 |
}, |
| 228 |
], |
| 229 |
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| 230 |
}</pre> |
| 231 |
</div> |
| 232 |
|
| 233 |
<div class="method"> |
| 234 |
<code class="details" id="list_next">list_next()</code> |
| 235 |
<pre>Retrieves the next page of results. |
| 236 |
|
| 237 |
Args: |
| 238 |
previous_request: The request for the previous page. (required) |
| 239 |
previous_response: The response from the request for the previous page. (required) |
| 240 |
|
| 241 |
Returns: |
| 242 |
A request object that you can call 'execute()' on to request the next |
| 243 |
page. Returns None if there are no more items in the collection. |
| 244 |
</pre> |
| 245 |
</div> |
| 246 |
|
| 247 |
</body></html> |