1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public abstract class WorkstationsClient

Reference documentation and code samples for the Cloud Workstations v1 API class WorkstationsClient.

Workstations client wrapper, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> WorkstationsClient

## Inherited Members

[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)

## Derived Types

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

## Namespace

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

## Assembly

Google.Cloud.Workstations.V1.dll

## Remarks

Service for interacting with Cloud Workstations.

## Properties

### CreateWorkstationClusterOperationsClient

    public virtual OperationsClient CreateWorkstationClusterOperationsClient { get; }

The long-running operations client for `CreateWorkstationCluster`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateWorkstationConfigOperationsClient

    public virtual OperationsClient CreateWorkstationConfigOperationsClient { get; }

The long-running operations client for `CreateWorkstationConfig`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### CreateWorkstationOperationsClient

    public virtual OperationsClient CreateWorkstationOperationsClient { get; }

The long-running operations client for `CreateWorkstation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the Workstations service, which is a host of "workstations.googleapis.com" and a
port of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default Workstations scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IReadOnlyListstring` |   |

**Remarks** The default Workstations scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

### DeleteWorkstationClusterOperationsClient

    public virtual OperationsClient DeleteWorkstationClusterOperationsClient { get; }

The long-running operations client for `DeleteWorkstationCluster`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DeleteWorkstationConfigOperationsClient

    public virtual OperationsClient DeleteWorkstationConfigOperationsClient { get; }

The long-running operations client for `DeleteWorkstationConfig`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DeleteWorkstationOperationsClient

    public virtual OperationsClient DeleteWorkstationOperationsClient { get; }

The long-running operations client for `DeleteWorkstation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### GrpcClient

    public virtual Workstations.WorkstationsClient GrpcClient { get; }

The underlying gRPC Workstations client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `WorkstationsWorkstationsClient` |   |

### IAMPolicyClient

    public virtual IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationsClient` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ServiceMetadata` |   |

### StartWorkstationOperationsClient

    public virtual OperationsClient StartWorkstationOperationsClient { get; }

The long-running operations client for `StartWorkstation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### StopWorkstationOperationsClient

    public virtual OperationsClient StopWorkstationOperationsClient { get; }

The long-running operations client for `StopWorkstation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateWorkstationClusterOperationsClient

    public virtual OperationsClient UpdateWorkstationClusterOperationsClient { get; }

The long-running operations client for `UpdateWorkstationCluster`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateWorkstationConfigOperationsClient

    public virtual OperationsClient UpdateWorkstationConfigOperationsClient { get; }

The long-running operations client for `UpdateWorkstationConfig`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### UpdateWorkstationOperationsClient

    public virtual OperationsClient UpdateWorkstationOperationsClient { get; }

The long-running operations client for `UpdateWorkstation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

## Methods

### Create()

    public static WorkstationsClient Create()

