1.13.0 (latest) 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public abstract class ConfigClient

Reference documentation and code samples for the Infrastructure Manager v1 API class ConfigClient.

Config client wrapper, for convenient use.

## Inheritance

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

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

[ConfigClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ConfigClientImpl)

## Namespace

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

## Assembly

Google.Cloud.Config.V1.dll

## Remarks

Infrastructure Manager is a managed service that automates the deployment and
management of Google Cloud infrastructure resources.

## Properties

### CreateDeploymentGroupOperationsClient

    public virtual OperationsClient CreateDeploymentGroupOperationsClient { get; }

The long-running operations client for `CreateDeploymentGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateDeploymentOperationsClient

    public virtual OperationsClient CreateDeploymentOperationsClient { get; }

The long-running operations client for `CreateDeployment`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreatePreviewOperationsClient

    public virtual OperationsClient CreatePreviewOperationsClient { get; }

The long-running operations client for `CreatePreview`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default Config scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default Config scopes are:

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

### DeleteDeploymentGroupOperationsClient

    public virtual OperationsClient DeleteDeploymentGroupOperationsClient { get; }

The long-running operations client for `DeleteDeploymentGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteDeploymentOperationsClient

    public virtual OperationsClient DeleteDeploymentOperationsClient { get; }

The long-running operations client for `DeleteDeployment`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeletePreviewOperationsClient

    public virtual OperationsClient DeletePreviewOperationsClient { get; }

The long-running operations client for `DeletePreview`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeprovisionDeploymentGroupOperationsClient

    public virtual OperationsClient DeprovisionDeploymentGroupOperationsClient { get; }

The long-running operations client for `DeprovisionDeploymentGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### GrpcClient

    public virtual Config.ConfigClient GrpcClient { get; }

The underlying gRPC Config client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Confighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Config.ConfigClient` |   |

### 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.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

### LockDeploymentOperationsClient

    public virtual OperationsClient LockDeploymentOperationsClient { get; }

The long-running operations client for `LockDeployment`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### ProvisionDeploymentGroupOperationsClient

    public virtual OperationsClient ProvisionDeploymentGroupOperationsClient { get; }

The long-running operations client for `ProvisionDeploymentGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

### UnlockDeploymentOperationsClient

    public virtual OperationsClient UnlockDeploymentOperationsClient { get; }

The long-running operations client for `UnlockDeployment`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateAutoMigrationConfigOperationsClient

    public virtual OperationsClient UpdateAutoMigrationConfigOperationsClient { get; }

The long-running operations client for `UpdateAutoMigrationConfig`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateDeploymentGroupOperationsClient

    public virtual OperationsClient UpdateDeploymentGroupOperationsClient { get; }

The long-running operations client for `UpdateDeploymentGroup`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateDeploymentOperationsClient

    public virtual OperationsClient UpdateDeploymentOperationsClient { get; }

The long-running operations client for `UpdateDeployment`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

## Methods

### Create()

    public static ConfigClient Create()

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

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

### CreateAsync(CancellationToken)

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

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ConfigClient` | The task representing the created [ConfigClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ConfigClient). |

