Debian Codegraph @

docs/dyn/cloudnumberregistry_v1alpha.projects.locations.discoveredRanges.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.discoveredRanges.html">discoveredRanges</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="#findFreeIpRanges">findFreeIpRanges(name, cidrPrefixLength=None, rangeCount=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Finds free IP ranges in a single DiscoveredRange.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets details of a single DiscoveredRange.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists DiscoveredRanges in a given project and location.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#showUtilization">showUtilization(name, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets the details of a single DiscoveredRange and its utilization.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="findFreeIpRanges">findFreeIpRanges(name, cidrPrefixLength=None, rangeCount=None, requestId=None, x__xgafv=None)</code>
103 <pre>Finds free IP ranges in a single DiscoveredRange.
104
105 Args:
106 name: string, Required. The resource name of the DiscoveredRange to search within. (required)
107 cidrPrefixLength: integer, Required. The prefix length of the free IP ranges to find.
108 rangeCount: integer, Optional. The number of free IP ranges to find.
109 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).
110 x__xgafv: string, V1 error format.
111 Allowed values
112 1 - v1 error format
113 2 - v2 error format
114
115 Returns:
116 An object of the form:
117
118 { # Response message for the CloudNumberRegistry.FindDiscoveredRangeFreeIpRanges method.
119 &quot;freeIpCidrRanges&quot;: [ # Output only. The free IP CIDR ranges found.
120 &quot;A String&quot;,
121 ],
122 }</pre>
123 </div>
124
125 <div class="method">
126 <code class="details" id="get">get(name, x__xgafv=None)</code>
127 <pre>Gets details of a single DiscoveredRange.
128
129 Args:
130 name: string, Required. The resource name of the DiscoveredRange to retrieve. (required)
131 x__xgafv: string, V1 error format.
132 Allowed values
133 1 - v1 error format
134 2 - v2 error format
135
136 Returns:
137 An object of the form:
138
139 { # A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline.
140 &quot;attributes&quot;: [ # Optional. The attributes of the DiscoveredRange.
141 { # A key-value pair representing a custom attribute associated with a resource.
142 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
143 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
144 },
145 ],
146 &quot;childCidrOverlapAllowed&quot;: True or False, # Output only. If true, allows child DiscoveredRanges of this DiscoveredRange to overlap with each other.
147 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was created.
148 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the DiscoveredRange.
149 &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.
150 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was created.
151 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. The time when the event happened.
152 &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;.
153 &quot;resourceUri&quot;: &quot;A String&quot;, # Output only. The resource uri of the discovered resource.
154 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The canonical google.aip.dev/122 name of the source resource.
155 &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;.
156 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the resource.
157 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was last modified.
158 },
159 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the DiscoveredRange.
160 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the DiscoveredRange.
161 &quot;labels&quot;: { # Optional. User-defined labels.
162 &quot;a_key&quot;: &quot;A String&quot;,
163 },
164 &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}`.
165 &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}`.
166 &quot;realm&quot;: &quot;A String&quot;, # Optional. The Realm of the DiscoveredRange.
167 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the DiscoveredRange.
168 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was last updated.
169 }</pre>
170 </div>
171
172 <div class="method">
173 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
174 <pre>Lists DiscoveredRanges in a given project and location.
175
176 Args:
177 parent: string, Required. The parent resource name, for example `projects/*/locations/*`. (required)
178 filter: string, Optional. Filter expression to filter the results.
179 orderBy: string, Optional. Hint for how to order the results.
180 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
181 pageToken: string, Optional. A token identifying a page of results the server should return.
182 x__xgafv: string, V1 error format.
183 Allowed values
184 1 - v1 error format
185 2 - v2 error format
186
187 Returns:
188 An object of the form:
189
190 { # Response message for the CloudNumberRegistry.ListDiscoveredRanges method.
191 &quot;discoveredRanges&quot;: [ # The list of DiscoveredRanges.
192 { # A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline.
193 &quot;attributes&quot;: [ # Optional. The attributes of the DiscoveredRange.
194 { # A key-value pair representing a custom attribute associated with a resource.
195 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
196 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
197 },
198 ],
199 &quot;childCidrOverlapAllowed&quot;: True or False, # Output only. If true, allows child DiscoveredRanges of this DiscoveredRange to overlap with each other.
200 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was created.
201 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the DiscoveredRange.
202 &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.
203 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was created.
204 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. The time when the event happened.
205 &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;.
206 &quot;resourceUri&quot;: &quot;A String&quot;, # Output only. The resource uri of the discovered resource.
207 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The canonical google.aip.dev/122 name of the source resource.
208 &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;.
209 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the resource.
210 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was last modified.
211 },
212 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the DiscoveredRange.
213 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the DiscoveredRange.
214 &quot;labels&quot;: { # Optional. User-defined labels.
215 &quot;a_key&quot;: &quot;A String&quot;,
216 },
217 &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}`.
218 &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}`.
219 &quot;realm&quot;: &quot;A String&quot;, # Optional. The Realm of the DiscoveredRange.
220 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the DiscoveredRange.
221 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was last updated.
222 },
223 ],
224 &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.
225 &quot;unreachable&quot;: [ # Locations that could not be reached.
226 &quot;A String&quot;,
227 ],
228 }</pre>
229 </div>
230
231 <div class="method">
232 <code class="details" id="list_next">list_next()</code>
233 <pre>Retrieves the next page of results.
234
235 Args:
236 previous_request: The request for the previous page. (required)
237 previous_response: The response from the request for the previous page. (required)
238
239 Returns:
240 A request object that you can call &#x27;execute()&#x27; on to request the next
241 page. Returns None if there are no more items in the collection.
242 </pre>
243 </div>
244
245 <div class="method">
246 <code class="details" id="showUtilization">showUtilization(name, x__xgafv=None)</code>
247 <pre>Gets the details of a single DiscoveredRange and its utilization.
248
249 Args:
250 name: string, Required. The resource name of the DiscoveredRange. (required)
251 x__xgafv: string, V1 error format.
252 Allowed values
253 1 - v1 error format
254 2 - v2 error format
255
256 Returns:
257 An object of the form:
258
259 { # Response message for the CloudNumberRegistry.ShowDiscoveredRangeUtilization method.
260 &quot;discoveredRange&quot;: { # A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline. # The DiscoveredRange resource.
261 &quot;attributes&quot;: [ # Optional. The attributes of the DiscoveredRange.
262 { # A key-value pair representing a custom attribute associated with a resource.
263 &quot;key&quot;: &quot;A String&quot;, # Required. The key of the attribute.
264 &quot;value&quot;: &quot;A String&quot;, # Required. The value of the attribute.
265 },
266 ],
267 &quot;childCidrOverlapAllowed&quot;: True or False, # Output only. If true, allows child DiscoveredRanges of this DiscoveredRange to overlap with each other.
268 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was created.
269 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the DiscoveredRange.
270 &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.
271 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was created.
272 &quot;eventTime&quot;: &quot;A String&quot;, # Output only. The time when the event happened.
273 &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;.
274 &quot;resourceUri&quot;: &quot;A String&quot;, # Output only. The resource uri of the discovered resource.
275 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The canonical google.aip.dev/122 name of the source resource.
276 &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;.
277 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the resource.
278 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the resource was last modified.
279 },
280 &quot;ipv4CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv4 CIDR range of the DiscoveredRange.
281 &quot;ipv6CidrRange&quot;: &quot;A String&quot;, # Optional. The IPv6 CIDR range of the DiscoveredRange.
282 &quot;labels&quot;: { # Optional. User-defined labels.
283 &quot;a_key&quot;: &quot;A String&quot;,
284 },
285 &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}`.
286 &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}`.
287 &quot;realm&quot;: &quot;A String&quot;, # Optional. The Realm of the DiscoveredRange.
288 &quot;registryBook&quot;: &quot;A String&quot;, # Output only. The RegistryBook of the DiscoveredRange.
289 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the DiscoveredRange was last updated.
290 },
291 &quot;rangeUtilization&quot;: { # Utilization metrics for an IP Range, including consumed and produced address counts. # The utilization details of the DiscoveredRange.
292 &quot;totalConsumed&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses consumed in the Range.
293 &quot;totalProduced&quot;: &quot;A String&quot;, # Output only. The total number of IP addresses produced in the Range.
294 &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.
295 },
296 }</pre>
297 </div>
298
299 </body></html>