5.29.0 (latest) 5.28.0 5.27.0 5.26.0 5.25.0 5.24.0 5.23.0 5.22.0 5.21.0 5.20.0 5.19.0 5.18.0 5.17.0 5.16.0 5.15.0 5.14.0 5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0.0 4.0.0 3.4.0 3.3.0 3.2.0 3.1.0

```javascript
public class NodeGroupController.NodeGroupControllerClient : ClientBase<NodeGroupController.NodeGroupControllerClient>
```
Reference documentation and code samples for the Google Cloud Dataproc v1 API class NodeGroupController.NodeGroupControllerClient.

Client for NodeGroupController

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[NodeGroupController](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.NodeGroupController.md.txt)[NodeGroupControllerClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.NodeGroupController.NodeGroupControllerClient.md.txt) \> NodeGroupController.NodeGroupControllerClient

## Inherited Members

[ClientBase\<NodeGroupController.NodeGroupControllerClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataproc.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.md.txt)

## Assembly

Google.Cloud.Dataproc.V1.dll

## Constructors

### NodeGroupControllerClient()

```javascript
protected NodeGroupControllerClient()
```
Protected parameterless constructor to allow creation of test doubles.

### NodeGroupControllerClient(CallInvoker)

```javascript
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)

```javascript
public NodeGroupControllerClient(ChannelBase channel)
```
Creates a new client for NodeGroupController

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### NodeGroupControllerClient(ClientBaseConfiguration)

```javascript
protected NodeGroupControllerClient(ClientBase.ClientBaseConfiguration configuration)
```
Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CreateIAMPolicyClient()

```javascript
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()
```
Creates a new instance of [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyIAMPolicyClient` | A new [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) for the same target as this client. |

### CreateNodeGroup(CreateNodeGroupRequest, CallOptions)

```javascript
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](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#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, DateTime?, CancellationToken)

```javascript
public virtual Operation CreateNodeGroup(CreateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
```
Creates a node group in a cluster. The returned
\[Operation.metadata\]\[google.longrunning.Operation.metadata\] is
[NodeGroupOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#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` | `System.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)

```javascript
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](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateNodeGroupRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateNodeGroupAsync(CreateNodeGroupRequest, Metadata, DateTime?, CancellationToken)

```javascript
public virtual AsyncUnaryCall<Operation> CreateNodeGroupAsync(CreateNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
```
Creates a node group in a cluster. The returned
\[Operation.metadata\]\[google.longrunning.Operation.metadata\] is
[NodeGroupOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#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` | `System.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** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateOperationsClient()

```javascript
public virtual Operations.OperationsClient CreateOperationsClient()
```
Creates a new instance of [Operations.OperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationsOperationsClient` | A new Operations client for the same target as this client. |

### GetNodeGroup(GetNodeGroupRequest, CallOptions)

```javascript
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, DateTime?, CancellationToken)

```javascript
public virtual NodeGroup GetNodeGroup(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
```
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` | `System.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)

```javascript
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** |
| `AsyncUnaryCallNodeGroup` | The call object. |

### GetNodeGroupAsync(GetNodeGroupRequest, Metadata, DateTime?, CancellationToken)

```javascript
public virtual AsyncUnaryCall<NodeGroup> GetNodeGroupAsync(GetNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
```
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` | `System.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** |
| `AsyncUnaryCallNodeGroup` | The call object. |

### NewInstance(ClientBaseConfiguration)

```javascript
protected override NodeGroupController.NodeGroupControllerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
```
Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `NodeGroupControllerNodeGroupControllerClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.Dataproc.V1.NodeGroupController.NodeGroupControllerClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### ResizeNodeGroup(ResizeNodeGroupRequest, CallOptions)

```javascript
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](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#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, DateTime?, CancellationToken)

```javascript
public virtual Operation ResizeNodeGroup(ResizeNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
```
Resizes a node group in a cluster. The returned
\[Operation.metadata\]\[google.longrunning.Operation.metadata\] is
[NodeGroupOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#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` | `System.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)

```javascript
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](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResizeNodeGroupRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### ResizeNodeGroupAsync(ResizeNodeGroupRequest, Metadata, DateTime?, CancellationToken)

```javascript
public virtual AsyncUnaryCall<Operation> ResizeNodeGroupAsync(ResizeNodeGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
```
Resizes a node group in a cluster. The returned
\[Operation.metadata\]\[google.longrunning.Operation.metadata\] is
[NodeGroupOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#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` | `System.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** |
| `AsyncUnaryCallOperation` | The call object. |