Google Cloud Dataproc v1 API - Class NodeGroupController.NodeGroupControllerClient (5.8.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
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(ClientBaseConfiguration)

protected NodeGroupControllerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallNodeGroup

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
NodeGroupControllerNodeGroupControllerClient
Overrides

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, 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
NameDescription
requestResizeNodeGroupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.