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

target.apidocs.com.google.api.services.dataproc.Dataproc.Projects.Regions.Clusters.NodeGroups.html Maven / Gradle / Ivy

The newest version!






Dataproc.Projects.Regions.Clusters.NodeGroups (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc

Class Dataproc.Projects.Regions.Clusters.NodeGroups

  • java.lang.Object
    • com.google.api.services.dataproc.Dataproc.Projects.Regions.Clusters.NodeGroups
    • Constructor Detail

      • NodeGroups

        public NodeGroups()
    • Method Detail

      • create

        public Dataproc.Projects.Regions.Clusters.NodeGroups.Create create(String parent,
                                                                           NodeGroup content)
                                                                    throws IOException
        Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperation metadata). Create a request for the method "nodeGroups.create". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}
        content - the NodeGroup
        Returns:
        the request
        Throws:
        IOException
      • get

        public Dataproc.Projects.Regions.Clusters.NodeGroups.Get get(String name)
                                                              throws IOException
        Gets the resource representation for a node group in a cluster. Create a request for the method "nodeGroups.get". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the node group to retrieve. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}
        Returns:
        the request
        Throws:
        IOException
      • repair

        public Dataproc.Projects.Regions.Clusters.NodeGroups.Repair repair(String name,
                                                                           RepairNodeGroupRequest content)
                                                                    throws IOException
        Repair nodes in a node group. Create a request for the method "nodeGroups.repair". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}
        content - the RepairNodeGroupRequest
        Returns:
        the request
        Throws:
        IOException
      • resize

        public Dataproc.Projects.Regions.Clusters.NodeGroups.Resize resize(String name,
                                                                           ResizeNodeGroupRequest content)
                                                                    throws IOException
        Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperation metadata). Create a request for the method "nodeGroups.resize". This request holds the parameters needed by the dataproc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}
        content - the ResizeNodeGroupRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy