Debian Codegraph @

docs/dyn/cloudnumberregistry_v1alpha.projects.locations.ipamAdminScopes.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="cloudnumberregistry_v1alpha.html">Cloud Number Registry API</a> . <a href="cloudnumberregistry_v1alpha.projects.html">projects</a> . <a href="cloudnumberregistry_v1alpha.projects.locations.html">locations</a> . <a href="cloudnumberregistry_v1alpha.projects.locations.ipamAdminScopes.html">ipamAdminScopes</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#checkAvailability">checkAvailability(parent, scopes=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Checks the availability of IpamAdminScopes in a given project and location.</p>
80 <p class="toc_element">
81 <code><a href="#cleanup">cleanup(name, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Cleans up a single IpamAdminScope.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#create">create(parent, body=None, ipamAdminScopeId=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a new IpamAdminScope in a given project and location.</p>
89 <p class="toc_element">
90 <code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Deletes a single IpamAdminScope.</p>
92 <p class="toc_element">
93 <code><a href="#disable">disable(name, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Disables a single IpamAdminScope.</p>
95 <p class="toc_element">
96 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
97 <p class="firstline">Gets details of a single IpamAdminScope.</p>
98 <p class="toc_element">
99 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Lists IpamAdminScopes in a given project and location.</p>
101 <p class="toc_element">
102 <code><a href="#list_next">list_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <p class="toc_element">
105 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Updates the parameters of a single IpamAdminScope.</p>
107 <h3>Method Details</h3>
108 <div class="method">
109 <code class="details" id="checkAvailability">checkAvailability(parent, scopes=None, x__xgafv=None)</code>
110 <pre>Checks the availability of IpamAdminScopes in a given project and location.
111
112 Args:
113 parent: string, Required. The parent resource name, for example `projects/*/locations/*`. (required)
114 scopes: string, Required. The administrative scopes to check for availability. (repeated)
115 x__xgafv: string, V1 error format.
116 Allowed values
117 1 - v1 error format
118 2 - v2 error format
119
120 Returns:
121 An object of the form:
122
123 { # Response message for the CloudNumberRegistry.CheckAvailabilityIpamAdminScopes method.
124 &quot;scopeAvailabilities&quot;: [ # The details of the requested scopes.
125 { # Availability details for a specific IpamAdminScope.
126 &quot;adminProject&quot;: &quot;A String&quot;, # The admin project of the IpamAdminScope if it exists.
127 &quot;availability&quot;: &quot;A String&quot;, # The availability of the scope.
128 &quot;scope&quot;: &quot;A String&quot;, # The scope of the IpamAdminScope.
129 },
130 ],
131 }</pre>
132 </div>
133
134 <div class="method">
135 <code class="details" id="cleanup">cleanup(name, body=None, x__xgafv=None)</code>
136 <pre>Cleans up a single IpamAdminScope.
137
138 Args:
139 name: string, Required. The resource name of the IpamAdminScope to clean up. (required)
140 body: object, The request body.
141 The object takes the form of:
142
143 { # Request message for the CloudNumberRegistry.CleanupIpamAdminScope method.
144 &quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
145 }
146
147 x__xgafv: string, V1 error format.
148 Allowed values
149 1 - v1 error format
150 2 - v2 error format
151
152 Returns:
153 An object of the form:
154
155 { # This resource represents a long-running operation that is the result of a network API call.
156 &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.
157 &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.
158 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
159 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
160 {
161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
162 },
163 ],
164 &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.
165 },
166 &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.
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168 },
169 &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}`.
170 &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`.
171 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
172 },
173 }</pre>
174 </div>
175
176 <div class="method">
177 <code class="details" id="close">close()</code>
178 <pre>Close httplib2 connections.</pre>
179 </div>
180
181 <div class="method">
182 <code class="details" id="create">create(parent, body=None, ipamAdminScopeId=None, requestId=None, x__xgafv=None)</code>
183 <pre>Creates a new IpamAdminScope in a given project and location.
184
185 Args:
186 parent: string, Required. The parent resource name where the IpamAdminScope will be created. (required)
187 body: object, The request body.
188 The object takes the form of:
189
190 { # An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.
191 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was created.
192 &quot;enabledAddonPlatforms&quot;: [ # Required. Add-on platforms that are enabled for this IpamAdminScope. Cloud Number Registry only discovers the IP addresses from the enabled platforms.
193 &quot;A String&quot;,
194 ],
195 &quot;labels&quot;: { # Optional. User-defined labels.
196 &quot;a_key&quot;: &quot;A String&quot;,
197 },
198 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the IpamAdminScope.
199 &quot;scopes&quot;: [ # Required. Administrative scopes enabled for IP address discovery and management. For example, &quot;organizations/1234567890&quot;. Minimum of 1 scope is required. In preview, only one organization scope is allowed.
200 &quot;A String&quot;,
201 ],
202 &quot;state&quot;: &quot;A String&quot;, # Output only. State of resource discovery pipeline.
203 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was last updated.
204 }
205
206 ipamAdminScopeId: string, Required. The ID to use for the IpamAdminScope, which will become the final segment of the resource name.
207 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 { # This resource represents a long-running operation that is the result of a network API call.
217 &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.
218 &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.
219 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
220 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
221 {
222 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
223 },
224 ],
225 &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.
226 },
227 &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.
228 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
229 },
230 &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}`.
231 &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`.
232 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
233 },
234 }</pre>
235 </div>
236
237 <div class="method">
238 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
239 <pre>Deletes a single IpamAdminScope.
240
241 Args:
242 name: string, Required. The resource name of the IpamAdminScope to delete. (required)
243 force: boolean, Optional. If set to true, all associated resources will be deleted.
244 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
245 x__xgafv: string, V1 error format.
246 Allowed values
247 1 - v1 error format
248 2 - v2 error format
249
250 Returns:
251 An object of the form:
252
253 { # This resource represents a long-running operation that is the result of a network API call.
254 &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.
255 &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.
256 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
257 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
258 {
259 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
260 },
261 ],
262 &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.
263 },
264 &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.
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 &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}`.
268 &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`.
269 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
270 },
271 }</pre>
272 </div>
273
274 <div class="method">
275 <code class="details" id="disable">disable(name, body=None, x__xgafv=None)</code>
276 <pre>Disables a single IpamAdminScope.
277
278 Args:
279 name: string, Required. The resource name of the IpamAdminScope to disable. (required)
280 body: object, The request body.
281 The object takes the form of:
282
283 { # Request message for the CloudNumberRegistry.DisableIpamAdminScope method.
284 &quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
285 }
286
287 x__xgafv: string, V1 error format.
288 Allowed values
289 1 - v1 error format
290 2 - v2 error format
291
292 Returns:
293 An object of the form:
294
295 { # This resource represents a long-running operation that is the result of a network API call.
296 &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.
297 &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.
298 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
299 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
300 {
301 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
302 },
303 ],
304 &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.
305 },
306 &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.
307 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
308 },
309 &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}`.
310 &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`.
311 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
312 },
313 }</pre>
314 </div>
315
316 <div class="method">
317 <code class="details" id="get">get(name, x__xgafv=None)</code>
318 <pre>Gets details of a single IpamAdminScope.
319
320 Args:
321 name: string, Required. The resource name of the IpamAdminScope to retrieve. (required)
322 x__xgafv: string, V1 error format.
323 Allowed values
324 1 - v1 error format
325 2 - v2 error format
326
327 Returns:
328 An object of the form:
329
330 { # An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.
331 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was created.
332 &quot;enabledAddonPlatforms&quot;: [ # Required. Add-on platforms that are enabled for this IpamAdminScope. Cloud Number Registry only discovers the IP addresses from the enabled platforms.
333 &quot;A String&quot;,
334 ],
335 &quot;labels&quot;: { # Optional. User-defined labels.
336 &quot;a_key&quot;: &quot;A String&quot;,
337 },
338 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the IpamAdminScope.
339 &quot;scopes&quot;: [ # Required. Administrative scopes enabled for IP address discovery and management. For example, &quot;organizations/1234567890&quot;. Minimum of 1 scope is required. In preview, only one organization scope is allowed.
340 &quot;A String&quot;,
341 ],
342 &quot;state&quot;: &quot;A String&quot;, # Output only. State of resource discovery pipeline.
343 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was last updated.
344 }</pre>
345 </div>
346
347 <div class="method">
348 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
349 <pre>Lists IpamAdminScopes in a given project and location.
350
351 Args:
352 parent: string, Required. The parent resource name, for example `projects/*/locations/*`. (required)
353 filter: string, Optional. Filter expression to filter the results.
354 orderBy: string, Optional. Hint for how to order the results.
355 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
356 pageToken: string, Optional. A token identifying a page of results the server should return.
357 x__xgafv: string, V1 error format.
358 Allowed values
359 1 - v1 error format
360 2 - v2 error format
361
362 Returns:
363 An object of the form:
364
365 { # Response message for the CloudNumberRegistry.ListIpamAdminScopes method.
366 &quot;ipamAdminScopes&quot;: [ # The list of IpamAdminScopes.
367 { # An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.
368 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was created.
369 &quot;enabledAddonPlatforms&quot;: [ # Required. Add-on platforms that are enabled for this IpamAdminScope. Cloud Number Registry only discovers the IP addresses from the enabled platforms.
370 &quot;A String&quot;,
371 ],
372 &quot;labels&quot;: { # Optional. User-defined labels.
373 &quot;a_key&quot;: &quot;A String&quot;,
374 },
375 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the IpamAdminScope.
376 &quot;scopes&quot;: [ # Required. Administrative scopes enabled for IP address discovery and management. For example, &quot;organizations/1234567890&quot;. Minimum of 1 scope is required. In preview, only one organization scope is allowed.
377 &quot;A String&quot;,
378 ],
379 &quot;state&quot;: &quot;A String&quot;, # Output only. State of resource discovery pipeline.
380 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was last updated.
381 },
382 ],
383 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results, or empty if there are no more results in the list.
384 &quot;unreachable&quot;: [ # Locations that could not be reached.
385 &quot;A String&quot;,
386 ],
387 }</pre>
388 </div>
389
390 <div class="method">
391 <code class="details" id="list_next">list_next()</code>
392 <pre>Retrieves the next page of results.
393
394 Args:
395 previous_request: The request for the previous page. (required)
396 previous_response: The response from the request for the previous page. (required)
397
398 Returns:
399 A request object that you can call &#x27;execute()&#x27; on to request the next
400 page. Returns None if there are no more items in the collection.
401 </pre>
402 </div>
403
404 <div class="method">
405 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
406 <pre>Updates the parameters of a single IpamAdminScope.
407
408 Args:
409 name: string, Required. Identifier. The resource name of the IpamAdminScope. (required)
410 body: object, The request body.
411 The object takes the form of:
412
413 { # An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.
414 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was created.
415 &quot;enabledAddonPlatforms&quot;: [ # Required. Add-on platforms that are enabled for this IpamAdminScope. Cloud Number Registry only discovers the IP addresses from the enabled platforms.
416 &quot;A String&quot;,
417 ],
418 &quot;labels&quot;: { # Optional. User-defined labels.
419 &quot;a_key&quot;: &quot;A String&quot;,
420 },
421 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the IpamAdminScope.
422 &quot;scopes&quot;: [ # Required. Administrative scopes enabled for IP address discovery and management. For example, &quot;organizations/1234567890&quot;. Minimum of 1 scope is required. In preview, only one organization scope is allowed.
423 &quot;A String&quot;,
424 ],
425 &quot;state&quot;: &quot;A String&quot;, # Output only. State of resource discovery pipeline.
426 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the IpamAdminScope was last updated.
427 }
428
429 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
430 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the IpamAdminScope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
431 x__xgafv: string, V1 error format.
432 Allowed values
433 1 - v1 error format
434 2 - v2 error format
435
436 Returns:
437 An object of the form:
438
439 { # This resource represents a long-running operation that is the result of a network API call.
440 &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.
441 &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.
442 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
443 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
444 {
445 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
446 },
447 ],
448 &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.
449 },
450 &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.
451 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
452 },
453 &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}`.
454 &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`.
455 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
456 },
457 }</pre>
458 </div>
459
460 </body></html>