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

    [BindServiceMethod(typeof(Config), "BindService")]
    public abstract class Config.ConfigBase

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

Base class for server-side implementations of Config

## Inheritance

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

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

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

## Methods

### CreateDeployment(CreateDeploymentRequest, ServerCallContext)

    public virtual Task<Operation> CreateDeployment(CreateDeploymentRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### CreateDeploymentGroup(CreateDeploymentGroupRequest, ServerCallContext)

    public virtual Task<Operation> CreateDeploymentGroup(CreateDeploymentGroupRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### CreatePreview(CreatePreviewRequest, ServerCallContext)

    public virtual Task<Operation> CreatePreview(CreatePreviewRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### DeleteDeployment(DeleteDeploymentRequest, ServerCallContext)

    public virtual Task<Operation> DeleteDeployment(DeleteDeploymentRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### DeleteDeploymentGroup(DeleteDeploymentGroupRequest, ServerCallContext)

    public virtual Task<Operation> DeleteDeploymentGroup(DeleteDeploymentGroupRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### DeletePreview(DeletePreviewRequest, ServerCallContext)

    public virtual Task<Operation> DeletePreview(DeletePreviewRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### DeleteStatefile(DeleteStatefileRequest, ServerCallContext)

    public virtual Task<Empty> DeleteStatefile(DeleteStatefileRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeprovisionDeploymentGroup(DeprovisionDeploymentGroupRequest, ServerCallContext)

    public virtual Task<Operation> DeprovisionDeploymentGroup(DeprovisionDeploymentGroupRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### ExportDeploymentStatefile(ExportDeploymentStatefileRequest, ServerCallContext)

    public virtual Task<Statefile> ExportDeploymentStatefile(ExportDeploymentStatefileRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ExportLockInfo(ExportLockInfoRequest, ServerCallContext)

    public virtual Task<LockInfo> ExportLockInfo(ExportLockInfoRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ExportPreviewResult(ExportPreviewResultRequest, ServerCallContext)

    public virtual Task<ExportPreviewResultResponse> ExportPreviewResult(ExportPreviewResultRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ExportRevisionStatefile(ExportRevisionStatefileRequest, ServerCallContext)

    public virtual Task<Statefile> ExportRevisionStatefile(ExportRevisionStatefileRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetAutoMigrationConfig(GetAutoMigrationConfigRequest, ServerCallContext)

    public virtual Task<AutoMigrationConfig> GetAutoMigrationConfig(GetAutoMigrationConfigRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetDeployment(GetDeploymentRequest, ServerCallContext)

    public virtual Task<Deployment> GetDeployment(GetDeploymentRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetDeploymentGroup(GetDeploymentGroupRequest, ServerCallContext)

    public virtual Task<DeploymentGroup> GetDeploymentGroup(GetDeploymentGroupRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetDeploymentGroupRevision(GetDeploymentGroupRevisionRequest, ServerCallContext)

    public virtual Task<DeploymentGroupRevision> GetDeploymentGroupRevision(GetDeploymentGroupRevisionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetPreview(GetPreviewRequest, ServerCallContext)

    public virtual Task<Preview> GetPreview(GetPreviewRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetResource(GetResourceRequest, ServerCallContext)

    public virtual Task<Resource> GetResource(GetResourceRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetResourceChange(GetResourceChangeRequest, ServerCallContext)

    public virtual Task<ResourceChange> GetResourceChange(GetResourceChangeRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetResourceDrift(GetResourceDriftRequest, ServerCallContext)

    public virtual Task<ResourceDrift> GetResourceDrift(GetResourceDriftRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetRevision(GetRevisionRequest, ServerCallContext)

    public virtual Task<Revision> GetRevision(GetRevisionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### GetTerraformVersion(GetTerraformVersionRequest, ServerCallContext)

    public virtual Task<TerraformVersion> GetTerraformVersion(GetTerraformVersionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ImportStatefile(ImportStatefileRequest, ServerCallContext)

    public virtual Task<Statefile> ImportStatefile(ImportStatefileRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ListDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest, ServerCallContext)

    public virtual Task<ListDeploymentGroupRevisionsResponse> ListDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListDeploymentGroupRevisionsResponse` | The response to send back to the client (wrapped by a task). |

### ListDeploymentGroups(ListDeploymentGroupsRequest, ServerCallContext)

    public virtual Task<ListDeploymentGroupsResponse> ListDeploymentGroups(ListDeploymentGroupsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListDeploymentGroupsResponse` | The response to send back to the client (wrapped by a task). |

### ListDeployments(ListDeploymentsRequest, ServerCallContext)

    public virtual Task<ListDeploymentsResponse> ListDeployments(ListDeploymentsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListDeploymentsResponse` | The response to send back to the client (wrapped by a task). |

### ListPreviews(ListPreviewsRequest, ServerCallContext)

    public virtual Task<ListPreviewsResponse> ListPreviews(ListPreviewsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListPreviewsResponse` | The response to send back to the client (wrapped by a task). |

### ListResourceChanges(ListResourceChangesRequest, ServerCallContext)

    public virtual Task<ListResourceChangesResponse> ListResourceChanges(ListResourceChangesRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListResourceChangesResponse` | The response to send back to the client (wrapped by a task). |

### ListResourceDrifts(ListResourceDriftsRequest, ServerCallContext)

    public virtual Task<ListResourceDriftsResponse> ListResourceDrifts(ListResourceDriftsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListResourceDriftsResponse` | The response to send back to the client (wrapped by a task). |

### ListResources(ListResourcesRequest, ServerCallContext)

    public virtual Task<ListResourcesResponse> ListResources(ListResourcesRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListResourcesResponse` | The response to send back to the client (wrapped by a task). |

### ListRevisions(ListRevisionsRequest, ServerCallContext)

    public virtual Task<ListRevisionsResponse> ListRevisions(ListRevisionsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListRevisionsResponse` | The response to send back to the client (wrapped by a task). |

### ListTerraformVersions(ListTerraformVersionsRequest, ServerCallContext)

    public virtual Task<ListTerraformVersionsResponse> ListTerraformVersions(ListTerraformVersionsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListTerraformVersionsResponse` | The response to send back to the client (wrapped by a task). |

### LockDeployment(LockDeploymentRequest, ServerCallContext)

    public virtual Task<Operation> LockDeployment(LockDeploymentRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### ProvisionDeploymentGroup(ProvisionDeploymentGroupRequest, ServerCallContext)

    public virtual Task<Operation> ProvisionDeploymentGroup(ProvisionDeploymentGroupRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### UnlockDeployment(UnlockDeploymentRequest, ServerCallContext)

    public virtual Task<Operation> UnlockDeployment(UnlockDeploymentRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### UpdateAutoMigrationConfig(UpdateAutoMigrationConfigRequest, ServerCallContext)

    public virtual Task<Operation> UpdateAutoMigrationConfig(UpdateAutoMigrationConfigRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### UpdateDeployment(UpdateDeploymentRequest, ServerCallContext)

    public virtual Task<Operation> UpdateDeployment(UpdateDeploymentRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |

### UpdateDeploymentGroup(UpdateDeploymentGroupRequest, ServerCallContext)

    public virtual Task<Operation> UpdateDeploymentGroup(UpdateDeploymentGroupRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.html` | The response to send back to the client (wrapped by a task). |