![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.Compute.NetworkEndpointGroups.html Maven / Gradle / Ivy
Compute.NetworkEndpointGroups (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute
Class Compute.NetworkEndpointGroups
- java.lang.Object
-
- com.google.api.services.compute.Compute.NetworkEndpointGroups
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.NetworkEndpointGroups.AggregatedList
class
Compute.NetworkEndpointGroups.AttachNetworkEndpoints
class
Compute.NetworkEndpointGroups.Delete
class
Compute.NetworkEndpointGroups.DetachNetworkEndpoints
class
Compute.NetworkEndpointGroups.Get
class
Compute.NetworkEndpointGroups.Insert
class
Compute.NetworkEndpointGroups.List
class
Compute.NetworkEndpointGroups.ListNetworkEndpoints
class
Compute.NetworkEndpointGroups.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
NetworkEndpointGroups()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.NetworkEndpointGroups.AggregatedList
aggregatedList(String project)
Retrieves the list of network endpoint groups and sorts them by zone.
Compute.NetworkEndpointGroups.AttachNetworkEndpoints
attachNetworkEndpoints(String project,
String zone,
String networkEndpointGroup,
NetworkEndpointGroupsAttachEndpointsRequest content)
Attach a list of network endpoints to the specified network endpoint group.
Compute.NetworkEndpointGroups.Delete
delete(String project,
String zone,
String networkEndpointGroup)
Deletes the specified network endpoint group.
Compute.NetworkEndpointGroups.DetachNetworkEndpoints
detachNetworkEndpoints(String project,
String zone,
String networkEndpointGroup,
NetworkEndpointGroupsDetachEndpointsRequest content)
Detach a list of network endpoints from the specified network endpoint group.
Compute.NetworkEndpointGroups.Get
get(String project,
String zone,
String networkEndpointGroup)
Returns the specified network endpoint group.
Compute.NetworkEndpointGroups.Insert
insert(String project,
String zone,
NetworkEndpointGroup content)
Creates a network endpoint group in the specified project using the parameters that are included
in the request.
Compute.NetworkEndpointGroups.List
list(String project,
String zone)
Retrieves the list of network endpoint groups that are located in the specified project and zone.
Compute.NetworkEndpointGroups.ListNetworkEndpoints
listNetworkEndpoints(String project,
String zone,
String networkEndpointGroup,
NetworkEndpointGroupsListEndpointsRequest content)
Lists the network endpoints in the specified network endpoint group.
Compute.NetworkEndpointGroups.TestIamPermissions
testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
aggregatedList
public Compute.NetworkEndpointGroups.AggregatedList aggregatedList(String project)
throws IOException
Retrieves the list of network endpoint groups and sorts them by zone.
Create a request for the method "networkEndpointGroups.aggregatedList".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
- Returns:
- the request
- Throws:
IOException
-
attachNetworkEndpoints
public Compute.NetworkEndpointGroups.AttachNetworkEndpoints attachNetworkEndpoints(String project,
String zone,
String networkEndpointGroup,
NetworkEndpointGroupsAttachEndpointsRequest content)
throws IOException
Attach a list of network endpoints to the specified network endpoint group.
Create a request for the method "networkEndpointGroups.attachNetworkEndpoints".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where the network endpoint group is located. It should comply with RFC1035.
networkEndpointGroup
- The name of the network endpoint group where you are attaching network endpoints to. It should
comply with RFC1035.
content
- the NetworkEndpointGroupsAttachEndpointsRequest
- Returns:
- the request
- Throws:
IOException
-
delete
public Compute.NetworkEndpointGroups.Delete delete(String project,
String zone,
String networkEndpointGroup)
throws IOException
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.
Create a request for the method "networkEndpointGroups.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where the network endpoint group is located. It should comply with RFC1035.
networkEndpointGroup
- The name of the network endpoint group to delete. It should comply with RFC1035.
- Returns:
- the request
- Throws:
IOException
-
detachNetworkEndpoints
public Compute.NetworkEndpointGroups.DetachNetworkEndpoints detachNetworkEndpoints(String project,
String zone,
String networkEndpointGroup,
NetworkEndpointGroupsDetachEndpointsRequest content)
throws IOException
Detach a list of network endpoints from the specified network endpoint group.
Create a request for the method "networkEndpointGroups.detachNetworkEndpoints".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where the network endpoint group is located. It should comply with RFC1035.
networkEndpointGroup
- The name of the network endpoint group where you are removing network endpoints. It should comply
with RFC1035.
content
- the NetworkEndpointGroupsDetachEndpointsRequest
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.NetworkEndpointGroups.Get get(String project,
String zone,
String networkEndpointGroup)
throws IOException
Returns the specified network endpoint group. Gets a list of available network endpoint groups by
making a list() request.
Create a request for the method "networkEndpointGroups.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where the network endpoint group is located. It should comply with RFC1035.
networkEndpointGroup
- The name of the network endpoint group. It should comply with RFC1035.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.NetworkEndpointGroups.Insert insert(String project,
String zone,
NetworkEndpointGroup content)
throws IOException
Creates a network endpoint group in the specified project using the parameters that are included
in the request.
Create a request for the method "networkEndpointGroups.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where you want to create the network endpoint group. It should comply with
RFC1035.
content
- the NetworkEndpointGroup
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.NetworkEndpointGroups.List list(String project,
String zone)
throws IOException
Retrieves the list of network endpoint groups that are located in the specified project and zone.
Create a request for the method "networkEndpointGroups.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where the network endpoint group is located. It should comply with RFC1035.
- Returns:
- the request
- Throws:
IOException
-
listNetworkEndpoints
public Compute.NetworkEndpointGroups.ListNetworkEndpoints listNetworkEndpoints(String project,
String zone,
String networkEndpointGroup,
NetworkEndpointGroupsListEndpointsRequest content)
throws IOException
Lists the network endpoints in the specified network endpoint group.
Create a request for the method "networkEndpointGroups.listNetworkEndpoints".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone where the network endpoint group is located. It should comply with RFC1035.
networkEndpointGroup
- The name of the network endpoint group from which you want to generate a list of included network
endpoints. It should comply with RFC1035.
content
- the NetworkEndpointGroupsListEndpointsRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.NetworkEndpointGroups.TestIamPermissions testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "networkEndpointGroups.testIamPermissions".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Project ID for this request.
zone
- The name of the zone for this request.
resource
- Name or id of the resource for this request.
content
- the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy