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

public class 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 > ClientBase<NodeGroupController.NodeGroupControllerClient> > 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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

NodeGroupControllerClient(ChannelBase)

public NodeGroupControllerClient(ChannelBase channel)

Creates a new client for NodeGroupController

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

NodeGroupControllerClient(ClientBase.ClientBaseConfiguration)

protected NodeGroupControllerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

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
NameDescription
requestCreateNodeGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateNodeGroup(CreateNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestCreateNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateNodeGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateNodeGroupAsync(CreateNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestCreateNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

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
TypeDescription
Operations.OperationsClient

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
NameDescription
requestGetNodeGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NodeGroup

The response received from the server.

GetNodeGroup(GetNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetNodeGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NodeGroup>

The call object.

GetNodeGroupAsync(GetNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NodeGroup>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
NodeGroupController.NodeGroupControllerClient
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
NameDescription
requestResizeNodeGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ResizeNodeGroup(ResizeNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestResizeNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestResizeNodeGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ResizeNodeGroupAsync(ResizeNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestResizeNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.