[BindServiceMethod(typeof(NodeGroupController), "BindService")]
public abstract class NodeGroupController.NodeGroupControllerBase
Reference documentation and code samples for the Google Cloud Dataproc v1 API class NodeGroupController.NodeGroupControllerBase.
Base class for server-side implementations of NodeGroupController
Namespace
GoogleCloudGoogle.Cloud.DataprocV1Assembly
Google.Cloud.Dataproc.V1.dll
Methods
CreateNodeGroup(CreateNodeGroupRequest, ServerCallContext)
public virtual Task<Operation> CreateNodeGroup(CreateNodeGroupRequest request, ServerCallContext context)
Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.
Parameters | |
---|---|
Name | Description |
request | CreateNodeGroupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |
GetNodeGroup(GetNodeGroupRequest, ServerCallContext)
public virtual Task<NodeGroup> GetNodeGroup(GetNodeGroupRequest request, ServerCallContext context)
Gets the resource representation for a node group in a cluster.
Parameters | |
---|---|
Name | Description |
request | GetNodeGroupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskNodeGroup | The response to send back to the client (wrapped by a task). |
ResizeNodeGroup(ResizeNodeGroupRequest, ServerCallContext)
public virtual Task<Operation> ResizeNodeGroup(ResizeNodeGroupRequest request, ServerCallContext context)
Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.
Parameters | |
---|---|
Name | Description |
request | ResizeNodeGroupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation | The response to send back to the client (wrapped by a task). |