Class ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.ResizeRequest
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).
Inheritance
ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.ResizeRequest
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.RegionsResource.ClustersResource.NodeGroupsResource.ResizeRequest : DataprocBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ResizeRequest(IClientService, ResizeNodeGroupRequest, string)
Constructs a new Resize request.
Declaration
public ResizeRequest(IClientService service, ResizeNodeGroupRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResizeNodeGroupRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Resize parameter list.
Declaration
protected override void InitParameters()