All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.NetworkEndpointGroups.html Maven / Gradle / Ivy

The newest version!






Compute.NetworkEndpointGroups (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute

Class Compute.NetworkEndpointGroups

  • java.lang.Object
    • com.google.api.services.compute.Compute.NetworkEndpointGroups
  • Enclosing class:
    Compute


    public class Compute.NetworkEndpointGroups
    extends Object
    The "networkEndpointGroups" collection of methods.
    • Constructor Detail

      • NetworkEndpointGroups

        public NetworkEndpointGroups()
    • Method Detail

      • aggregatedList

        public Compute.NetworkEndpointGroups.AggregatedList aggregatedList(String project)
                                                                    throws IOException
        Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. 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. 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–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy