Debian Codegraph @

docs/dyn/networkmanagement_v1.projects.locations.networkMonitoringProviders.html

raw
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="networkmanagement_v1.html">Network Management API</a> . <a href="networkmanagement_v1.projects.html">projects</a> . <a href="networkmanagement_v1.projects.locations.html">locations</a> . <a href="networkmanagement_v1.projects.locations.networkMonitoringProviders.html">networkMonitoringProviders</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="networkmanagement_v1.projects.locations.networkMonitoringProviders.monitoringPoints.html">monitoringPoints()</a></code>
79 </p>
80 <p class="firstline">Returns the monitoringPoints Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="networkmanagement_v1.projects.locations.networkMonitoringProviders.networkPaths.html">networkPaths()</a></code>
84 </p>
85 <p class="firstline">Returns the networkPaths Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="networkmanagement_v1.projects.locations.networkMonitoringProviders.webPaths.html">webPaths()</a></code>
89 </p>
90 <p class="firstline">Returns the webPaths Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="#close">close()</a></code></p>
94 <p class="firstline">Close httplib2 connections.</p>
95 <p class="toc_element">
96 <code><a href="#create">create(parent, body=None, networkMonitoringProviderId=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Creates a NetworkMonitoringProvider resource.</p>
98 <p class="toc_element">
99 <code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Deletes a NetworkMonitoringProvider resource and all of its child resources.</p>
101 <p class="toc_element">
102 <code><a href="#generateMonitoringPointConfig">generateMonitoringPointConfig(name, privateConnectivityEnabled=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Generates Monitoring Point configuration of a NetworkMonitoringProvider resource.</p>
104 <p class="toc_element">
105 <code><a href="#generateProviderAccessToken">generateProviderAccessToken(name, gcpAccessToken=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform.</p>
107 <p class="toc_element">
108 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
109 <p class="firstline">Gets the NetworkMonitoringProvider resource.</p>
110 <p class="toc_element">
111 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Lists NetworkMonitoringProviders for a given project and location.</p>
113 <p class="toc_element">
114 <code><a href="#list_next">list_next()</a></code></p>
115 <p class="firstline">Retrieves the next page of results.</p>
116 <h3>Method Details</h3>
117 <div class="method">
118 <code class="details" id="close">close()</code>
119 <pre>Close httplib2 connections.</pre>
120 </div>
121
122 <div class="method">
123 <code class="details" id="create">create(parent, body=None, networkMonitoringProviderId=None, x__xgafv=None)</code>
124 <pre>Creates a NetworkMonitoringProvider resource.
125
126 Args:
127 parent: string, Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: projects/{project}/locations/{location} (required)
128 body: object, The request body.
129 The object takes the form of:
130
131 { # Message describing NetworkMonitoringProvider resource.
132 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the NetworkMonitoringProvider was created.
133 &quot;errors&quot;: [ # Output only. The list of error messages detected for the NetworkMonitoringProvider.
134 &quot;A String&quot;,
135 ],
136 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}`
137 &quot;providerType&quot;: &quot;A String&quot;, # Required. Type of the NetworkMonitoringProvider.
138 &quot;providerUri&quot;: &quot;A String&quot;, # Output only. Link to the provider&#x27;s UI.
139 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the NetworkMonitoringProvider.
140 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the NetworkMonitoringProvider was updated.
141 }
142
143 networkMonitoringProviderId: string, Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final component of the NetworkMonitoringProvider resource&#x27;s name.
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # This resource represents a long-running operation that is the result of a network API call.
153 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
154 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
155 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
156 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
157 {
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 ],
161 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
162 },
163 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
167 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
168 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
169 },
170 }</pre>
171 </div>
172
173 <div class="method">
174 <code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code>
175 <pre>Deletes a NetworkMonitoringProvider resource and all of its child resources.
176
177 Args:
178 name: string, Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} (required)
179 force: boolean, Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there are no nested resources.
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # This resource represents a long-running operation that is the result of a network API call.
189 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
190 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
193 {
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 ],
197 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
198 },
199 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
203 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205 },
206 }</pre>
207 </div>
208
209 <div class="method">
210 <code class="details" id="generateMonitoringPointConfig">generateMonitoringPointConfig(name, privateConnectivityEnabled=None, x__xgafv=None)</code>
211 <pre>Generates Monitoring Point configuration of a NetworkMonitoringProvider resource.
212
213 Args:
214 name: string, Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} (required)
215 privateConnectivityEnabled: boolean, Optional. For Google Cloud MPs, this field indicates whether the Monitoring Point is deployed in a Private Service Connect deployment. Not used for non-Google Cloud MPs.
216 x__xgafv: string, V1 error format.
217 Allowed values
218 1 - v1 error format
219 2 - v2 error format
220
221 Returns:
222 An object of the form:
223
224 { # Message for response for getting Monitoring Point configuration of a NetworkMonitoringProvider resource.
225 &quot;config&quot;: { # The Monitoring Point configuration of the provider in JSON format.
226 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
227 },
228 }</pre>
229 </div>
230
231 <div class="method">
232 <code class="details" id="generateProviderAccessToken">generateProviderAccessToken(name, gcpAccessToken=None, x__xgafv=None)</code>
233 <pre>Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider&#x27;s platform.
234
235 Args:
236 name: string, Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} (required)
237 gcpAccessToken: string, Required. Google access token.
238 x__xgafv: string, V1 error format.
239 Allowed values
240 1 - v1 error format
241 2 - v2 error format
242
243 Returns:
244 An object of the form:
245
246 { # Message for response for generating an access token for a NetworkMonitoringProvider resource.
247 &quot;providerAccessToken&quot;: &quot;A String&quot;, # Provider access token for the NetworkMonitoringProvider resource.
248 }</pre>
249 </div>
250
251 <div class="method">
252 <code class="details" id="get">get(name, x__xgafv=None)</code>
253 <pre>Gets the NetworkMonitoringProvider resource.
254
255 Args:
256 name: string, Required. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` (required)
257 x__xgafv: string, V1 error format.
258 Allowed values
259 1 - v1 error format
260 2 - v2 error format
261
262 Returns:
263 An object of the form:
264
265 { # Message describing NetworkMonitoringProvider resource.
266 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the NetworkMonitoringProvider was created.
267 &quot;errors&quot;: [ # Output only. The list of error messages detected for the NetworkMonitoringProvider.
268 &quot;A String&quot;,
269 ],
270 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}`
271 &quot;providerType&quot;: &quot;A String&quot;, # Required. Type of the NetworkMonitoringProvider.
272 &quot;providerUri&quot;: &quot;A String&quot;, # Output only. Link to the provider&#x27;s UI.
273 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the NetworkMonitoringProvider.
274 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the NetworkMonitoringProvider was updated.
275 }</pre>
276 </div>
277
278 <div class="method">
279 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
280 <pre>Lists NetworkMonitoringProviders for a given project and location.
281
282 Args:
283 parent: string, Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: `projects/{project}/locations/{location}` (required)
284 pageSize: integer, Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
285 pageToken: string, Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token.
286 x__xgafv: string, V1 error format.
287 Allowed values
288 1 - v1 error format
289 2 - v2 error format
290
291 Returns:
292 An object of the form:
293
294 { # Message for response to listing NetworkMonitoringProviders
295 &quot;networkMonitoringProviders&quot;: [ # The list of NetworkMonitoringProvider
296 { # Message describing NetworkMonitoringProvider resource.
297 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the NetworkMonitoringProvider was created.
298 &quot;errors&quot;: [ # Output only. The list of error messages detected for the NetworkMonitoringProvider.
299 &quot;A String&quot;,
300 ],
301 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}`
302 &quot;providerType&quot;: &quot;A String&quot;, # Required. Type of the NetworkMonitoringProvider.
303 &quot;providerUri&quot;: &quot;A String&quot;, # Output only. Link to the provider&#x27;s UI.
304 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the NetworkMonitoringProvider.
305 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the NetworkMonitoringProvider was updated.
306 },
307 ],
308 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
309 }</pre>
310 </div>
311
312 <div class="method">
313 <code class="details" id="list_next">list_next()</code>
314 <pre>Retrieves the next page of results.
315
316 Args:
317 previous_request: The request for the previous page. (required)
318 previous_response: The response from the request for the previous page. (required)
319
320 Returns:
321 A request object that you can call &#x27;execute()&#x27; on to request the next
322 page. Returns None if there are no more items in the collection.
323 </pre>
324 </div>
325
326 </body></html>