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







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
  • Enclosing class:
    Compute


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

      • NetworkEndpointGroups

        public NetworkEndpointGroups()
    • Method Detail

      • 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
      • 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

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy