1<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.networkEndpointGroups.html">networkEndpointGroups</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#aggregatedList">aggregatedList(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
79<p class="firstline">Retrieves the list of network endpoint groups and sorts them by zone.</p>
80<p class="toc_element">
81  <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
84  <code><a href="#attachNetworkEndpoints">attachNetworkEndpoints(project, zone, networkEndpointGroup, body, requestId=None)</a></code></p>
85<p class="firstline">Attach a list of network endpoints to the specified network endpoint group.</p>
86<p class="toc_element">
87  <code><a href="#delete">delete(project, zone, networkEndpointGroup, requestId=None)</a></code></p>
88<p class="firstline">Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.</p>
89<p class="toc_element">
90  <code><a href="#detachNetworkEndpoints">detachNetworkEndpoints(project, zone, networkEndpointGroup, body, requestId=None)</a></code></p>
91<p class="firstline">Detach a list of network endpoints from the specified network endpoint group.</p>
92<p class="toc_element">
93  <code><a href="#get">get(project, zone, networkEndpointGroup)</a></code></p>
94<p class="firstline">Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.</p>
95<p class="toc_element">
96  <code><a href="#insert">insert(project, zone, body, requestId=None)</a></code></p>
97<p class="firstline">Creates a network endpoint group in the specified project using the parameters that are included in the request.</p>
98<p class="toc_element">
99  <code><a href="#list">list(project, zone, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
100<p class="firstline">Retrieves the list of network endpoint groups that are located in the specified project and zone.</p>
101<p class="toc_element">
102  <code><a href="#listNetworkEndpoints">listNetworkEndpoints(project, zone, networkEndpointGroup, body, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
103<p class="firstline">Lists the network endpoints in the specified network endpoint group.</p>
104<p class="toc_element">
105  <code><a href="#listNetworkEndpoints_next">listNetworkEndpoints_next(previous_request, previous_response)</a></code></p>
106<p class="firstline">Retrieves the next page of results.</p>
107<p class="toc_element">
108  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
109<p class="firstline">Retrieves the next page of results.</p>
110<p class="toc_element">
111  <code><a href="#testIamPermissions">testIamPermissions(project, zone, resource, body)</a></code></p>
112<p class="firstline">Returns permissions that a caller has on the specified resource.</p>
113<h3>Method Details</h3>
114<div class="method">
115    <code class="details" id="aggregatedList">aggregatedList(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
116  <pre>Retrieves the list of network endpoint groups and sorts them by zone.
117
118Args:
119  project: string, Project ID for this request. (required)
120  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
121
122You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". 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.
123
124Currently, only sorting by name or creationTimestamp desc is supported.
125  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)
126  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.
127  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 =, !=, >, or <.
128
129For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
130
131You 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.
132
133To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
134
135Returns:
136  An object of the form:
137
138    {
139    "nextPageToken": "A String", # [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.
140    "kind": "compute#networkEndpointGroupAggregatedList", # [Output Only] The resource type, which is always compute#networkEndpointGroupAggregatedList for aggregated lists of network endpoint groups.
141    "items": { # A list of NetworkEndpointGroupsScopedList resources.
142      "a_key": { # The name of the scope that contains this set of network endpoint groups.
143        "warning": { # [Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.
144          "message": "A String", # [Output Only] A human-readable description of the warning code.
145          "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
146          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
147              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
148            {
149              "value": "A String", # [Output Only] A warning data value corresponding to the key.
150              "key": "A String", # [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).
151            },
152          ],
153        },
154        "networkEndpointGroups": [ # [Output Only] The list of network endpoint groups that are contained in this scope.
155          { # Represents a collection of network endpoints.
156              "kind": "compute#networkEndpointGroup", # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
157              "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
158              "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located.
159              "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint.
160              "networkEndpointType": "A String", # Type of network endpoints in this network endpoint group. Currently the only supported value is GCE_VM_IP_PORT.
161              "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
162              "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
163              "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
164              "size": 42, # [Output only] Number of network endpoints in the network endpoint group.
165              "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
166              "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
167              "loadBalancer": { # 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.
168                "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
169                "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
170                "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. [Deprecated] This field is deprecated.
171                "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
172              },
173              "name": "A String", # 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.
174            },
175        ],
176      },
177    },
178    "warning": { # [Output Only] Informational warning message.
179      "message": "A String", # [Output Only] A human-readable description of the warning code.
180      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
181      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
182          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
183        {
184          "value": "A String", # [Output Only] A warning data value corresponding to the key.
185          "key": "A String", # [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).
186        },
187      ],
188    },
189    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
190    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
191  }</pre>
192</div>
193
194<div class="method">
195    <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
196  <pre>Retrieves the next page of results.
197
198Args:
199  previous_request: The request for the previous page. (required)
200  previous_response: The response from the request for the previous page. (required)
201
202Returns:
203  A request object that you can call 'execute()' on to request the next
204  page. Returns None if there are no more items in the collection.
205    </pre>
206</div>
207
208<div class="method">
209    <code class="details" id="attachNetworkEndpoints">attachNetworkEndpoints(project, zone, networkEndpointGroup, body, requestId=None)</code>
210  <pre>Attach a list of network endpoints to the specified network endpoint group.
211
212Args:
213  project: string, Project ID for this request. (required)
214  zone: string, The name of the zone where the network endpoint group is located. It should comply with RFC1035. (required)
215  networkEndpointGroup: string, The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. (required)
216  body: object, The request body. (required)
217    The object takes the form of:
218
219{
220    "networkEndpoints": [ # The list of network endpoints to be attached.
221      { # The network endpoint.
222        "instance": "A String", # 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.
223            #
224            # The name must be 1-63 characters long, and comply with RFC1035.
225        "ipAddress": "A String", # Optional IPv4 address of network endpoint. The IP address must belong to a VM in GCE (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.
226        "port": 42, # Optional port number of network endpoint. If not specified and the NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for the network endpoint group will be used.
227      },
228    ],
229  }
230
231  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.
232
233For 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.
234
235The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
236
237Returns:
238  An object of the form:
239
240    { # Represents an Operation resource.
241      #
242      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
243      #
244      # Operations can be global, regional or zonal.
245      # - For global operations, use the globalOperations resource.
246      # - For regional operations, use the regionOperations resource.
247      # - For zonal operations, use the zonalOperations resource.
248      #
249      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
250    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
251    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
252    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
253    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
254    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
255    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
256    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
257    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
258    "progress": 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.
259    "httpErrorStatusCode": 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.
260    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
261    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
262    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
263    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
264      {
265        "message": "A String", # [Output Only] A human-readable description of the warning code.
266        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
267        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
268            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
269          {
270            "value": "A String", # [Output Only] A warning data value corresponding to the key.
271            "key": "A String", # [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).
272          },
273        ],
274      },
275    ],
276    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
277    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
278    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
279    "name": "A String", # [Output Only] Name of the resource.
280    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
281    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
282      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
283        {
284          "message": "A String", # [Output Only] An optional, human-readable error message.
285          "code": "A String", # [Output Only] The error type identifier for this error.
286          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
287        },
288      ],
289    },
290    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
291    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
292    "targetLink": "A String", # [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.
293  }</pre>
294</div>
295
296<div class="method">
297    <code class="details" id="delete">delete(project, zone, networkEndpointGroup, requestId=None)</code>
298  <pre>Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.
299
300Args:
301  project: string, Project ID for this request. (required)
302  zone: string, The name of the zone where the network endpoint group is located. It should comply with RFC1035. (required)
303  networkEndpointGroup: string, The name of the network endpoint group to delete. It should comply with RFC1035. (required)
304  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.
305
306For 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.
307
308The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
309
310Returns:
311  An object of the form:
312
313    { # Represents an Operation resource.
314      #
315      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
316      #
317      # Operations can be global, regional or zonal.
318      # - For global operations, use the globalOperations resource.
319      # - For regional operations, use the regionOperations resource.
320      # - For zonal operations, use the zonalOperations resource.
321      #
322      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
323    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
324    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
325    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
326    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
327    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
328    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
329    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
330    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
331    "progress": 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.
332    "httpErrorStatusCode": 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.
333    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
334    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
335    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
336    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
337      {
338        "message": "A String", # [Output Only] A human-readable description of the warning code.
339        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
340        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
341            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
342          {
343            "value": "A String", # [Output Only] A warning data value corresponding to the key.
344            "key": "A String", # [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).
345          },
346        ],
347      },
348    ],
349    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
350    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
351    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
352    "name": "A String", # [Output Only] Name of the resource.
353    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
354    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
355      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
356        {
357          "message": "A String", # [Output Only] An optional, human-readable error message.
358          "code": "A String", # [Output Only] The error type identifier for this error.
359          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
360        },
361      ],
362    },
363    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
364    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
365    "targetLink": "A String", # [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.
366  }</pre>
367</div>
368
369<div class="method">
370    <code class="details" id="detachNetworkEndpoints">detachNetworkEndpoints(project, zone, networkEndpointGroup, body, requestId=None)</code>
371  <pre>Detach a list of network endpoints from the specified network endpoint group.
372
373Args:
374  project: string, Project ID for this request. (required)
375  zone: string, The name of the zone where the network endpoint group is located. It should comply with RFC1035. (required)
376  networkEndpointGroup: string, The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. (required)
377  body: object, The request body. (required)
378    The object takes the form of:
379
380{
381    "networkEndpoints": [ # The list of network endpoints to be detached.
382      { # The network endpoint.
383        "instance": "A String", # 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.
384            #
385            # The name must be 1-63 characters long, and comply with RFC1035.
386        "ipAddress": "A String", # Optional IPv4 address of network endpoint. The IP address must belong to a VM in GCE (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.
387        "port": 42, # Optional port number of network endpoint. If not specified and the NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for the network endpoint group will be used.
388      },
389    ],
390  }
391
392  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.
393
394For 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.
395
396The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
397
398Returns:
399  An object of the form:
400
401    { # Represents an Operation resource.
402      #
403      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
404      #
405      # Operations can be global, regional or zonal.
406      # - For global operations, use the globalOperations resource.
407      # - For regional operations, use the regionOperations resource.
408      # - For zonal operations, use the zonalOperations resource.
409      #
410      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
411    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
412    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
413    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
414    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
415    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
416    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
417    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
418    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
419    "progress": 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.
420    "httpErrorStatusCode": 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.
421    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
422    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
423    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
424    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
425      {
426        "message": "A String", # [Output Only] A human-readable description of the warning code.
427        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
428        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
429            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
430          {
431            "value": "A String", # [Output Only] A warning data value corresponding to the key.
432            "key": "A String", # [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).
433          },
434        ],
435      },
436    ],
437    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
438    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
439    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
440    "name": "A String", # [Output Only] Name of the resource.
441    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
442    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
443      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
444        {
445          "message": "A String", # [Output Only] An optional, human-readable error message.
446          "code": "A String", # [Output Only] The error type identifier for this error.
447          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
448        },
449      ],
450    },
451    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
452    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
453    "targetLink": "A String", # [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.
454  }</pre>
455</div>
456
457<div class="method">
458    <code class="details" id="get">get(project, zone, networkEndpointGroup)</code>
459  <pre>Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
460
461Args:
462  project: string, Project ID for this request. (required)
463  zone: string, The name of the zone where the network endpoint group is located. It should comply with RFC1035. (required)
464  networkEndpointGroup: string, The name of the network endpoint group. It should comply with RFC1035. (required)
465
466Returns:
467  An object of the form:
468
469    { # Represents a collection of network endpoints.
470      "kind": "compute#networkEndpointGroup", # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
471      "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
472      "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located.
473      "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint.
474      "networkEndpointType": "A String", # Type of network endpoints in this network endpoint group. Currently the only supported value is GCE_VM_IP_PORT.
475      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
476      "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
477      "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
478      "size": 42, # [Output only] Number of network endpoints in the network endpoint group.
479      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
480      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
481      "loadBalancer": { # 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.
482        "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
483        "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
484        "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. [Deprecated] This field is deprecated.
485        "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
486      },
487      "name": "A String", # 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.
488    }</pre>
489</div>
490
491<div class="method">
492    <code class="details" id="insert">insert(project, zone, body, requestId=None)</code>
493  <pre>Creates a network endpoint group in the specified project using the parameters that are included in the request.
494
495Args:
496  project: string, Project ID for this request. (required)
497  zone: string, The name of the zone where you want to create the network endpoint group. It should comply with RFC1035. (required)
498  body: object, The request body. (required)
499    The object takes the form of:
500
501{ # Represents a collection of network endpoints.
502    "kind": "compute#networkEndpointGroup", # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
503    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
504    "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located.
505    "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint.
506    "networkEndpointType": "A String", # Type of network endpoints in this network endpoint group. Currently the only supported value is GCE_VM_IP_PORT.
507    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
508    "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
509    "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
510    "size": 42, # [Output only] Number of network endpoints in the network endpoint group.
511    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
512    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
513    "loadBalancer": { # 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.
514      "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
515      "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
516      "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. [Deprecated] This field is deprecated.
517      "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
518    },
519    "name": "A String", # 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.
520  }
521
522  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.
523
524For 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.
525
526The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
527
528Returns:
529  An object of the form:
530
531    { # Represents an Operation resource.
532      #
533      # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
534      #
535      # Operations can be global, regional or zonal.
536      # - For global operations, use the globalOperations resource.
537      # - For regional operations, use the regionOperations resource.
538      # - For zonal operations, use the zonalOperations resource.
539      #
540      # For more information, read  Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)
541    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
542    "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
543    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
544    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
545    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
546    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
547    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
548    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
549    "progress": 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.
550    "httpErrorStatusCode": 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.
551    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
552    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
553    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
554    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
555      {
556        "message": "A String", # [Output Only] A human-readable description of the warning code.
557        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
558        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
559            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
560          {
561            "value": "A String", # [Output Only] A warning data value corresponding to the key.
562            "key": "A String", # [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).
563          },
564        ],
565      },
566    ],
567    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
568    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
569    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
570    "name": "A String", # [Output Only] Name of the resource.
571    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
572    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
573      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
574        {
575          "message": "A String", # [Output Only] An optional, human-readable error message.
576          "code": "A String", # [Output Only] The error type identifier for this error.
577          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
578        },
579      ],
580    },
581    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
582    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
583    "targetLink": "A String", # [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.
584  }</pre>
585</div>
586
587<div class="method">
588    <code class="details" id="list">list(project, zone, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
589  <pre>Retrieves the list of network endpoint groups that are located in the specified project and zone.
590
591Args:
592  project: string, Project ID for this request. (required)
593  zone: string, The name of the zone where the network endpoint group is located. It should comply with RFC1035. (required)
594  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
595
596You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". 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.
597
598Currently, only sorting by name or creationTimestamp desc is supported.
599  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)
600  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.
601  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 =, !=, >, or <.
602
603For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
604
605You 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.
606
607To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
608
609Returns:
610  An object of the form:
611
612    {
613    "nextPageToken": "A String", # [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.
614    "kind": "compute#networkEndpointGroupList", # [Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint group lists.
615    "items": [ # A list of NetworkEndpointGroup resources.
616      { # Represents a collection of network endpoints.
617          "kind": "compute#networkEndpointGroup", # [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
618          "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
619          "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located.
620          "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint.
621          "networkEndpointType": "A String", # Type of network endpoints in this network endpoint group. Currently the only supported value is GCE_VM_IP_PORT.
622          "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
623          "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
624          "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong.
625          "size": 42, # [Output only] Number of network endpoints in the network endpoint group.
626          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
627          "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
628          "loadBalancer": { # 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.
629            "defaultPort": 42, # The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.
630            "subnetwork": "A String", # Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.
631            "network": "A String", # The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. [Deprecated] This field is deprecated.
632            "zone": "A String", # [Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.
633          },
634          "name": "A String", # 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.
635        },
636    ],
637    "warning": { # [Output Only] Informational warning message.
638      "message": "A String", # [Output Only] A human-readable description of the warning code.
639      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
640      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
641          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
642        {
643          "value": "A String", # [Output Only] A warning data value corresponding to the key.
644          "key": "A String", # [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).
645        },
646      ],
647    },
648    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
649    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
650  }</pre>
651</div>
652
653<div class="method">
654    <code class="details" id="listNetworkEndpoints">listNetworkEndpoints(project, zone, networkEndpointGroup, body, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
655  <pre>Lists the network endpoints in the specified network endpoint group.
656
657Args:
658  project: string, Project ID for this request. (required)
659  zone: string, The name of the zone where the network endpoint group is located. It should comply with RFC1035. (required)
660  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)
661  body: object, The request body. (required)
662    The object takes the form of:
663
664{
665    "healthStatus": "A String", # Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, the health status of network endpoints will not be provided.
666  }
667
668  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
669
670You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". 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.
671
672Currently, only sorting by name or creationTimestamp desc is supported.
673  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)
674  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.
675  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 =, !=, >, or <.
676
677For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
678
679You 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.
680
681To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
682
683Returns:
684  An object of the form:
685
686    {
687    "nextPageToken": "A String", # [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.
688    "items": [ # A list of NetworkEndpointWithHealthStatus resources.
689      {
690        "healths": [ # [Output only] The health status of network endpoint;
691          {
692            "forwardingRule": { # URL of the forwarding rule associated with the health state of the network endpoint.
693              "forwardingRule": "A String",
694            },
695            "healthState": "A String", # Health state of the network endpoint determined based on the health checks configured.
696            "healthCheck": { # 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.
697                # - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check
698                # - projects/project-id/global/httpHealthChecks/health-check
699                # - global/httpHealthChecks/health-check
700              "healthCheck": "A String",
701            },
702            "backendService": { # URL of the backend service associated with the health state of the network endpoint.
703              "backendService": "A String",
704            },
705          },
706        ],
707        "networkEndpoint": { # The network endpoint. # [Output only] The network endpoint;
708          "instance": "A String", # 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.
709              #
710              # The name must be 1-63 characters long, and comply with RFC1035.
711          "ipAddress": "A String", # Optional IPv4 address of network endpoint. The IP address must belong to a VM in GCE (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.
712          "port": 42, # Optional port number of network endpoint. If not specified and the NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for the network endpoint group will be used.
713        },
714      },
715    ],
716    "kind": "compute#networkEndpointGroupsListNetworkEndpoints", # [Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group.
717    "warning": { # [Output Only] Informational warning message.
718      "message": "A String", # [Output Only] A human-readable description of the warning code.
719      "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
720      "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
721          # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
722        {
723          "value": "A String", # [Output Only] A warning data value corresponding to the key.
724          "key": "A String", # [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).
725        },
726      ],
727    },
728    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
729  }</pre>
730</div>
731
732<div class="method">
733    <code class="details" id="listNetworkEndpoints_next">listNetworkEndpoints_next(previous_request, previous_response)</code>
734  <pre>Retrieves the next page of results.
735
736Args:
737  previous_request: The request for the previous page. (required)
738  previous_response: The response from the request for the previous page. (required)
739
740Returns:
741  A request object that you can call 'execute()' on to request the next
742  page. Returns None if there are no more items in the collection.
743    </pre>
744</div>
745
746<div class="method">
747    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
748  <pre>Retrieves the next page of results.
749
750Args:
751  previous_request: The request for the previous page. (required)
752  previous_response: The response from the request for the previous page. (required)
753
754Returns:
755  A request object that you can call 'execute()' on to request the next
756  page. Returns None if there are no more items in the collection.
757    </pre>
758</div>
759
760<div class="method">
761    <code class="details" id="testIamPermissions">testIamPermissions(project, zone, resource, body)</code>
762  <pre>Returns permissions that a caller has on the specified resource.
763
764Args:
765  project: string, Project ID for this request. (required)
766  zone: string, The name of the zone for this request. (required)
767  resource: string, Name or id of the resource for this request. (required)
768  body: object, The request body. (required)
769    The object takes the form of:
770
771{
772    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
773      "A String",
774    ],
775  }
776
777
778Returns:
779  An object of the form:
780
781    {
782    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
783      "A String",
784    ],
785  }</pre>
786</div>
787
788</body></html>