Synchronously creates a [WorkstationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [WorkstationsClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClientBuilder.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WorkstationsClient` | The created [WorkstationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt). |

### CreateAsync(CancellationToken)

    public static Task<WorkstationsClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [WorkstationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [WorkstationsClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClientBuilder.md.txt).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `CancellationToken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationsClient` | The task representing the created [WorkstationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt). |

### CreateWorkstation(CreateWorkstationRequest, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> CreateWorkstation(CreateWorkstationRequest request, CallSettings callSettings = null)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationRequest` 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** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
CreateWorkstationRequest request = new CreateWorkstationRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    WorkstationId = "",
    Workstation = new Workstation(),
    ValidateOnly = false,
};
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.CreateWorkstation(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstation(WorkstationConfigName, Workstation, string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> CreateWorkstation(WorkstationConfigName parent, Workstation workstation, string workstationId, CallSettings callSettings = null)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `workstation` | `Workstation` Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project. |
| `workstationId` | `string` Required. ID to use for the workstation. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
Workstation workstation = new Workstation();
string workstationId = "";
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.CreateWorkstation(parent, workstation, workstationId);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstation(string, Workstation, string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> CreateWorkstation(string parent, Workstation workstation, string workstationId, CallSettings callSettings = null)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstation` | `Workstation` Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project. |
| `workstationId` | `string` Required. ID to use for the workstation. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
Workstation workstation = new Workstation();
string workstationId = "";
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.CreateWorkstation(parent, workstation, workstationId);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationAsync(CreateWorkstationRequest, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> CreateWorkstationAsync(CreateWorkstationRequest request, CallSettings callSettings = null)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationRequest` 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** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
CreateWorkstationRequest request = new CreateWorkstationRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    WorkstationId = "",
    Workstation = new Workstation(),
    ValidateOnly = false,
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.CreateWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationAsync(CreateWorkstationRequest, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> CreateWorkstationAsync(CreateWorkstationRequest request, CancellationToken cancellationToken)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
CreateWorkstationRequest request = new CreateWorkstationRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    WorkstationId = "",
    Workstation = new Workstation(),
    ValidateOnly = false,
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.CreateWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationAsync(WorkstationConfigName, Workstation, string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> CreateWorkstationAsync(WorkstationConfigName parent, Workstation workstation, string workstationId, CallSettings callSettings = null)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `workstation` | `Workstation` Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project. |
| `workstationId` | `string` Required. ID to use for the workstation. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
Workstation workstation = new Workstation();
string workstationId = "";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.CreateWorkstationAsync(parent, workstation, workstationId);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationAsync(WorkstationConfigName, Workstation, string, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> CreateWorkstationAsync(WorkstationConfigName parent, Workstation workstation, string workstationId, CancellationToken cancellationToken)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `workstation` | `Workstation` Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project. |
| `workstationId` | `string` Required. ID to use for the workstation. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
Workstation workstation = new Workstation();
string workstationId = "";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.CreateWorkstationAsync(parent, workstation, workstationId);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationAsync(string, Workstation, string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> CreateWorkstationAsync(string parent, Workstation workstation, string workstationId, CallSettings callSettings = null)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstation` | `Workstation` Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project. |
| `workstationId` | `string` Required. ID to use for the workstation. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
Workstation workstation = new Workstation();
string workstationId = "";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.CreateWorkstationAsync(parent, workstation, workstationId);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationAsync(string, Workstation, string, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> CreateWorkstationAsync(string parent, Workstation workstation, string workstationId, CancellationToken cancellationToken)

Creates a new workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstation` | `Workstation` Required. Workstation to create. If source_workstation is specified, the user must have `workstations.workstations.use` permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project. |
| `workstationId` | `string` Required. ID to use for the workstation. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
Workstation workstation = new Workstation();
string workstationId = "";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.CreateWorkstationAsync(parent, workstation, workstationId);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationCluster(LocationName, WorkstationCluster, string, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> CreateWorkstationCluster(LocationName parent, WorkstationCluster workstationCluster, string workstationClusterId, CallSettings callSettings = null)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. Parent resource name. |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to create. |
| `workstationClusterId` | `string` Required. ID to use for the workstation cluster. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
WorkstationCluster workstationCluster = new WorkstationCluster();
string workstationClusterId = "";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.CreateWorkstationCluster(parent, workstationCluster, workstationClusterId);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationCluster(CreateWorkstationClusterRequest, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> CreateWorkstationCluster(CreateWorkstationClusterRequest request, CallSettings callSettings = null)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationClusterRequest` 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** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
CreateWorkstationClusterRequest request = new CreateWorkstationClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    WorkstationClusterId = "",
    WorkstationCluster = new WorkstationCluster(),
    ValidateOnly = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.CreateWorkstationCluster(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationCluster(string, WorkstationCluster, string, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> CreateWorkstationCluster(string parent, WorkstationCluster workstationCluster, string workstationClusterId, CallSettings callSettings = null)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to create. |
| `workstationClusterId` | `string` Required. ID to use for the workstation cluster. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
WorkstationCluster workstationCluster = new WorkstationCluster();
string workstationClusterId = "";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.CreateWorkstationCluster(parent, workstationCluster, workstationClusterId);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationClusterAsync(LocationName, WorkstationCluster, string, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> CreateWorkstationClusterAsync(LocationName parent, WorkstationCluster workstationCluster, string workstationClusterId, CallSettings callSettings = null)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. Parent resource name. |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to create. |
| `workstationClusterId` | `string` Required. ID to use for the workstation cluster. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
WorkstationCluster workstationCluster = new WorkstationCluster();
string workstationClusterId = "";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.CreateWorkstationClusterAsync(parent, workstationCluster, workstationClusterId);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationClusterAsync(LocationName, WorkstationCluster, string, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> CreateWorkstationClusterAsync(LocationName parent, WorkstationCluster workstationCluster, string workstationClusterId, CancellationToken cancellationToken)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. Parent resource name. |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to create. |
| `workstationClusterId` | `string` Required. ID to use for the workstation cluster. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
WorkstationCluster workstationCluster = new WorkstationCluster();
string workstationClusterId = "";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.CreateWorkstationClusterAsync(parent, workstationCluster, workstationClusterId);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationClusterAsync(CreateWorkstationClusterRequest, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> CreateWorkstationClusterAsync(CreateWorkstationClusterRequest request, CallSettings callSettings = null)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationClusterRequest` 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** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
CreateWorkstationClusterRequest request = new CreateWorkstationClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    WorkstationClusterId = "",
    WorkstationCluster = new WorkstationCluster(),
    ValidateOnly = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.CreateWorkstationClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationClusterAsync(CreateWorkstationClusterRequest, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> CreateWorkstationClusterAsync(CreateWorkstationClusterRequest request, CancellationToken cancellationToken)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationClusterRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
CreateWorkstationClusterRequest request = new CreateWorkstationClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    WorkstationClusterId = "",
    WorkstationCluster = new WorkstationCluster(),
    ValidateOnly = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.CreateWorkstationClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationClusterAsync(string, WorkstationCluster, string, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> CreateWorkstationClusterAsync(string parent, WorkstationCluster workstationCluster, string workstationClusterId, CallSettings callSettings = null)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to create. |
| `workstationClusterId` | `string` Required. ID to use for the workstation cluster. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
WorkstationCluster workstationCluster = new WorkstationCluster();
string workstationClusterId = "";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.CreateWorkstationClusterAsync(parent, workstationCluster, workstationClusterId);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationClusterAsync(string, WorkstationCluster, string, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> CreateWorkstationClusterAsync(string parent, WorkstationCluster workstationCluster, string workstationClusterId, CancellationToken cancellationToken)

Creates a new workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to create. |
| `workstationClusterId` | `string` Required. ID to use for the workstation cluster. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
WorkstationCluster workstationCluster = new WorkstationCluster();
string workstationClusterId = "";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.CreateWorkstationClusterAsync(parent, workstationCluster, workstationClusterId);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfig(CreateWorkstationConfigRequest, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> CreateWorkstationConfig(CreateWorkstationConfigRequest request, CallSettings callSettings = null)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationConfigRequest` 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** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
CreateWorkstationConfigRequest request = new CreateWorkstationConfigRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    WorkstationConfigId = "",
    WorkstationConfig = new WorkstationConfig(),
    ValidateOnly = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.CreateWorkstationConfig(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfig(WorkstationClusterName, WorkstationConfig, string, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> CreateWorkstationConfig(WorkstationClusterName parent, WorkstationConfig workstationConfig, string workstationConfigId, CallSettings callSettings = null)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to create. |
| `workstationConfigId` | `string` Required. ID to use for the workstation configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
WorkstationConfig workstationConfig = new WorkstationConfig();
string workstationConfigId = "";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.CreateWorkstationConfig(parent, workstationConfig, workstationConfigId);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfig(string, WorkstationConfig, string, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> CreateWorkstationConfig(string parent, WorkstationConfig workstationConfig, string workstationConfigId, CallSettings callSettings = null)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to create. |
| `workstationConfigId` | `string` Required. ID to use for the workstation configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
WorkstationConfig workstationConfig = new WorkstationConfig();
string workstationConfigId = "";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.CreateWorkstationConfig(parent, workstationConfig, workstationConfigId);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceCreateWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfigAsync(CreateWorkstationConfigRequest, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> CreateWorkstationConfigAsync(CreateWorkstationConfigRequest request, CallSettings callSettings = null)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationConfigRequest` 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** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
CreateWorkstationConfigRequest request = new CreateWorkstationConfigRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    WorkstationConfigId = "",
    WorkstationConfig = new WorkstationConfig(),
    ValidateOnly = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.CreateWorkstationConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfigAsync(CreateWorkstationConfigRequest, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> CreateWorkstationConfigAsync(CreateWorkstationConfigRequest request, CancellationToken cancellationToken)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateWorkstationConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
CreateWorkstationConfigRequest request = new CreateWorkstationConfigRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    WorkstationConfigId = "",
    WorkstationConfig = new WorkstationConfig(),
    ValidateOnly = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.CreateWorkstationConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfigAsync(WorkstationClusterName, WorkstationConfig, string, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> CreateWorkstationConfigAsync(WorkstationClusterName parent, WorkstationConfig workstationConfig, string workstationConfigId, CallSettings callSettings = null)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to create. |
| `workstationConfigId` | `string` Required. ID to use for the workstation configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
WorkstationConfig workstationConfig = new WorkstationConfig();
string workstationConfigId = "";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.CreateWorkstationConfigAsync(parent, workstationConfig, workstationConfigId);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfigAsync(WorkstationClusterName, WorkstationConfig, string, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> CreateWorkstationConfigAsync(WorkstationClusterName parent, WorkstationConfig workstationConfig, string workstationConfigId, CancellationToken cancellationToken)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to create. |
| `workstationConfigId` | `string` Required. ID to use for the workstation configuration. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
WorkstationConfig workstationConfig = new WorkstationConfig();
string workstationConfigId = "";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.CreateWorkstationConfigAsync(parent, workstationConfig, workstationConfigId);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfigAsync(string, WorkstationConfig, string, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> CreateWorkstationConfigAsync(string parent, WorkstationConfig workstationConfig, string workstationConfigId, CallSettings callSettings = null)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to create. |
| `workstationConfigId` | `string` Required. ID to use for the workstation configuration. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
WorkstationConfig workstationConfig = new WorkstationConfig();
string workstationConfigId = "";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.CreateWorkstationConfigAsync(parent, workstationConfig, workstationConfigId);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### CreateWorkstationConfigAsync(string, WorkstationConfig, string, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> CreateWorkstationConfigAsync(string parent, WorkstationConfig workstationConfig, string workstationConfigId, CancellationToken cancellationToken)

Creates a new workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to create. |
| `workstationConfigId` | `string` Required. ID to use for the workstation configuration. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
WorkstationConfig workstationConfig = new WorkstationConfig();
string workstationConfigId = "";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.CreateWorkstationConfigAsync(parent, workstationConfig, workstationConfigId);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceCreateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstation(DeleteWorkstationRequest, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> DeleteWorkstation(DeleteWorkstationRequest request, CallSettings callSettings = null)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationRequest` 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** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
DeleteWorkstationRequest request = new DeleteWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.DeleteWorkstation(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstation(WorkstationName, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> DeleteWorkstation(WorkstationName name, CallSettings callSettings = null)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.DeleteWorkstation(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> DeleteWorkstation(string name, CallSettings callSettings = null)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.DeleteWorkstation(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationAsync(DeleteWorkstationRequest, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> DeleteWorkstationAsync(DeleteWorkstationRequest request, CallSettings callSettings = null)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationRequest` 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** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkstationRequest request = new DeleteWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.DeleteWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationAsync(DeleteWorkstationRequest, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> DeleteWorkstationAsync(DeleteWorkstationRequest request, CancellationToken cancellationToken)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkstationRequest request = new DeleteWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.DeleteWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationAsync(WorkstationName, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> DeleteWorkstationAsync(WorkstationName name, CallSettings callSettings = null)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.DeleteWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationAsync(WorkstationName, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> DeleteWorkstationAsync(WorkstationName name, CancellationToken cancellationToken)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to delete. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.DeleteWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> DeleteWorkstationAsync(string name, CallSettings callSettings = null)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.DeleteWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationAsync(string, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> DeleteWorkstationAsync(string name, CancellationToken cancellationToken)

Deletes the specified workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to delete. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.DeleteWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationCluster(DeleteWorkstationClusterRequest, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> DeleteWorkstationCluster(DeleteWorkstationClusterRequest request, CallSettings callSettings = null)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationClusterRequest` 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** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
DeleteWorkstationClusterRequest request = new DeleteWorkstationClusterRequest
{
    WorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.DeleteWorkstationCluster(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationCluster(WorkstationClusterName, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> DeleteWorkstationCluster(WorkstationClusterName name, CallSettings callSettings = null)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationClusterName` Required. Name of the workstation cluster to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationClusterName name = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.DeleteWorkstationCluster(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationCluster(string, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> DeleteWorkstationCluster(string name, CallSettings callSettings = null)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation cluster to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.DeleteWorkstationCluster(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationClusterAsync(DeleteWorkstationClusterRequest, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> DeleteWorkstationClusterAsync(DeleteWorkstationClusterRequest request, CallSettings callSettings = null)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationClusterRequest` 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** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkstationClusterRequest request = new DeleteWorkstationClusterRequest
{
    WorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.DeleteWorkstationClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationClusterAsync(DeleteWorkstationClusterRequest, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> DeleteWorkstationClusterAsync(DeleteWorkstationClusterRequest request, CancellationToken cancellationToken)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationClusterRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkstationClusterRequest request = new DeleteWorkstationClusterRequest
{
    WorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.DeleteWorkstationClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationClusterAsync(WorkstationClusterName, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> DeleteWorkstationClusterAsync(WorkstationClusterName name, CallSettings callSettings = null)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationClusterName` Required. Name of the workstation cluster to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName name = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.DeleteWorkstationClusterAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationClusterAsync(WorkstationClusterName, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> DeleteWorkstationClusterAsync(WorkstationClusterName name, CancellationToken cancellationToken)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationClusterName` Required. Name of the workstation cluster to delete. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName name = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.DeleteWorkstationClusterAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationClusterAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> DeleteWorkstationClusterAsync(string name, CallSettings callSettings = null)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation cluster to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.DeleteWorkstationClusterAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationClusterAsync(string, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> DeleteWorkstationClusterAsync(string name, CancellationToken cancellationToken)

Deletes the specified workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation cluster to delete. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.DeleteWorkstationClusterAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfig(DeleteWorkstationConfigRequest, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> DeleteWorkstationConfig(DeleteWorkstationConfigRequest request, CallSettings callSettings = null)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationConfigRequest` 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** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
DeleteWorkstationConfigRequest request = new DeleteWorkstationConfigRequest
{
    WorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.DeleteWorkstationConfig(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfig(WorkstationConfigName, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> DeleteWorkstationConfig(WorkstationConfigName name, CallSettings callSettings = null)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationConfigName` Required. Name of the workstation configuration to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationConfigName name = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.DeleteWorkstationConfig(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfig(string, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> DeleteWorkstationConfig(string name, CallSettings callSettings = null)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation configuration to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.DeleteWorkstationConfig(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceDeleteWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfigAsync(DeleteWorkstationConfigRequest, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> DeleteWorkstationConfigAsync(DeleteWorkstationConfigRequest request, CallSettings callSettings = null)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationConfigRequest` 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** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkstationConfigRequest request = new DeleteWorkstationConfigRequest
{
    WorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.DeleteWorkstationConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfigAsync(DeleteWorkstationConfigRequest, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> DeleteWorkstationConfigAsync(DeleteWorkstationConfigRequest request, CancellationToken cancellationToken)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteWorkstationConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkstationConfigRequest request = new DeleteWorkstationConfigRequest
{
    WorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    ValidateOnly = false,
    Etag = "",
    Force = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.DeleteWorkstationConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfigAsync(WorkstationConfigName, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> DeleteWorkstationConfigAsync(WorkstationConfigName name, CallSettings callSettings = null)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationConfigName` Required. Name of the workstation configuration to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName name = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.DeleteWorkstationConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfigAsync(WorkstationConfigName, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> DeleteWorkstationConfigAsync(WorkstationConfigName name, CancellationToken cancellationToken)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationConfigName` Required. Name of the workstation configuration to delete. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName name = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.DeleteWorkstationConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfigAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> DeleteWorkstationConfigAsync(string name, CallSettings callSettings = null)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation configuration to delete. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.DeleteWorkstationConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### DeleteWorkstationConfigAsync(string, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> DeleteWorkstationConfigAsync(string name, CancellationToken cancellationToken)

Deletes the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation configuration to delete. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.DeleteWorkstationConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceDeleteWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### GenerateAccessToken(GenerateAccessTokenRequest, CallSettings)

    public virtual GenerateAccessTokenResponse GenerateAccessToken(GenerateAccessTokenRequest request, CallSettings callSettings = null)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateAccessTokenRequest` 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** |
| `GenerateAccessTokenResponse` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
GenerateAccessTokenRequest request = new GenerateAccessTokenRequest
{
    WorkstationAsWorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ExpireTime = new Timestamp(),
    Port = 0,
};
// Make the request
GenerateAccessTokenResponse response = workstationsClient.GenerateAccessToken(request);
```

### GenerateAccessToken(WorkstationName, CallSettings)

    public virtual GenerateAccessTokenResponse GenerateAccessToken(WorkstationName workstation, CallSettings callSettings = null)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `WorkstationName` Required. Name of the workstation for which the access token should be generated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GenerateAccessTokenResponse` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationName workstation = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
GenerateAccessTokenResponse response = workstationsClient.GenerateAccessToken(workstation);
```

### GenerateAccessToken(string, CallSettings)

    public virtual GenerateAccessTokenResponse GenerateAccessToken(string workstation, CallSettings callSettings = null)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `string` Required. Name of the workstation for which the access token should be generated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GenerateAccessTokenResponse` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string workstation = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
GenerateAccessTokenResponse response = workstationsClient.GenerateAccessToken(workstation);
```

### GenerateAccessTokenAsync(GenerateAccessTokenRequest, CallSettings)

    public virtual Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(GenerateAccessTokenRequest request, CallSettings callSettings = null)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateAccessTokenRequest` 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** |
| `TaskGenerateAccessTokenResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GenerateAccessTokenRequest request = new GenerateAccessTokenRequest
{
    WorkstationAsWorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ExpireTime = new Timestamp(),
    Port = 0,
};
// Make the request
GenerateAccessTokenResponse response = await workstationsClient.GenerateAccessTokenAsync(request);
```

### GenerateAccessTokenAsync(GenerateAccessTokenRequest, CancellationToken)

    public virtual Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(GenerateAccessTokenRequest request, CancellationToken cancellationToken)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateAccessTokenRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskGenerateAccessTokenResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GenerateAccessTokenRequest request = new GenerateAccessTokenRequest
{
    WorkstationAsWorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ExpireTime = new Timestamp(),
    Port = 0,
};
// Make the request
GenerateAccessTokenResponse response = await workstationsClient.GenerateAccessTokenAsync(request);
```

### GenerateAccessTokenAsync(WorkstationName, CallSettings)

    public virtual Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(WorkstationName workstation, CallSettings callSettings = null)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `WorkstationName` Required. Name of the workstation for which the access token should be generated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskGenerateAccessTokenResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName workstation = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
GenerateAccessTokenResponse response = await workstationsClient.GenerateAccessTokenAsync(workstation);
```

### GenerateAccessTokenAsync(WorkstationName, CancellationToken)

    public virtual Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(WorkstationName workstation, CancellationToken cancellationToken)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `WorkstationName` Required. Name of the workstation for which the access token should be generated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskGenerateAccessTokenResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName workstation = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
GenerateAccessTokenResponse response = await workstationsClient.GenerateAccessTokenAsync(workstation);
```

### GenerateAccessTokenAsync(string, CallSettings)

    public virtual Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(string workstation, CallSettings callSettings = null)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `string` Required. Name of the workstation for which the access token should be generated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskGenerateAccessTokenResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string workstation = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
GenerateAccessTokenResponse response = await workstationsClient.GenerateAccessTokenAsync(workstation);
```

### GenerateAccessTokenAsync(string, CancellationToken)

    public virtual Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(string workstation, CancellationToken cancellationToken)

Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
Once generated this token cannot be revoked and is good for the lifetime
of the token.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `string` Required. Name of the workstation for which the access token should be generated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskGenerateAccessTokenResponse` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string workstation = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
GenerateAccessTokenResponse response = await workstationsClient.GenerateAccessTokenAsync(workstation);
```

### GetWorkstation(GetWorkstationRequest, CallSettings)

    public virtual Workstation GetWorkstation(GetWorkstationRequest request, CallSettings callSettings = null)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationRequest` 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** |
| `Workstation` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
GetWorkstationRequest request = new GetWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
};
// Make the request
Workstation response = workstationsClient.GetWorkstation(request);
```

### GetWorkstation(WorkstationName, CallSettings)

    public virtual Workstation GetWorkstation(WorkstationName name, CallSettings callSettings = null)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Workstation` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Workstation response = workstationsClient.GetWorkstation(name);
```

### GetWorkstation(string, CallSettings)

    public virtual Workstation GetWorkstation(string name, CallSettings callSettings = null)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Workstation` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Workstation response = workstationsClient.GetWorkstation(name);
```

### GetWorkstationAsync(GetWorkstationRequest, CallSettings)

    public virtual Task<Workstation> GetWorkstationAsync(GetWorkstationRequest request, CallSettings callSettings = null)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationRequest` 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** |
| `TaskWorkstation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GetWorkstationRequest request = new GetWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
};
// Make the request
Workstation response = await workstationsClient.GetWorkstationAsync(request);
```

### GetWorkstationAsync(GetWorkstationRequest, CancellationToken)

    public virtual Task<Workstation> GetWorkstationAsync(GetWorkstationRequest request, CancellationToken cancellationToken)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GetWorkstationRequest request = new GetWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
};
// Make the request
Workstation response = await workstationsClient.GetWorkstationAsync(request);
```

### GetWorkstationAsync(WorkstationName, CallSettings)

    public virtual Task<Workstation> GetWorkstationAsync(WorkstationName name, CallSettings callSettings = null)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Workstation response = await workstationsClient.GetWorkstationAsync(name);
```

### GetWorkstationAsync(WorkstationName, CancellationToken)

    public virtual Task<Workstation> GetWorkstationAsync(WorkstationName name, CancellationToken cancellationToken)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the requested resource. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Workstation response = await workstationsClient.GetWorkstationAsync(name);
```

### GetWorkstationAsync(string, CallSettings)

    public virtual Task<Workstation> GetWorkstationAsync(string name, CallSettings callSettings = null)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Workstation response = await workstationsClient.GetWorkstationAsync(name);
```

### GetWorkstationAsync(string, CancellationToken)

    public virtual Task<Workstation> GetWorkstationAsync(string name, CancellationToken cancellationToken)

Returns the requested workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstation` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Workstation response = await workstationsClient.GetWorkstationAsync(name);
```

### GetWorkstationCluster(GetWorkstationClusterRequest, CallSettings)

    public virtual WorkstationCluster GetWorkstationCluster(GetWorkstationClusterRequest request, CallSettings callSettings = null)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationClusterRequest` 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** |
| `WorkstationCluster` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
GetWorkstationClusterRequest request = new GetWorkstationClusterRequest
{
    WorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
};
// Make the request
WorkstationCluster response = workstationsClient.GetWorkstationCluster(request);
```

### GetWorkstationCluster(WorkstationClusterName, CallSettings)

    public virtual WorkstationCluster GetWorkstationCluster(WorkstationClusterName name, CallSettings callSettings = null)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationClusterName` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WorkstationCluster` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationClusterName name = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
WorkstationCluster response = workstationsClient.GetWorkstationCluster(name);
```

### GetWorkstationCluster(string, CallSettings)

    public virtual WorkstationCluster GetWorkstationCluster(string name, CallSettings callSettings = null)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WorkstationCluster` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
WorkstationCluster response = workstationsClient.GetWorkstationCluster(name);
```

### GetWorkstationClusterAsync(GetWorkstationClusterRequest, CallSettings)

    public virtual Task<WorkstationCluster> GetWorkstationClusterAsync(GetWorkstationClusterRequest request, CallSettings callSettings = null)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationClusterRequest` 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** |
| `TaskWorkstationCluster` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GetWorkstationClusterRequest request = new GetWorkstationClusterRequest
{
    WorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
};
// Make the request
WorkstationCluster response = await workstationsClient.GetWorkstationClusterAsync(request);
```

### GetWorkstationClusterAsync(GetWorkstationClusterRequest, CancellationToken)

    public virtual Task<WorkstationCluster> GetWorkstationClusterAsync(GetWorkstationClusterRequest request, CancellationToken cancellationToken)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationClusterRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationCluster` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GetWorkstationClusterRequest request = new GetWorkstationClusterRequest
{
    WorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
};
// Make the request
WorkstationCluster response = await workstationsClient.GetWorkstationClusterAsync(request);
```

### GetWorkstationClusterAsync(WorkstationClusterName, CallSettings)

    public virtual Task<WorkstationCluster> GetWorkstationClusterAsync(WorkstationClusterName name, CallSettings callSettings = null)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationClusterName` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationCluster` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName name = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
WorkstationCluster response = await workstationsClient.GetWorkstationClusterAsync(name);
```

### GetWorkstationClusterAsync(WorkstationClusterName, CancellationToken)

    public virtual Task<WorkstationCluster> GetWorkstationClusterAsync(WorkstationClusterName name, CancellationToken cancellationToken)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationClusterName` Required. Name of the requested resource. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationCluster` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName name = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
WorkstationCluster response = await workstationsClient.GetWorkstationClusterAsync(name);
```

### GetWorkstationClusterAsync(string, CallSettings)

    public virtual Task<WorkstationCluster> GetWorkstationClusterAsync(string name, CallSettings callSettings = null)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationCluster` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
WorkstationCluster response = await workstationsClient.GetWorkstationClusterAsync(name);
```

### GetWorkstationClusterAsync(string, CancellationToken)

    public virtual Task<WorkstationCluster> GetWorkstationClusterAsync(string name, CancellationToken cancellationToken)

Returns the requested workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationCluster` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
WorkstationCluster response = await workstationsClient.GetWorkstationClusterAsync(name);
```

### GetWorkstationConfig(GetWorkstationConfigRequest, CallSettings)

    public virtual WorkstationConfig GetWorkstationConfig(GetWorkstationConfigRequest request, CallSettings callSettings = null)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationConfigRequest` 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** |
| `WorkstationConfig` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
GetWorkstationConfigRequest request = new GetWorkstationConfigRequest
{
    WorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
};
// Make the request
WorkstationConfig response = workstationsClient.GetWorkstationConfig(request);
```

### GetWorkstationConfig(WorkstationConfigName, CallSettings)

    public virtual WorkstationConfig GetWorkstationConfig(WorkstationConfigName name, CallSettings callSettings = null)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationConfigName` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WorkstationConfig` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationConfigName name = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
WorkstationConfig response = workstationsClient.GetWorkstationConfig(name);
```

### GetWorkstationConfig(string, CallSettings)

    public virtual WorkstationConfig GetWorkstationConfig(string name, CallSettings callSettings = null)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WorkstationConfig` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
WorkstationConfig response = workstationsClient.GetWorkstationConfig(name);
```

### GetWorkstationConfigAsync(GetWorkstationConfigRequest, CallSettings)

    public virtual Task<WorkstationConfig> GetWorkstationConfigAsync(GetWorkstationConfigRequest request, CallSettings callSettings = null)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationConfigRequest` 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** |
| `TaskWorkstationConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GetWorkstationConfigRequest request = new GetWorkstationConfigRequest
{
    WorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
};
// Make the request
WorkstationConfig response = await workstationsClient.GetWorkstationConfigAsync(request);
```

### GetWorkstationConfigAsync(GetWorkstationConfigRequest, CancellationToken)

    public virtual Task<WorkstationConfig> GetWorkstationConfigAsync(GetWorkstationConfigRequest request, CancellationToken cancellationToken)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetWorkstationConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
GetWorkstationConfigRequest request = new GetWorkstationConfigRequest
{
    WorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
};
// Make the request
WorkstationConfig response = await workstationsClient.GetWorkstationConfigAsync(request);
```

### GetWorkstationConfigAsync(WorkstationConfigName, CallSettings)

    public virtual Task<WorkstationConfig> GetWorkstationConfigAsync(WorkstationConfigName name, CallSettings callSettings = null)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationConfigName` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName name = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
WorkstationConfig response = await workstationsClient.GetWorkstationConfigAsync(name);
```

### GetWorkstationConfigAsync(WorkstationConfigName, CancellationToken)

    public virtual Task<WorkstationConfig> GetWorkstationConfigAsync(WorkstationConfigName name, CancellationToken cancellationToken)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationConfigName` Required. Name of the requested resource. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName name = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
WorkstationConfig response = await workstationsClient.GetWorkstationConfigAsync(name);
```

### GetWorkstationConfigAsync(string, CallSettings)

    public virtual Task<WorkstationConfig> GetWorkstationConfigAsync(string name, CallSettings callSettings = null)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
WorkstationConfig response = await workstationsClient.GetWorkstationConfigAsync(name);
```

### GetWorkstationConfigAsync(string, CancellationToken)

    public virtual Task<WorkstationConfig> GetWorkstationConfigAsync(string name, CancellationToken cancellationToken)

Returns the requested workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the requested resource. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskWorkstationConfig` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
WorkstationConfig response = await workstationsClient.GetWorkstationConfigAsync(name);
```

### ListUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest, CallSettings)

    public virtual PagedEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> ListUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListUsableWorkstationConfigsRequest` 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** |
| `PagedEnumerableListUsableWorkstationConfigsResponseWorkstationConfig` | A pageable sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
ListUsableWorkstationConfigsRequest request = new ListUsableWorkstationConfigsRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
};
// Make the request
PagedEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListUsableWorkstationConfigs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationConfigs(WorkstationClusterName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> ListUsableWorkstationConfigs(WorkstationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListUsableWorkstationConfigsResponseWorkstationConfig` | A pageable sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
PagedEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListUsableWorkstationConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationConfigs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> ListUsableWorkstationConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListUsableWorkstationConfigsResponseWorkstationConfig` | A pageable sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
PagedEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListUsableWorkstationConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationConfigsAsync(ListUsableWorkstationConfigsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> ListUsableWorkstationConfigsAsync(ListUsableWorkstationConfigsRequest request, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListUsableWorkstationConfigsRequest` 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** |
| `PagedAsyncEnumerableListUsableWorkstationConfigsResponseWorkstationConfig` | A pageable asynchronous sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
ListUsableWorkstationConfigsRequest request = new ListUsableWorkstationConfigsRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
};
// Make the request
PagedAsyncEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListUsableWorkstationConfigsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListUsableWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationConfigsAsync(WorkstationClusterName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> ListUsableWorkstationConfigsAsync(WorkstationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListUsableWorkstationConfigsResponseWorkstationConfig` | A pageable asynchronous sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListUsableWorkstationConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListUsableWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationConfigsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> ListUsableWorkstationConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListUsableWorkstationConfigsResponseWorkstationConfig` | A pageable asynchronous sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListUsableWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListUsableWorkstationConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListUsableWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstations(ListUsableWorkstationsRequest, CallSettings)

    public virtual PagedEnumerable<ListUsableWorkstationsResponse, Workstation> ListUsableWorkstations(ListUsableWorkstationsRequest request, CallSettings callSettings = null)

Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListUsableWorkstationsRequest` 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** |
| `PagedEnumerableListUsableWorkstationsResponseWorkstation` | A pageable sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
ListUsableWorkstationsRequest request = new ListUsableWorkstationsRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
};
// Make the request
PagedEnumerable<ListUsableWorkstationsResponse, Workstation> response = workstationsClient.ListUsableWorkstations(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstations(WorkstationConfigName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUsableWorkstationsResponse, Workstation> ListUsableWorkstations(WorkstationConfigName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListUsableWorkstationsResponseWorkstation` | A pageable sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
PagedEnumerable<ListUsableWorkstationsResponse, Workstation> response = workstationsClient.ListUsableWorkstations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstations(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUsableWorkstationsResponse, Workstation> ListUsableWorkstations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListUsableWorkstationsResponseWorkstation` | A pageable sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
PagedEnumerable<ListUsableWorkstationsResponse, Workstation> response = workstationsClient.ListUsableWorkstations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListUsableWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationsAsync(ListUsableWorkstationsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsableWorkstationsResponse, Workstation> ListUsableWorkstationsAsync(ListUsableWorkstationsRequest request, CallSettings callSettings = null)

Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListUsableWorkstationsRequest` 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** |
| `PagedAsyncEnumerableListUsableWorkstationsResponseWorkstation` | A pageable asynchronous sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
ListUsableWorkstationsRequest request = new ListUsableWorkstationsRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
};
// Make the request
PagedAsyncEnumerable<ListUsableWorkstationsResponse, Workstation> response = workstationsClient.ListUsableWorkstationsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListUsableWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationsAsync(WorkstationConfigName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsableWorkstationsResponse, Workstation> ListUsableWorkstationsAsync(WorkstationConfigName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListUsableWorkstationsResponseWorkstation` | A pageable asynchronous sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
PagedAsyncEnumerable<ListUsableWorkstationsResponse, Workstation> response = workstationsClient.ListUsableWorkstationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListUsableWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListUsableWorkstationsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsableWorkstationsResponse, Workstation> ListUsableWorkstationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListUsableWorkstationsResponseWorkstation` | A pageable asynchronous sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
PagedAsyncEnumerable<ListUsableWorkstationsResponse, Workstation> response = workstationsClient.ListUsableWorkstationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListUsableWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationClusters(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListWorkstationClustersResponse, WorkstationCluster> ListWorkstationClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation clusters in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListWorkstationClustersResponseWorkstationCluster` | A pageable sequence of [WorkstationCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationCluster.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListWorkstationClustersResponse, WorkstationCluster> response = workstationsClient.ListWorkstationClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationClusters(ListWorkstationClustersRequest, CallSettings)

    public virtual PagedEnumerable<ListWorkstationClustersResponse, WorkstationCluster> ListWorkstationClusters(ListWorkstationClustersRequest request, CallSettings callSettings = null)

Returns all workstation clusters in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListWorkstationClustersRequest` 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** |
| `PagedEnumerableListWorkstationClustersResponseWorkstationCluster` | A pageable sequence of [WorkstationCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationCluster.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
ListWorkstationClustersRequest request = new ListWorkstationClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListWorkstationClustersResponse, WorkstationCluster> response = workstationsClient.ListWorkstationClusters(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationClusters(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListWorkstationClustersResponse, WorkstationCluster> ListWorkstationClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation clusters in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListWorkstationClustersResponseWorkstationCluster` | A pageable sequence of [WorkstationCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationCluster.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListWorkstationClustersResponse, WorkstationCluster> response = workstationsClient.ListWorkstationClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationClustersAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationClustersResponse, WorkstationCluster> ListWorkstationClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation clusters in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListWorkstationClustersResponseWorkstationCluster` | A pageable asynchronous sequence of [WorkstationCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationCluster.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListWorkstationClustersResponse, WorkstationCluster> response = workstationsClient.ListWorkstationClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationClustersAsync(ListWorkstationClustersRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationClustersResponse, WorkstationCluster> ListWorkstationClustersAsync(ListWorkstationClustersRequest request, CallSettings callSettings = null)

Returns all workstation clusters in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListWorkstationClustersRequest` 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** |
| `PagedAsyncEnumerableListWorkstationClustersResponseWorkstationCluster` | A pageable asynchronous sequence of [WorkstationCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationCluster.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
ListWorkstationClustersRequest request = new ListWorkstationClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListWorkstationClustersResponse, WorkstationCluster> response = workstationsClient.ListWorkstationClustersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationClustersAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationClustersResponse, WorkstationCluster> ListWorkstationClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation clusters in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListWorkstationClustersResponseWorkstationCluster` | A pageable asynchronous sequence of [WorkstationCluster](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationCluster.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListWorkstationClustersResponse, WorkstationCluster> response = workstationsClient.ListWorkstationClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationConfigs(ListWorkstationConfigsRequest, CallSettings)

    public virtual PagedEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> ListWorkstationConfigs(ListWorkstationConfigsRequest request, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListWorkstationConfigsRequest` 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** |
| `PagedEnumerableListWorkstationConfigsResponseWorkstationConfig` | A pageable sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
ListWorkstationConfigsRequest request = new ListWorkstationConfigsRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListWorkstationConfigs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationConfigs(WorkstationClusterName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> ListWorkstationConfigs(WorkstationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListWorkstationConfigsResponseWorkstationConfig` | A pageable sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
PagedEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListWorkstationConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationConfigs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> ListWorkstationConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListWorkstationConfigsResponseWorkstationConfig` | A pageable sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
PagedEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListWorkstationConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationConfigsAsync(ListWorkstationConfigsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> ListWorkstationConfigsAsync(ListWorkstationConfigsRequest request, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListWorkstationConfigsRequest` 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** |
| `PagedAsyncEnumerableListWorkstationConfigsResponseWorkstationConfig` | A pageable asynchronous sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
ListWorkstationConfigsRequest request = new ListWorkstationConfigsRequest
{
    ParentAsWorkstationClusterName = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListWorkstationConfigsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationConfigsAsync(WorkstationClusterName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> ListWorkstationConfigsAsync(WorkstationClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationClusterName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListWorkstationConfigsResponseWorkstationConfig` | A pageable asynchronous sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationClusterName parent = WorkstationClusterName.FromProjectLocationWorkstationCluster("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListWorkstationConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationConfigsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> ListWorkstationConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all workstation configurations in the specified cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListWorkstationConfigsResponseWorkstationConfig` | A pageable asynchronous sequence of [WorkstationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfig.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListWorkstationConfigsResponse, WorkstationConfig> response = workstationsClient.ListWorkstationConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (WorkstationConfig item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (WorkstationConfig item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<WorkstationConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (WorkstationConfig item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstations(ListWorkstationsRequest, CallSettings)

    public virtual PagedEnumerable<ListWorkstationsResponse, Workstation> ListWorkstations(ListWorkstationsRequest request, CallSettings callSettings = null)

Returns all Workstations using the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListWorkstationsRequest` 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** |
| `PagedEnumerableListWorkstationsResponseWorkstation` | A pageable sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
ListWorkstationsRequest request = new ListWorkstationsRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListWorkstationsResponse, Workstation> response = workstationsClient.ListWorkstations(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstations(WorkstationConfigName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListWorkstationsResponse, Workstation> ListWorkstations(WorkstationConfigName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all Workstations using the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListWorkstationsResponseWorkstation` | A pageable sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
PagedEnumerable<ListWorkstationsResponse, Workstation> response = workstationsClient.ListWorkstations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstations(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListWorkstationsResponse, Workstation> ListWorkstations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all Workstations using the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListWorkstationsResponseWorkstation` | A pageable sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
PagedEnumerable<ListWorkstationsResponse, Workstation> response = workstationsClient.ListWorkstations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationsAsync(ListWorkstationsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationsResponse, Workstation> ListWorkstationsAsync(ListWorkstationsRequest request, CallSettings callSettings = null)

Returns all Workstations using the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListWorkstationsRequest` 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** |
| `PagedAsyncEnumerableListWorkstationsResponseWorkstation` | A pageable asynchronous sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
ListWorkstationsRequest request = new ListWorkstationsRequest
{
    ParentAsWorkstationConfigName = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListWorkstationsResponse, Workstation> response = workstationsClient.ListWorkstationsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationsAsync(WorkstationConfigName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationsResponse, Workstation> ListWorkstationsAsync(WorkstationConfigName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all Workstations using the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `WorkstationConfigName` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListWorkstationsResponseWorkstation` | A pageable asynchronous sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfigName parent = WorkstationConfigName.FromProjectLocationWorkstationClusterWorkstationConfig("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]");
// Make the request
PagedAsyncEnumerable<ListWorkstationsResponse, Workstation> response = workstationsClient.ListWorkstationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### ListWorkstationsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListWorkstationsResponse, Workstation> ListWorkstationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns all Workstations using the specified workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource name. |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListWorkstationsResponseWorkstation` | A pageable asynchronous sequence of [Workstation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.Workstation.md.txt) resources. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]";
// Make the request
PagedAsyncEnumerable<ListWorkstationsResponse, Workstation> response = workstationsClient.ListWorkstationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (Workstation item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListWorkstationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (Workstation item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Workstation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Workstation item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
```

### PollOnceCreateWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> PollOnceCreateWorkstation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateWorkstation`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The result of polling the operation. |

### PollOnceCreateWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> PollOnceCreateWorkstationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateWorkstationCluster(string, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> PollOnceCreateWorkstationCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateWorkstationCluster`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The result of polling the operation. |

### PollOnceCreateWorkstationClusterAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> PollOnceCreateWorkstationClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateWorkstationCluster`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateWorkstationConfig(string, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> PollOnceCreateWorkstationConfig(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateWorkstationConfig`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The result of polling the operation. |

### PollOnceCreateWorkstationConfigAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> PollOnceCreateWorkstationConfigAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateWorkstationConfig`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> PollOnceDeleteWorkstation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteWorkstation`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> PollOnceDeleteWorkstationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteWorkstationCluster(string, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> PollOnceDeleteWorkstationCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteWorkstationCluster`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteWorkstationClusterAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> PollOnceDeleteWorkstationClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteWorkstationCluster`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteWorkstationConfig(string, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> PollOnceDeleteWorkstationConfig(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteWorkstationConfig`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteWorkstationConfigAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> PollOnceDeleteWorkstationConfigAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteWorkstationConfig`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStartWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> PollOnceStartWorkstation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StartWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The result of polling the operation. |

### PollOnceStartWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> PollOnceStartWorkstationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StartWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStopWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> PollOnceStopWorkstation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StopWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The result of polling the operation. |

### PollOnceStopWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> PollOnceStopWorkstationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StopWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> PollOnceUpdateWorkstation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateWorkstation`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> PollOnceUpdateWorkstationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateWorkstation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateWorkstationCluster(string, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> PollOnceUpdateWorkstationCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`UpdateWorkstationCluster`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateWorkstationClusterAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> PollOnceUpdateWorkstationClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateWorkstationCluster`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateWorkstationConfig(string, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> PollOnceUpdateWorkstationConfig(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`UpdateWorkstationConfig`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateWorkstationConfigAsync(string, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> PollOnceUpdateWorkstationConfigAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateWorkstationConfig`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A task representing the result of polling the operation. |

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt#Google_Cloud_Workstations_V1_WorkstationsClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt#Google_Cloud_Workstations_V1_WorkstationsClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt#Google_Cloud_Workstations_V1_WorkstationsClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationsClient.md.txt#Google_Cloud_Workstations_V1_WorkstationsClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### StartWorkstation(StartWorkstationRequest, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> StartWorkstation(StartWorkstationRequest request, CallSettings callSettings = null)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StartWorkstationRequest` 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** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
StartWorkstationRequest request = new StartWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
    BoostConfig = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.StartWorkstation(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceStartWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstation(WorkstationName, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> StartWorkstation(WorkstationName name, CallSettings callSettings = null)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to start. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.StartWorkstation(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceStartWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> StartWorkstation(string name, CallSettings callSettings = null)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to start. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.StartWorkstation(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceStartWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstationAsync(StartWorkstationRequest, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> StartWorkstationAsync(StartWorkstationRequest request, CallSettings callSettings = null)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StartWorkstationRequest` 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** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
StartWorkstationRequest request = new StartWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
    BoostConfig = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StartWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStartWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstationAsync(StartWorkstationRequest, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> StartWorkstationAsync(StartWorkstationRequest request, CancellationToken cancellationToken)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StartWorkstationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
StartWorkstationRequest request = new StartWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
    BoostConfig = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StartWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStartWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstationAsync(WorkstationName, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> StartWorkstationAsync(WorkstationName name, CallSettings callSettings = null)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to start. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StartWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStartWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstationAsync(WorkstationName, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> StartWorkstationAsync(WorkstationName name, CancellationToken cancellationToken)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to start. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StartWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStartWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> StartWorkstationAsync(string name, CallSettings callSettings = null)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to start. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StartWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStartWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StartWorkstationAsync(string, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> StartWorkstationAsync(string name, CancellationToken cancellationToken)

Starts running a workstation so that users can connect to it.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to start. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StartWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStartWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstation(StopWorkstationRequest, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> StopWorkstation(StopWorkstationRequest request, CallSettings callSettings = null)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StopWorkstationRequest` 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** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
StopWorkstationRequest request = new StopWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.StopWorkstation(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceStopWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstation(WorkstationName, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> StopWorkstation(WorkstationName name, CallSettings callSettings = null)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to stop. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.StopWorkstation(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceStopWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstation(string, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> StopWorkstation(string name, CallSettings callSettings = null)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to stop. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.StopWorkstation(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceStopWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstationAsync(StopWorkstationRequest, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> StopWorkstationAsync(StopWorkstationRequest request, CallSettings callSettings = null)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StopWorkstationRequest` 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** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
StopWorkstationRequest request = new StopWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StopWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStopWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstationAsync(StopWorkstationRequest, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> StopWorkstationAsync(StopWorkstationRequest request, CancellationToken cancellationToken)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `StopWorkstationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
StopWorkstationRequest request = new StopWorkstationRequest
{
    WorkstationName = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]"),
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StopWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStopWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstationAsync(WorkstationName, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> StopWorkstationAsync(WorkstationName name, CallSettings callSettings = null)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to stop. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StopWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStopWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstationAsync(WorkstationName, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> StopWorkstationAsync(WorkstationName name, CancellationToken cancellationToken)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `WorkstationName` Required. Name of the workstation to stop. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationName name = WorkstationName.FromProjectLocationWorkstationClusterWorkstationConfigWorkstation("[PROJECT]", "[LOCATION]", "[WORKSTATION_CLUSTER]", "[WORKSTATION_CONFIG]", "[WORKSTATION]");
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StopWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStopWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstationAsync(string, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> StopWorkstationAsync(string name, CallSettings callSettings = null)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to stop. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StopWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStopWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### StopWorkstationAsync(string, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> StopWorkstationAsync(string name, CancellationToken cancellationToken)

Stops running a workstation, reducing costs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workstation to stop. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/workstationClusters/[WORKSTATION_CLUSTER]/workstationConfigs/[WORKSTATION_CONFIG]/workstations/[WORKSTATION]";
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.StopWorkstationAsync(name);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceStopWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstation(UpdateWorkstationRequest, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> UpdateWorkstation(UpdateWorkstationRequest request, CallSettings callSettings = null)

Updates an existing workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationRequest` 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** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
UpdateWorkstationRequest request = new UpdateWorkstationRequest
{
    Workstation = new Workstation(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.UpdateWorkstation(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceUpdateWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstation(Workstation, FieldMask, CallSettings)

    public virtual Operation<Workstation, OperationMetadata> UpdateWorkstation(Workstation workstation, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `Workstation` Required. Workstation to update. |
| `updateMask` | `FieldMask` Required. Mask specifying which fields in the workstation should be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
Workstation workstation = new Workstation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Workstation, OperationMetadata> response = workstationsClient.UpdateWorkstation(workstation, updateMask);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = workstationsClient.PollOnceUpdateWorkstation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationAsync(UpdateWorkstationRequest, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> UpdateWorkstationAsync(UpdateWorkstationRequest request, CallSettings callSettings = null)

Updates an existing workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationRequest` 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** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkstationRequest request = new UpdateWorkstationRequest
{
    Workstation = new Workstation(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.UpdateWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationAsync(UpdateWorkstationRequest, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> UpdateWorkstationAsync(UpdateWorkstationRequest request, CancellationToken cancellationToken)

Updates an existing workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkstationRequest request = new UpdateWorkstationRequest
{
    Workstation = new Workstation(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.UpdateWorkstationAsync(request);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationAsync(Workstation, FieldMask, CallSettings)

    public virtual Task<Operation<Workstation, OperationMetadata>> UpdateWorkstationAsync(Workstation workstation, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `Workstation` Required. Workstation to update. |
| `updateMask` | `FieldMask` Required. Mask specifying which fields in the workstation should be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
Workstation workstation = new Workstation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.UpdateWorkstationAsync(workstation, updateMask);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationAsync(Workstation, FieldMask, CancellationToken)

    public virtual Task<Operation<Workstation, OperationMetadata>> UpdateWorkstationAsync(Workstation workstation, FieldMask updateMask, CancellationToken cancellationToken)

Updates an existing workstation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstation` | `Workstation` Required. Workstation to update. |
| `updateMask` | `FieldMask` Required. Mask specifying which fields in the workstation should be updated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
Workstation workstation = new Workstation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Workstation, OperationMetadata> response = await workstationsClient.UpdateWorkstationAsync(workstation, updateMask);

// Poll until the returned long-running operation is complete
Operation<Workstation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Workstation result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Workstation, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Workstation retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationCluster(UpdateWorkstationClusterRequest, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> UpdateWorkstationCluster(UpdateWorkstationClusterRequest request, CallSettings callSettings = null)

Updates an existing workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationClusterRequest` 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** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
UpdateWorkstationClusterRequest request = new UpdateWorkstationClusterRequest
{
    WorkstationCluster = new WorkstationCluster(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.UpdateWorkstationCluster(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceUpdateWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationCluster(WorkstationCluster, FieldMask, CallSettings)

    public virtual Operation<WorkstationCluster, OperationMetadata> UpdateWorkstationCluster(WorkstationCluster workstationCluster, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to update. |
| `updateMask` | `FieldMask` Required. Mask that specifies which fields in the workstation cluster should be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationClusterOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationCluster workstationCluster = new WorkstationCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = workstationsClient.UpdateWorkstationCluster(workstationCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = workstationsClient.PollOnceUpdateWorkstationCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationClusterAsync(UpdateWorkstationClusterRequest, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> UpdateWorkstationClusterAsync(UpdateWorkstationClusterRequest request, CallSettings callSettings = null)

Updates an existing workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationClusterRequest` 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** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkstationClusterRequest request = new UpdateWorkstationClusterRequest
{
    WorkstationCluster = new WorkstationCluster(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.UpdateWorkstationClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationClusterAsync(UpdateWorkstationClusterRequest, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> UpdateWorkstationClusterAsync(UpdateWorkstationClusterRequest request, CancellationToken cancellationToken)

Updates an existing workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationClusterRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkstationClusterRequest request = new UpdateWorkstationClusterRequest
{
    WorkstationCluster = new WorkstationCluster(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.UpdateWorkstationClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationClusterAsync(WorkstationCluster, FieldMask, CallSettings)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> UpdateWorkstationClusterAsync(WorkstationCluster workstationCluster, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to update. |
| `updateMask` | `FieldMask` Required. Mask that specifies which fields in the workstation cluster should be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationCluster workstationCluster = new WorkstationCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.UpdateWorkstationClusterAsync(workstationCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationClusterAsync(WorkstationCluster, FieldMask, CancellationToken)

    public virtual Task<Operation<WorkstationCluster, OperationMetadata>> UpdateWorkstationClusterAsync(WorkstationCluster workstationCluster, FieldMask updateMask, CancellationToken cancellationToken)

Updates an existing workstation cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstationCluster` | `WorkstationCluster` Required. Workstation cluster to update. |
| `updateMask` | `FieldMask` Required. Mask that specifies which fields in the workstation cluster should be updated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationClusterOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationCluster workstationCluster = new WorkstationCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<WorkstationCluster, OperationMetadata> response = await workstationsClient.UpdateWorkstationClusterAsync(workstationCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<WorkstationCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationCluster, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationCluster retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationConfig(UpdateWorkstationConfigRequest, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> UpdateWorkstationConfig(UpdateWorkstationConfigRequest request, CallSettings callSettings = null)

Updates an existing workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationConfigRequest` 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** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
UpdateWorkstationConfigRequest request = new UpdateWorkstationConfigRequest
{
    WorkstationConfig = new WorkstationConfig(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.UpdateWorkstationConfig(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceUpdateWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationConfig(WorkstationConfig, FieldMask, CallSettings)

    public virtual Operation<WorkstationConfig, OperationMetadata> UpdateWorkstationConfig(WorkstationConfig workstationConfig, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to update. |
| `updateMask` | `FieldMask` Required. Mask specifying which fields in the workstation configuration should be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationWorkstationConfigOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = WorkstationsClient.Create();
// Initialize request argument(s)
WorkstationConfig workstationConfig = new WorkstationConfig();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = workstationsClient.UpdateWorkstationConfig(workstationConfig, updateMask);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = workstationsClient.PollOnceUpdateWorkstationConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationConfigAsync(UpdateWorkstationConfigRequest, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> UpdateWorkstationConfigAsync(UpdateWorkstationConfigRequest request, CallSettings callSettings = null)

Updates an existing workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationConfigRequest` 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** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkstationConfigRequest request = new UpdateWorkstationConfigRequest
{
    WorkstationConfig = new WorkstationConfig(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.UpdateWorkstationConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationConfigAsync(UpdateWorkstationConfigRequest, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> UpdateWorkstationConfigAsync(UpdateWorkstationConfigRequest request, CancellationToken cancellationToken)

Updates an existing workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateWorkstationConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkstationConfigRequest request = new UpdateWorkstationConfigRequest
{
    WorkstationConfig = new WorkstationConfig(),
    UpdateMask = new FieldMask(),
    ValidateOnly = false,
    AllowMissing = false,
};
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.UpdateWorkstationConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationConfigAsync(WorkstationConfig, FieldMask, CallSettings)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> UpdateWorkstationConfigAsync(WorkstationConfig workstationConfig, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to update. |
| `updateMask` | `FieldMask` Required. Mask specifying which fields in the workstation configuration should be updated. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfig workstationConfig = new WorkstationConfig();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.UpdateWorkstationConfigAsync(workstationConfig, updateMask);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```

### UpdateWorkstationConfigAsync(WorkstationConfig, FieldMask, CancellationToken)

    public virtual Task<Operation<WorkstationConfig, OperationMetadata>> UpdateWorkstationConfigAsync(WorkstationConfig workstationConfig, FieldMask updateMask, CancellationToken cancellationToken)

Updates an existing workstation configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `workstationConfig` | `WorkstationConfig` Required. Workstation configuration to update. |
| `updateMask` | `FieldMask` Required. Mask specifying which fields in the workstation configuration should be updated. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationWorkstationConfigOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
WorkstationsClient workstationsClient = await WorkstationsClient.CreateAsync();
// Initialize request argument(s)
WorkstationConfig workstationConfig = new WorkstationConfig();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<WorkstationConfig, OperationMetadata> response = await workstationsClient.UpdateWorkstationConfigAsync(workstationConfig, updateMask);

// Poll until the returned long-running operation is complete
Operation<WorkstationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
WorkstationConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<WorkstationConfig, OperationMetadata> retrievedResponse = await workstationsClient.PollOnceUpdateWorkstationConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    WorkstationConfig retrievedResult = retrievedResponse.Result;
}
```