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

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







Compute.NodeGroups (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute

Class Compute.NodeGroups

  • Enclosing class:
    Compute


    public class Compute.NodeGroups
    extends Object
    The "nodeGroups" collection of methods.
    • Constructor Detail

      • NodeGroups

        public NodeGroups()
    • Method Detail

      • aggregatedList

        public Compute.NodeGroups.AggregatedList aggregatedList(String project)
                                                         throws IOException
        Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. Create a request for the method "nodeGroups.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
      • delete

        public Compute.NodeGroups.Delete delete(String project,
                                                String zone,
                                                String nodeGroup)
                                         throws IOException
        Deletes the specified NodeGroup resource. Create a request for the method "nodeGroups.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 for this request.
        nodeGroup - Name of the NodeGroup resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.NodeGroups.Get get(String project,
                                          String zone,
                                          String nodeGroup)
                                   throws IOException
        Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. Create a request for the method "nodeGroups.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 for this request.
        nodeGroup - Name of the node group to return.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Compute.NodeGroups.GetIamPolicy getIamPolicy(String project,
                                                            String zone,
                                                            String resource)
                                                     throws IOException
        Gets the access control policy for a resource. May be empty if no such policy or resource exists. Create a request for the method "nodeGroups.getIamPolicy". 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.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.NodeGroups.Insert insert(String project,
                                                String zone,
                                                Integer initialNodeCount,
                                                NodeGroup content)
                                         throws IOException
        Creates a NodeGroup resource in the specified project using the data included in the request. Create a request for the method "nodeGroups.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 for this request.
        initialNodeCount - Initial count of nodes in the node group.
        content - the NodeGroup
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.NodeGroups.List list(String project,
                                            String zone)
                                     throws IOException
        Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group. Create a request for the method "nodeGroups.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 for this request.
        Returns:
        the request
        Throws:
        IOException
      • listNodes

        public Compute.NodeGroups.ListNodes listNodes(String project,
                                                      String zone,
                                                      String nodeGroup)
                                               throws IOException
        Lists nodes in the node group. Create a request for the method "nodeGroups.listNodes". 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.
        nodeGroup - Name of the NodeGroup resource whose nodes you want to list.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Compute.NodeGroups.Patch patch(String project,
                                              String zone,
                                              String nodeGroup,
                                              NodeGroup content)
                                       throws IOException
        Updates the specified node group. Create a request for the method "nodeGroups.patch". 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.
        nodeGroup - Name of the NodeGroup resource to update.
        content - the NodeGroup
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy