Google Cloud Dataproc v1 API - Class NodeGroupControllerClientImpl (5.2.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(NodeGroupController.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
NameDescription
grpcClientNodeGroupController.NodeGroupControllerClient

The underlying gRPC client.

settingsNodeGroupControllerSettings

The base NodeGroupControllerSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateNodeGroupOperationsClient

public override OperationsClient CreateNodeGroupOperationsClient { get; }

The long-running operations client for CreateNodeGroup.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override NodeGroupController.NodeGroupControllerClient GrpcClient { get; }

The underlying gRPC NodeGroupController client

Property Value
TypeDescription
NodeGroupController.NodeGroupControllerClient
Overrides

ResizeNodeGroupOperationsClient

public override OperationsClient ResizeNodeGroupOperationsClient { get; }

The long-running operations client for ResizeNodeGroup.

Property Value
TypeDescription
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
NameDescription
requestCreateNodeGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<NodeGroup, NodeGroupOperationMetadata>

The RPC response.

Overrides

CreateNodeGroupAsync(CreateNodeGroupRequest, CallSettings)

public override async 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
NameDescription
requestCreateNodeGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<NodeGroup, NodeGroupOperationMetadata>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NodeGroup>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<NodeGroup, NodeGroupOperationMetadata>

The RPC response.

Overrides

ResizeNodeGroupAsync(ResizeNodeGroupRequest, CallSettings)

public override async 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
NameDescription
requestResizeNodeGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<NodeGroup, NodeGroupOperationMetadata>>

A Task containing the RPC response.

Overrides