| 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="apihub_v1.html">API hub API</a> . <a href="apihub_v1.projects.html">projects</a> . <a href="apihub_v1.projects.locations.html">locations</a> . <a href="apihub_v1.projects.locations.discoveredApiObservations.html">discoveredApiObservations</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="apihub_v1.projects.locations.discoveredApiObservations.discoveredApiOperations.html">discoveredApiOperations()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the discoveredApiOperations Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="#close">close()</a></code></p> |
| 84 |
<p class="firstline">Close httplib2 connections.</p> |
| 85 |
<p class="toc_element"> |
| 86 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 87 |
<p class="firstline">Gets a DiscoveredAPIObservation in a given project, location and ApiObservation.</p> |
| 88 |
<p class="toc_element"> |
| 89 |
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 90 |
<p class="firstline">Lists all the DiscoveredAPIObservations in a given project and location.</p> |
| 91 |
<p class="toc_element"> |
| 92 |
<code><a href="#list_next">list_next()</a></code></p> |
| 93 |
<p class="firstline">Retrieves the next page of results.</p> |
| 94 |
<h3>Method Details</h3> |
| 95 |
<div class="method"> |
| 96 |
<code class="details" id="close">close()</code> |
| 97 |
<pre>Close httplib2 connections.</pre> |
| 98 |
</div> |
| 99 |
|
| 100 |
<div class="method"> |
| 101 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 102 |
<pre>Gets a DiscoveredAPIObservation in a given project, location and ApiObservation. |
| 103 |
|
| 104 |
Args: |
| 105 |
name: string, Required. The name of the DiscoveredApiObservation to retrieve. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} (required) |
| 106 |
x__xgafv: string, V1 error format. |
| 107 |
Allowed values |
| 108 |
1 - v1 error format |
| 109 |
2 - v2 error format |
| 110 |
|
| 111 |
Returns: |
| 112 |
An object of the form: |
| 113 |
|
| 114 |
{ # Respresents an API Observation observed in one of the sources. |
| 115 |
"apiOperationCount": "A String", # Optional. The number of observed API Operations. |
| 116 |
"createTime": "A String", # Output only. Create time stamp of the observation in API Hub. |
| 117 |
"hostname": "A String", # Optional. The hostname of requests processed for this Observation. |
| 118 |
"knownOperationsCount": "A String", # Output only. The number of known API Operations. |
| 119 |
"lastEventDetectedTime": "A String", # Optional. Last event detected time stamp |
| 120 |
"name": "A String", # Identifier. The name of the discovered API Observation. Format: `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}` |
| 121 |
"origin": "A String", # Optional. For an observation pushed from a Google Cloud resource, this would be the Google Cloud project id. |
| 122 |
"serverIps": [ # Optional. 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"`. |
| 123 |
"A String", |
| 124 |
], |
| 125 |
"sourceLocations": [ # Optional. The location of the observation source. |
| 126 |
"A String", |
| 127 |
], |
| 128 |
"sourceMetadata": { # SourceMetadata represents the metadata for a resource at the source. # Output only. The metadata of the source from which the observation was collected. |
| 129 |
"originalResourceCreateTime": "A String", # Output only. The time at which the resource was created at the source. |
| 130 |
"originalResourceId": "A String", # Output only. The unique identifier of the resource at the source. |
| 131 |
"originalResourceUpdateTime": "A String", # Output only. The time at which the resource was last updated at the source. |
| 132 |
"pluginInstanceActionSource": { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action. |
| 133 |
"actionId": "A String", # Output only. The id of the plugin instance action. |
| 134 |
"pluginInstance": "A String", # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` |
| 135 |
}, |
| 136 |
"sourceType": "A String", # Output only. The type of the source. |
| 137 |
}, |
| 138 |
"sourceTypes": [ # Optional. The type of the source from which the observation was collected. |
| 139 |
"A String", |
| 140 |
], |
| 141 |
"style": "A String", # Optional. Style of ApiObservation |
| 142 |
"unknownOperationsCount": "A String", # Output only. The number of unknown API Operations. |
| 143 |
"updateTime": "A String", # Output only. Update time stamp of the observation in API Hub. |
| 144 |
}</pre> |
| 145 |
</div> |
| 146 |
|
| 147 |
<div class="method"> |
| 148 |
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 149 |
<pre>Lists all the DiscoveredAPIObservations in a given project and location. |
| 150 |
|
| 151 |
Args: |
| 152 |
parent: string, Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location} (required) |
| 153 |
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. |
| 154 |
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. |
| 155 |
x__xgafv: string, V1 error format. |
| 156 |
Allowed values |
| 157 |
1 - v1 error format |
| 158 |
2 - v2 error format |
| 159 |
|
| 160 |
Returns: |
| 161 |
An object of the form: |
| 162 |
|
| 163 |
{ # Message for response to listing DiscoveredApiObservations |
| 164 |
"discoveredApiObservations": [ # The DiscoveredApiObservation from the specified project and location. |
| 165 |
{ # Respresents an API Observation observed in one of the sources. |
| 166 |
"apiOperationCount": "A String", # Optional. The number of observed API Operations. |
| 167 |
"createTime": "A String", # Output only. Create time stamp of the observation in API Hub. |
| 168 |
"hostname": "A String", # Optional. The hostname of requests processed for this Observation. |
| 169 |
"knownOperationsCount": "A String", # Output only. The number of known API Operations. |
| 170 |
"lastEventDetectedTime": "A String", # Optional. Last event detected time stamp |
| 171 |
"name": "A String", # Identifier. The name of the discovered API Observation. Format: `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}` |
| 172 |
"origin": "A String", # Optional. For an observation pushed from a Google Cloud resource, this would be the Google Cloud project id. |
| 173 |
"serverIps": [ # Optional. 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"`. |
| 174 |
"A String", |
| 175 |
], |
| 176 |
"sourceLocations": [ # Optional. The location of the observation source. |
| 177 |
"A String", |
| 178 |
], |
| 179 |
"sourceMetadata": { # SourceMetadata represents the metadata for a resource at the source. # Output only. The metadata of the source from which the observation was collected. |
| 180 |
"originalResourceCreateTime": "A String", # Output only. The time at which the resource was created at the source. |
| 181 |
"originalResourceId": "A String", # Output only. The unique identifier of the resource at the source. |
| 182 |
"originalResourceUpdateTime": "A String", # Output only. The time at which the resource was last updated at the source. |
| 183 |
"pluginInstanceActionSource": { # PluginInstanceActionSource represents the plugin instance action source. # Output only. The source of the resource is a plugin instance action. |
| 184 |
"actionId": "A String", # Output only. The id of the plugin instance action. |
| 185 |
"pluginInstance": "A String", # Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` |
| 186 |
}, |
| 187 |
"sourceType": "A String", # Output only. The type of the source. |
| 188 |
}, |
| 189 |
"sourceTypes": [ # Optional. The type of the source from which the observation was collected. |
| 190 |
"A String", |
| 191 |
], |
| 192 |
"style": "A String", # Optional. Style of ApiObservation |
| 193 |
"unknownOperationsCount": "A String", # Output only. The number of unknown API Operations. |
| 194 |
"updateTime": "A String", # Output only. Update time stamp of the observation in API Hub. |
| 195 |
}, |
| 196 |
], |
| 197 |
"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. |
| 198 |
}</pre> |
| 199 |
</div> |
| 200 |
|
| 201 |
<div class="method"> |
| 202 |
<code class="details" id="list_next">list_next()</code> |
| 203 |
<pre>Retrieves the next page of results. |
| 204 |
|
| 205 |
Args: |
| 206 |
previous_request: The request for the previous page. (required) |
| 207 |
previous_response: The response from the request for the previous page. (required) |
| 208 |
|
| 209 |
Returns: |
| 210 |
A request object that you can call 'execute()' on to request the next |
| 211 |
page. Returns None if there are no more items in the collection. |
| 212 |
</pre> |
| 213 |
</div> |
| 214 |
|
| 215 |
</body></html> |