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 sealed class Revision : IMessage<Revision>, IEquatable<Revision>, IDeepCloneable<Revision>, IBufferMessage, IMessage

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

A child resource of a Deployment generated by a 'CreateDeployment' or
'UpdateDeployment' call. Each Revision contains metadata pertaining to a
snapshot of a particular Deployment.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Revision](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.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.md.txt)

## Assembly

Google.Cloud.Config.V1.dll

## Constructors

### Revision()

    public Revision()

### Revision(Revision)

    public Revision(Revision other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Revision` |

## Properties

### Action

    public Revision.Types.Action Action { get; set; }

Output only. The action which created this revision

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

### ApplyResults

    public ApplyResults ApplyResults { get; set; }

Output only. Outputs and artifacts from applying a deployment.

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

### BlueprintCase

    public Revision.BlueprintOneofCase BlueprintCase { get; }

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

### Build

    public string Build { get; set; }

Output only. Cloud Build instance UUID associated with this revision.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Time when the revision was created.

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

### ErrorCode

    public Revision.Types.ErrorCode ErrorCode { get; set; }

Output only. Code describing any errors that may have occurred.

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

### ErrorLogs

    public string ErrorLogs { get; set; }

Output only. Location of Terraform error logs in Google Cloud Storage.
Format: `gs://{bucket}/{object}`.

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

### ImportExistingResources

    public bool ImportExistingResources { get; set; }

Output only. By default, Infra Manager will return a failure when
Terraform encounters a 409 code (resource conflict error) during actuation.
If this flag is set to true, Infra Manager will instead
attempt to automatically import the resource into the Terraform state (for
supported resource types) and continue actuation.

Not all resource types are supported, refer to documentation.

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

### Logs

    public string Logs { get; set; }

Output only. Location of Revision operation logs in
`gs://{bucket}/{object}` format.

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

### Name

    public string Name { get; set; }

Revision name. Format:
`projects/{project}/locations/{location}/deployments/{deployment}/
revisions/{revision}`

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

### ProviderConfig

    public ProviderConfig ProviderConfig { get; set; }

Output only. This field specifies the provider configurations.

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

### QuotaValidation

    public QuotaValidation QuotaValidation { get; set; }

Optional. Input to control quota checks for resources in terraform
configuration files. There are limited resources on which quota validation
applies.

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

### QuotaValidationResults

    public string QuotaValidationResults { get; set; }

Output only. Cloud Storage path containing quota validation results. This
field is set when a user sets Deployment.quota_validation field to ENABLED
or ENFORCED. Format: `gs://{bucket}/{object}`.

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

### RevisionName

    public RevisionName RevisionName { get; set; }

[RevisionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.RevisionName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision.md.txt#Google_Cloud_Config_V1_Revision_Name) resource name property.

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

### ServiceAccount

    public string ServiceAccount { get; set; }

Output only. User-specified Service Account (SA) to be used as credential
to manage resources. Format:
`projects/{projectID}/serviceAccounts/{serviceAccount}`

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

### ServiceAccountAsServiceAccountName

    public ServiceAccountName ServiceAccountAsServiceAccountName { get; set; }

[ServiceAccountName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ServiceAccountName.md.txt)-typed view over the [ServiceAccount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision.md.txt#Google_Cloud_Config_V1_Revision_ServiceAccount) resource name property.

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

### State

    public Revision.Types.State State { get; set; }

Output only. Current state of the revision.

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

### StateDetail

    public string StateDetail { get; set; }

Output only. Additional info regarding the current state.

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

### TerraformBlueprint

    public TerraformBlueprint TerraformBlueprint { get; set; }

Output only. A blueprint described using Terraform's HashiCorp
Configuration Language as a root module.

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

### TfErrors

    public RepeatedField<TerraformError> TfErrors { get; }

Output only. Errors encountered when creating or updating this deployment.
Errors are truncated to 10 entries, see `delete_results` and `error_logs`
for full details.

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

### TfVersion

    public string TfVersion { get; set; }

Output only. The version of Terraform used to create the Revision.
It is in the format of "Major.Minor.Patch", for example, "1.3.10".

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

### TfVersionConstraint

    public string TfVersionConstraint { get; set; }

Output only. The user-specified Terraform version constraint.
Example: "=1.3.10".

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Time when the revision was last modified.

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

### WorkerPool

    public string WorkerPool { get; set; }

Output only. The user-specified Cloud Build worker pool resource in which
the Cloud Build job will execute. Format:
`projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
If this field is unspecified, the default Cloud Build worker pool will be
used.

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

### WorkerPoolAsWorkerPoolName

    public WorkerPoolName WorkerPoolAsWorkerPoolName { get; set; }

[WorkerPoolName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.WorkerPoolName.md.txt)-typed view over the [WorkerPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.Revision.md.txt#Google_Cloud_Config_V1_Revision_WorkerPool) resource name property.

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