Google Cloud Dataproc v1 API - Class NodeGroupControllerClientImpl (5.11.0)

public sealed class NodeGroupControllerClientImpl : NodeGroupControllerClient

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

NodeGroupController client wrapper implementation, for convenient use.

Inheritance

object > NodeGroupControllerClient > NodeGroupControllerClientImpl

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Remarks

The NodeGroupControllerService provides methods to manage node groups of Compute Engine managed instances.

Constructors

NodeGroupControllerClientImpl(NodeGroupControllerClient, NodeGroupControllerSettings, ILogger)

public NodeGroupControllerClientImpl(NodeGroupController.NodeGroupControllerClient grpcClient, NodeGroupControllerSettings settings, ILogger logger)

Constructs a client wrapper for the NodeGroupController service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient NodeGroupControllerNodeGroupControllerClient

The underlying gRPC client.

settings NodeGroupControllerSettings

The base NodeGroupControllerSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateNodeGroupOperationsClient

public override OperationsClient CreateNodeGroupOperationsClient { get; }

The long-running operations client for CreateNodeGroup.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override NodeGroupController.NodeGroupControllerClient GrpcClient { get; }

The underlying gRPC NodeGroupController client

Property Value
Type Description
NodeGroupControllerNodeGroupControllerClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

ResizeNodeGroupOperationsClient

public override OperationsClient ResizeNodeGroupOperationsClient { get; }

The long-running operations client for ResizeNodeGroup.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateNodeGroup(CreateNodeGroupRequest, CallSettings)

public override Operation<NodeGroup, NodeGroupOperationMetadata> CreateNodeGroup(CreateNodeGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateNodeGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNodeGroupNodeGroupOperationMetadata

The RPC response.

Overrides

CreateNodeGroupAsync(CreateNodeGroupRequest, CallSettings)

public override Task<Operation<NodeGroup, NodeGroupOperationMetadata>> CreateNodeGroupAsync(CreateNodeGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateNodeGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNodeGroupNodeGroupOperationMetadata

A Task containing the RPC response.

Overrides

GetNodeGroup(GetNodeGroupRequest, CallSettings)

public override NodeGroup GetNodeGroup(GetNodeGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetNodeGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NodeGroup

The RPC response.

Overrides

GetNodeGroupAsync(GetNodeGroupRequest, CallSettings)

public override Task<NodeGroup> GetNodeGroupAsync(GetNodeGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetNodeGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNodeGroup

A Task containing the RPC response.

Overrides

ResizeNodeGroup(ResizeNodeGroupRequest, CallSettings)

public override Operation<NodeGroup, NodeGroupOperationMetadata> ResizeNodeGroup(ResizeNodeGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ResizeNodeGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationNodeGroupNodeGroupOperationMetadata

The RPC response.

Overrides

ResizeNodeGroupAsync(ResizeNodeGroupRequest, CallSettings)

public override Task<Operation<NodeGroup, NodeGroupOperationMetadata>> ResizeNodeGroupAsync(ResizeNodeGroupRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ResizeNodeGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationNodeGroupNodeGroupOperationMetadata

A Task containing the RPC response.

Overrides