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

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

The newest version!






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












com.google.api.services.compute

Class Compute.RegionInstanceGroups

  • Enclosing class:
    Compute


    public class Compute.RegionInstanceGroups
    extends Object
    The "regionInstanceGroups" collection of methods.
    • Constructor Detail

      • RegionInstanceGroups

        public RegionInstanceGroups()
    • Method Detail

      • get

        public Compute.RegionInstanceGroups.Get get(String project,
                                                    String region,
                                                    String instanceGroup)
                                             throws IOException
        Returns the specified instance group resource. Create a request for the method "regionInstanceGroups.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 - Name of the region scoping this request.
        instanceGroup - Name of the instance group resource to return.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.RegionInstanceGroups.List list(String project,
                                                      String region)
                                               throws IOException
        Retrieves the list of instance group resources contained within the specified region. Create a request for the method "regionInstanceGroups.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 - Name of the region scoping this request.
        Returns:
        the request
        Throws:
        IOException
      • listInstances

        public Compute.RegionInstanceGroups.ListInstances listInstances(String project,
                                                                        String region,
                                                                        String instanceGroup,
                                                                        RegionInstanceGroupsListInstancesRequest content)
                                                                 throws IOException
        Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported. Create a request for the method "regionInstanceGroups.listInstances". 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 - Name of the region scoping this request.
        instanceGroup - Name of the regional instance group for which we want to list the instances.
        content - the RegionInstanceGroupsListInstancesRequest
        Returns:
        the request
        Throws:
        IOException
      • setNamedPorts

        public Compute.RegionInstanceGroups.SetNamedPorts setNamedPorts(String project,
                                                                        String region,
                                                                        String instanceGroup,
                                                                        RegionInstanceGroupsSetNamedPortsRequest content)
                                                                 throws IOException
        Sets the named ports for the specified regional instance group. Create a request for the method "regionInstanceGroups.setNamedPorts". 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 - Name of the region scoping this request.
        instanceGroup - The name of the regional instance group where the named ports are updated.
        content - the RegionInstanceGroupsSetNamedPortsRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy