public class 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 > ClientBase<NodeGroupController.NodeGroupControllerClient> > NodeGroupController.NodeGroupControllerClientNamespace
Google.Cloud.Dataproc.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
NodeGroupControllerClient(ChannelBase)
public NodeGroupControllerClient(ChannelBase channel)
Creates a new client for NodeGroupController
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
NodeGroupControllerClient(ClientBase.ClientBaseConfiguration)
protected NodeGroupControllerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
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 | |
---|---|
Name | Description |
request | CreateNodeGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateNodeGroup(CreateNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateNodeGroup(CreateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.
Parameters | |
---|---|
Name | Description |
request | CreateNodeGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateNodeGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateNodeGroupAsync(CreateNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateNodeGroupAsync(CreateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.
Parameters | |
---|---|
Name | Description |
request | CreateNodeGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | 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 | |
---|---|
Type | Description |
Operations.OperationsClient | 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 | |
---|---|
Name | Description |
request | GetNodeGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NodeGroup | The response received from the server. |
GetNodeGroup(GetNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NodeGroup GetNodeGroup(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the resource representation for a node group in a cluster.
Parameters | |
---|---|
Name | Description |
request | GetNodeGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetNodeGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NodeGroup> | The call object. |
GetNodeGroupAsync(GetNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NodeGroup> GetNodeGroupAsync(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the resource representation for a node group in a cluster.
Parameters | |
---|---|
Name | Description |
request | GetNodeGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NodeGroup> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override NodeGroupController.NodeGroupControllerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NodeGroupController.NodeGroupControllerClient |
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 | |
---|---|
Name | Description |
request | ResizeNodeGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
ResizeNodeGroup(ResizeNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation ResizeNodeGroup(ResizeNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.
Parameters | |
---|---|
Name | Description |
request | ResizeNodeGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ResizeNodeGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
ResizeNodeGroupAsync(ResizeNodeGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ResizeNodeGroupAsync(ResizeNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Resizes a node group in a cluster. The returned [Operation.metadata][google.longrunning.Operation.metadata] is NodeGroupOperationMetadata.
Parameters | |
---|---|
Name | Description |
request | ResizeNodeGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |