blob: c88b716dcaf0d4f5724c2cb446b4bd606e89b3dd [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="compute_beta.html">Compute Engine API</a> . <a href="compute_beta.globalNetworkEndpointGroups.html">globalNetworkEndpointGroups</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#attachNetworkEndpoints">attachNetworkEndpoints(project, networkEndpointGroup, body=None, requestId=None)</a></code></p>
79<p class="firstline">Attach a network endpoint to the specified network endpoint group.</p>
80<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070081 <code><a href="#close">close()</a></code></p>
82<p class="firstline">Close httplib2 connections.</p>
83<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <code><a href="#delete">delete(project, networkEndpointGroup, requestId=None)</a></code></p>
85<p class="firstline">Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.</p>
86<p class="toc_element">
87 <code><a href="#detachNetworkEndpoints">detachNetworkEndpoints(project, networkEndpointGroup, body=None, requestId=None)</a></code></p>
88<p class="firstline">Detach the network endpoint from the specified network endpoint group.</p>
89<p class="toc_element">
90 <code><a href="#get">get(project, networkEndpointGroup)</a></code></p>
91<p class="firstline">Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.</p>
92<p class="toc_element">
93 <code><a href="#insert">insert(project, body=None, requestId=None)</a></code></p>
94<p class="firstline">Creates a network endpoint group in the specified project using the parameters that are included in the request.</p>
95<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070096 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070097<p class="firstline">Retrieves the list of network endpoint groups that are located in the specified project.</p>
98<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 <code><a href="#listNetworkEndpoints">listNetworkEndpoints(project, networkEndpointGroup, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700100<p class="firstline">Lists the network endpoints in the specified network endpoint group.</p>
101<p class="toc_element">
102 <code><a href="#listNetworkEndpoints_next">listNetworkEndpoints_next(previous_request, previous_response)</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(previous_request, previous_response)</a></code></p>
106<p class="firstline">Retrieves the next page of results.</p>
107<h3>Method Details</h3>
108<div class="method">
109 <code class="details" id="attachNetworkEndpoints">attachNetworkEndpoints(project, networkEndpointGroup, body=None, requestId=None)</code>
110 <pre>Attach a network endpoint to the specified network endpoint group.
111
112Args:
113 project: string, Project ID for this request. (required)
114 networkEndpointGroup: string, The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800119 &quot;networkEndpoints&quot;: [ # The list of network endpoints to be attached.
120 { # The network endpoint.
121 &quot;annotations&quot;: { # Metadata defined as annotations on the network endpoint.
122 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800124 &quot;fqdn&quot;: &quot;A String&quot;, # Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
125 &quot;instance&quot;: &quot;A String&quot;, # The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
126 #
127 # The name must be 1-63 characters long, and comply with RFC1035.
128 &quot;ipAddress&quot;: &quot;A String&quot;, # Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800129 &quot;port&quot;: 42, # Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800130 },
131 ],
132}
Bu Sun Kim65020912020-05-20 12:08:20 -0700133
134 requestId: string, 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.
135
136For 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.
137
138The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
139
140Returns:
141 An object of the form:
142
143 { # Represents an Operation resource.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800144 #
145 # Google Compute Engine has three Operation resources:
146 #
147 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
148 #
149 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
150 #
151 # Operations can be global, regional or zonal.
152 # - For global operations, use the `globalOperations` resource.
153 # - For regional operations, use the `regionOperations` resource.
154 # - For zonal operations, use the `zonalOperations` resource.
155 #
156 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
157 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
158 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
159 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
160 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
161 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
162 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700163 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800164 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
165 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
166 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 },
168 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800169 },
170 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
171 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
172 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
173 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
174 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
175 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800176 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800177 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
178 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
179 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
180 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
181 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
182 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
183 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
184 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
185 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
186 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
187 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
188 {
189 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
190 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
191 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
192 {
193 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
194 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
195 },
196 ],
197 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
198 },
199 ],
200 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
201}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700202</div>
203
204<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700205 <code class="details" id="close">close()</code>
206 <pre>Close httplib2 connections.</pre>
207</div>
208
209<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 <code class="details" id="delete">delete(project, networkEndpointGroup, requestId=None)</code>
211 <pre>Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
212
213Args:
214 project: string, Project ID for this request. (required)
215 networkEndpointGroup: string, The name of the network endpoint group to delete. It should comply with RFC1035. (required)
216 requestId: string, 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.
217
218For 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.
219
220The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
221
222Returns:
223 An object of the form:
224
225 { # Represents an Operation resource.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800226 #
227 # Google Compute Engine has three Operation resources:
228 #
229 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
230 #
231 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
232 #
233 # Operations can be global, regional or zonal.
234 # - For global operations, use the `globalOperations` resource.
235 # - For regional operations, use the `regionOperations` resource.
236 # - For zonal operations, use the `zonalOperations` resource.
237 #
238 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
239 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
240 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
241 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
242 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
243 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
244 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800246 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
247 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
248 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
Bu Sun Kim65020912020-05-20 12:08:20 -0700249 },
250 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800251 },
252 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
253 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
254 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
255 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
256 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
257 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800258 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800259 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
260 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
261 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
262 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
263 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
264 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
265 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
266 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
267 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
268 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
269 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
270 {
271 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
272 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
273 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
274 {
275 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
276 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
277 },
278 ],
279 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
280 },
281 ],
282 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
283}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700284</div>
285
286<div class="method">
287 <code class="details" id="detachNetworkEndpoints">detachNetworkEndpoints(project, networkEndpointGroup, body=None, requestId=None)</code>
288 <pre>Detach the network endpoint from the specified network endpoint group.
289
290Args:
291 project: string, Project ID for this request. (required)
292 networkEndpointGroup: string, The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. (required)
293 body: object, The request body.
294 The object takes the form of:
295
296{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800297 &quot;networkEndpoints&quot;: [ # The list of network endpoints to be detached.
298 { # The network endpoint.
299 &quot;annotations&quot;: { # Metadata defined as annotations on the network endpoint.
300 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700301 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800302 &quot;fqdn&quot;: &quot;A String&quot;, # Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
303 &quot;instance&quot;: &quot;A String&quot;, # The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
304 #
305 # The name must be 1-63 characters long, and comply with RFC1035.
306 &quot;ipAddress&quot;: &quot;A String&quot;, # Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800307 &quot;port&quot;: 42, # Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800308 },
309 ],
310}
Bu Sun Kim65020912020-05-20 12:08:20 -0700311
312 requestId: string, 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.
313
314For 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.
315
316The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
317
318Returns:
319 An object of the form:
320
321 { # Represents an Operation resource.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800322 #
323 # Google Compute Engine has three Operation resources:
324 #
325 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
326 #
327 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
328 #
329 # Operations can be global, regional or zonal.
330 # - For global operations, use the `globalOperations` resource.
331 # - For regional operations, use the `regionOperations` resource.
332 # - For zonal operations, use the `zonalOperations` resource.
333 #
334 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
335 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
336 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
337 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
338 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
339 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
340 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700341 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800342 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
343 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
344 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 },
346 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800347 },
348 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
349 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
350 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
351 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
352 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
353 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800354 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800355 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
356 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
357 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
358 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
359 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
360 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
361 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
362 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
363 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
364 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
365 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
366 {
367 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
368 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
369 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
370 {
371 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
372 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
373 },
374 ],
375 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
376 },
377 ],
378 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
379}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700380</div>
381
382<div class="method">
383 <code class="details" id="get">get(project, networkEndpointGroup)</code>
384 <pre>Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
385
386Args:
387 project: string, Project ID for this request. (required)
388 networkEndpointGroup: string, The name of the network endpoint group. It should comply with RFC1035. (required)
389
390Returns:
391 An object of the form:
392
393 { # Represents a collection of network endpoints.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800394 #
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800395 # A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==) (== resource_for {$api_version}.regionNetworkEndpointGroups ==)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800396 &quot;annotations&quot;: { # Metadata defined as annotations on the network endpoint group.
397 &quot;a_key&quot;: &quot;A String&quot;,
398 },
399 &quot;appEngine&quot;: { # Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
Bu Sun Kim65020912020-05-20 12:08:20 -0700400 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800401 # Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.
402 &quot;service&quot;: &quot;A String&quot;, # Optional serving service.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700403 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800404 # The service name is case-sensitive and must be 1-63 characters long.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700405 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800406 # Example value: &quot;default&quot;, &quot;my-service&quot;.
407 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700408 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800409 # For example, the request URLs &quot;foo1-dot-appname.appspot.com/v1&quot; and &quot;foo1-dot-appname.appspot.com/v2&quot; can be backed by the same Serverless NEG with URL mask &quot;-dot-appname.appspot.com/&quot;. The URL mask will parse them to { service = &quot;foo1&quot;, version = &quot;v1&quot; } and { service = &quot;foo1&quot;, version = &quot;v2&quot; } respectively.
410 &quot;version&quot;: &quot;A String&quot;, # Optional serving version.
411 #
412 # The version name is case-sensitive and must be 1-100 characters long.
413 #
414 # Example value: &quot;v1&quot;, &quot;v2&quot;.
415 },
416 &quot;cloudFunction&quot;: { # Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
417 #
418 # Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.
419 &quot;function&quot;: &quot;A String&quot;, # A user-defined name of the Cloud Function.
420 #
421 # The function name is case-sensitive and must be 1-63 characters long.
422 #
423 # Example value: &quot;func1&quot;.
424 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
425 #
426 # For example, request URLs &quot;mydomain.com/function1&quot; and &quot;mydomain.com/function2&quot; can be backed by the same Serverless NEG with URL mask &quot;/&quot;. The URL mask will parse them to { function = &quot;function1&quot; } and { function = &quot;function2&quot; } respectively.
427 },
428 &quot;cloudRun&quot;: { # Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
429 #
430 # Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.
431 &quot;service&quot;: &quot;A String&quot;, # Cloud Run service is the main resource of Cloud Run.
432 #
433 # The service must be 1-63 characters long, and comply with RFC1035.
434 #
435 # Example value: &quot;run-service&quot;.
436 &quot;tag&quot;: &quot;A String&quot;, # Optional Cloud Run tag represents the &quot;named-revision&quot; to provide additional fine-grained traffic routing information.
437 #
438 # The tag must be 1-63 characters long, and comply with RFC1035.
439 #
440 # Example value: &quot;revision-0010&quot;.
441 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
442 #
443 # For example, request URLs &quot;foo1.domain.com/bar1&quot; and &quot;foo1.domain.com/bar2&quot; can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask &quot;.domain.com/&quot;. The URL mask will parse them to { service=&quot;bar1&quot;, tag=&quot;foo1&quot; } and { service=&quot;bar2&quot;, tag=&quot;foo2&quot; } respectively.
444 },
445 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
446 &quot;defaultPort&quot;: 42, # The default port used if the port number is not specified in the network endpoint.
447 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
448 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
449 &quot;kind&quot;: &quot;compute#networkEndpointGroup&quot;, # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
450 &quot;loadBalancer&quot;: { # Load balancing specific fields for network endpoint group. # This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated.
451 &quot;defaultPort&quot;: 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
452 &quot;network&quot;: &quot;A String&quot;, # The URL of the network to which all network endpoints in the NEG belong. Uses &quot;default&quot; project network if unspecified. [Deprecated] This field is deprecated.
453 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
454 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
455 },
456 &quot;name&quot;: &quot;A String&quot;, # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
457 &quot;network&quot;: &quot;A String&quot;, # The URL of the network to which all network endpoints in the NEG belong. Uses &quot;default&quot; project network if unspecified.
458 &quot;networkEndpointType&quot;: &quot;A String&quot;, # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, or SERVERLESS.
459 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the network endpoint group is located.
460 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
461 &quot;size&quot;: 42, # [Output only] Number of network endpoints in the network endpoint group.
462 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
463 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the network endpoint group is located.
464}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700465</div>
466
467<div class="method">
468 <code class="details" id="insert">insert(project, body=None, requestId=None)</code>
469 <pre>Creates a network endpoint group in the specified project using the parameters that are included in the request.
470
471Args:
472 project: string, Project ID for this request. (required)
473 body: object, The request body.
474 The object takes the form of:
475
476{ # Represents a collection of network endpoints.
477 #
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800478 # A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==) (== resource_for {$api_version}.regionNetworkEndpointGroups ==)
Bu Sun Kim65020912020-05-20 12:08:20 -0700479 &quot;annotations&quot;: { # Metadata defined as annotations on the network endpoint group.
480 &quot;a_key&quot;: &quot;A String&quot;,
481 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700482 &quot;appEngine&quot;: { # Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
483 #
484 # Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.
485 &quot;service&quot;: &quot;A String&quot;, # Optional serving service.
486 #
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700487 # The service name is case-sensitive and must be 1-63 characters long.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700488 #
489 # Example value: &quot;default&quot;, &quot;my-service&quot;.
490 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
491 #
492 # For example, the request URLs &quot;foo1-dot-appname.appspot.com/v1&quot; and &quot;foo1-dot-appname.appspot.com/v2&quot; can be backed by the same Serverless NEG with URL mask &quot;-dot-appname.appspot.com/&quot;. The URL mask will parse them to { service = &quot;foo1&quot;, version = &quot;v1&quot; } and { service = &quot;foo1&quot;, version = &quot;v2&quot; } respectively.
493 &quot;version&quot;: &quot;A String&quot;, # Optional serving version.
494 #
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700495 # The version name is case-sensitive and must be 1-100 characters long.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700496 #
497 # Example value: &quot;v1&quot;, &quot;v2&quot;.
498 },
499 &quot;cloudFunction&quot;: { # Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
500 #
501 # Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.
502 &quot;function&quot;: &quot;A String&quot;, # A user-defined name of the Cloud Function.
503 #
504 # The function name is case-sensitive and must be 1-63 characters long.
505 #
506 # Example value: &quot;func1&quot;.
507 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
508 #
509 # For example, request URLs &quot;mydomain.com/function1&quot; and &quot;mydomain.com/function2&quot; can be backed by the same Serverless NEG with URL mask &quot;/&quot;. The URL mask will parse them to { function = &quot;function1&quot; } and { function = &quot;function2&quot; } respectively.
510 },
511 &quot;cloudRun&quot;: { # Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
512 #
513 # Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.
514 &quot;service&quot;: &quot;A String&quot;, # Cloud Run service is the main resource of Cloud Run.
515 #
516 # The service must be 1-63 characters long, and comply with RFC1035.
517 #
518 # Example value: &quot;run-service&quot;.
519 &quot;tag&quot;: &quot;A String&quot;, # Optional Cloud Run tag represents the &quot;named-revision&quot; to provide additional fine-grained traffic routing information.
520 #
521 # The tag must be 1-63 characters long, and comply with RFC1035.
522 #
523 # Example value: &quot;revision-0010&quot;.
524 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
525 #
526 # For example, request URLs &quot;foo1.domain.com/bar1&quot; and &quot;foo1.domain.com/bar2&quot; can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask &quot;.domain.com/&quot;. The URL mask will parse them to { service=&quot;bar1&quot;, tag=&quot;foo1&quot; } and { service=&quot;bar2&quot;, tag=&quot;foo2&quot; } respectively.
527 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700528 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
529 &quot;defaultPort&quot;: 42, # The default port used if the port number is not specified in the network endpoint.
530 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
531 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
532 &quot;kind&quot;: &quot;compute#networkEndpointGroup&quot;, # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
533 &quot;loadBalancer&quot;: { # Load balancing specific fields for network endpoint group. # This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated.
534 &quot;defaultPort&quot;: 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
535 &quot;network&quot;: &quot;A String&quot;, # The URL of the network to which all network endpoints in the NEG belong. Uses &quot;default&quot; project network if unspecified. [Deprecated] This field is deprecated.
536 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
537 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
538 },
539 &quot;name&quot;: &quot;A String&quot;, # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
540 &quot;network&quot;: &quot;A String&quot;, # The URL of the network to which all network endpoints in the NEG belong. Uses &quot;default&quot; project network if unspecified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700541 &quot;networkEndpointType&quot;: &quot;A String&quot;, # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, or SERVERLESS.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700542 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the network endpoint group is located.
Bu Sun Kim65020912020-05-20 12:08:20 -0700543 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
544 &quot;size&quot;: 42, # [Output only] Number of network endpoints in the network endpoint group.
545 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
546 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the network endpoint group is located.
547}
548
549 requestId: string, 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.
550
551For 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.
552
553The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
554
555Returns:
556 An object of the form:
557
558 { # Represents an Operation resource.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800559 #
560 # Google Compute Engine has three Operation resources:
561 #
562 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
563 #
564 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
565 #
566 # Operations can be global, regional or zonal.
567 # - For global operations, use the `globalOperations` resource.
568 # - For regional operations, use the `regionOperations` resource.
569 # - For zonal operations, use the `zonalOperations` resource.
570 #
571 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
572 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
573 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
574 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
575 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
576 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
577 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700578 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800579 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
580 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
581 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
Bu Sun Kim65020912020-05-20 12:08:20 -0700582 },
583 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800584 },
585 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
586 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
587 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
588 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
589 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
590 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800591 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800592 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
593 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
594 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
595 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
596 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
597 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
598 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
599 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
600 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
601 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
602 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
603 {
604 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
605 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
606 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
607 {
608 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
609 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
610 },
611 ],
612 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
613 },
614 ],
615 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
616}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700617</div>
618
619<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700620 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700621 <pre>Retrieves the list of network endpoint groups that are located in the specified project.
622
623Args:
624 project: string, Project ID for this request. (required)
625 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
626
627For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
628
629You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
630
631To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
632 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
633 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
634
635You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
636
637Currently, only sorting by `name` or `creationTimestamp desc` is supported.
638 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800639 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
Bu Sun Kim65020912020-05-20 12:08:20 -0700640
641Returns:
642 An object of the form:
643
644 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800645 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
646 &quot;items&quot;: [ # A list of NetworkEndpointGroup resources.
647 { # Represents a collection of network endpoints.
648 #
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800649 # A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==) (== resource_for {$api_version}.regionNetworkEndpointGroups ==)
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800650 &quot;annotations&quot;: { # Metadata defined as annotations on the network endpoint group.
651 &quot;a_key&quot;: &quot;A String&quot;,
652 },
653 &quot;appEngine&quot;: { # Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
Bu Sun Kim65020912020-05-20 12:08:20 -0700654 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800655 # Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.
656 &quot;service&quot;: &quot;A String&quot;, # Optional serving service.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700657 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800658 # The service name is case-sensitive and must be 1-63 characters long.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700659 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800660 # Example value: &quot;default&quot;, &quot;my-service&quot;.
661 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700662 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800663 # For example, the request URLs &quot;foo1-dot-appname.appspot.com/v1&quot; and &quot;foo1-dot-appname.appspot.com/v2&quot; can be backed by the same Serverless NEG with URL mask &quot;-dot-appname.appspot.com/&quot;. The URL mask will parse them to { service = &quot;foo1&quot;, version = &quot;v1&quot; } and { service = &quot;foo1&quot;, version = &quot;v2&quot; } respectively.
664 &quot;version&quot;: &quot;A String&quot;, # Optional serving version.
665 #
666 # The version name is case-sensitive and must be 1-100 characters long.
667 #
668 # Example value: &quot;v1&quot;, &quot;v2&quot;.
669 },
670 &quot;cloudFunction&quot;: { # Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
671 #
672 # Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.
673 &quot;function&quot;: &quot;A String&quot;, # A user-defined name of the Cloud Function.
674 #
675 # The function name is case-sensitive and must be 1-63 characters long.
676 #
677 # Example value: &quot;func1&quot;.
678 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services.
679 #
680 # For example, request URLs &quot;mydomain.com/function1&quot; and &quot;mydomain.com/function2&quot; can be backed by the same Serverless NEG with URL mask &quot;/&quot;. The URL mask will parse them to { function = &quot;function1&quot; } and { function = &quot;function2&quot; } respectively.
681 },
682 &quot;cloudRun&quot;: { # Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. # Only valid when networkEndpointType is &quot;SERVERLESS&quot;. Only one of cloudRun, appEngine or cloudFunction may be set.
683 #
684 # Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.
685 &quot;service&quot;: &quot;A String&quot;, # Cloud Run service is the main resource of Cloud Run.
686 #
687 # The service must be 1-63 characters long, and comply with RFC1035.
688 #
689 # Example value: &quot;run-service&quot;.
690 &quot;tag&quot;: &quot;A String&quot;, # Optional Cloud Run tag represents the &quot;named-revision&quot; to provide additional fine-grained traffic routing information.
691 #
692 # The tag must be 1-63 characters long, and comply with RFC1035.
693 #
694 # Example value: &quot;revision-0010&quot;.
695 &quot;urlMask&quot;: &quot;A String&quot;, # A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services.
696 #
697 # For example, request URLs &quot;foo1.domain.com/bar1&quot; and &quot;foo1.domain.com/bar2&quot; can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask &quot;.domain.com/&quot;. The URL mask will parse them to { service=&quot;bar1&quot;, tag=&quot;foo1&quot; } and { service=&quot;bar2&quot;, tag=&quot;foo2&quot; } respectively.
698 },
699 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
700 &quot;defaultPort&quot;: 42, # The default port used if the port number is not specified in the network endpoint.
701 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
702 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
703 &quot;kind&quot;: &quot;compute#networkEndpointGroup&quot;, # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
704 &quot;loadBalancer&quot;: { # Load balancing specific fields for network endpoint group. # This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated.
705 &quot;defaultPort&quot;: 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
706 &quot;network&quot;: &quot;A String&quot;, # The URL of the network to which all network endpoints in the NEG belong. Uses &quot;default&quot; project network if unspecified. [Deprecated] This field is deprecated.
707 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
708 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
709 },
710 &quot;name&quot;: &quot;A String&quot;, # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
711 &quot;network&quot;: &quot;A String&quot;, # The URL of the network to which all network endpoints in the NEG belong. Uses &quot;default&quot; project network if unspecified.
712 &quot;networkEndpointType&quot;: &quot;A String&quot;, # Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, or SERVERLESS.
713 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the network endpoint group is located.
714 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
715 &quot;size&quot;: 42, # [Output only] Number of network endpoints in the network endpoint group.
716 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
717 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the network endpoint group is located.
718 },
719 ],
720 &quot;kind&quot;: &quot;compute#networkEndpointGroupList&quot;, # [Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint group lists.
721 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
722 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
723 &quot;warning&quot;: { # [Output Only] Informational warning message.
724 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
725 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
726 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
727 {
728 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
729 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
Bu Sun Kim65020912020-05-20 12:08:20 -0700730 },
731 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800732 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
733 },
734}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700735</div>
736
737<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700738 <code class="details" id="listNetworkEndpoints">listNetworkEndpoints(project, networkEndpointGroup, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700739 <pre>Lists the network endpoints in the specified network endpoint group.
740
741Args:
742 project: string, Project ID for this request. (required)
743 networkEndpointGroup: string, The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. (required)
744 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
745
746For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
747
748You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
749
750To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
751 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
752 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
753
754You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
755
756Currently, only sorting by `name` or `creationTimestamp desc` is supported.
757 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800758 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
Bu Sun Kim65020912020-05-20 12:08:20 -0700759
760Returns:
761 An object of the form:
762
763 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800764 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
765 &quot;items&quot;: [ # A list of NetworkEndpointWithHealthStatus resources.
766 {
767 &quot;healths&quot;: [ # [Output only] The health status of network endpoint;
Bu Sun Kim65020912020-05-20 12:08:20 -0700768 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800769 &quot;backendService&quot;: { # URL of the backend service associated with the health state of the network endpoint.
770 &quot;backendService&quot;: &quot;A String&quot;,
771 },
772 &quot;forwardingRule&quot;: { # URL of the forwarding rule associated with the health state of the network endpoint.
773 &quot;forwardingRule&quot;: &quot;A String&quot;,
774 },
775 &quot;healthCheck&quot;: { # A full or valid partial URL to a health check. For example, the following are valid URLs: # URL of the health check associated with the health state of the network endpoint.
776 # - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check
777 # - projects/project-id/global/httpHealthChecks/health-check
778 # - global/httpHealthChecks/health-check
779 &quot;healthCheck&quot;: &quot;A String&quot;,
780 },
781 &quot;healthCheckService&quot;: { # A full or valid partial URL to a health check service. For example, the following are valid URLs: # URL of the health check service associated with the health state of the network endpoint.
782 # - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service
783 # - projects/project-id/regions/us-west1/healthCheckServices/health-check-service
784 # - regions/us-west1/healthCheckServices/health-check-service
785 &quot;healthCheckService&quot;: &quot;A String&quot;,
786 },
787 &quot;healthState&quot;: &quot;A String&quot;, # Health state of the network endpoint determined based on the health checks configured.
Bu Sun Kim65020912020-05-20 12:08:20 -0700788 },
789 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800790 &quot;networkEndpoint&quot;: { # The network endpoint. # [Output only] The network endpoint;
791 &quot;annotations&quot;: { # Metadata defined as annotations on the network endpoint.
792 &quot;a_key&quot;: &quot;A String&quot;,
793 },
794 &quot;fqdn&quot;: &quot;A String&quot;, # Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
795 &quot;instance&quot;: &quot;A String&quot;, # The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
796 #
797 # The name must be 1-63 characters long, and comply with RFC1035.
798 &quot;ipAddress&quot;: &quot;A String&quot;, # Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800799 &quot;port&quot;: 42, # Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800800 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700801 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800802 ],
803 &quot;kind&quot;: &quot;compute#networkEndpointGroupsListNetworkEndpoints&quot;, # [Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group.
804 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
805 &quot;warning&quot;: { # [Output Only] Informational warning message.
806 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
807 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
808 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
809 {
810 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
811 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
812 },
813 ],
814 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
815 },
816}</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700817</div>
818
819<div class="method">
820 <code class="details" id="listNetworkEndpoints_next">listNetworkEndpoints_next(previous_request, previous_response)</code>
821 <pre>Retrieves the next page of results.
822
823Args:
824 previous_request: The request for the previous page. (required)
825 previous_response: The response from the request for the previous page. (required)
826
827Returns:
828 A request object that you can call &#x27;execute()&#x27; on to request the next
829 page. Returns None if there are no more items in the collection.
830 </pre>
831</div>
832
833<div class="method">
834 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
835 <pre>Retrieves the next page of results.
836
837Args:
838 previous_request: The request for the previous page. (required)
839 previous_response: The response from the request for the previous page. (required)
840
841Returns:
842 A request object that you can call &#x27;execute()&#x27; on to request the next
843 page. Returns None if there are no more items in the collection.
844 </pre>
845</div>
846
847</body></html>