public sealed class NodeGroupControllerClientImpl : NodeGroupControllerClientReference documentation and code samples for the Google Cloud Dataproc v1 API class NodeGroupControllerClientImpl.
NodeGroupController client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dataproc.V1Assembly
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 |
NodeGroupControllerNodeGroupControllerClientThe underlying gRPC client. |
settings |
NodeGroupControllerSettingsThe base NodeGroupControllerSettings used within this client. |
logger |
ILoggerOptional 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 |
|
GrpcClient
public override NodeGroupController.NodeGroupControllerClient GrpcClient { get; }The underlying gRPC NodeGroupController client
| Property Value | |
|---|---|
| Type | Description |
NodeGroupControllerNodeGroupControllerClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
ResizeNodeGroupOperationsClient
public override OperationsClient ResizeNodeGroupOperationsClient { get; }The long-running operations client for ResizeNodeGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
CreateNodeGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationNodeGroupNodeGroupOperationMetadata |
The RPC response. |
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 |
CreateNodeGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationNodeGroupNodeGroupOperationMetadata |
A Task containing the RPC response. |
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 |
GetNodeGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NodeGroup |
The RPC response. |
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 |
GetNodeGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNodeGroup |
A Task containing the RPC response. |
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 |
ResizeNodeGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationNodeGroupNodeGroupOperationMetadata |
The RPC response. |
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 |
ResizeNodeGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationNodeGroupNodeGroupOperationMetadata |
A Task containing the RPC response. |