Debian Codegraph @

docs/dyn/networksecurity_v1.organizations.locations.addressGroups.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="networksecurity_v1.html">Network Security API</a> . <a href="networksecurity_v1.organizations.html">organizations</a> . <a href="networksecurity_v1.organizations.locations.html">locations</a> . <a href="networksecurity_v1.organizations.locations.addressGroups.html">addressGroups</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#addItems">addItems(addressGroup, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Adds items to an address group.</p>
80 <p class="toc_element">
81 <code><a href="#cloneItems">cloneItems(addressGroup, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Clones items from one address group to another.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#create">create(parent, addressGroupId=None, body=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a new address group in a given project and location.</p>
89 <p class="toc_element">
90 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Deletes an address group.</p>
92 <p class="toc_element">
93 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets details of a single address group.</p>
95 <p class="toc_element">
96 <code><a href="#list">list(parent, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists address groups in a given project and location.</p>
98 <p class="toc_element">
99 <code><a href="#listReferences">listReferences(addressGroup, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Lists references of an address group.</p>
101 <p class="toc_element">
102 <code><a href="#listReferences_next">listReferences_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <p class="toc_element">
105 <code><a href="#list_next">list_next()</a></code></p>
106 <p class="firstline">Retrieves the next page of results.</p>
107 <p class="toc_element">
108 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Updates parameters of an address group.</p>
110 <p class="toc_element">
111 <code><a href="#removeItems">removeItems(addressGroup, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Removes items from an address group.</p>
113 <p class="toc_element">
114 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
116 <h3>Method Details</h3>
117 <div class="method">
118 <code class="details" id="addItems">addItems(addressGroup, body=None, x__xgafv=None)</code>
119 <pre>Adds items to an address group.
120
121 Args:
122 addressGroup: string, Required. A name of the AddressGroup to add items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`. (required)
123 body: object, The request body.
124 The object takes the form of:
125
126 { # Request used by the AddAddressGroupItems method.
127 &quot;items&quot;: [ # Required. List of items to add.
128 &quot;A String&quot;,
129 ],
130 &quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes 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).
131 }
132
133 x__xgafv: string, V1 error format.
134 Allowed values
135 1 - v1 error format
136 2 - v2 error format
137
138 Returns:
139 An object of the form:
140
141 { # This resource represents a long-running operation that is the result of a network API call.
142 &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.
143 &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.
144 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
145 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
146 {
147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
148 },
149 ],
150 &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.
151 },
152 &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.
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 &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}`.
156 &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`.
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
158 },
159 }</pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="cloneItems">cloneItems(addressGroup, body=None, x__xgafv=None)</code>
164 <pre>Clones items from one address group to another.
165
166 Args:
167 addressGroup: string, Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`. (required)
168 body: object, The request body.
169 The object takes the form of:
170
171 { # Request used by the CloneAddressGroupItems method.
172 &quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes 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).
173 &quot;sourceAddressGroup&quot;: &quot;A String&quot;, # Required. Source address group to clone items from.
174 }
175
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # This resource represents a long-running operation that is the result of a network API call.
185 &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.
186 &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.
187 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
188 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
189 {
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 ],
193 &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.
194 },
195 &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.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198 &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}`.
199 &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`.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 }</pre>
203 </div>
204
205 <div class="method">
206 <code class="details" id="close">close()</code>
207 <pre>Close httplib2 connections.</pre>
208 </div>
209
210 <div class="method">
211 <code class="details" id="create">create(parent, addressGroupId=None, body=None, requestId=None, x__xgafv=None)</code>
212 <pre>Creates a new address group in a given project and location.
213
214 Args:
215 parent: string, Required. The parent resource of the AddressGroup. Must be in the format `projects/*/locations/{location}`. (required)
216 body: object, The request body.
217 The object takes the form of:
218
219 { # AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
220 &quot;capacity&quot;: 42, # Required. Capacity of the Address Group
221 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
222 &quot;description&quot;: &quot;A String&quot;, # Optional. Free-text description of the resource.
223 &quot;items&quot;: [ # Optional. List of items.
224 &quot;A String&quot;,
225 ],
226 &quot;labels&quot;: { # Optional. Set of label tags associated with the AddressGroup resource.
227 &quot;a_key&quot;: &quot;A String&quot;,
228 },
229 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
230 &quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
231 &quot;A String&quot;,
232 ],
233 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
234 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
235 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
236 }
237
238 addressGroupId: string, Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. &quot;authz_policy&quot;.
239 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).
240 x__xgafv: string, V1 error format.
241 Allowed values
242 1 - v1 error format
243 2 - v2 error format
244
245 Returns:
246 An object of the form:
247
248 { # This resource represents a long-running operation that is the result of a network API call.
249 &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.
250 &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.
251 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
252 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
253 {
254 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
255 },
256 ],
257 &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.
258 },
259 &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.
260 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
261 },
262 &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}`.
263 &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`.
264 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
265 },
266 }</pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
271 <pre>Deletes an address group.
272
273 Args:
274 name: string, Required. A name of the AddressGroup to delete. Must be in the format `projects/*/locations/{location}/addressGroups/*`. (required)
275 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).
276 x__xgafv: string, V1 error format.
277 Allowed values
278 1 - v1 error format
279 2 - v2 error format
280
281 Returns:
282 An object of the form:
283
284 { # This resource represents a long-running operation that is the result of a network API call.
285 &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.
286 &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.
287 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
288 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
289 {
290 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
291 },
292 ],
293 &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.
294 },
295 &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.
296 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
297 },
298 &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}`.
299 &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`.
300 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
301 },
302 }</pre>
303 </div>
304
305 <div class="method">
306 <code class="details" id="get">get(name, x__xgafv=None)</code>
307 <pre>Gets details of a single address group.
308
309 Args:
310 name: string, Required. A name of the AddressGroup to get. Must be in the format `projects/*/locations/{location}/addressGroups/*`. (required)
311 x__xgafv: string, V1 error format.
312 Allowed values
313 1 - v1 error format
314 2 - v2 error format
315
316 Returns:
317 An object of the form:
318
319 { # AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
320 &quot;capacity&quot;: 42, # Required. Capacity of the Address Group
321 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
322 &quot;description&quot;: &quot;A String&quot;, # Optional. Free-text description of the resource.
323 &quot;items&quot;: [ # Optional. List of items.
324 &quot;A String&quot;,
325 ],
326 &quot;labels&quot;: { # Optional. Set of label tags associated with the AddressGroup resource.
327 &quot;a_key&quot;: &quot;A String&quot;,
328 },
329 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
330 &quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
331 &quot;A String&quot;,
332 ],
333 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
334 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
335 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
336 }</pre>
337 </div>
338
339 <div class="method">
340 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
341 <pre>Lists address groups in a given project and location.
342
343 Args:
344 parent: string, Required. The project and location from which the AddressGroups should be listed, specified in the format `projects/*/locations/{location}`. (required)
345 pageSize: integer, Maximum number of AddressGroups to return per call.
346 pageToken: string, The value returned by the last `ListAddressGroupsResponse` Indicates that this is a continuation of a prior `ListAddressGroups` call, and that the system should return the next page of data.
347 returnPartialSuccess: boolean, Optional. If true, allow partial responses for multi-regional Aggregated List requests.
348 x__xgafv: string, V1 error format.
349 Allowed values
350 1 - v1 error format
351 2 - v2 error format
352
353 Returns:
354 An object of the form:
355
356 { # Response returned by the ListAddressGroups method.
357 &quot;addressGroups&quot;: [ # List of AddressGroups resources.
358 { # AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
359 &quot;capacity&quot;: 42, # Required. Capacity of the Address Group
360 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
361 &quot;description&quot;: &quot;A String&quot;, # Optional. Free-text description of the resource.
362 &quot;items&quot;: [ # Optional. List of items.
363 &quot;A String&quot;,
364 ],
365 &quot;labels&quot;: { # Optional. Set of label tags associated with the AddressGroup resource.
366 &quot;a_key&quot;: &quot;A String&quot;,
367 },
368 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
369 &quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
370 &quot;A String&quot;,
371 ],
372 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
373 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
374 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
375 },
376 ],
377 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
378 &quot;unreachable&quot;: [ # Locations that could not be reached.
379 &quot;A String&quot;,
380 ],
381 }</pre>
382 </div>
383
384 <div class="method">
385 <code class="details" id="listReferences">listReferences(addressGroup, pageSize=None, pageToken=None, x__xgafv=None)</code>
386 <pre>Lists references of an address group.
387
388 Args:
389 addressGroup: string, Required. A name of the AddressGroup to clone items to. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`. (required)
390 pageSize: integer, The maximum number of references to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response&#x27;s next_page_token to determine if there are more AddressGroupUsers left to be queried.
391 pageToken: string, The next_page_token value returned from a previous List request, if any.
392 x__xgafv: string, V1 error format.
393 Allowed values
394 1 - v1 error format
395 2 - v2 error format
396
397 Returns:
398 An object of the form:
399
400 { # Response of the ListAddressGroupReferences method.
401 &quot;addressGroupReferences&quot;: [ # A list of references that matches the specified filter in the request.
402 { # The Reference of AddressGroup.
403 &quot;firewallPolicy&quot;: &quot;A String&quot;, # FirewallPolicy that is using the Address Group.
404 &quot;rulePriority&quot;: 42, # Rule priority of the FirewallPolicy that is using the Address Group.
405 &quot;securityPolicy&quot;: &quot;A String&quot;, # Cloud Armor SecurityPolicy that is using the Address Group.
406 },
407 ],
408 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
409 }</pre>
410 </div>
411
412 <div class="method">
413 <code class="details" id="listReferences_next">listReferences_next()</code>
414 <pre>Retrieves the next page of results.
415
416 Args:
417 previous_request: The request for the previous page. (required)
418 previous_response: The response from the request for the previous page. (required)
419
420 Returns:
421 A request object that you can call &#x27;execute()&#x27; on to request the next
422 page. Returns None if there are no more items in the collection.
423 </pre>
424 </div>
425
426 <div class="method">
427 <code class="details" id="list_next">list_next()</code>
428 <pre>Retrieves the next page of results.
429
430 Args:
431 previous_request: The request for the previous page. (required)
432 previous_response: The response from the request for the previous page. (required)
433
434 Returns:
435 A request object that you can call &#x27;execute()&#x27; on to request the next
436 page. Returns None if there are no more items in the collection.
437 </pre>
438 </div>
439
440 <div class="method">
441 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
442 <pre>Updates parameters of an address group.
443
444 Args:
445 name: string, Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`. (required)
446 body: object, The request body.
447 The object takes the form of:
448
449 { # AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
450 &quot;capacity&quot;: 42, # Required. Capacity of the Address Group
451 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
452 &quot;description&quot;: &quot;A String&quot;, # Optional. Free-text description of the resource.
453 &quot;items&quot;: [ # Optional. List of items.
454 &quot;A String&quot;,
455 ],
456 &quot;labels&quot;: { # Optional. Set of label tags associated with the AddressGroup resource.
457 &quot;a_key&quot;: &quot;A String&quot;,
458 },
459 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the AddressGroup resource. It matches pattern `projects/*/locations/{location}/addressGroups/`.
460 &quot;purpose&quot;: [ # Optional. List of supported purposes of the Address Group.
461 &quot;A String&quot;,
462 ],
463 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. Server-defined fully-qualified URL for this resource.
464 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the Address Group. Possible values are &quot;IPv4&quot; or &quot;IPV6&quot;.
465 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was updated.
466 }
467
468 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).
469 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup 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.
470 x__xgafv: string, V1 error format.
471 Allowed values
472 1 - v1 error format
473 2 - v2 error format
474
475 Returns:
476 An object of the form:
477
478 { # This resource represents a long-running operation that is the result of a network API call.
479 &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.
480 &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.
481 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
482 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
483 {
484 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
485 },
486 ],
487 &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.
488 },
489 &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.
490 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
491 },
492 &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}`.
493 &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`.
494 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
495 },
496 }</pre>
497 </div>
498
499 <div class="method">
500 <code class="details" id="removeItems">removeItems(addressGroup, body=None, x__xgafv=None)</code>
501 <pre>Removes items from an address group.
502
503 Args:
504 addressGroup: string, Required. A name of the AddressGroup to remove items from. Must be in the format `projects|organization/*/locations/{location}/addressGroups/*`. (required)
505 body: object, The request body.
506 The object takes the form of:
507
508 { # Request used by the RemoveAddressGroupItems method.
509 &quot;items&quot;: [ # Required. List of items to remove.
510 &quot;A String&quot;,
511 ],
512 &quot;requestId&quot;: &quot;A String&quot;, # Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes 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).
513 }
514
515 x__xgafv: string, V1 error format.
516 Allowed values
517 1 - v1 error format
518 2 - v2 error format
519
520 Returns:
521 An object of the form:
522
523 { # This resource represents a long-running operation that is the result of a network API call.
524 &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.
525 &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.
526 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
527 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
528 {
529 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
530 },
531 ],
532 &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.
533 },
534 &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.
535 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
536 },
537 &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}`.
538 &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`.
539 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
540 },
541 }</pre>
542 </div>
543
544 <div class="method">
545 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
546 <pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may &quot;fail open&quot; without warning.
547
548 Args:
549 resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
550 body: object, The request body.
551 The object takes the form of:
552
553 { # Request message for `TestIamPermissions` method.
554 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
555 &quot;A String&quot;,
556 ],
557 }
558
559 x__xgafv: string, V1 error format.
560 Allowed values
561 1 - v1 error format
562 2 - v2 error format
563
564 Returns:
565 An object of the form:
566
567 { # Response message for `TestIamPermissions` method.
568 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
569 &quot;A String&quot;,
570 ],
571 }</pre>
572 </div>
573
574 </body></html>