
target.apidocs.com.google.api.services.compute.Compute.RegionNetworkEndpointGroups.html Maven / Gradle / Ivy
Compute.RegionNetworkEndpointGroups (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute
Class Compute.RegionNetworkEndpointGroups
- java.lang.Object
-
- com.google.api.services.compute.Compute.RegionNetworkEndpointGroups
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.RegionNetworkEndpointGroups.Delete
class
Compute.RegionNetworkEndpointGroups.Get
class
Compute.RegionNetworkEndpointGroups.Insert
class
Compute.RegionNetworkEndpointGroups.List
-
Constructor Summary
Constructors
Constructor and Description
RegionNetworkEndpointGroups()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.RegionNetworkEndpointGroups.Delete
delete(String project,
String region,
String networkEndpointGroup)
Deletes the specified network endpoint group.
Compute.RegionNetworkEndpointGroups.Get
get(String project,
String region,
String networkEndpointGroup)
Returns the specified network endpoint group.
Compute.RegionNetworkEndpointGroups.Insert
insert(String project,
String region,
NetworkEndpointGroup content)
Creates a network endpoint group in the specified project using the parameters that are included
in the request.
Compute.RegionNetworkEndpointGroups.List
list(String project,
String region)
Retrieves the list of regional network endpoint groups available to the specified project in the
given region.
-
-
Method Detail
-
delete
public Compute.RegionNetworkEndpointGroups.Delete delete(String project,
String region,
String networkEndpointGroup)
throws IOException
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is
configured as a backend of a backend service.
Create a request for the method "regionNetworkEndpointGroups.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.
region
- The name of the region 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
-
get
public Compute.RegionNetworkEndpointGroups.Get get(String project,
String region,
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 "regionNetworkEndpointGroups.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.
region
- The name of the region 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.RegionNetworkEndpointGroups.Insert insert(String project,
String region,
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 "regionNetworkEndpointGroups.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.
region
- The name of the region 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.RegionNetworkEndpointGroups.List list(String project,
String region)
throws IOException
Retrieves the list of regional network endpoint groups available to the specified project in the
given region.
Create a request for the method "regionNetworkEndpointGroups.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.
region
- The name of the region where the network endpoint group is located. It should comply with RFC1035.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy