Debian Codegraph @

docs/dyn/cloudnumberregistry_v1alpha.projects.locations.customRanges.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.customRanges.html">customRanges</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, customRangeId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new CustomRange 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 CustomRange.</p>
86 <p class="toc_element">
87 <code><a href="#findFreeIpRanges">findFreeIpRanges(name, cidrPrefixLength=None, rangeCount=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Finds free IP ranges in a single CustomRange.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets details of a single CustomRange.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists CustomRanges in a given project and location.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates the parameters of a single CustomRange.</p>
101 <p class="toc_element">
102 <code><a href="#showUtilization">showUtilization(name, x__xgafv=None)</a></code></p>
103 <p class="firstline">Gets the details of a single CustomRange and its utilization.</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, customRangeId=None, requestId=None, x__xgafv=None)</code>
112 <pre>Creates a new CustomRange in a given project and location.
113
114 Args:
115 parent: string, Required. The parent resource name where the CustomRange will be created. (required)
116 body: object, The request body.
117 The object takes the form of:
118
119 { # A CustomRange represents a user-defined IP address range.
120 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
121 { # A key-value pair representing a custom attribute associated with a resource.
122 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
123 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
124 },
125 ],
126 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
127 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
128 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
129 &quot;labels&quot;: { # Optional. User-defined labels.
130 &quot;a_key&quot;: &quot;A String&quot;,
131 },
132 &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}`.
133 &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.
134 &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.
135 &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.
136 }
137
138 customRangeId: string, Required. The ID to use for the CustomRange, which will become the final segment of the resource name.
139 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).
140 x__xgafv: string, V1 error format.
141 Allowed values
142 1 - v1 error format
143 2 - v2 error format
144
145 Returns:
146 An object of the form:
147
148 { # This resource represents a long-running operation that is the result of a network API call.
149 &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.
150 &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.
151 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
152 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
153 {
154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155 },
156 ],
157 &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.
158 },
159 &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.
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
161 },
162 &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}`.
163 &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`.
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 }</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
171 <pre>Deletes a single CustomRange.
172
173 Args:
174 name: string, Required. The resource name of the CustomRange to delete. (required)
175 force: boolean, Optional. If set to true, all associated resources will be deleted.
176 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).
177 x__xgafv: string, V1 error format.
178 Allowed values
179 1 - v1 error format
180 2 - v2 error format
181
182 Returns:
183 An object of the form:
184
185 { # This resource represents a long-running operation that is the result of a network API call.
186 &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.
187 &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.
188 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
189 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
190 {
191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
192 },
193 ],
194 &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.
195 },
196 &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.
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 &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}`.
200 &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`.
201 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
202 },
203 }</pre>
204 </div>
205
206 <div class="method">
207 <code class="details" id="findFreeIpRanges">findFreeIpRanges(name, cidrPrefixLength=None, rangeCount=None, requestId=None, x__xgafv=None)</code>
208 <pre>Finds free IP ranges in a single CustomRange.
209
210 Args:
211 name: string, Required. The resource name of the CustomRange to search within. (required)
212 cidrPrefixLength: integer, Required. The prefix length of the free IP ranges to find.
213 rangeCount: integer, Optional. The number of free IP ranges to find.
214 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).
215 x__xgafv: string, V1 error format.
216 Allowed values
217 1 - v1 error format
218 2 - v2 error format
219
220 Returns:
221 An object of the form:
222
223 { # Response message for the CloudNumberRegistry.FindCustomRangeFreeIpRanges method.
224 &quot;freeIpCidrRanges&quot;: [ # Output only. The free IP CIDR ranges found.
225 &quot;A String&quot;,
226 ],
227 }</pre>
228 </div>
229
230 <div class="method">
231 <code class="details" id="get">get(name, x__xgafv=None)</code>
232 <pre>Gets details of a single CustomRange.
233
234 Args:
235 name: string, Required. The resource name of the CustomRange to retrieve. (required)
236 x__xgafv: string, V1 error format.
237 Allowed values
238 1 - v1 error format
239 2 - v2 error format
240
241 Returns:
242 An object of the form:
243
244 { # A CustomRange represents a user-defined IP address range.
245 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
246 { # A key-value pair representing a custom attribute associated with a resource.
247 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
248 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
249 },
250 ],
251 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
252 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
253 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
254 &quot;labels&quot;: { # Optional. User-defined labels.
255 &quot;a_key&quot;: &quot;A String&quot;,
256 },
257 &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}`.
258 &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.
259 &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.
260 &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.
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
266 <pre>Lists CustomRanges in a given project and location.
267
268 Args:
269 parent: string, Required. The parent resource name, for example `projects/*/locations/*`. (required)
270 filter: string, Optional. Filter expression to filter the results.
271 orderBy: string, Optional. Hint for how to order the results.
272 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
273 pageToken: string, Optional. A token identifying a page of results the server should return.
274 x__xgafv: string, V1 error format.
275 Allowed values
276 1 - v1 error format
277 2 - v2 error format
278
279 Returns:
280 An object of the form:
281
282 { # Response message for the CloudNumberRegistry.ListCustomRanges method.
283 &quot;customRanges&quot;: [ # The list of CustomRanges.
284 { # A CustomRange represents a user-defined IP address range.
285 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
286 { # A key-value pair representing a custom attribute associated with a resource.
287 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
288 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
289 },
290 ],
291 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
292 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
293 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
294 &quot;labels&quot;: { # Optional. User-defined labels.
295 &quot;a_key&quot;: &quot;A String&quot;,
296 },
297 &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}`.
298 &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.
299 &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.
300 &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.
301 },
302 ],
303 &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.
304 &quot;unreachable&quot;: [ # Locations that could not be reached.
305 &quot;A String&quot;,
306 ],
307 }</pre>
308 </div>
309
310 <div class="method">
311 <code class="details" id="list_next">list_next()</code>
312 <pre>Retrieves the next page of results.
313
314 Args:
315 previous_request: The request for the previous page. (required)
316 previous_response: The response from the request for the previous page. (required)
317
318 Returns:
319 A request object that you can call &#x27;execute()&#x27; on to request the next
320 page. Returns None if there are no more items in the collection.
321 </pre>
322 </div>
323
324 <div class="method">
325 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
326 <pre>Updates the parameters of a single CustomRange.
327
328 Args:
329 name: string, Required. Identifier. The resource name of the CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`. (required)
330 body: object, The request body.
331 The object takes the form of:
332
333 { # A CustomRange represents a user-defined IP address range.
334 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
335 { # A key-value pair representing a custom attribute associated with a resource.
336 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
337 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
338 },
339 ],
340 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
341 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
342 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
343 &quot;labels&quot;: { # Optional. User-defined labels.
344 &quot;a_key&quot;: &quot;A String&quot;,
345 },
346 &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}`.
347 &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.
348 &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.
349 &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.
350 }
351
352 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).
353 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the CustomRange 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.
354 x__xgafv: string, V1 error format.
355 Allowed values
356 1 - v1 error format
357 2 - v2 error format
358
359 Returns:
360 An object of the form:
361
362 { # This resource represents a long-running operation that is the result of a network API call.
363 &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.
364 &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.
365 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
366 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
367 {
368 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
369 },
370 ],
371 &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.
372 },
373 &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.
374 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
375 },
376 &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}`.
377 &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`.
378 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
379 },
380 }</pre>
381 </div>
382
383 <div class="method">
384 <code class="details" id="showUtilization">showUtilization(name, x__xgafv=None)</code>
385 <pre>Gets the details of a single CustomRange and its utilization.
386
387 Args:
388 name: string, Required. The resource name of the CustomRange. (required)
389 x__xgafv: string, V1 error format.
390 Allowed values
391 1 - v1 error format
392 2 - v2 error format
393
394 Returns:
395 An object of the form:
396
397 { # Response message for the CloudNumberRegistry.ShowCustomRangeUtilization method.
398 &quot;customRange&quot;: { # A CustomRange represents a user-defined IP address range. # The CustomRange resource.
399 &quot;attributes&quot;: [ # Optional. The attributes of the CustomRange.
400 { # A key-value pair representing a custom attribute associated with a resource.
401 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
402 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
403 },
404 ],
405 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the CustomRange.
406 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the CustomRange.
407 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the CustomRange.
408 &quot;labels&quot;: { # Optional. User-defined labels.
409 &quot;a_key&quot;: &quot;A String&quot;,
410 },
411 &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}`.
412 &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.
413 &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.
414 &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.
415 },
416 &quot;rangeUtilization&quot;: { # Utilization metrics for an IP Range, including consumed and produced address counts. # The utilization details of the CustomRange.
417 &quot;totalConsumed&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses consumed in the Range.
418 &quot;totalProduced&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses produced in the Range.
419 &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.
420 },
421 }</pre>
422 </div>
423
424 </body></html>