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