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.
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 | 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 |
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 | 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. |
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. |
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. |
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. |
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. |
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. |