Google Cloud Dataproc v1 API - Class NodeGroupController.NodeGroupControllerClient (5.14.0)

public class NodeGroupController.NodeGroupControllerClient : ClientBase<NodeGroupController.NodeGroupControllerClient>

Reference documentation and code samples for the Google Cloud Dataproc v1 API class NodeGroupController.NodeGroupControllerClient.

Client for NodeGroupController

Inheritance

object > ClientBase > ClientBaseNodeGroupControllerNodeGroupControllerClient > NodeGroupController.NodeGroupControllerClient

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

NodeGroupControllerClient()

protected NodeGroupControllerClient()

Protected parameterless constructor to allow creation of test doubles.

NodeGroupControllerClient(CallInvoker)

public NodeGroupControllerClient(CallInvoker callInvoker)

Creates a new client for NodeGroupController that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

NodeGroupControllerClient(ChannelBase)

public NodeGroupControllerClient(ChannelBase channel)

Creates a new client for NodeGroupController

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

NodeGroupControllerClient(ClientBaseConfiguration)

protected NodeGroupControllerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateNodeGroup(CreateNodeGroupRequest, CallOptions)

public virtual Operation CreateNodeGroup(CreateNodeGroupRequest request, CallOptions options)

Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request CreateNodeGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateNodeGroup(CreateNodeGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateNodeGroup(CreateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request CreateNodeGroupRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateNodeGroupAsync(CreateNodeGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateNodeGroupAsync(CreateNodeGroupRequest request, CallOptions options)

Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request CreateNodeGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateNodeGroupAsync(CreateNodeGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateNodeGroupAsync(CreateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request CreateNodeGroupRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

GetNodeGroup(GetNodeGroupRequest, CallOptions)

public virtual NodeGroup GetNodeGroup(GetNodeGroupRequest request, CallOptions options)

Gets the resource representation for a node group in a cluster.

Parameters
Name Description
request GetNodeGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
NodeGroup

The response received from the server.

GetNodeGroup(GetNodeGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual NodeGroup GetNodeGroup(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the resource representation for a node group in a cluster.

Parameters
Name Description
request GetNodeGroupRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
NodeGroup

The response received from the server.

GetNodeGroupAsync(GetNodeGroupRequest, CallOptions)

public virtual AsyncUnaryCall<NodeGroup> GetNodeGroupAsync(GetNodeGroupRequest request, CallOptions options)

Gets the resource representation for a node group in a cluster.

Parameters
Name Description
request GetNodeGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNodeGroup

The call object.

GetNodeGroupAsync(GetNodeGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NodeGroup> GetNodeGroupAsync(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the resource representation for a node group in a cluster.

Parameters
Name Description
request GetNodeGroupRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNodeGroup

The call object.

NewInstance(ClientBaseConfiguration)

protected override NodeGroupController.NodeGroupControllerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
NodeGroupControllerNodeGroupControllerClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dataproc.V1.NodeGroupController.NodeGroupControllerClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

ResizeNodeGroup(ResizeNodeGroupRequest, CallOptions)

public virtual Operation ResizeNodeGroup(ResizeNodeGroupRequest request, CallOptions options)

Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request ResizeNodeGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ResizeNodeGroup(ResizeNodeGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ResizeNodeGroup(ResizeNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request ResizeNodeGroupRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

ResizeNodeGroupAsync(ResizeNodeGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ResizeNodeGroupAsync(ResizeNodeGroupRequest request, CallOptions options)

Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request ResizeNodeGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ResizeNodeGroupAsync(ResizeNodeGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ResizeNodeGroupAsync(ResizeNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.

Parameters
Name Description
request ResizeNodeGroupRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.