Class ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource
The "nodeGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource
Constructors
NodeGroupsResource(IClientService)
Constructs a new resource.
Declaration
public NodeGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(NodeGroup, string)
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#nodegroupoperationmetadata).
Declaration
public virtual ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.CreateRequest Create(NodeGroup body, string parent)
Parameters
Type | Name | Description |
---|---|---|
NodeGroup | body | The body of the request. |
string | parent | Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster} |
Returns
Type | Description |
---|---|
ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.CreateRequest |
Get(string)
Gets the resource representation for a node group in a cluster.
Declaration
public virtual ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the node group to retrieve. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} |
Returns
Type | Description |
---|---|
ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.GetRequest |
Repair(RepairNodeGroupRequest, string)
Repair nodes in a node group.
Declaration
public virtual ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.RepairRequest Repair(RepairNodeGroupRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RepairNodeGroupRequest | body | The body of the request. |
string | name | Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} |
Returns
Type | Description |
---|---|
ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.RepairRequest |
Resize(ResizeNodeGroupRequest, string)
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#nodegroupoperationmetadata).
Declaration
public virtual ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.ResizeRequest Resize(ResizeNodeGroupRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResizeNodeGroupRequest | body | The body of the request. |
string | name | Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup} |
Returns
Type | Description |
---|---|
ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.ResizeRequest |