### CreateDeployment(LocationName, Deployment, string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> CreateDeployment(LocationName parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] resource to be created. |
| `deploymentId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Deployment ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Deployment deployment = new Deployment();
    string deploymentId = "";
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.CreateDeployment(parent, deployment, deploymentId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceCreateDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeployment(CreateDeploymentRequest, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> CreateDeployment(CreateDeploymentRequest request, CallSettings callSettings = null)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreateDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    CreateDeploymentRequest request = new CreateDeploymentRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        DeploymentId = "",
        Deployment = new Deployment(),
        RequestId = "",
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.CreateDeployment(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceCreateDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeployment(string, Deployment, string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> CreateDeployment(string parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] resource to be created. |
| `deploymentId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Deployment ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Deployment deployment = new Deployment();
    string deploymentId = "";
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.CreateDeployment(parent, deployment, deploymentId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceCreateDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentAsync(LocationName, Deployment, string, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(LocationName parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] resource to be created. |
| `deploymentId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Deployment ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Deployment deployment = new Deployment();
    string deploymentId = "";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.CreateDeploymentAsync(parent, deployment, deploymentId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentAsync(LocationName, Deployment, string, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(LocationName parent, Deployment deployment, string deploymentId, CancellationToken cancellationToken)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] resource to be created. |
| `deploymentId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Deployment ID. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Deployment deployment = new Deployment();
    string deploymentId = "";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.CreateDeploymentAsync(parent, deployment, deploymentId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentAsync(CreateDeploymentRequest, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(CreateDeploymentRequest request, CallSettings callSettings = null)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreateDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    CreateDeploymentRequest request = new CreateDeploymentRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        DeploymentId = "",
        Deployment = new Deployment(),
        RequestId = "",
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.CreateDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentAsync(CreateDeploymentRequest, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(CreateDeploymentRequest request, CancellationToken cancellationToken)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreateDeploymentRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    CreateDeploymentRequest request = new CreateDeploymentRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        DeploymentId = "",
        Deployment = new Deployment(),
        RequestId = "",
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.CreateDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentAsync(string, Deployment, string, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(string parent, Deployment deployment, string deploymentId, CallSettings callSettings = null)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] resource to be created. |
| `deploymentId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Deployment ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Deployment deployment = new Deployment();
    string deploymentId = "";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.CreateDeploymentAsync(parent, deployment, deploymentId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentAsync(string, Deployment, string, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> CreateDeploymentAsync(string parent, Deployment deployment, string deploymentId, CancellationToken cancellationToken)

Creates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] resource to be created. |
| `deploymentId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The Deployment ID. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Deployment deployment = new Deployment();
    string deploymentId = "";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.CreateDeploymentAsync(parent, deployment, deploymentId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroup(LocationName, DeploymentGroup, string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> CreateDeploymentGroup(LocationName parent, DeploymentGroup deploymentGroup, string deploymentGroupId, CallSettings callSettings = null)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}' |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[Deployment Group\]\[\] resource to create |
| `deploymentGroupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The deployment group ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    string deploymentGroupId = "";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.CreateDeploymentGroup(parent, deploymentGroup, deploymentGroupId);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceCreateDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroup(CreateDeploymentGroupRequest, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> CreateDeploymentGroup(CreateDeploymentGroupRequest request, CallSettings callSettings = null)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreateDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    CreateDeploymentGroupRequest request = new CreateDeploymentGroupRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        DeploymentGroupId = "",
        DeploymentGroup = new DeploymentGroup(),
        RequestId = "",
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.CreateDeploymentGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceCreateDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroup(string, DeploymentGroup, string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> CreateDeploymentGroup(string parent, DeploymentGroup deploymentGroup, string deploymentGroupId, CallSettings callSettings = null)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}' |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[Deployment Group\]\[\] resource to create |
| `deploymentGroupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The deployment group ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    string deploymentGroupId = "";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.CreateDeploymentGroup(parent, deploymentGroup, deploymentGroupId);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceCreateDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroupAsync(LocationName, DeploymentGroup, string, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> CreateDeploymentGroupAsync(LocationName parent, DeploymentGroup deploymentGroup, string deploymentGroupId, CallSettings callSettings = null)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}' |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[Deployment Group\]\[\] resource to create |
| `deploymentGroupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The deployment group ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    string deploymentGroupId = "";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.CreateDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroupAsync(LocationName, DeploymentGroup, string, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> CreateDeploymentGroupAsync(LocationName parent, DeploymentGroup deploymentGroup, string deploymentGroupId, CancellationToken cancellationToken)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}' |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[Deployment Group\]\[\] resource to create |
| `deploymentGroupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The deployment group ID. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    string deploymentGroupId = "";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.CreateDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroupAsync(CreateDeploymentGroupRequest, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> CreateDeploymentGroupAsync(CreateDeploymentGroupRequest request, CallSettings callSettings = null)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreateDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    CreateDeploymentGroupRequest request = new CreateDeploymentGroupRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        DeploymentGroupId = "",
        DeploymentGroup = new DeploymentGroup(),
        RequestId = "",
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.CreateDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroupAsync(CreateDeploymentGroupRequest, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> CreateDeploymentGroupAsync(CreateDeploymentGroupRequest request, CancellationToken cancellationToken)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreateDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    CreateDeploymentGroupRequest request = new CreateDeploymentGroupRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        DeploymentGroupId = "",
        DeploymentGroup = new DeploymentGroup(),
        RequestId = "",
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.CreateDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroupAsync(string, DeploymentGroup, string, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> CreateDeploymentGroupAsync(string parent, DeploymentGroup deploymentGroup, string deploymentGroupId, CallSettings callSettings = null)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}' |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[Deployment Group\]\[\] resource to create |
| `deploymentGroupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The deployment group ID. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    string deploymentGroupId = "";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.CreateDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreateDeploymentGroupAsync(string, DeploymentGroup, string, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> CreateDeploymentGroupAsync(string parent, DeploymentGroup deploymentGroup, string deploymentGroupId, CancellationToken cancellationToken)

Creates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]
The newly created DeploymentGroup will be in the `CREATING` state
and can be retrieved via Get and List calls.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}' |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[Deployment Group\]\[\] resource to create |
| `deploymentGroupId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The deployment group ID. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    string deploymentGroupId = "";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.CreateDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceCreateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### CreatePreview(LocationName, Preview, CallSettings)

    public virtual Operation<Preview, OperationMetadata> CreatePreview(LocationName parent, Preview preview, CallSettings callSettings = null)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `preview` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` Required. \[Preview\]\[google.cloud.config.v1.Preview\] resource to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Preview preview = new Preview();
    // Make the request
    Operation<Preview, OperationMetadata> response = configClient.CreatePreview(parent, preview);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = configClient.PollOnceCreatePreview(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreview(CreatePreviewRequest, CallSettings)

    public virtual Operation<Preview, OperationMetadata> CreatePreview(CreatePreviewRequest request, CallSettings callSettings = null)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreatePreviewRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    CreatePreviewRequest request = new CreatePreviewRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        PreviewId = "",
        Preview = new Preview(),
        RequestId = "",
    };
    // Make the request
    Operation<Preview, OperationMetadata> response = configClient.CreatePreview(request);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = configClient.PollOnceCreatePreview(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreview(string, Preview, CallSettings)

    public virtual Operation<Preview, OperationMetadata> CreatePreview(string parent, Preview preview, CallSettings callSettings = null)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `preview` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` Required. \[Preview\]\[google.cloud.config.v1.Preview\] resource to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Preview preview = new Preview();
    // Make the request
    Operation<Preview, OperationMetadata> response = configClient.CreatePreview(parent, preview);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = configClient.PollOnceCreatePreview(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreviewAsync(LocationName, Preview, CallSettings)

    public virtual Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(LocationName parent, Preview preview, CallSettings callSettings = null)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `preview` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` Required. \[Preview\]\[google.cloud.config.v1.Preview\] resource to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Preview preview = new Preview();
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.CreatePreviewAsync(parent, preview);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceCreatePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreviewAsync(LocationName, Preview, CancellationToken)

    public virtual Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(LocationName parent, Preview preview, CancellationToken cancellationToken)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `preview` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` Required. \[Preview\]\[google.cloud.config.v1.Preview\] resource to be created. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Preview preview = new Preview();
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.CreatePreviewAsync(parent, preview);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceCreatePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreviewAsync(CreatePreviewRequest, CallSettings)

    public virtual Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(CreatePreviewRequest request, CallSettings callSettings = null)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreatePreviewRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    CreatePreviewRequest request = new CreatePreviewRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        PreviewId = "",
        Preview = new Preview(),
        RequestId = "",
    };
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.CreatePreviewAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceCreatePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreviewAsync(CreatePreviewRequest, CancellationToken)

    public virtual Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(CreatePreviewRequest request, CancellationToken cancellationToken)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.CreatePreviewRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    CreatePreviewRequest request = new CreatePreviewRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        PreviewId = "",
        Preview = new Preview(),
        RequestId = "",
    };
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.CreatePreviewAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceCreatePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreviewAsync(string, Preview, CallSettings)

    public virtual Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(string parent, Preview preview, CallSettings callSettings = null)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `preview` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` Required. \[Preview\]\[google.cloud.config.v1.Preview\] resource to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Preview preview = new Preview();
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.CreatePreviewAsync(parent, preview);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceCreatePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### CreatePreviewAsync(string, Preview, CancellationToken)

    public virtual Task<Operation<Preview, OperationMetadata>> CreatePreviewAsync(string parent, Preview preview, CancellationToken cancellationToken)

Creates a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `preview` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` Required. \[Preview\]\[google.cloud.config.v1.Preview\] resource to be created. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Preview preview = new Preview();
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.CreatePreviewAsync(parent, preview);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceCreatePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeleteDeployment(DeleteDeploymentRequest, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> DeleteDeployment(DeleteDeploymentRequest request, CallSettings callSettings = null)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeleteDeploymentRequest request = new DeleteDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        RequestId = "",
        Force = false,
        DeletePolicy = DeleteDeploymentRequest.Types.DeletePolicy.Unspecified,
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.DeleteDeployment(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceDeleteDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeployment(DeploymentName, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> DeleteDeployment(DeploymentName name, CallSettings callSettings = null)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.DeleteDeployment(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceDeleteDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> DeleteDeployment(string name, CallSettings callSettings = null)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.DeleteDeployment(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceDeleteDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentAsync(DeleteDeploymentRequest, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(DeleteDeploymentRequest request, CallSettings callSettings = null)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDeploymentRequest request = new DeleteDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        RequestId = "",
        Force = false,
        DeletePolicy = DeleteDeploymentRequest.Types.DeletePolicy.Unspecified,
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.DeleteDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentAsync(DeleteDeploymentRequest, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(DeleteDeploymentRequest request, CancellationToken cancellationToken)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteDeploymentRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDeploymentRequest request = new DeleteDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        RequestId = "",
        Force = false,
        DeletePolicy = DeleteDeploymentRequest.Types.DeletePolicy.Unspecified,
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.DeleteDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentAsync(DeploymentName, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(DeploymentName name, CallSettings callSettings = null)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.DeleteDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentAsync(DeploymentName, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(DeploymentName name, CancellationToken cancellationToken)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.DeleteDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentAsync(string, CallSettings)

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

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.DeleteDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentAsync(string, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> DeleteDeploymentAsync(string name, CancellationToken cancellationToken)

Deletes a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.DeleteDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroup(DeleteDeploymentGroupRequest, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> DeleteDeploymentGroup(DeleteDeploymentGroupRequest request, CallSettings callSettings = null)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeleteDeploymentGroupRequest request = new DeleteDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        RequestId = "",
        Force = false,
        DeploymentReferencePolicy = DeleteDeploymentGroupRequest.Types.DeploymentReferencePolicy.Unspecified,
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.DeleteDeploymentGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceDeleteDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroup(DeploymentGroupName, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> DeleteDeploymentGroup(DeploymentGroupName name, CallSettings callSettings = null)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.DeleteDeploymentGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceDeleteDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> DeleteDeploymentGroup(string name, CallSettings callSettings = null)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.DeleteDeploymentGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceDeleteDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroupAsync(DeleteDeploymentGroupRequest, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, CallSettings callSettings = null)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDeploymentGroupRequest request = new DeleteDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        RequestId = "",
        Force = false,
        DeploymentReferencePolicy = DeleteDeploymentGroupRequest.Types.DeploymentReferencePolicy.Unspecified,
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeleteDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroupAsync(DeleteDeploymentGroupRequest, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request, CancellationToken cancellationToken)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDeploymentGroupRequest request = new DeleteDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        RequestId = "",
        Force = false,
        DeploymentReferencePolicy = DeleteDeploymentGroupRequest.Types.DeploymentReferencePolicy.Unspecified,
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeleteDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroupAsync(DeploymentGroupName, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeleteDeploymentGroupAsync(DeploymentGroupName name, CallSettings callSettings = null)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeleteDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroupAsync(DeploymentGroupName, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeleteDeploymentGroupAsync(DeploymentGroupName name, CancellationToken cancellationToken)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeleteDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroupAsync(string, CallSettings)

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

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeleteDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeleteDeploymentGroupAsync(string, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeleteDeploymentGroupAsync(string name, CancellationToken cancellationToken)

Deletes a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeleteDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeleteDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeletePreview(DeletePreviewRequest, CallSettings)

    public virtual Operation<Preview, OperationMetadata> DeletePreview(DeletePreviewRequest request, CallSettings callSettings = null)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeletePreviewRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeletePreviewRequest request = new DeletePreviewRequest
    {
        PreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        RequestId = "",
    };
    // Make the request
    Operation<Preview, OperationMetadata> response = configClient.DeletePreview(request);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = configClient.PollOnceDeletePreview(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreview(PreviewName, CallSettings)

    public virtual Operation<Preview, OperationMetadata> DeletePreview(PreviewName name, CallSettings callSettings = null)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    PreviewName name = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    Operation<Preview, OperationMetadata> response = configClient.DeletePreview(name);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = configClient.PollOnceDeletePreview(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreview(string, CallSettings)

    public virtual Operation<Preview, OperationMetadata> DeletePreview(string name, CallSettings callSettings = null)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    Operation<Preview, OperationMetadata> response = configClient.DeletePreview(name);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = configClient.PollOnceDeletePreview(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreviewAsync(DeletePreviewRequest, CallSettings)

    public virtual Task<Operation<Preview, OperationMetadata>> DeletePreviewAsync(DeletePreviewRequest request, CallSettings callSettings = null)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeletePreviewRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeletePreviewRequest request = new DeletePreviewRequest
    {
        PreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        RequestId = "",
    };
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.DeletePreviewAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceDeletePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreviewAsync(DeletePreviewRequest, CancellationToken)

    public virtual Task<Operation<Preview, OperationMetadata>> DeletePreviewAsync(DeletePreviewRequest request, CancellationToken cancellationToken)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeletePreviewRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeletePreviewRequest request = new DeletePreviewRequest
    {
        PreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        RequestId = "",
    };
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.DeletePreviewAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceDeletePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreviewAsync(PreviewName, CallSettings)

    public virtual Task<Operation<Preview, OperationMetadata>> DeletePreviewAsync(PreviewName name, CallSettings callSettings = null)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    PreviewName name = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.DeletePreviewAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceDeletePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreviewAsync(PreviewName, CancellationToken)

    public virtual Task<Operation<Preview, OperationMetadata>> DeletePreviewAsync(PreviewName name, CancellationToken cancellationToken)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    PreviewName name = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.DeletePreviewAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceDeletePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreviewAsync(string, CallSettings)

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

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.DeletePreviewAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceDeletePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeletePreviewAsync(string, CancellationToken)

    public virtual Task<Operation<Preview, OperationMetadata>> DeletePreviewAsync(string name, CancellationToken cancellationToken)

Deletes a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    Operation<Preview, OperationMetadata> response = await configClient.DeletePreviewAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Preview, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Preview 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<Preview, OperationMetadata> retrievedResponse = await configClient.PollOnceDeletePreviewAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Preview retrievedResult = retrievedResponse.Result;
    }

### DeleteStatefile(DeleteStatefileRequest, CallSettings)

    public virtual void DeleteStatefile(DeleteStatefileRequest request, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeleteStatefileRequest request = new DeleteStatefileRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
    };
    // Make the request
    configClient.DeleteStatefile(request);

### DeleteStatefile(DeploymentName, CallSettings)

    public virtual void DeleteStatefile(DeploymentName name, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    configClient.DeleteStatefile(name);

### DeleteStatefile(string, CallSettings)

    public virtual void DeleteStatefile(string name, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    configClient.DeleteStatefile(name);

### DeleteStatefileAsync(DeleteStatefileRequest, CallSettings)

    public virtual Task DeleteStatefileAsync(DeleteStatefileRequest request, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeleteStatefileRequest request = new DeleteStatefileRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
    };
    // Make the request
    await configClient.DeleteStatefileAsync(request);

### DeleteStatefileAsync(DeleteStatefileRequest, CancellationToken)

    public virtual Task DeleteStatefileAsync(DeleteStatefileRequest request, CancellationToken cancellationToken)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeleteStatefileRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeleteStatefileRequest request = new DeleteStatefileRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
    };
    // Make the request
    await configClient.DeleteStatefileAsync(request);

### DeleteStatefileAsync(DeploymentName, CallSettings)

    public virtual Task DeleteStatefileAsync(DeploymentName name, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    await configClient.DeleteStatefileAsync(name);

### DeleteStatefileAsync(DeploymentName, CancellationToken)

    public virtual Task DeleteStatefileAsync(DeploymentName name, CancellationToken cancellationToken)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    await configClient.DeleteStatefileAsync(name);

### DeleteStatefileAsync(string, CallSettings)

    public virtual Task DeleteStatefileAsync(string name, CallSettings callSettings = null)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    await configClient.DeleteStatefileAsync(name);

### DeleteStatefileAsync(string, CancellationToken)

    public virtual Task DeleteStatefileAsync(string name, CancellationToken cancellationToken)

Deletes Terraform state file in a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    await configClient.DeleteStatefileAsync(name);

### DeprovisionDeploymentGroup(DeploymentGroupName, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> DeprovisionDeploymentGroup(DeploymentGroupName name, CallSettings callSettings = null)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.DeprovisionDeploymentGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceDeprovisionDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroup(DeprovisionDeploymentGroupRequest, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> DeprovisionDeploymentGroup(DeprovisionDeploymentGroupRequest request, CallSettings callSettings = null)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeprovisionDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeprovisionDeploymentGroupRequest request = new DeprovisionDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        Force = false,
        DeletePolicy = DeleteDeploymentRequest.Types.DeletePolicy.Unspecified,
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.DeprovisionDeploymentGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceDeprovisionDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> DeprovisionDeploymentGroup(string name, CallSettings callSettings = null)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.DeprovisionDeploymentGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceDeprovisionDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroupAsync(DeploymentGroupName, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeprovisionDeploymentGroupAsync(DeploymentGroupName name, CallSettings callSettings = null)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeprovisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeprovisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroupAsync(DeploymentGroupName, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeprovisionDeploymentGroupAsync(DeploymentGroupName name, CancellationToken cancellationToken)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeprovisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeprovisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroupAsync(DeprovisionDeploymentGroupRequest, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeprovisionDeploymentGroupAsync(DeprovisionDeploymentGroupRequest request, CallSettings callSettings = null)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeprovisionDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeprovisionDeploymentGroupRequest request = new DeprovisionDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        Force = false,
        DeletePolicy = DeleteDeploymentRequest.Types.DeletePolicy.Unspecified,
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeprovisionDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeprovisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroupAsync(DeprovisionDeploymentGroupRequest, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeprovisionDeploymentGroupAsync(DeprovisionDeploymentGroupRequest request, CancellationToken cancellationToken)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeprovisionDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeprovisionDeploymentGroupRequest request = new DeprovisionDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        Force = false,
        DeletePolicy = DeleteDeploymentRequest.Types.DeletePolicy.Unspecified,
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeprovisionDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeprovisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroupAsync(string, CallSettings)

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

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeprovisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeprovisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### DeprovisionDeploymentGroupAsync(string, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> DeprovisionDeploymentGroupAsync(string name, CancellationToken cancellationToken)

Deprovisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.DeprovisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceDeprovisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ExportDeploymentStatefile(ExportDeploymentStatefileRequest, CallSettings)

    public virtual Statefile ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ExportDeploymentStatefileRequest request = new ExportDeploymentStatefileRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        Draft = false,
    };
    // Make the request
    Statefile response = configClient.ExportDeploymentStatefile(request);

### ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest, CallSettings)

    public virtual Task<Statefile> ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportDeploymentStatefileRequest request = new ExportDeploymentStatefileRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        Draft = false,
    };
    // Make the request
    Statefile response = await configClient.ExportDeploymentStatefileAsync(request);

### ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest, CancellationToken)

    public virtual Task<Statefile> ExportDeploymentStatefileAsync(ExportDeploymentStatefileRequest request, CancellationToken cancellationToken)

Exports Terraform state file from a given deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportDeploymentStatefileRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportDeploymentStatefileRequest request = new ExportDeploymentStatefileRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        Draft = false,
    };
    // Make the request
    Statefile response = await configClient.ExportDeploymentStatefileAsync(request);

### ExportLockInfo(DeploymentName, CallSettings)

    public virtual LockInfo ExportLockInfo(DeploymentName name, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    LockInfo response = configClient.ExportLockInfo(name);

### ExportLockInfo(ExportLockInfoRequest, CallSettings)

    public virtual LockInfo ExportLockInfo(ExportLockInfoRequest request, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportLockInfoRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ExportLockInfoRequest request = new ExportLockInfoRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    LockInfo response = configClient.ExportLockInfo(request);

### ExportLockInfo(string, CallSettings)

    public virtual LockInfo ExportLockInfo(string name, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    LockInfo response = configClient.ExportLockInfo(name);

### ExportLockInfoAsync(DeploymentName, CallSettings)

    public virtual Task<LockInfo> ExportLockInfoAsync(DeploymentName name, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    LockInfo response = await configClient.ExportLockInfoAsync(name);

### ExportLockInfoAsync(DeploymentName, CancellationToken)

    public virtual Task<LockInfo> ExportLockInfoAsync(DeploymentName name, CancellationToken cancellationToken)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    LockInfo response = await configClient.ExportLockInfoAsync(name);

### ExportLockInfoAsync(ExportLockInfoRequest, CallSettings)

    public virtual Task<LockInfo> ExportLockInfoAsync(ExportLockInfoRequest request, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportLockInfoRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportLockInfoRequest request = new ExportLockInfoRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    LockInfo response = await configClient.ExportLockInfoAsync(request);

### ExportLockInfoAsync(ExportLockInfoRequest, CancellationToken)

    public virtual Task<LockInfo> ExportLockInfoAsync(ExportLockInfoRequest request, CancellationToken cancellationToken)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportLockInfoRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportLockInfoRequest request = new ExportLockInfoRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    LockInfo response = await configClient.ExportLockInfoAsync(request);

### ExportLockInfoAsync(string, CallSettings)

    public virtual Task<LockInfo> ExportLockInfoAsync(string name, CallSettings callSettings = null)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    LockInfo response = await configClient.ExportLockInfoAsync(name);

### ExportLockInfoAsync(string, CancellationToken)

    public virtual Task<LockInfo> ExportLockInfoAsync(string name, CancellationToken cancellationToken)

Exports the lock info on a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockInfo` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    LockInfo response = await configClient.ExportLockInfoAsync(name);

### ExportPreviewResult(ExportPreviewResultRequest, CallSettings)

    public virtual ExportPreviewResultResponse ExportPreviewResult(ExportPreviewResultRequest request, CallSettings callSettings = null)

Export \[Preview\]\[google.cloud.config.v1.Preview\] results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportPreviewResultRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportPreviewResultResponse` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ExportPreviewResultRequest request = new ExportPreviewResultRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
    };
    // Make the request
    ExportPreviewResultResponse response = configClient.ExportPreviewResult(request);

### ExportPreviewResultAsync(ExportPreviewResultRequest, CallSettings)

    public virtual Task<ExportPreviewResultResponse> ExportPreviewResultAsync(ExportPreviewResultRequest request, CallSettings callSettings = null)

Export \[Preview\]\[google.cloud.config.v1.Preview\] results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportPreviewResultRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportPreviewResultResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportPreviewResultRequest request = new ExportPreviewResultRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
    };
    // Make the request
    ExportPreviewResultResponse response = await configClient.ExportPreviewResultAsync(request);

### ExportPreviewResultAsync(ExportPreviewResultRequest, CancellationToken)

    public virtual Task<ExportPreviewResultResponse> ExportPreviewResultAsync(ExportPreviewResultRequest request, CancellationToken cancellationToken)

Export \[Preview\]\[google.cloud.config.v1.Preview\] results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportPreviewResultRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportPreviewResultResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportPreviewResultRequest request = new ExportPreviewResultRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
    };
    // Make the request
    ExportPreviewResultResponse response = await configClient.ExportPreviewResultAsync(request);

### ExportRevisionStatefile(ExportRevisionStatefileRequest, CallSettings)

    public virtual Statefile ExportRevisionStatefile(ExportRevisionStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportRevisionStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ExportRevisionStatefileRequest request = new ExportRevisionStatefileRequest
    {
        ParentAsRevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
    };
    // Make the request
    Statefile response = configClient.ExportRevisionStatefile(request);

### ExportRevisionStatefileAsync(ExportRevisionStatefileRequest, CallSettings)

    public virtual Task<Statefile> ExportRevisionStatefileAsync(ExportRevisionStatefileRequest request, CallSettings callSettings = null)

Exports Terraform state file from a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportRevisionStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportRevisionStatefileRequest request = new ExportRevisionStatefileRequest
    {
        ParentAsRevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
    };
    // Make the request
    Statefile response = await configClient.ExportRevisionStatefileAsync(request);

### ExportRevisionStatefileAsync(ExportRevisionStatefileRequest, CancellationToken)

    public virtual Task<Statefile> ExportRevisionStatefileAsync(ExportRevisionStatefileRequest request, CancellationToken cancellationToken)

Exports Terraform state file from a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ExportRevisionStatefileRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ExportRevisionStatefileRequest request = new ExportRevisionStatefileRequest
    {
        ParentAsRevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
    };
    // Make the request
    Statefile response = await configClient.ExportRevisionStatefileAsync(request);

### GetAutoMigrationConfig(AutoMigrationConfigName, CallSettings)

    public virtual AutoMigrationConfig GetAutoMigrationConfig(AutoMigrationConfigName name, CallSettings callSettings = null)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfigName` Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    AutoMigrationConfigName name = AutoMigrationConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    AutoMigrationConfig response = configClient.GetAutoMigrationConfig(name);

### GetAutoMigrationConfig(GetAutoMigrationConfigRequest, CallSettings)

    public virtual AutoMigrationConfig GetAutoMigrationConfig(GetAutoMigrationConfigRequest request, CallSettings callSettings = null)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetAutoMigrationConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetAutoMigrationConfigRequest request = new GetAutoMigrationConfigRequest
    {
        AutoMigrationConfigName = AutoMigrationConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    };
    // Make the request
    AutoMigrationConfig response = configClient.GetAutoMigrationConfig(request);

### GetAutoMigrationConfig(string, CallSettings)

    public virtual AutoMigrationConfig GetAutoMigrationConfig(string name, CallSettings callSettings = null)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/autoMigrationConfig";
    // Make the request
    AutoMigrationConfig response = configClient.GetAutoMigrationConfig(name);

### GetAutoMigrationConfigAsync(AutoMigrationConfigName, CallSettings)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfigAsync(AutoMigrationConfigName name, CallSettings callSettings = null)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfigName` Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    AutoMigrationConfigName name = AutoMigrationConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    AutoMigrationConfig response = await configClient.GetAutoMigrationConfigAsync(name);

### GetAutoMigrationConfigAsync(AutoMigrationConfigName, CancellationToken)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfigAsync(AutoMigrationConfigName name, CancellationToken cancellationToken)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfigName` Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    AutoMigrationConfigName name = AutoMigrationConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    AutoMigrationConfig response = await configClient.GetAutoMigrationConfigAsync(name);

### GetAutoMigrationConfigAsync(GetAutoMigrationConfigRequest, CallSettings)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfigAsync(GetAutoMigrationConfigRequest request, CallSettings callSettings = null)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetAutoMigrationConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetAutoMigrationConfigRequest request = new GetAutoMigrationConfigRequest
    {
        AutoMigrationConfigName = AutoMigrationConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    };
    // Make the request
    AutoMigrationConfig response = await configClient.GetAutoMigrationConfigAsync(request);

### GetAutoMigrationConfigAsync(GetAutoMigrationConfigRequest, CancellationToken)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfigAsync(GetAutoMigrationConfigRequest request, CancellationToken cancellationToken)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetAutoMigrationConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetAutoMigrationConfigRequest request = new GetAutoMigrationConfigRequest
    {
        AutoMigrationConfigName = AutoMigrationConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    };
    // Make the request
    AutoMigrationConfig response = await configClient.GetAutoMigrationConfigAsync(request);

### GetAutoMigrationConfigAsync(string, CallSettings)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfigAsync(string name, CallSettings callSettings = null)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/autoMigrationConfig";
    // Make the request
    AutoMigrationConfig response = await configClient.GetAutoMigrationConfigAsync(name);

### GetAutoMigrationConfigAsync(string, CancellationToken)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfigAsync(string name, CancellationToken cancellationToken)

Get the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/autoMigrationConfig";
    // Make the request
    AutoMigrationConfig response = await configClient.GetAutoMigrationConfigAsync(name);

### GetDeployment(DeploymentName, CallSettings)

    public virtual Deployment GetDeployment(DeploymentName name, CallSettings callSettings = null)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Deployment response = configClient.GetDeployment(name);

### GetDeployment(GetDeploymentRequest, CallSettings)

    public virtual Deployment GetDeployment(GetDeploymentRequest request, CallSettings callSettings = null)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetDeploymentRequest request = new GetDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    Deployment response = configClient.GetDeployment(request);

### GetDeployment(string, CallSettings)

    public virtual Deployment GetDeployment(string name, CallSettings callSettings = null)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Deployment response = configClient.GetDeployment(name);

### GetDeploymentAsync(DeploymentName, CallSettings)

    public virtual Task<Deployment> GetDeploymentAsync(DeploymentName name, CallSettings callSettings = null)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Deployment response = await configClient.GetDeploymentAsync(name);

### GetDeploymentAsync(DeploymentName, CancellationToken)

    public virtual Task<Deployment> GetDeploymentAsync(DeploymentName name, CancellationToken cancellationToken)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Deployment response = await configClient.GetDeploymentAsync(name);

### GetDeploymentAsync(GetDeploymentRequest, CallSettings)

    public virtual Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CallSettings callSettings = null)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetDeploymentRequest request = new GetDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    Deployment response = await configClient.GetDeploymentAsync(request);

### GetDeploymentAsync(GetDeploymentRequest, CancellationToken)

    public virtual Task<Deployment> GetDeploymentAsync(GetDeploymentRequest request, CancellationToken cancellationToken)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetDeploymentRequest request = new GetDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    Deployment response = await configClient.GetDeploymentAsync(request);

### GetDeploymentAsync(string, CallSettings)

    public virtual Task<Deployment> GetDeploymentAsync(string name, CallSettings callSettings = null)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Deployment response = await configClient.GetDeploymentAsync(name);

### GetDeploymentAsync(string, CancellationToken)

    public virtual Task<Deployment> GetDeploymentAsync(string name, CancellationToken cancellationToken)

Gets details about a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Deployment response = await configClient.GetDeploymentAsync(name);

### GetDeploymentGroup(DeploymentGroupName, CallSettings)

    public virtual DeploymentGroup GetDeploymentGroup(DeploymentGroupName name, CallSettings callSettings = null)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    DeploymentGroup response = configClient.GetDeploymentGroup(name);

### GetDeploymentGroup(GetDeploymentGroupRequest, CallSettings)

    public virtual DeploymentGroup GetDeploymentGroup(GetDeploymentGroupRequest request, CallSettings callSettings = null)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetDeploymentGroupRequest request = new GetDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
    };
    // Make the request
    DeploymentGroup response = configClient.GetDeploymentGroup(request);

### GetDeploymentGroup(string, CallSettings)

    public virtual DeploymentGroup GetDeploymentGroup(string name, CallSettings callSettings = null)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    DeploymentGroup response = configClient.GetDeploymentGroup(name);

### GetDeploymentGroupAsync(DeploymentGroupName, CallSettings)

    public virtual Task<DeploymentGroup> GetDeploymentGroupAsync(DeploymentGroupName name, CallSettings callSettings = null)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    DeploymentGroup response = await configClient.GetDeploymentGroupAsync(name);

### GetDeploymentGroupAsync(DeploymentGroupName, CancellationToken)

    public virtual Task<DeploymentGroup> GetDeploymentGroupAsync(DeploymentGroupName name, CancellationToken cancellationToken)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    DeploymentGroup response = await configClient.GetDeploymentGroupAsync(name);

### GetDeploymentGroupAsync(GetDeploymentGroupRequest, CallSettings)

    public virtual Task<DeploymentGroup> GetDeploymentGroupAsync(GetDeploymentGroupRequest request, CallSettings callSettings = null)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetDeploymentGroupRequest request = new GetDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
    };
    // Make the request
    DeploymentGroup response = await configClient.GetDeploymentGroupAsync(request);

### GetDeploymentGroupAsync(GetDeploymentGroupRequest, CancellationToken)

    public virtual Task<DeploymentGroup> GetDeploymentGroupAsync(GetDeploymentGroupRequest request, CancellationToken cancellationToken)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetDeploymentGroupRequest request = new GetDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
    };
    // Make the request
    DeploymentGroup response = await configClient.GetDeploymentGroupAsync(request);

### GetDeploymentGroupAsync(string, CallSettings)

    public virtual Task<DeploymentGroup> GetDeploymentGroupAsync(string name, CallSettings callSettings = null)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    DeploymentGroup response = await configClient.GetDeploymentGroupAsync(name);

### GetDeploymentGroupAsync(string, CancellationToken)

    public virtual Task<DeploymentGroup> GetDeploymentGroupAsync(string name, CancellationToken cancellationToken)

Get a DeploymentGroup for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    DeploymentGroup response = await configClient.GetDeploymentGroupAsync(name);

### GetDeploymentGroupRevision(DeploymentGroupRevisionName, CallSettings)

    public virtual DeploymentGroupRevision GetDeploymentGroupRevision(DeploymentGroupRevisionName name, CallSettings callSettings = null)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevisionName` Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroupRevisionName name = DeploymentGroupRevisionName.FromProjectLocationDeploymentGroupRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    // Make the request
    DeploymentGroupRevision response = configClient.GetDeploymentGroupRevision(name);

### GetDeploymentGroupRevision(GetDeploymentGroupRevisionRequest, CallSettings)

    public virtual DeploymentGroupRevision GetDeploymentGroupRevision(GetDeploymentGroupRevisionRequest request, CallSettings callSettings = null)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentGroupRevisionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetDeploymentGroupRevisionRequest request = new GetDeploymentGroupRevisionRequest
    {
        DeploymentGroupRevisionName = DeploymentGroupRevisionName.FromProjectLocationDeploymentGroupRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]"),
    };
    // Make the request
    DeploymentGroupRevision response = configClient.GetDeploymentGroupRevision(request);

### GetDeploymentGroupRevision(string, CallSettings)

    public virtual DeploymentGroupRevision GetDeploymentGroupRevision(string name, CallSettings callSettings = null)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]/revisions/[REVISION]";
    // Make the request
    DeploymentGroupRevision response = configClient.GetDeploymentGroupRevision(name);

### GetDeploymentGroupRevisionAsync(DeploymentGroupRevisionName, CallSettings)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevisionAsync(DeploymentGroupRevisionName name, CallSettings callSettings = null)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevisionName` Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupRevisionName name = DeploymentGroupRevisionName.FromProjectLocationDeploymentGroupRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    // Make the request
    DeploymentGroupRevision response = await configClient.GetDeploymentGroupRevisionAsync(name);

### GetDeploymentGroupRevisionAsync(DeploymentGroupRevisionName, CancellationToken)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevisionAsync(DeploymentGroupRevisionName name, CancellationToken cancellationToken)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevisionName` Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupRevisionName name = DeploymentGroupRevisionName.FromProjectLocationDeploymentGroupRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    // Make the request
    DeploymentGroupRevision response = await configClient.GetDeploymentGroupRevisionAsync(name);

### GetDeploymentGroupRevisionAsync(GetDeploymentGroupRevisionRequest, CallSettings)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevisionAsync(GetDeploymentGroupRevisionRequest request, CallSettings callSettings = null)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentGroupRevisionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetDeploymentGroupRevisionRequest request = new GetDeploymentGroupRevisionRequest
    {
        DeploymentGroupRevisionName = DeploymentGroupRevisionName.FromProjectLocationDeploymentGroupRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]"),
    };
    // Make the request
    DeploymentGroupRevision response = await configClient.GetDeploymentGroupRevisionAsync(request);

### GetDeploymentGroupRevisionAsync(GetDeploymentGroupRevisionRequest, CancellationToken)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevisionAsync(GetDeploymentGroupRevisionRequest request, CancellationToken cancellationToken)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetDeploymentGroupRevisionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetDeploymentGroupRevisionRequest request = new GetDeploymentGroupRevisionRequest
    {
        DeploymentGroupRevisionName = DeploymentGroupRevisionName.FromProjectLocationDeploymentGroupRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]"),
    };
    // Make the request
    DeploymentGroupRevision response = await configClient.GetDeploymentGroupRevisionAsync(request);

### GetDeploymentGroupRevisionAsync(string, CallSettings)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevisionAsync(string name, CallSettings callSettings = null)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]/revisions/[REVISION]";
    // Make the request
    DeploymentGroupRevision response = await configClient.GetDeploymentGroupRevisionAsync(name);

### GetDeploymentGroupRevisionAsync(string, CancellationToken)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevisionAsync(string name, CancellationToken cancellationToken)

Gets details about a
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group revision to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]/revisions/[REVISION]";
    // Make the request
    DeploymentGroupRevision response = await configClient.GetDeploymentGroupRevisionAsync(name);

### GetPreview(GetPreviewRequest, CallSettings)

    public virtual Preview GetPreview(GetPreviewRequest request, CallSettings callSettings = null)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetPreviewRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetPreviewRequest request = new GetPreviewRequest
    {
        PreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
    };
    // Make the request
    Preview response = configClient.GetPreview(request);

### GetPreview(PreviewName, CallSettings)

    public virtual Preview GetPreview(PreviewName name, CallSettings callSettings = null)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    PreviewName name = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    Preview response = configClient.GetPreview(name);

### GetPreview(string, CallSettings)

    public virtual Preview GetPreview(string name, CallSettings callSettings = null)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    Preview response = configClient.GetPreview(name);

### GetPreviewAsync(GetPreviewRequest, CallSettings)

    public virtual Task<Preview> GetPreviewAsync(GetPreviewRequest request, CallSettings callSettings = null)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetPreviewRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetPreviewRequest request = new GetPreviewRequest
    {
        PreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
    };
    // Make the request
    Preview response = await configClient.GetPreviewAsync(request);

### GetPreviewAsync(GetPreviewRequest, CancellationToken)

    public virtual Task<Preview> GetPreviewAsync(GetPreviewRequest request, CancellationToken cancellationToken)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetPreviewRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetPreviewRequest request = new GetPreviewRequest
    {
        PreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
    };
    // Make the request
    Preview response = await configClient.GetPreviewAsync(request);

### GetPreviewAsync(PreviewName, CallSettings)

    public virtual Task<Preview> GetPreviewAsync(PreviewName name, CallSettings callSettings = null)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    PreviewName name = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    Preview response = await configClient.GetPreviewAsync(name);

### GetPreviewAsync(PreviewName, CancellationToken)

    public virtual Task<Preview> GetPreviewAsync(PreviewName name, CancellationToken cancellationToken)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    PreviewName name = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    Preview response = await configClient.GetPreviewAsync(name);

### GetPreviewAsync(string, CallSettings)

    public virtual Task<Preview> GetPreviewAsync(string name, CallSettings callSettings = null)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    Preview response = await configClient.GetPreviewAsync(name);

### GetPreviewAsync(string, CancellationToken)

    public virtual Task<Preview> GetPreviewAsync(string name, CancellationToken cancellationToken)

Gets details about a \[Preview\]\[google.cloud.config.v1.Preview\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    Preview response = await configClient.GetPreviewAsync(name);

### GetResource(GetResourceRequest, CallSettings)

    public virtual Resource GetResource(GetResourceRequest request, CallSettings callSettings = null)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetResourceRequest request = new GetResourceRequest
    {
        ResourceName = ResourceName.FromProjectLocationDeploymentRevisionResource("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]", "[RESOURCE]"),
    };
    // Make the request
    Resource response = configClient.GetResource(request);

### GetResource(ResourceName, CallSettings)

    public virtual Resource GetResource(ResourceName name, CallSettings callSettings = null)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceName` Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ResourceName name = ResourceName.FromProjectLocationDeploymentRevisionResource("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]", "[RESOURCE]");
    // Make the request
    Resource response = configClient.GetResource(name);

### GetResource(string, CallSettings)

    public virtual Resource GetResource(string name, CallSettings callSettings = null)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]/resources/[RESOURCE]";
    // Make the request
    Resource response = configClient.GetResource(name);

### GetResourceAsync(GetResourceRequest, CallSettings)

    public virtual Task<Resource> GetResourceAsync(GetResourceRequest request, CallSettings callSettings = null)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetResourceRequest request = new GetResourceRequest
    {
        ResourceName = ResourceName.FromProjectLocationDeploymentRevisionResource("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]", "[RESOURCE]"),
    };
    // Make the request
    Resource response = await configClient.GetResourceAsync(request);

### GetResourceAsync(GetResourceRequest, CancellationToken)

    public virtual Task<Resource> GetResourceAsync(GetResourceRequest request, CancellationToken cancellationToken)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetResourceRequest request = new GetResourceRequest
    {
        ResourceName = ResourceName.FromProjectLocationDeploymentRevisionResource("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]", "[RESOURCE]"),
    };
    // Make the request
    Resource response = await configClient.GetResourceAsync(request);

### GetResourceAsync(ResourceName, CallSettings)

    public virtual Task<Resource> GetResourceAsync(ResourceName name, CallSettings callSettings = null)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceName` Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ResourceName name = ResourceName.FromProjectLocationDeploymentRevisionResource("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]", "[RESOURCE]");
    // Make the request
    Resource response = await configClient.GetResourceAsync(name);

### GetResourceAsync(ResourceName, CancellationToken)

    public virtual Task<Resource> GetResourceAsync(ResourceName name, CancellationToken cancellationToken)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceName` Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ResourceName name = ResourceName.FromProjectLocationDeploymentRevisionResource("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]", "[RESOURCE]");
    // Make the request
    Resource response = await configClient.GetResourceAsync(name);

### GetResourceAsync(string, CallSettings)

    public virtual Task<Resource> GetResourceAsync(string name, CallSettings callSettings = null)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]/resources/[RESOURCE]";
    // Make the request
    Resource response = await configClient.GetResourceAsync(name);

### GetResourceAsync(string, CancellationToken)

    public virtual Task<Resource> GetResourceAsync(string name, CancellationToken cancellationToken)

Gets details about a \[Resource\]\[google.cloud.config.v1.Resource\] deployed
by Infra Manager.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]/resources/[RESOURCE]";
    // Make the request
    Resource response = await configClient.GetResourceAsync(name);

### GetResourceChange(GetResourceChangeRequest, CallSettings)

    public virtual ResourceChange GetResourceChange(GetResourceChangeRequest request, CallSettings callSettings = null)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceChangeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetResourceChangeRequest request = new GetResourceChangeRequest
    {
        ResourceChangeName = ResourceChangeName.FromProjectLocationPreviewResourceChange("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_CHANGE]"),
    };
    // Make the request
    ResourceChange response = configClient.GetResourceChange(request);

### GetResourceChange(ResourceChangeName, CallSettings)

    public virtual ResourceChange GetResourceChange(ResourceChangeName name, CallSettings callSettings = null)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChangeName` Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ResourceChangeName name = ResourceChangeName.FromProjectLocationPreviewResourceChange("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_CHANGE]");
    // Make the request
    ResourceChange response = configClient.GetResourceChange(name);

### GetResourceChange(string, CallSettings)

    public virtual ResourceChange GetResourceChange(string name, CallSettings callSettings = null)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]/resourceChanges/[RESOURCE_CHANGE]";
    // Make the request
    ResourceChange response = configClient.GetResourceChange(name);

### GetResourceChangeAsync(GetResourceChangeRequest, CallSettings)

    public virtual Task<ResourceChange> GetResourceChangeAsync(GetResourceChangeRequest request, CallSettings callSettings = null)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceChangeRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetResourceChangeRequest request = new GetResourceChangeRequest
    {
        ResourceChangeName = ResourceChangeName.FromProjectLocationPreviewResourceChange("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_CHANGE]"),
    };
    // Make the request
    ResourceChange response = await configClient.GetResourceChangeAsync(request);

### GetResourceChangeAsync(GetResourceChangeRequest, CancellationToken)

    public virtual Task<ResourceChange> GetResourceChangeAsync(GetResourceChangeRequest request, CancellationToken cancellationToken)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceChangeRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetResourceChangeRequest request = new GetResourceChangeRequest
    {
        ResourceChangeName = ResourceChangeName.FromProjectLocationPreviewResourceChange("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_CHANGE]"),
    };
    // Make the request
    ResourceChange response = await configClient.GetResourceChangeAsync(request);

### GetResourceChangeAsync(ResourceChangeName, CallSettings)

    public virtual Task<ResourceChange> GetResourceChangeAsync(ResourceChangeName name, CallSettings callSettings = null)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChangeName` Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ResourceChangeName name = ResourceChangeName.FromProjectLocationPreviewResourceChange("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_CHANGE]");
    // Make the request
    ResourceChange response = await configClient.GetResourceChangeAsync(name);

### GetResourceChangeAsync(ResourceChangeName, CancellationToken)

    public virtual Task<ResourceChange> GetResourceChangeAsync(ResourceChangeName name, CancellationToken cancellationToken)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChangeName` Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ResourceChangeName name = ResourceChangeName.FromProjectLocationPreviewResourceChange("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_CHANGE]");
    // Make the request
    ResourceChange response = await configClient.GetResourceChangeAsync(name);

### GetResourceChangeAsync(string, CallSettings)

    public virtual Task<ResourceChange> GetResourceChangeAsync(string name, CallSettings callSettings = null)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]/resourceChanges/[RESOURCE_CHANGE]";
    // Make the request
    ResourceChange response = await configClient.GetResourceChangeAsync(name);

### GetResourceChangeAsync(string, CancellationToken)

    public virtual Task<ResourceChange> GetResourceChangeAsync(string name, CancellationToken cancellationToken)

Get a ResourceChange for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]/resourceChanges/[RESOURCE_CHANGE]";
    // Make the request
    ResourceChange response = await configClient.GetResourceChangeAsync(name);

### GetResourceDrift(GetResourceDriftRequest, CallSettings)

    public virtual ResourceDrift GetResourceDrift(GetResourceDriftRequest request, CallSettings callSettings = null)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceDriftRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetResourceDriftRequest request = new GetResourceDriftRequest
    {
        ResourceDriftName = ResourceDriftName.FromProjectLocationPreviewResourceDrift("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_DRIFT]"),
    };
    // Make the request
    ResourceDrift response = configClient.GetResourceDrift(request);

### GetResourceDrift(ResourceDriftName, CallSettings)

    public virtual ResourceDrift GetResourceDrift(ResourceDriftName name, CallSettings callSettings = null)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDriftName` Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ResourceDriftName name = ResourceDriftName.FromProjectLocationPreviewResourceDrift("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_DRIFT]");
    // Make the request
    ResourceDrift response = configClient.GetResourceDrift(name);

### GetResourceDrift(string, CallSettings)

    public virtual ResourceDrift GetResourceDrift(string name, CallSettings callSettings = null)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]/resourceDrifts/[RESOURCE_DRIFT]";
    // Make the request
    ResourceDrift response = configClient.GetResourceDrift(name);

### GetResourceDriftAsync(GetResourceDriftRequest, CallSettings)

    public virtual Task<ResourceDrift> GetResourceDriftAsync(GetResourceDriftRequest request, CallSettings callSettings = null)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceDriftRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetResourceDriftRequest request = new GetResourceDriftRequest
    {
        ResourceDriftName = ResourceDriftName.FromProjectLocationPreviewResourceDrift("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_DRIFT]"),
    };
    // Make the request
    ResourceDrift response = await configClient.GetResourceDriftAsync(request);

### GetResourceDriftAsync(GetResourceDriftRequest, CancellationToken)

    public virtual Task<ResourceDrift> GetResourceDriftAsync(GetResourceDriftRequest request, CancellationToken cancellationToken)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceDriftRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetResourceDriftRequest request = new GetResourceDriftRequest
    {
        ResourceDriftName = ResourceDriftName.FromProjectLocationPreviewResourceDrift("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_DRIFT]"),
    };
    // Make the request
    ResourceDrift response = await configClient.GetResourceDriftAsync(request);

### GetResourceDriftAsync(ResourceDriftName, CallSettings)

    public virtual Task<ResourceDrift> GetResourceDriftAsync(ResourceDriftName name, CallSettings callSettings = null)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDriftName` Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ResourceDriftName name = ResourceDriftName.FromProjectLocationPreviewResourceDrift("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_DRIFT]");
    // Make the request
    ResourceDrift response = await configClient.GetResourceDriftAsync(name);

### GetResourceDriftAsync(ResourceDriftName, CancellationToken)

    public virtual Task<ResourceDrift> GetResourceDriftAsync(ResourceDriftName name, CancellationToken cancellationToken)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDriftName` Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ResourceDriftName name = ResourceDriftName.FromProjectLocationPreviewResourceDrift("[PROJECT]", "[LOCATION]", "[PREVIEW]", "[RESOURCE_DRIFT]");
    // Make the request
    ResourceDrift response = await configClient.GetResourceDriftAsync(name);

### GetResourceDriftAsync(string, CallSettings)

    public virtual Task<ResourceDrift> GetResourceDriftAsync(string name, CallSettings callSettings = null)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]/resourceDrifts/[RESOURCE_DRIFT]";
    // Make the request
    ResourceDrift response = await configClient.GetResourceDriftAsync(name);

### GetResourceDriftAsync(string, CancellationToken)

    public virtual Task<ResourceDrift> GetResourceDriftAsync(string name, CancellationToken cancellationToken)

Get a ResourceDrift for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]/resourceDrifts/[RESOURCE_DRIFT]";
    // Make the request
    ResourceDrift response = await configClient.GetResourceDriftAsync(name);

### GetRevision(GetRevisionRequest, CallSettings)

    public virtual Revision GetRevision(GetRevisionRequest request, CallSettings callSettings = null)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetRevisionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetRevisionRequest request = new GetRevisionRequest
    {
        RevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
    };
    // Make the request
    Revision response = configClient.GetRevision(request);

### GetRevision(RevisionName, CallSettings)

    public virtual Revision GetRevision(RevisionName name, CallSettings callSettings = null)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.RevisionName` Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    RevisionName name = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]");
    // Make the request
    Revision response = configClient.GetRevision(name);

### GetRevision(string, CallSettings)

    public virtual Revision GetRevision(string name, CallSettings callSettings = null)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]";
    // Make the request
    Revision response = configClient.GetRevision(name);

### GetRevisionAsync(GetRevisionRequest, CallSettings)

    public virtual Task<Revision> GetRevisionAsync(GetRevisionRequest request, CallSettings callSettings = null)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetRevisionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetRevisionRequest request = new GetRevisionRequest
    {
        RevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
    };
    // Make the request
    Revision response = await configClient.GetRevisionAsync(request);

### GetRevisionAsync(GetRevisionRequest, CancellationToken)

    public virtual Task<Revision> GetRevisionAsync(GetRevisionRequest request, CancellationToken cancellationToken)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetRevisionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetRevisionRequest request = new GetRevisionRequest
    {
        RevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
    };
    // Make the request
    Revision response = await configClient.GetRevisionAsync(request);

### GetRevisionAsync(RevisionName, CallSettings)

    public virtual Task<Revision> GetRevisionAsync(RevisionName name, CallSettings callSettings = null)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.RevisionName` Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    RevisionName name = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]");
    // Make the request
    Revision response = await configClient.GetRevisionAsync(name);

### GetRevisionAsync(RevisionName, CancellationToken)

    public virtual Task<Revision> GetRevisionAsync(RevisionName name, CancellationToken cancellationToken)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.RevisionName` Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    RevisionName name = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]");
    // Make the request
    Revision response = await configClient.GetRevisionAsync(name);

### GetRevisionAsync(string, CallSettings)

    public virtual Task<Revision> GetRevisionAsync(string name, CallSettings callSettings = null)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]";
    // Make the request
    Revision response = await configClient.GetRevisionAsync(name);

### GetRevisionAsync(string, CancellationToken)

    public virtual Task<Revision> GetRevisionAsync(string name, CancellationToken cancellationToken)

Gets details about a \[Revision\]\[google.cloud.config.v1.Revision\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]";
    // Make the request
    Revision response = await configClient.GetRevisionAsync(name);

### GetTerraformVersion(GetTerraformVersionRequest, CallSettings)

    public virtual TerraformVersion GetTerraformVersion(GetTerraformVersionRequest request, CallSettings callSettings = null)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetTerraformVersionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    GetTerraformVersionRequest request = new GetTerraformVersionRequest
    {
        TerraformVersionName = TerraformVersionName.FromProjectLocationTerraformVersion("[PROJECT]", "[LOCATION]", "[TERRAFORM_VERSION]"),
    };
    // Make the request
    TerraformVersion response = configClient.GetTerraformVersion(request);

### GetTerraformVersion(TerraformVersionName, CallSettings)

    public virtual TerraformVersion GetTerraformVersion(TerraformVersionName name, CallSettings callSettings = null)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersionName` Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    TerraformVersionName name = TerraformVersionName.FromProjectLocationTerraformVersion("[PROJECT]", "[LOCATION]", "[TERRAFORM_VERSION]");
    // Make the request
    TerraformVersion response = configClient.GetTerraformVersion(name);

### GetTerraformVersion(string, CallSettings)

    public virtual TerraformVersion GetTerraformVersion(string name, CallSettings callSettings = null)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/terraformVersions/[TERRAFORM_VERSION]";
    // Make the request
    TerraformVersion response = configClient.GetTerraformVersion(name);

### GetTerraformVersionAsync(GetTerraformVersionRequest, CallSettings)

    public virtual Task<TerraformVersion> GetTerraformVersionAsync(GetTerraformVersionRequest request, CallSettings callSettings = null)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetTerraformVersionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetTerraformVersionRequest request = new GetTerraformVersionRequest
    {
        TerraformVersionName = TerraformVersionName.FromProjectLocationTerraformVersion("[PROJECT]", "[LOCATION]", "[TERRAFORM_VERSION]"),
    };
    // Make the request
    TerraformVersion response = await configClient.GetTerraformVersionAsync(request);

### GetTerraformVersionAsync(GetTerraformVersionRequest, CancellationToken)

    public virtual Task<TerraformVersion> GetTerraformVersionAsync(GetTerraformVersionRequest request, CancellationToken cancellationToken)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetTerraformVersionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    GetTerraformVersionRequest request = new GetTerraformVersionRequest
    {
        TerraformVersionName = TerraformVersionName.FromProjectLocationTerraformVersion("[PROJECT]", "[LOCATION]", "[TERRAFORM_VERSION]"),
    };
    // Make the request
    TerraformVersion response = await configClient.GetTerraformVersionAsync(request);

### GetTerraformVersionAsync(TerraformVersionName, CallSettings)

    public virtual Task<TerraformVersion> GetTerraformVersionAsync(TerraformVersionName name, CallSettings callSettings = null)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersionName` Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    TerraformVersionName name = TerraformVersionName.FromProjectLocationTerraformVersion("[PROJECT]", "[LOCATION]", "[TERRAFORM_VERSION]");
    // Make the request
    TerraformVersion response = await configClient.GetTerraformVersionAsync(name);

### GetTerraformVersionAsync(TerraformVersionName, CancellationToken)

    public virtual Task<TerraformVersion> GetTerraformVersionAsync(TerraformVersionName name, CancellationToken cancellationToken)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersionName` Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    TerraformVersionName name = TerraformVersionName.FromProjectLocationTerraformVersion("[PROJECT]", "[LOCATION]", "[TERRAFORM_VERSION]");
    // Make the request
    TerraformVersion response = await configClient.GetTerraformVersionAsync(name);

### GetTerraformVersionAsync(string, CallSettings)

    public virtual Task<TerraformVersion> GetTerraformVersionAsync(string name, CallSettings callSettings = null)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/terraformVersions/[TERRAFORM_VERSION]";
    // Make the request
    TerraformVersion response = await configClient.GetTerraformVersionAsync(name);

### GetTerraformVersionAsync(string, CancellationToken)

    public virtual Task<TerraformVersion> GetTerraformVersionAsync(string name, CancellationToken cancellationToken)

Gets details about a
\[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}' |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/terraformVersions/[TERRAFORM_VERSION]";
    // Make the request
    TerraformVersion response = await configClient.GetTerraformVersionAsync(name);

### ImportStatefile(DeploymentName, long, CallSettings)

    public virtual Statefile ImportStatefile(DeploymentName parent, long lockId, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName parent = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    long lockId = 0L;
    // Make the request
    Statefile response = configClient.ImportStatefile(parent, lockId);

### ImportStatefile(ImportStatefileRequest, CallSettings)

    public virtual Statefile ImportStatefile(ImportStatefileRequest request, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ImportStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ImportStatefileRequest request = new ImportStatefileRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
        SkipDraft = false,
    };
    // Make the request
    Statefile response = configClient.ImportStatefile(request);

### ImportStatefile(string, long, CallSettings)

    public virtual Statefile ImportStatefile(string parent, long lockId, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    long lockId = 0L;
    // Make the request
    Statefile response = configClient.ImportStatefile(parent, lockId);

### ImportStatefileAsync(DeploymentName, long, CallSettings)

    public virtual Task<Statefile> ImportStatefileAsync(DeploymentName parent, long lockId, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName parent = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    long lockId = 0L;
    // Make the request
    Statefile response = await configClient.ImportStatefileAsync(parent, lockId);

### ImportStatefileAsync(DeploymentName, long, CancellationToken)

    public virtual Task<Statefile> ImportStatefileAsync(DeploymentName parent, long lockId, CancellationToken cancellationToken)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName parent = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    long lockId = 0L;
    // Make the request
    Statefile response = await configClient.ImportStatefileAsync(parent, lockId);

### ImportStatefileAsync(ImportStatefileRequest, CallSettings)

    public virtual Task<Statefile> ImportStatefileAsync(ImportStatefileRequest request, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ImportStatefileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ImportStatefileRequest request = new ImportStatefileRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
        SkipDraft = false,
    };
    // Make the request
    Statefile response = await configClient.ImportStatefileAsync(request);

### ImportStatefileAsync(ImportStatefileRequest, CancellationToken)

    public virtual Task<Statefile> ImportStatefileAsync(ImportStatefileRequest request, CancellationToken cancellationToken)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ImportStatefileRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ImportStatefileRequest request = new ImportStatefileRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
        SkipDraft = false,
    };
    // Make the request
    Statefile response = await configClient.ImportStatefileAsync(request);

### ImportStatefileAsync(string, long, CallSettings)

    public virtual Task<Statefile> ImportStatefileAsync(string parent, long lockId, CallSettings callSettings = null)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    long lockId = 0L;
    // Make the request
    Statefile response = await configClient.ImportStatefileAsync(parent, lockId);

### ImportStatefileAsync(string, long, CancellationToken)

    public virtual Task<Statefile> ImportStatefileAsync(string parent, long lockId, CancellationToken cancellationToken)

Imports Terraform state file in a given deployment. The state file does not
take effect until the Deployment has been unlocked.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Statefile` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    long lockId = 0L;
    // Make the request
    Statefile response = await configClient.ImportStatefileAsync(parent, lockId);

### ListDeploymentGroupRevisions(DeploymentGroupName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> ListDeploymentGroupRevisions(DeploymentGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]s
in a given \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The parent, which owns this collection of deployment group revisions. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A pageable sequence of [DeploymentGroupRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroupName parent = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    PagedEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> response = configClient.ListDeploymentGroupRevisions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DeploymentGroupRevision 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 (ListDeploymentGroupRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroupRevision 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<DeploymentGroupRevision> 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 (DeploymentGroupRevision 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;

### ListDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest, CallSettings)

    public virtual PagedEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> ListDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest request, CallSettings callSettings = null)

Lists
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]s
in a given \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A pageable sequence of [DeploymentGroupRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListDeploymentGroupRevisionsRequest request = new ListDeploymentGroupRevisionsRequest
    {
        ParentAsDeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
    };
    // Make the request
    PagedEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> response = configClient.ListDeploymentGroupRevisions(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DeploymentGroupRevision 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 (ListDeploymentGroupRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroupRevision 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<DeploymentGroupRevision> 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 (DeploymentGroupRevision 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;

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

    public virtual PagedEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> ListDeploymentGroupRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]s
in a given \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of deployment group revisions. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A pageable sequence of [DeploymentGroupRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    PagedEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> response = configClient.ListDeploymentGroupRevisions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DeploymentGroupRevision 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 (ListDeploymentGroupRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroupRevision 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<DeploymentGroupRevision> 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 (DeploymentGroupRevision 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;

### ListDeploymentGroupRevisionsAsync(DeploymentGroupName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> ListDeploymentGroupRevisionsAsync(DeploymentGroupName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]s
in a given \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The parent, which owns this collection of deployment group revisions. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A pageable asynchronous sequence of [DeploymentGroupRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName parent = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    PagedAsyncEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> response = configClient.ListDeploymentGroupRevisionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (DeploymentGroupRevision 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 (ListDeploymentGroupRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroupRevision 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<DeploymentGroupRevision> 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 (DeploymentGroupRevision 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;

### ListDeploymentGroupRevisionsAsync(ListDeploymentGroupRevisionsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> ListDeploymentGroupRevisionsAsync(ListDeploymentGroupRevisionsRequest request, CallSettings callSettings = null)

Lists
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]s
in a given \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A pageable asynchronous sequence of [DeploymentGroupRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListDeploymentGroupRevisionsRequest request = new ListDeploymentGroupRevisionsRequest
    {
        ParentAsDeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
    };
    // Make the request
    PagedAsyncEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> response = configClient.ListDeploymentGroupRevisionsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (DeploymentGroupRevision 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 (ListDeploymentGroupRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroupRevision 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<DeploymentGroupRevision> 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 (DeploymentGroupRevision 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;

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

    public virtual PagedAsyncEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> ListDeploymentGroupRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]s
in a given \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of deployment group revisions. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision` | A pageable asynchronous sequence of [DeploymentGroupRevision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupRevision) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    PagedAsyncEnumerable<ListDeploymentGroupRevisionsResponse, DeploymentGroupRevision> response = configClient.ListDeploymentGroupRevisionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (DeploymentGroupRevision 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 (ListDeploymentGroupRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroupRevision 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<DeploymentGroupRevision> 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 (DeploymentGroupRevision 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;

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

    public virtual PagedEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> ListDeploymentGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List DeploymentGroups for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of deployment groups. Format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A pageable sequence of [DeploymentGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> response = configClient.ListDeploymentGroups(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DeploymentGroup 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 (ListDeploymentGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroup 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<DeploymentGroup> 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 (DeploymentGroup 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;

### ListDeploymentGroups(ListDeploymentGroupsRequest, CallSettings)

    public virtual PagedEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> ListDeploymentGroups(ListDeploymentGroupsRequest request, CallSettings callSettings = null)

List DeploymentGroups for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A pageable sequence of [DeploymentGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListDeploymentGroupsRequest request = new ListDeploymentGroupsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> response = configClient.ListDeploymentGroups(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DeploymentGroup 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 (ListDeploymentGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroup 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<DeploymentGroup> 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 (DeploymentGroup 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;

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

    public virtual PagedEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> ListDeploymentGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List DeploymentGroups for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of deployment groups. Format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A pageable sequence of [DeploymentGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> response = configClient.ListDeploymentGroups(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DeploymentGroup 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 (ListDeploymentGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroup 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<DeploymentGroup> 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 (DeploymentGroup 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;

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

    public virtual PagedAsyncEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> ListDeploymentGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List DeploymentGroups for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent, which owns this collection of deployment groups. Format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A pageable asynchronous sequence of [DeploymentGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> response = configClient.ListDeploymentGroupsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (DeploymentGroup 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 (ListDeploymentGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroup 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<DeploymentGroup> 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 (DeploymentGroup 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;

### ListDeploymentGroupsAsync(ListDeploymentGroupsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> ListDeploymentGroupsAsync(ListDeploymentGroupsRequest request, CallSettings callSettings = null)

List DeploymentGroups for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A pageable asynchronous sequence of [DeploymentGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListDeploymentGroupsRequest request = new ListDeploymentGroupsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> response = configClient.ListDeploymentGroupsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (DeploymentGroup 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 (ListDeploymentGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroup 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<DeploymentGroup> 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 (DeploymentGroup 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;

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

    public virtual PagedAsyncEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> ListDeploymentGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List DeploymentGroups for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of deployment groups. Format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentGroupsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` | A pageable asynchronous sequence of [DeploymentGroup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListDeploymentGroupsResponse, DeploymentGroup> response = configClient.ListDeploymentGroupsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (DeploymentGroup 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 (ListDeploymentGroupsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DeploymentGroup 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<DeploymentGroup> 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 (DeploymentGroup 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;

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

    public virtual PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Deployment\]\[google.cloud.config.v1.Deployment\]s in a given project
and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A pageable sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListDeploymentsResponse, Deployment> response = configClient.ListDeployments(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Deployment 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 (ListDeploymentsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Deployment 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<Deployment> 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 (Deployment 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;

### ListDeployments(ListDeploymentsRequest, CallSettings)

    public virtual PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(ListDeploymentsRequest request, CallSettings callSettings = null)

Lists \[Deployment\]\[google.cloud.config.v1.Deployment\]s in a given project
and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A pageable sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListDeploymentsRequest request = new ListDeploymentsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListDeploymentsResponse, Deployment> response = configClient.ListDeployments(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Deployment 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 (ListDeploymentsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Deployment 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<Deployment> 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 (Deployment 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;

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

    public virtual PagedEnumerable<ListDeploymentsResponse, Deployment> ListDeployments(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Deployment\]\[google.cloud.config.v1.Deployment\]s in a given project
and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A pageable sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListDeploymentsResponse, Deployment> response = configClient.ListDeployments(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Deployment 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 (ListDeploymentsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Deployment 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<Deployment> 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 (Deployment 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;

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

    public virtual PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Deployment\]\[google.cloud.config.v1.Deployment\]s in a given project
and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A pageable asynchronous sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> response = configClient.ListDeploymentsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Deployment 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 (ListDeploymentsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Deployment 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<Deployment> 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 (Deployment 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;

### ListDeploymentsAsync(ListDeploymentsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(ListDeploymentsRequest request, CallSettings callSettings = null)

Lists \[Deployment\]\[google.cloud.config.v1.Deployment\]s in a given project
and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A pageable asynchronous sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListDeploymentsRequest request = new ListDeploymentsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> response = configClient.ListDeploymentsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Deployment 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 (ListDeploymentsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Deployment 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<Deployment> 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 (Deployment 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;

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

    public virtual PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> ListDeploymentsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Deployment\]\[google.cloud.config.v1.Deployment\]s in a given project
and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListDeploymentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` | A pageable asynchronous sequence of [Deployment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListDeploymentsResponse, Deployment> response = configClient.ListDeploymentsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Deployment 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 (ListDeploymentsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Deployment 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<Deployment> 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 (Deployment 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;

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

    public virtual PagedEnumerable<ListPreviewsResponse, Preview> ListPreviews(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Preview\]\[google.cloud.config.v1.Preview\]s in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A pageable sequence of [Preview](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListPreviewsResponse, Preview> response = configClient.ListPreviews(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Preview 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 (ListPreviewsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Preview 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<Preview> 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 (Preview 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;

### ListPreviews(ListPreviewsRequest, CallSettings)

    public virtual PagedEnumerable<ListPreviewsResponse, Preview> ListPreviews(ListPreviewsRequest request, CallSettings callSettings = null)

Lists \[Preview\]\[google.cloud.config.v1.Preview\]s in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A pageable sequence of [Preview](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListPreviewsRequest request = new ListPreviewsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListPreviewsResponse, Preview> response = configClient.ListPreviews(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Preview 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 (ListPreviewsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Preview 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<Preview> 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 (Preview 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;

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

    public virtual PagedEnumerable<ListPreviewsResponse, Preview> ListPreviews(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Preview\]\[google.cloud.config.v1.Preview\]s in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A pageable sequence of [Preview](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListPreviewsResponse, Preview> response = configClient.ListPreviews(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Preview 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 (ListPreviewsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Preview 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<Preview> 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 (Preview 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;

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

    public virtual PagedAsyncEnumerable<ListPreviewsResponse, Preview> ListPreviewsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Preview\]\[google.cloud.config.v1.Preview\]s in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A pageable asynchronous sequence of [Preview](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListPreviewsResponse, Preview> response = configClient.ListPreviewsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Preview 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 (ListPreviewsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Preview 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<Preview> 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 (Preview 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;

### ListPreviewsAsync(ListPreviewsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListPreviewsResponse, Preview> ListPreviewsAsync(ListPreviewsRequest request, CallSettings callSettings = null)

Lists \[Preview\]\[google.cloud.config.v1.Preview\]s in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A pageable asynchronous sequence of [Preview](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListPreviewsRequest request = new ListPreviewsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListPreviewsResponse, Preview> response = configClient.ListPreviewsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Preview 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 (ListPreviewsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Preview 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<Preview> 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 (Preview 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;

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

    public virtual PagedAsyncEnumerable<ListPreviewsResponse, Preview> ListPreviewsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Preview\]\[google.cloud.config.v1.Preview\]s in a given project and
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListPreviewsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview` | A pageable asynchronous sequence of [Preview](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Preview) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListPreviewsResponse, Preview> response = configClient.ListPreviewsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Preview 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 (ListPreviewsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Preview 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<Preview> 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 (Preview 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;

### ListResourceChanges(ListResourceChangesRequest, CallSettings)

    public virtual PagedEnumerable<ListResourceChangesResponse, ResourceChange> ListResourceChanges(ListResourceChangesRequest request, CallSettings callSettings = null)

Lists ResourceChanges for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A pageable sequence of [ResourceChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListResourceChangesRequest request = new ListResourceChangesRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListResourceChangesResponse, ResourceChange> response = configClient.ListResourceChanges(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ResourceChange 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 (ListResourceChangesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceChange 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<ResourceChange> 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 (ResourceChange 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;

### ListResourceChanges(PreviewName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListResourceChangesResponse, ResourceChange> ListResourceChanges(PreviewName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ResourceChanges for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A pageable sequence of [ResourceChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    PreviewName parent = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    PagedEnumerable<ListResourceChangesResponse, ResourceChange> response = configClient.ListResourceChanges(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ResourceChange 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 (ListResourceChangesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceChange 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<ResourceChange> 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 (ResourceChange 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;

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

    public virtual PagedEnumerable<ListResourceChangesResponse, ResourceChange> ListResourceChanges(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ResourceChanges for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A pageable sequence of [ResourceChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    PagedEnumerable<ListResourceChangesResponse, ResourceChange> response = configClient.ListResourceChanges(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ResourceChange 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 (ListResourceChangesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceChange 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<ResourceChange> 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 (ResourceChange 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;

### ListResourceChangesAsync(ListResourceChangesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListResourceChangesResponse, ResourceChange> ListResourceChangesAsync(ListResourceChangesRequest request, CallSettings callSettings = null)

Lists ResourceChanges for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A pageable asynchronous sequence of [ResourceChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListResourceChangesRequest request = new ListResourceChangesRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListResourceChangesResponse, ResourceChange> response = configClient.ListResourceChangesAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ResourceChange 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 (ListResourceChangesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceChange 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<ResourceChange> 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 (ResourceChange 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;

### ListResourceChangesAsync(PreviewName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListResourceChangesResponse, ResourceChange> ListResourceChangesAsync(PreviewName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ResourceChanges for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A pageable asynchronous sequence of [ResourceChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    PreviewName parent = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    PagedAsyncEnumerable<ListResourceChangesResponse, ResourceChange> response = configClient.ListResourceChangesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ResourceChange 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 (ListResourceChangesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceChange 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<ResourceChange> 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 (ResourceChange 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;

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

    public virtual PagedAsyncEnumerable<ListResourceChangesResponse, ResourceChange> ListResourceChangesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists ResourceChanges for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceChangesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange` | A pageable asynchronous sequence of [ResourceChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceChange) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    PagedAsyncEnumerable<ListResourceChangesResponse, ResourceChange> response = configClient.ListResourceChangesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ResourceChange 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 (ListResourceChangesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceChange 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<ResourceChange> 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 (ResourceChange 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;

### ListResourceDrifts(ListResourceDriftsRequest, CallSettings)

    public virtual PagedEnumerable<ListResourceDriftsResponse, ResourceDrift> ListResourceDrifts(ListResourceDriftsRequest request, CallSettings callSettings = null)

List ResourceDrifts for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A pageable sequence of [ResourceDrift](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListResourceDriftsRequest request = new ListResourceDriftsRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListResourceDriftsResponse, ResourceDrift> response = configClient.ListResourceDrifts(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ResourceDrift 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 (ListResourceDriftsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceDrift 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<ResourceDrift> 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 (ResourceDrift 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;

### ListResourceDrifts(PreviewName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListResourceDriftsResponse, ResourceDrift> ListResourceDrifts(PreviewName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List ResourceDrifts for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A pageable sequence of [ResourceDrift](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    PreviewName parent = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    PagedEnumerable<ListResourceDriftsResponse, ResourceDrift> response = configClient.ListResourceDrifts(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ResourceDrift 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 (ListResourceDriftsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceDrift 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<ResourceDrift> 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 (ResourceDrift 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;

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

    public virtual PagedEnumerable<ListResourceDriftsResponse, ResourceDrift> ListResourceDrifts(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List ResourceDrifts for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A pageable sequence of [ResourceDrift](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    PagedEnumerable<ListResourceDriftsResponse, ResourceDrift> response = configClient.ListResourceDrifts(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ResourceDrift 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 (ListResourceDriftsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceDrift 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<ResourceDrift> 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 (ResourceDrift 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;

### ListResourceDriftsAsync(ListResourceDriftsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListResourceDriftsResponse, ResourceDrift> ListResourceDriftsAsync(ListResourceDriftsRequest request, CallSettings callSettings = null)

List ResourceDrifts for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A pageable asynchronous sequence of [ResourceDrift](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListResourceDriftsRequest request = new ListResourceDriftsRequest
    {
        ParentAsPreviewName = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListResourceDriftsResponse, ResourceDrift> response = configClient.ListResourceDriftsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ResourceDrift 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 (ListResourceDriftsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceDrift 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<ResourceDrift> 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 (ResourceDrift 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;

### ListResourceDriftsAsync(PreviewName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListResourceDriftsResponse, ResourceDrift> ListResourceDriftsAsync(PreviewName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List ResourceDrifts for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.PreviewName` Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A pageable asynchronous sequence of [ResourceDrift](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    PreviewName parent = PreviewName.FromProjectLocationPreview("[PROJECT]", "[LOCATION]", "[PREVIEW]");
    // Make the request
    PagedAsyncEnumerable<ListResourceDriftsResponse, ResourceDrift> response = configClient.ListResourceDriftsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ResourceDrift 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 (ListResourceDriftsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceDrift 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<ResourceDrift> 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 (ResourceDrift 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;

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

    public virtual PagedAsyncEnumerable<ListResourceDriftsResponse, ResourceDrift> ListResourceDriftsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

List ResourceDrifts for a given preview.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourceDriftsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift` | A pageable asynchronous sequence of [ResourceDrift](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/previews/[PREVIEW]";
    // Make the request
    PagedAsyncEnumerable<ListResourceDriftsResponse, ResourceDrift> response = configClient.ListResourceDriftsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ResourceDrift 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 (ListResourceDriftsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ResourceDrift 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<ResourceDrift> 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 (ResourceDrift 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;

### ListResources(ListResourcesRequest, CallSettings)

    public virtual PagedEnumerable<ListResourcesResponse, Resource> ListResources(ListResourcesRequest request, CallSettings callSettings = null)

Lists \[Resources\]\[google.cloud.config.v1.Resource\] in a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A pageable sequence of [Resource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListResourcesRequest request = new ListResourcesRequest
    {
        ParentAsRevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListResourcesResponse, Resource> response = configClient.ListResources(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Resource 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 (ListResourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Resource 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<Resource> 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 (Resource 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;

### ListResources(RevisionName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListResourcesResponse, Resource> ListResources(RevisionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Resources\]\[google.cloud.config.v1.Resource\] in a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.RevisionName` Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A pageable sequence of [Resource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    RevisionName parent = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]");
    // Make the request
    PagedEnumerable<ListResourcesResponse, Resource> response = configClient.ListResources(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Resource 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 (ListResourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Resource 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<Resource> 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 (Resource 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;

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

    public virtual PagedEnumerable<ListResourcesResponse, Resource> ListResources(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Resources\]\[google.cloud.config.v1.Resource\] in a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A pageable sequence of [Resource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]";
    // Make the request
    PagedEnumerable<ListResourcesResponse, Resource> response = configClient.ListResources(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Resource 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 (ListResourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Resource 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<Resource> 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 (Resource 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;

### ListResourcesAsync(ListResourcesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListResourcesResponse, Resource> ListResourcesAsync(ListResourcesRequest request, CallSettings callSettings = null)

Lists \[Resources\]\[google.cloud.config.v1.Resource\] in a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A pageable asynchronous sequence of [Resource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListResourcesRequest request = new ListResourcesRequest
    {
        ParentAsRevisionName = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListResourcesResponse, Resource> response = configClient.ListResourcesAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Resource 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 (ListResourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Resource 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<Resource> 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 (Resource 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;

### ListResourcesAsync(RevisionName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListResourcesResponse, Resource> ListResourcesAsync(RevisionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Resources\]\[google.cloud.config.v1.Resource\] in a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.RevisionName` Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A pageable asynchronous sequence of [Resource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    RevisionName parent = RevisionName.FromProjectLocationDeploymentRevision("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[REVISION]");
    // Make the request
    PagedAsyncEnumerable<ListResourcesResponse, Resource> response = configClient.ListResourcesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Resource 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 (ListResourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Resource 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<Resource> 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 (Resource 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;

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

    public virtual PagedAsyncEnumerable<ListResourcesResponse, Resource> ListResourcesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Resources\]\[google.cloud.config.v1.Resource\] in a given revision.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource` | A pageable asynchronous sequence of [Resource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Resource) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]/revisions/[REVISION]";
    // Make the request
    PagedAsyncEnumerable<ListResourcesResponse, Resource> response = configClient.ListResourcesAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Resource 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 (ListResourcesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Resource 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<Resource> 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 (Resource 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;

### ListRevisions(DeploymentName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListRevisionsResponse, Revision> ListRevisions(DeploymentName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Revision\]\[google.cloud.config.v1.Revision\]s of a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A pageable sequence of [Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName parent = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    PagedEnumerable<ListRevisionsResponse, Revision> response = configClient.ListRevisions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Revision 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 (ListRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Revision 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<Revision> 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 (Revision 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;

### ListRevisions(ListRevisionsRequest, CallSettings)

    public virtual PagedEnumerable<ListRevisionsResponse, Revision> ListRevisions(ListRevisionsRequest request, CallSettings callSettings = null)

Lists \[Revision\]\[google.cloud.config.v1.Revision\]s of a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A pageable sequence of [Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListRevisionsRequest request = new ListRevisionsRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListRevisionsResponse, Revision> response = configClient.ListRevisions(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Revision 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 (ListRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Revision 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<Revision> 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 (Revision 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;

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

    public virtual PagedEnumerable<ListRevisionsResponse, Revision> ListRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Revision\]\[google.cloud.config.v1.Revision\]s of a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A pageable sequence of [Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    PagedEnumerable<ListRevisionsResponse, Revision> response = configClient.ListRevisions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Revision 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 (ListRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Revision 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<Revision> 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 (Revision 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;

### ListRevisionsAsync(DeploymentName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListRevisionsResponse, Revision> ListRevisionsAsync(DeploymentName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Revision\]\[google.cloud.config.v1.Revision\]s of a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A pageable asynchronous sequence of [Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName parent = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    PagedAsyncEnumerable<ListRevisionsResponse, Revision> response = configClient.ListRevisionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Revision 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 (ListRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Revision 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<Revision> 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 (Revision 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;

### ListRevisionsAsync(ListRevisionsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListRevisionsResponse, Revision> ListRevisionsAsync(ListRevisionsRequest request, CallSettings callSettings = null)

Lists \[Revision\]\[google.cloud.config.v1.Revision\]s of a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A pageable asynchronous sequence of [Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListRevisionsRequest request = new ListRevisionsRequest
    {
        ParentAsDeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListRevisionsResponse, Revision> response = configClient.ListRevisionsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Revision 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 (ListRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Revision 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<Revision> 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 (Revision 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;

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

    public virtual PagedAsyncEnumerable<ListRevisionsResponse, Revision> ListRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[Revision\]\[google.cloud.config.v1.Revision\]s of a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision` | A pageable asynchronous sequence of [Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    PagedAsyncEnumerable<ListRevisionsResponse, Revision> response = configClient.ListRevisionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Revision 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 (ListRevisionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Revision 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<Revision> 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 (Revision 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;

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

    public virtual PagedEnumerable<ListTerraformVersionsResponse, TerraformVersion> ListTerraformVersions(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\]s in a
given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A pageable sequence of [TerraformVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListTerraformVersionsResponse, TerraformVersion> response = configClient.ListTerraformVersions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (TerraformVersion 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 (ListTerraformVersionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TerraformVersion 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<TerraformVersion> 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 (TerraformVersion 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;

### ListTerraformVersions(ListTerraformVersionsRequest, CallSettings)

    public virtual PagedEnumerable<ListTerraformVersionsResponse, TerraformVersion> ListTerraformVersions(ListTerraformVersionsRequest request, CallSettings callSettings = null)

Lists \[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\]s in a
given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A pageable sequence of [TerraformVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ListTerraformVersionsRequest request = new ListTerraformVersionsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListTerraformVersionsResponse, TerraformVersion> response = configClient.ListTerraformVersions(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (TerraformVersion 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 (ListTerraformVersionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TerraformVersion 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<TerraformVersion> 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 (TerraformVersion 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;

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

    public virtual PagedEnumerable<ListTerraformVersionsResponse, TerraformVersion> ListTerraformVersions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\]s in a
given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A pageable sequence of [TerraformVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion) resources. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListTerraformVersionsResponse, TerraformVersion> response = configClient.ListTerraformVersions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (TerraformVersion 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 (ListTerraformVersionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TerraformVersion 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<TerraformVersion> 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 (TerraformVersion 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;

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

    public virtual PagedAsyncEnumerable<ListTerraformVersionsResponse, TerraformVersion> ListTerraformVersionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\]s in a
given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A pageable asynchronous sequence of [TerraformVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListTerraformVersionsResponse, TerraformVersion> response = configClient.ListTerraformVersionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (TerraformVersion 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 (ListTerraformVersionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TerraformVersion 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<TerraformVersion> 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 (TerraformVersion 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;

### ListTerraformVersionsAsync(ListTerraformVersionsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListTerraformVersionsResponse, TerraformVersion> ListTerraformVersionsAsync(ListTerraformVersionsRequest request, CallSettings callSettings = null)

Lists \[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\]s in a
given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A pageable asynchronous sequence of [TerraformVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ListTerraformVersionsRequest request = new ListTerraformVersionsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListTerraformVersionsResponse, TerraformVersion> response = configClient.ListTerraformVersionsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (TerraformVersion 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 (ListTerraformVersionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TerraformVersion 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<TerraformVersion> 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 (TerraformVersion 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;

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

    public virtual PagedAsyncEnumerable<ListTerraformVersionsResponse, TerraformVersion> ListTerraformVersionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists \[TerraformVersion\]\[google.cloud.config.v1.TerraformVersion\]s in a
given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` 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` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ListTerraformVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion` | A pageable asynchronous sequence of [TerraformVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.TerraformVersion) resources. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListTerraformVersionsResponse, TerraformVersion> response = configClient.ListTerraformVersionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (TerraformVersion 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 (ListTerraformVersionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (TerraformVersion 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<TerraformVersion> 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 (TerraformVersion 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;

### LockDeployment(DeploymentName, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> LockDeployment(DeploymentName name, CallSettings callSettings = null)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.LockDeployment(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceLockDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeployment(LockDeploymentRequest, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> LockDeployment(LockDeploymentRequest request, CallSettings callSettings = null)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    LockDeploymentRequest request = new LockDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.LockDeployment(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceLockDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> LockDeployment(string name, CallSettings callSettings = null)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.LockDeployment(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceLockDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeploymentAsync(DeploymentName, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(DeploymentName name, CallSettings callSettings = null)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.LockDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceLockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeploymentAsync(DeploymentName, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(DeploymentName name, CancellationToken cancellationToken)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.LockDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceLockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeploymentAsync(LockDeploymentRequest, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(LockDeploymentRequest request, CallSettings callSettings = null)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LockDeploymentRequest request = new LockDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.LockDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceLockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeploymentAsync(LockDeploymentRequest, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(LockDeploymentRequest request, CancellationToken cancellationToken)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.LockDeploymentRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    LockDeploymentRequest request = new LockDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.LockDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceLockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeploymentAsync(string, CallSettings)

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

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.LockDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceLockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### LockDeploymentAsync(string, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> LockDeploymentAsync(string name, CancellationToken cancellationToken)

Locks a deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.LockDeploymentAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceLockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### PollOnceCreateDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> PollOnceCreateDeployment(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateDeploymentAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> PollOnceCreateDeploymentGroup(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateDeploymentGroupAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreatePreview(string, CallSettings)

    public virtual Operation<Preview, OperationMetadata> PollOnceCreatePreview(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreatePreviewAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> PollOnceDeleteDeployment(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDeploymentAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> PollOnceDeleteDeploymentGroup(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDeploymentGroupAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeletePreview(string, CallSettings)

    public virtual Operation<Preview, OperationMetadata> PollOnceDeletePreview(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeletePreviewAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Previewhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeprovisionDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> PollOnceDeprovisionDeploymentGroup(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeprovisionDeploymentGroupAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceLockDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> PollOnceLockDeployment(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceLockDeploymentAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceProvisionDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> PollOnceProvisionDeploymentGroup(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceProvisionDeploymentGroupAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUnlockDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> PollOnceUnlockDeployment(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUnlockDeploymentAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateAutoMigrationConfig(string, CallSettings)

    public virtual Operation<AutoMigrationConfig, OperationMetadata> PollOnceUpdateAutoMigrationConfig(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateAutoMigrationConfigAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDeployment(string, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> PollOnceUpdateDeployment(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDeploymentAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> PollOnceUpdateDeploymentGroup(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDeploymentGroupAsync(string, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A task representing the result of polling the operation. |

### ProvisionDeploymentGroup(DeploymentGroupName, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> ProvisionDeploymentGroup(DeploymentGroupName name, CallSettings callSettings = null)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.ProvisionDeploymentGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceProvisionDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroup(ProvisionDeploymentGroupRequest, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> ProvisionDeploymentGroup(ProvisionDeploymentGroupRequest request, CallSettings callSettings = null)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ProvisionDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    ProvisionDeploymentGroupRequest request = new ProvisionDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        DeploymentSpecs =
        {
            {
                "",
                new DeploymentSpec()
            },
        },
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.ProvisionDeploymentGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceProvisionDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroup(string, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> ProvisionDeploymentGroup(string name, CallSettings callSettings = null)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.ProvisionDeploymentGroup(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceProvisionDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroupAsync(DeploymentGroupName, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> ProvisionDeploymentGroupAsync(DeploymentGroupName name, CallSettings callSettings = null)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.ProvisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceProvisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroupAsync(DeploymentGroupName, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> ProvisionDeploymentGroupAsync(DeploymentGroupName name, CancellationToken cancellationToken)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroupName` Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroupName name = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.ProvisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceProvisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroupAsync(ProvisionDeploymentGroupRequest, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> ProvisionDeploymentGroupAsync(ProvisionDeploymentGroupRequest request, CallSettings callSettings = null)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ProvisionDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ProvisionDeploymentGroupRequest request = new ProvisionDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        DeploymentSpecs =
        {
            {
                "",
                new DeploymentSpec()
            },
        },
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.ProvisionDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceProvisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroupAsync(ProvisionDeploymentGroupRequest, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> ProvisionDeploymentGroupAsync(ProvisionDeploymentGroupRequest request, CancellationToken cancellationToken)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ProvisionDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    ProvisionDeploymentGroupRequest request = new ProvisionDeploymentGroupRequest
    {
        DeploymentGroupName = DeploymentGroupName.FromProjectLocationDeploymentGroup("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"),
        DeploymentSpecs =
        {
            {
                "",
                new DeploymentSpec()
            },
        },
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.ProvisionDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceProvisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroupAsync(string, CallSettings)

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

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.ProvisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceProvisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ProvisionDeploymentGroupAsync(string, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> ProvisionDeploymentGroupAsync(string name, CancellationToken cancellationToken)

Provisions a deployment group.

NOTE: As a first step of this operation, Infra Manager will
automatically delete any Deployments that were part of the
*last successful*
\[DeploymentGroupRevision\]\[google.cloud.config.v1.DeploymentGroupRevision\]
but are *no longer* included in the *current*
\[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] definition (e.g.,
following an `UpdateDeploymentGroup` call), along with their actuated
resources.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deploymentGroups/[DEPLOYMENT_GROUP]";
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.ProvisionDeploymentGroupAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceProvisionDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ConfigClient#Google_Cloud_Config_V1_ConfigClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ConfigClient#Google_Cloud_Config_V1_ConfigClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.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.Config.V1/latest/Google.Cloud.Config.V1.ConfigClient#Google_Cloud_Config_V1_ConfigClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ConfigClient#Google_Cloud_Config_V1_ConfigClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### UnlockDeployment(DeploymentName, long, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> UnlockDeployment(DeploymentName name, long lockId, CallSettings callSettings = null)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to be unlocked. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    long lockId = 0L;
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.UnlockDeployment(name, lockId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceUnlockDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeployment(UnlockDeploymentRequest, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> UnlockDeployment(UnlockDeploymentRequest request, CallSettings callSettings = null)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UnlockDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    UnlockDeploymentRequest request = new UnlockDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.UnlockDeployment(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceUnlockDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeployment(string, long, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> UnlockDeployment(string name, long lockId, CallSettings callSettings = null)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to be unlocked. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    long lockId = 0L;
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.UnlockDeployment(name, lockId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceUnlockDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeploymentAsync(DeploymentName, long, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(DeploymentName name, long lockId, CallSettings callSettings = null)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to be unlocked. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    long lockId = 0L;
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UnlockDeploymentAsync(name, lockId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUnlockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeploymentAsync(DeploymentName, long, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(DeploymentName name, long lockId, CancellationToken cancellationToken)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentName` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to be unlocked. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentName name = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]");
    long lockId = 0L;
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UnlockDeploymentAsync(name, lockId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUnlockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeploymentAsync(UnlockDeploymentRequest, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(UnlockDeploymentRequest request, CallSettings callSettings = null)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UnlockDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UnlockDeploymentRequest request = new UnlockDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UnlockDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUnlockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeploymentAsync(UnlockDeploymentRequest, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(UnlockDeploymentRequest request, CancellationToken cancellationToken)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UnlockDeploymentRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UnlockDeploymentRequest request = new UnlockDeploymentRequest
    {
        DeploymentName = DeploymentName.FromProjectLocationDeployment("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]"),
        LockId = 0L,
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UnlockDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUnlockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeploymentAsync(string, long, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(string name, long lockId, CallSettings callSettings = null)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to be unlocked. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    long lockId = 0L;
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UnlockDeploymentAsync(name, lockId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUnlockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UnlockDeploymentAsync(string, long, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> UnlockDeploymentAsync(string name, long lockId, CancellationToken cancellationToken)

Unlocks a locked deployment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
| `lockId` | `https://learn.microsoft.com/dotnet/api/system.int64` Required. Lock ID of the lock file to be unlocked. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/deployments/[DEPLOYMENT]";
    long lockId = 0L;
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UnlockDeploymentAsync(name, lockId);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUnlockDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateAutoMigrationConfig(AutoMigrationConfig, FieldMask, CallSettings)

    public virtual Operation<AutoMigrationConfig, OperationMetadata> UpdateAutoMigrationConfig(AutoMigrationConfig autoMigrationConfig, FieldMask updateMask, CallSettings callSettings = null)

Updates the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `autoMigrationConfig` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` Required. The AutoMigrationConfig to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The update mask applies to the resource. See \[google.protobuf.FieldMask\]\[google.protobuf.FieldMask\]. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    AutoMigrationConfig autoMigrationConfig = new AutoMigrationConfig();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<AutoMigrationConfig, OperationMetadata> response = configClient.UpdateAutoMigrationConfig(autoMigrationConfig, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<AutoMigrationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AutoMigrationConfig 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<AutoMigrationConfig, OperationMetadata> retrievedResponse = configClient.PollOnceUpdateAutoMigrationConfig(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AutoMigrationConfig retrievedResult = retrievedResponse.Result;
    }

### UpdateAutoMigrationConfig(UpdateAutoMigrationConfigRequest, CallSettings)

    public virtual Operation<AutoMigrationConfig, OperationMetadata> UpdateAutoMigrationConfig(UpdateAutoMigrationConfigRequest request, CallSettings callSettings = null)

Updates the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateAutoMigrationConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    UpdateAutoMigrationConfigRequest request = new UpdateAutoMigrationConfigRequest
    {
        UpdateMask = new FieldMask(),
        AutoMigrationConfig = new AutoMigrationConfig(),
    };
    // Make the request
    Operation<AutoMigrationConfig, OperationMetadata> response = configClient.UpdateAutoMigrationConfig(request);

    // Poll until the returned long-running operation is complete
    Operation<AutoMigrationConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AutoMigrationConfig 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<AutoMigrationConfig, OperationMetadata> retrievedResponse = configClient.PollOnceUpdateAutoMigrationConfig(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AutoMigrationConfig retrievedResult = retrievedResponse.Result;
    }

### UpdateAutoMigrationConfigAsync(AutoMigrationConfig, FieldMask, CallSettings)

    public virtual Task<Operation<AutoMigrationConfig, OperationMetadata>> UpdateAutoMigrationConfigAsync(AutoMigrationConfig autoMigrationConfig, FieldMask updateMask, CallSettings callSettings = null)

Updates the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `autoMigrationConfig` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` Required. The AutoMigrationConfig to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The update mask applies to the resource. See \[google.protobuf.FieldMask\]\[google.protobuf.FieldMask\]. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    AutoMigrationConfig autoMigrationConfig = new AutoMigrationConfig();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<AutoMigrationConfig, OperationMetadata> response = await configClient.UpdateAutoMigrationConfigAsync(autoMigrationConfig, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<AutoMigrationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AutoMigrationConfig 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<AutoMigrationConfig, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateAutoMigrationConfigAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AutoMigrationConfig retrievedResult = retrievedResponse.Result;
    }

### UpdateAutoMigrationConfigAsync(AutoMigrationConfig, FieldMask, CancellationToken)

    public virtual Task<Operation<AutoMigrationConfig, OperationMetadata>> UpdateAutoMigrationConfigAsync(AutoMigrationConfig autoMigrationConfig, FieldMask updateMask, CancellationToken cancellationToken)

Updates the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `autoMigrationConfig` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfig` Required. The AutoMigrationConfig to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The update mask applies to the resource. See \[google.protobuf.FieldMask\]\[google.protobuf.FieldMask\]. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    AutoMigrationConfig autoMigrationConfig = new AutoMigrationConfig();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<AutoMigrationConfig, OperationMetadata> response = await configClient.UpdateAutoMigrationConfigAsync(autoMigrationConfig, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<AutoMigrationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AutoMigrationConfig 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<AutoMigrationConfig, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateAutoMigrationConfigAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AutoMigrationConfig retrievedResult = retrievedResponse.Result;
    }

### UpdateAutoMigrationConfigAsync(UpdateAutoMigrationConfigRequest, CallSettings)

    public virtual Task<Operation<AutoMigrationConfig, OperationMetadata>> UpdateAutoMigrationConfigAsync(UpdateAutoMigrationConfigRequest request, CallSettings callSettings = null)

Updates the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateAutoMigrationConfigRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UpdateAutoMigrationConfigRequest request = new UpdateAutoMigrationConfigRequest
    {
        UpdateMask = new FieldMask(),
        AutoMigrationConfig = new AutoMigrationConfig(),
    };
    // Make the request
    Operation<AutoMigrationConfig, OperationMetadata> response = await configClient.UpdateAutoMigrationConfigAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AutoMigrationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AutoMigrationConfig 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<AutoMigrationConfig, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateAutoMigrationConfigAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AutoMigrationConfig retrievedResult = retrievedResponse.Result;
    }

### UpdateAutoMigrationConfigAsync(UpdateAutoMigrationConfigRequest, CancellationToken)

    public virtual Task<Operation<AutoMigrationConfig, OperationMetadata>> UpdateAutoMigrationConfigAsync(UpdateAutoMigrationConfigRequest request, CancellationToken cancellationToken)

Updates the AutoMigrationConfig for a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateAutoMigrationConfigRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.AutoMigrationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UpdateAutoMigrationConfigRequest request = new UpdateAutoMigrationConfigRequest
    {
        UpdateMask = new FieldMask(),
        AutoMigrationConfig = new AutoMigrationConfig(),
    };
    // Make the request
    Operation<AutoMigrationConfig, OperationMetadata> response = await configClient.UpdateAutoMigrationConfigAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AutoMigrationConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AutoMigrationConfig 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<AutoMigrationConfig, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateAutoMigrationConfigAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AutoMigrationConfig retrievedResult = retrievedResponse.Result;
    }

### UpdateDeployment(Deployment, FieldMask, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> UpdateDeployment(Deployment deployment, FieldMask updateMask, CallSettings callSettings = null)

Updates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] to update. The deployment's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deployments/{deployment}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    Deployment deployment = new Deployment();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.UpdateDeployment(deployment, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceUpdateDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateDeployment(UpdateDeploymentRequest, CallSettings)

    public virtual Operation<Deployment, OperationMetadata> UpdateDeployment(UpdateDeploymentRequest request, CallSettings callSettings = null)

Updates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    UpdateDeploymentRequest request = new UpdateDeploymentRequest
    {
        UpdateMask = new FieldMask(),
        Deployment = new Deployment(),
        RequestId = "",
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = configClient.UpdateDeployment(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = configClient.PollOnceUpdateDeployment(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentAsync(Deployment, FieldMask, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> UpdateDeploymentAsync(Deployment deployment, FieldMask updateMask, CallSettings callSettings = null)

Updates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] to update. The deployment's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deployments/{deployment}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    Deployment deployment = new Deployment();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UpdateDeploymentAsync(deployment, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentAsync(Deployment, FieldMask, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> UpdateDeploymentAsync(Deployment deployment, FieldMask updateMask, CancellationToken cancellationToken)

Updates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deployment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deployment` Required. \[Deployment\]\[google.cloud.config.v1.Deployment\] to update. The deployment's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deployments/{deployment}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    Deployment deployment = new Deployment();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UpdateDeploymentAsync(deployment, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentAsync(UpdateDeploymentRequest, CallSettings)

    public virtual Task<Operation<Deployment, OperationMetadata>> UpdateDeploymentAsync(UpdateDeploymentRequest request, CallSettings callSettings = null)

Updates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateDeploymentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDeploymentRequest request = new UpdateDeploymentRequest
    {
        UpdateMask = new FieldMask(),
        Deployment = new Deployment(),
        RequestId = "",
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UpdateDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentAsync(UpdateDeploymentRequest, CancellationToken)

    public virtual Task<Operation<Deployment, OperationMetadata>> UpdateDeploymentAsync(UpdateDeploymentRequest request, CancellationToken cancellationToken)

Updates a \[Deployment\]\[google.cloud.config.v1.Deployment\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateDeploymentRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Deploymenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDeploymentRequest request = new UpdateDeploymentRequest
    {
        UpdateMask = new FieldMask(),
        Deployment = new Deployment(),
        RequestId = "",
    };
    // Make the request
    Operation<Deployment, OperationMetadata> response = await configClient.UpdateDeploymentAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Deployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Deployment 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<Deployment, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Deployment retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentGroup(DeploymentGroup, FieldMask, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> UpdateDeploymentGroup(DeploymentGroup deploymentGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] to update. The deployment group's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask used to specify the fields to be overwritten in the Deployment Group resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.UpdateDeploymentGroup(deploymentGroup, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceUpdateDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentGroup(UpdateDeploymentGroupRequest, CallSettings)

    public virtual Operation<DeploymentGroup, OperationMetadata> UpdateDeploymentGroup(UpdateDeploymentGroupRequest request, CallSettings callSettings = null)

Updates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    ConfigClient configClient = ConfigClient.Create();
    // Initialize request argument(s)
    UpdateDeploymentGroupRequest request = new UpdateDeploymentGroupRequest
    {
        UpdateMask = new FieldMask(),
        DeploymentGroup = new DeploymentGroup(),
        RequestId = "",
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = configClient.UpdateDeploymentGroup(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = configClient.PollOnceUpdateDeploymentGroup(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentGroupAsync(DeploymentGroup, FieldMask, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> UpdateDeploymentGroupAsync(DeploymentGroup deploymentGroup, FieldMask updateMask, CallSettings callSettings = null)

Updates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] to update. The deployment group's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask used to specify the fields to be overwritten in the Deployment Group resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.UpdateDeploymentGroupAsync(deploymentGroup, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentGroupAsync(DeploymentGroup, FieldMask, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> UpdateDeploymentGroupAsync(DeploymentGroup deploymentGroup, FieldMask updateMask, CancellationToken cancellationToken)

Updates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `deploymentGroup` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGroup` Required. \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\] to update. The deployment group's `name` field is used to identify the resource to be updated. Format: `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. Field mask used to specify the fields to be overwritten in the Deployment Group resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    DeploymentGroup deploymentGroup = new DeploymentGroup();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.UpdateDeploymentGroupAsync(deploymentGroup, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentGroupAsync(UpdateDeploymentGroupRequest, CallSettings)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> UpdateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, CallSettings callSettings = null)

Updates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDeploymentGroupRequest request = new UpdateDeploymentGroupRequest
    {
        UpdateMask = new FieldMask(),
        DeploymentGroup = new DeploymentGroup(),
        RequestId = "",
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.UpdateDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }

### UpdateDeploymentGroupAsync(UpdateDeploymentGroupRequest, CancellationToken)

    public virtual Task<Operation<DeploymentGroup, OperationMetadata>> UpdateDeploymentGroupAsync(UpdateDeploymentGroupRequest request, CancellationToken cancellationToken)

Updates a \[DeploymentGroup\]\[google.cloud.config.v1.DeploymentGroup\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.UpdateDeploymentGroupRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.DeploymentGrouphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    ConfigClient configClient = await ConfigClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDeploymentGroupRequest request = new UpdateDeploymentGroupRequest
    {
        UpdateMask = new FieldMask(),
        DeploymentGroup = new DeploymentGroup(),
        RequestId = "",
    };
    // Make the request
    Operation<DeploymentGroup, OperationMetadata> response = await configClient.UpdateDeploymentGroupAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DeploymentGroup 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<DeploymentGroup, OperationMetadata> retrievedResponse = await configClient.PollOnceUpdateDeploymentGroupAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DeploymentGroup retrievedResult = retrievedResponse.Result;
    }