Debian Codegraph @

docs/dyn/cloudnumberregistry_v1alpha.projects.locations.registryBooks.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.registryBooks.html">registryBooks</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, registryBookId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new RegistryBook in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single RegistryBook.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single RegistryBook.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists RegistryBooks in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the parameters of a single RegistryBook.</p>
98 <p class="toc_element">
99 <code><a href="#searchIpResources">searchIpResources(name, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Searches IP resources in a given RegistryBook.</p>
101 <p class="toc_element">
102 <code><a href="#searchIpResources_next">searchIpResources_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="create">create(parent, body=None, registryBookId=None, requestId=None, x__xgafv=None)</code>
112 <pre>Creates a new RegistryBook in a given project and location.
113
114 Args:
115 parent: string, Required. The parent resource name where the RegistryBook will be created. (required)
116 body: object, The request body.
117 The object takes the form of:
118
119 { # A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.
120 &quot;aggregatedData&quot;: { # Aggregated data for the RegistryBook. # Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE.
121 &quot;customRangesCount&quot;: 42, # Output only. Number of CustomRanges in the RegistryBook.
122 &quot;customRealmsCount&quot;: 42, # Output only. Number of custom Realms in the RegistryBook.
123 &quot;discoveredRangesCount&quot;: 42, # Output only. Number of DiscoveredRanges in the RegistryBook.
124 &quot;discoveredRealmsCount&quot;: 42, # Output only. Number of discovered Realms in the RegistryBook.
125 &quot;uniqueScopesCount&quot;: 42, # Output only. Number of scopes unique to the RegistryBook.
126 },
127 &quot;claimedScopes&quot;: [ # Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.
128 &quot;A String&quot;,
129 ],
130 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was created.
131 &quot;isDefault&quot;: True or False, # Output only. Whether the RegistryBook is the default one.
132 &quot;labels&quot;: { # Optional. User-defined labels.
133 &quot;a_key&quot;: &quot;A String&quot;,
134 },
135 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the RegistryBook.
136 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was last updated.
137 }
138
139 registryBookId: string, Required. The ID to use for the RegistryBook, which will become the final segment of the resource name.
140 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).
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146 Returns:
147 An object of the form:
148
149 { # This resource represents a long-running operation that is the result of a network API call.
150 &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.
151 &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.
152 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
153 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
154 {
155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156 },
157 ],
158 &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.
159 },
160 &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.
161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
162 },
163 &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}`.
164 &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`.
165 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
166 },
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
172 <pre>Deletes a single RegistryBook.
173
174 Args:
175 name: string, Required. The resource name of the RegistryBook to delete. (required)
176 force: boolean, Optional. If set to true, all associated resources will be deleted.
177 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).
178 x__xgafv: string, V1 error format.
179 Allowed values
180 1 - v1 error format
181 2 - v2 error format
182
183 Returns:
184 An object of the form:
185
186 { # This resource represents a long-running operation that is the result of a network API call.
187 &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.
188 &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.
189 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
190 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
191 {
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193 },
194 ],
195 &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.
196 },
197 &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.
198 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
199 },
200 &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}`.
201 &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`.
202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
203 },
204 }</pre>
205 </div>
206
207 <div class="method">
208 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
209 <pre>Gets details of a single RegistryBook.
210
211 Args:
212 name: string, Required. The resource name of the RegistryBook to retrieve. (required)
213 view: string, Optional. The view of the RegistryBook to retrieve.
214 Allowed values
215 REGISTRY_BOOK_VIEW_UNSPECIFIED - Unspecified view. Defaults to BASIC.
216 BASIC - Basic view.
217 FULL - Full view. Includes the same data as the BASIC view.
218 AGGREGATE - Aggregate includes data about the child resources of the RegistryBook.
219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
223
224 Returns:
225 An object of the form:
226
227 { # A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.
228 &quot;aggregatedData&quot;: { # Aggregated data for the RegistryBook. # Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE.
229 &quot;customRangesCount&quot;: 42, # Output only. Number of CustomRanges in the RegistryBook.
230 &quot;customRealmsCount&quot;: 42, # Output only. Number of custom Realms in the RegistryBook.
231 &quot;discoveredRangesCount&quot;: 42, # Output only. Number of DiscoveredRanges in the RegistryBook.
232 &quot;discoveredRealmsCount&quot;: 42, # Output only. Number of discovered Realms in the RegistryBook.
233 &quot;uniqueScopesCount&quot;: 42, # Output only. Number of scopes unique to the RegistryBook.
234 },
235 &quot;claimedScopes&quot;: [ # Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.
236 &quot;A String&quot;,
237 ],
238 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was created.
239 &quot;isDefault&quot;: True or False, # Output only. Whether the RegistryBook is the default one.
240 &quot;labels&quot;: { # Optional. User-defined labels.
241 &quot;a_key&quot;: &quot;A String&quot;,
242 },
243 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the RegistryBook.
244 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was last updated.
245 }</pre>
246 </div>
247
248 <div class="method">
249 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
250 <pre>Lists RegistryBooks in a given project and location.
251
252 Args:
253 parent: string, Required. The parent resource name, for example `projects/*/locations/*`. (required)
254 filter: string, Optional. Filter expression to filter the results.
255 orderBy: string, Optional. Hint for how to order the results.
256 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
257 pageToken: string, Optional. A token identifying a page of results the server should return.
258 view: string, Optional. The view of the RegistryBook to retrieve.
259 Allowed values
260 REGISTRY_BOOK_VIEW_UNSPECIFIED - Unspecified view. Defaults to BASIC.
261 BASIC - Basic view.
262 FULL - Full view. Includes the same data as the BASIC view.
263 AGGREGATE - Aggregate includes data about the child resources of the RegistryBook.
264 x__xgafv: string, V1 error format.
265 Allowed values
266 1 - v1 error format
267 2 - v2 error format
268
269 Returns:
270 An object of the form:
271
272 { # Response message for the CloudNumberRegistry.ListRegistryBooks method.
273 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
274 &quot;registryBooks&quot;: [ # The list of RegistryBook
275 { # A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.
276 &quot;aggregatedData&quot;: { # Aggregated data for the RegistryBook. # Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE.
277 &quot;customRangesCount&quot;: 42, # Output only. Number of CustomRanges in the RegistryBook.
278 &quot;customRealmsCount&quot;: 42, # Output only. Number of custom Realms in the RegistryBook.
279 &quot;discoveredRangesCount&quot;: 42, # Output only. Number of DiscoveredRanges in the RegistryBook.
280 &quot;discoveredRealmsCount&quot;: 42, # Output only. Number of discovered Realms in the RegistryBook.
281 &quot;uniqueScopesCount&quot;: 42, # Output only. Number of scopes unique to the RegistryBook.
282 },
283 &quot;claimedScopes&quot;: [ # Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.
284 &quot;A String&quot;,
285 ],
286 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was created.
287 &quot;isDefault&quot;: True or False, # Output only. Whether the RegistryBook is the default one.
288 &quot;labels&quot;: { # Optional. User-defined labels.
289 &quot;a_key&quot;: &quot;A String&quot;,
290 },
291 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the RegistryBook.
292 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was last updated.
293 },
294 ],
295 &quot;unreachable&quot;: [ # Locations that could not be reached.
296 &quot;A String&quot;,
297 ],
298 }</pre>
299 </div>
300
301 <div class="method">
302 <code class="details" id="list_next">list_next()</code>
303 <pre>Retrieves the next page of results.
304
305 Args:
306 previous_request: The request for the previous page. (required)
307 previous_response: The response from the request for the previous page. (required)
308
309 Returns:
310 A request object that you can call &#x27;execute()&#x27; on to request the next
311 page. Returns None if there are no more items in the collection.
312 </pre>
313 </div>
314
315 <div class="method">
316 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
317 <pre>Updates the parameters of a single RegistryBook.
318
319 Args:
320 name: string, Required. Identifier. The resource name of the RegistryBook. (required)
321 body: object, The request body.
322 The object takes the form of:
323
324 { # A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.
325 &quot;aggregatedData&quot;: { # Aggregated data for the RegistryBook. # Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE.
326 &quot;customRangesCount&quot;: 42, # Output only. Number of CustomRanges in the RegistryBook.
327 &quot;customRealmsCount&quot;: 42, # Output only. Number of custom Realms in the RegistryBook.
328 &quot;discoveredRangesCount&quot;: 42, # Output only. Number of DiscoveredRanges in the RegistryBook.
329 &quot;discoveredRealmsCount&quot;: 42, # Output only. Number of discovered Realms in the RegistryBook.
330 &quot;uniqueScopesCount&quot;: 42, # Output only. Number of scopes unique to the RegistryBook.
331 },
332 &quot;claimedScopes&quot;: [ # Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.
333 &quot;A String&quot;,
334 ],
335 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was created.
336 &quot;isDefault&quot;: True or False, # Output only. Whether the RegistryBook is the default one.
337 &quot;labels&quot;: { # Optional. User-defined labels.
338 &quot;a_key&quot;: &quot;A String&quot;,
339 },
340 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the RegistryBook.
341 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the RegistryBook was last updated.
342 }
343
344 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).
345 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the RegistryBook 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.
346 x__xgafv: string, V1 error format.
347 Allowed values
348 1 - v1 error format
349 2 - v2 error format
350
351 Returns:
352 An object of the form:
353
354 { # This resource represents a long-running operation that is the result of a network API call.
355 &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.
356 &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.
357 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
358 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
359 {
360 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
361 },
362 ],
363 &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.
364 },
365 &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.
366 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
367 },
368 &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}`.
369 &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`.
370 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
371 },
372 }</pre>
373 </div>
374
375 <div class="method">
376 <code class="details" id="searchIpResources">searchIpResources(name, body=None, x__xgafv=None)</code>
377 <pre>Searches IP resources in a given RegistryBook.
378
379 Args:
380 name: string, Required. The resource name of the RegistryBook to search in. (required)
381 body: object, The request body.
382 The object takes the form of:
383
384 { # Request message for the CloudNumberRegistry.SearchIpResources method.
385 &quot;orderBy&quot;: &quot;A String&quot;, # Optional. Hint for how to order the results. Supported sort fields are: - `name`: Sort alphabetically by the resource name. - `create_time`: Sort by the creation timestamp of the resource. - `update_time`: Sort by the last update timestamp of the resource. Supported directions are `asc` (ascending) and `desc` (descending). If unspecified, direction defaults to `asc`. Only sorting by a single field is supported.
386 &quot;pageSize&quot;: 42, # Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
387 &quot;pageToken&quot;: &quot;A String&quot;, # Optional. A token identifying a page of results the server should return.
388 &quot;query&quot;: &quot;A String&quot;, # Optional. Search query. This string filters resources in an AIP-160-like format. It has some limitations. You can only specify top level conjunctions or attribute level negations. Each restriction can only be used once except the attribute restriction. The available restrictions for Ranges are: - `realm`: The Realm name to search in. - `ip_address`: The IP address to search for within Ranges. - `ip_version`: The IP version to filter by (e.g., &quot;IPV4&quot;, &quot;IPV6&quot;). - `parent_range`: The parent Range of the Range to search for. - `attribute_text`: The attribute text to search for within Ranges. - `attribute`: The attribute key and value to filter by. The available restrictions for Realms are: - `ip_version`: The IP version to search for. - `management_type`: The management type of the Realm (e.g., &quot;CNR&quot;, &quot;USER&quot;). Only one of attribute_text or multiple attribute filters can be specified. Examples: - `realm=test-realm` - `realm=test-realm AND ip_address=10.0.0.0` - `realm=test-realm AND ip_version=IPV6` - `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test AND parent_range=projects/123/locations/global/discoveredRanges/test-parent-range` - `management_type=CNR`
389 &quot;searchResourceTypes&quot;: [ # Optional. The type of resources to search for. If not specified, the server will return Ranges.
390 &quot;A String&quot;,
391 ],
392 &quot;showUtilization&quot;: True or False, # Optional. Whether to show the utilization of the Ranges in the response.
393 }
394
395 x__xgafv: string, V1 error format.
396 Allowed values
397 1 - v1 error format
398 2 - v2 error format
399
400 Returns:
401 An object of the form:
402
403 { # Response message for the CloudNumberRegistry.SearchIpResources method.
404 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
405 &quot;ranges&quot;: [ # Deprecated: Use results field instead. The list of Ranges matching the search query.
406 { # Represents either a CustomRange or a DiscoveredRange.
407 &quot;customRange&quot;: { # A CustomRange represents a user-defined IP address range. # A CustomRange.
408 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
409 { # A key-value pair representing a custom attribute associated with a resource.
410 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
411 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
412 },
413 ],
414 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
415 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
416 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
417 &quot;labels&quot;: { # Optional. User-defined labels.
418 &quot;a_key&quot;: &quot;A String&quot;,
419 },
420 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`.
421 &quot;parentRange&quot;: &quot;A String&quot;, # Optional. The resource name of the parent CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`. If specified, the parent CustomRange must be in the same RegistryBook. This field is mutually exclusive with the `realm` field, as the Realm is inherited from the parent CustomRange.
422 &quot;realm&quot;: &quot;A String&quot;, # Optional. The resource name of the Realm associated with the CustomRange, in the format `projects/{project}/locations/{location}/realms/{realm}`. The Realm must be in the same project as the CustomRange. This field must not be set if the `parent_range` field is set, as the Realm will be inherited from the parent CustomRange.
423 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the CustomRange. This field is inherited from the Realm or parent CustomRange depending on which one is specified.
424 },
425 &quot;discoveredRange&quot;: { # A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline. # A DiscoveredRange.
426 &quot;attributes&quot;: [ # Optional. The attributes of the DiscoveredRange.
427 { # A key-value pair representing a custom attribute associated with a resource.
428 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
429 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
430 },
431 ],
432 &quot;childCidrOverlapAllowed&quot;: True or False, # Output only. If true, allows child DiscoveredRanges of this DiscoveredRange to overlap with each other.
433 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was created.
434 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the DiscoveredRange.
435 &quot;discoveryMetadata&quot;: { # Metadata about a discovered resource, tracking event times, state, and source information. # Output only. Owner metadata for this DiscoveredRange. A unique set of metadata is associated with each DiscoveredRange. If an IP range is shared by multiple resources (e.g., an Address resource and an Instance resource, or multiple ForwardingRules),separate DiscoveredRanges are created, each with a distinct owner. This ensures each DiscoveredRange has its own unique set of attributes, labels, create time and update time.
436 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was created.
437 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. The time when the event happened.
438 &quot;resource&quot;: &quot;A String&quot;, # Output only. The resource name of the discovered resource, should be API-agnostic. Example: &quot;projects/{project_number}/networks/{network_id}&quot;.
439 &quot;resourceUri&quot;: &quot;A String&quot;, # Output only. The resource uri of the discovered resource.
440 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The canonical google.aip.dev/122 name of the source resource.
441 &quot;sourceSubId&quot;: &quot;A String&quot;, # Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple Ranges, one for each protocol. In this case, the sub_id could be &quot;private-ipv4&quot; or &quot;private-ipv6&quot;.
442 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the resource.
443 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was last modified.
444 },
445 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the DiscoveredRange.
446 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the DiscoveredRange.
447 &quot;labels&quot;: { # Optional. User-defined labels.
448 &quot;a_key&quot;: &quot;A String&quot;,
449 },
450 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the DiscoveredRange, in the format `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`.
451 &quot;parentRange&quot;: &quot;A String&quot;, # Optional. The resource name of the parent DiscoveredRange, in the format `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`.
452 &quot;realm&quot;: &quot;A String&quot;, # Optional. The Realm of the DiscoveredRange.
453 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the DiscoveredRange.
454 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was last updated.
455 },
456 &quot;utilization&quot;: { # Utilization metrics for an IP Range, including consumed and produced address counts. # The utilization of the Range.
457 &quot;totalConsumed&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses consumed in the Range.
458 &quot;totalProduced&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses produced in the Range.
459 &quot;usage&quot;: 3.14, # Output only. The usage of the Range as a percentage. This is marked as optional so that we have presence tracking and API responses show 0.0 instead of NULL.
460 },
461 },
462 ],
463 &quot;results&quot;: [ # The list of results matching the search query.
464 { # A result matching the search query, which can be either a Range or a Realm.
465 &quot;range&quot;: { # Represents either a CustomRange or a DiscoveredRange. # A Range matching the search query.
466 &quot;customRange&quot;: { # A CustomRange represents a user-defined IP address range. # A CustomRange.
467 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
468 { # A key-value pair representing a custom attribute associated with a resource.
469 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
470 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
471 },
472 ],
473 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
474 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
475 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
476 &quot;labels&quot;: { # Optional. User-defined labels.
477 &quot;a_key&quot;: &quot;A String&quot;,
478 },
479 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`.
480 &quot;parentRange&quot;: &quot;A String&quot;, # Optional. The resource name of the parent CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`. If specified, the parent CustomRange must be in the same RegistryBook. This field is mutually exclusive with the `realm` field, as the Realm is inherited from the parent CustomRange.
481 &quot;realm&quot;: &quot;A String&quot;, # Optional. The resource name of the Realm associated with the CustomRange, in the format `projects/{project}/locations/{location}/realms/{realm}`. The Realm must be in the same project as the CustomRange. This field must not be set if the `parent_range` field is set, as the Realm will be inherited from the parent CustomRange.
482 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the CustomRange. This field is inherited from the Realm or parent CustomRange depending on which one is specified.
483 },
484 &quot;discoveredRange&quot;: { # A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline. # A DiscoveredRange.
485 &quot;attributes&quot;: [ # Optional. The attributes of the DiscoveredRange.
486 { # A key-value pair representing a custom attribute associated with a resource.
487 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
488 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
489 },
490 ],
491 &quot;childCidrOverlapAllowed&quot;: True or False, # Output only. If true, allows child DiscoveredRanges of this DiscoveredRange to overlap with each other.
492 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was created.
493 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the DiscoveredRange.
494 &quot;discoveryMetadata&quot;: { # Metadata about a discovered resource, tracking event times, state, and source information. # Output only. Owner metadata for this DiscoveredRange. A unique set of metadata is associated with each DiscoveredRange. If an IP range is shared by multiple resources (e.g., an Address resource and an Instance resource, or multiple ForwardingRules),separate DiscoveredRanges are created, each with a distinct owner. This ensures each DiscoveredRange has its own unique set of attributes, labels, create time and update time.
495 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was created.
496 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. The time when the event happened.
497 &quot;resource&quot;: &quot;A String&quot;, # Output only. The resource name of the discovered resource, should be API-agnostic. Example: &quot;projects/{project_number}/networks/{network_id}&quot;.
498 &quot;resourceUri&quot;: &quot;A String&quot;, # Output only. The resource uri of the discovered resource.
499 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The canonical google.aip.dev/122 name of the source resource.
500 &quot;sourceSubId&quot;: &quot;A String&quot;, # Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple Ranges, one for each protocol. In this case, the sub_id could be &quot;private-ipv4&quot; or &quot;private-ipv6&quot;.
501 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the resource.
502 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was last modified.
503 },
504 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the DiscoveredRange.
505 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the DiscoveredRange.
506 &quot;labels&quot;: { # Optional. User-defined labels.
507 &quot;a_key&quot;: &quot;A String&quot;,
508 },
509 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the DiscoveredRange, in the format `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`.
510 &quot;parentRange&quot;: &quot;A String&quot;, # Optional. The resource name of the parent DiscoveredRange, in the format `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`.
511 &quot;realm&quot;: &quot;A String&quot;, # Optional. The Realm of the DiscoveredRange.
512 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the DiscoveredRange.
513 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was last updated.
514 },
515 &quot;utilization&quot;: { # Utilization metrics for an IP Range, including consumed and produced address counts. # The utilization of the Range.
516 &quot;totalConsumed&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses consumed in the Range.
517 &quot;totalProduced&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses produced in the Range.
518 &quot;usage&quot;: 3.14, # Output only. The usage of the Range as a percentage. This is marked as optional so that we have presence tracking and API responses show 0.0 instead of NULL.
519 },
520 },
521 &quot;realm&quot;: { # A Realm represents a distinct network domain or security zone. It groups Ranges that share the same traffic and management characteristics. All the ranges in a Realm are routable to each other, meaning that they cannot overlap. # A Realm matching the search query.
522 &quot;aggregatedData&quot;: { # Aggregated data for the Realm. # Output only. Aggregated data for the Realm. Populated only when the view is AGGREGATE.
523 &quot;customRangesCount&quot;: 42, # Output only. Number of CustomRanges in the Realm.
524 &quot;discoveredRangesCount&quot;: 42, # Output only. Number of DiscoveredRanges in the Realm.
525 },
526 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the Realm was created.
527 &quot;discoveryMetadata&quot;: { # Metadata about a discovered resource, tracking event times, state, and source information. # Output only. Discovery metadata of the Realm.
528 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was created.
529 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. The time when the event happened.
530 &quot;resource&quot;: &quot;A String&quot;, # Output only. The resource name of the discovered resource, should be API-agnostic. Example: &quot;projects/{project_number}/networks/{network_id}&quot;.
531 &quot;resourceUri&quot;: &quot;A String&quot;, # Output only. The resource uri of the discovered resource.
532 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The canonical google.aip.dev/122 name of the source resource.
533 &quot;sourceSubId&quot;: &quot;A String&quot;, # Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple Ranges, one for each protocol. In this case, the sub_id could be &quot;private-ipv4&quot; or &quot;private-ipv6&quot;.
534 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the resource.
535 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was last modified.
536 },
537 &quot;ipVersion&quot;: &quot;A String&quot;, # Optional. IP version of the Realm.
538 &quot;labels&quot;: { # Optional. User-defined labels.
539 &quot;a_key&quot;: &quot;A String&quot;,
540 },
541 &quot;managementType&quot;: &quot;A String&quot;, # Required. Management type of the Realm.
542 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the Realm.
543 &quot;registryBook&quot;: &quot;A String&quot;, # Required. Name of the RegistryBook that claims the Realm.
544 &quot;trafficType&quot;: &quot;A String&quot;, # Required. Traffic type of the Realm.
545 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the Realm was last updated.
546 },
547 },
548 ],
549 &quot;unreachable&quot;: [ # Locations that could not be reached.
550 &quot;A String&quot;,
551 ],
552 }</pre>
553 </div>
554
555 <div class="method">
556 <code class="details" id="searchIpResources_next">searchIpResources_next()</code>
557 <pre>Retrieves the next page of results.
558
559 Args:
560 previous_request: The request for the previous page. (required)
561 previous_response: The response from the request for the previous page. (required)
562
563 Returns:
564 A request object that you can call &#x27;execute()&#x27; on to request the next
565 page. Returns None if there are no more items in the collection.
566 </pre>
567 </div>
568
569 </body></html>