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.
Implements
Inherited Members
Namespace: Google.Apis.Config.v1.Data
Assembly: Google.Apis.Config.v1.dll
Syntax
public class Revision : IDirectResponseSchema
Properties
Action
Output only. The action which created this revision
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ApplyResults
Output only. Outputs and artifacts from applying a deployment.
Declaration
[JsonProperty("applyResults")]
public virtual ApplyResults ApplyResults { get; set; }
Property Value
| Type | Description |
|---|---|
| ApplyResults |
Build
Output only. Cloud Build instance UUID associated with this revision.
Declaration
[JsonProperty("build")]
public virtual string Build { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Time when the revision was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorCode
Output only. Code describing any errors that may have occurred.
Declaration
[JsonProperty("errorCode")]
public virtual string ErrorCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorLogs
Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.
Declaration
[JsonProperty("errorLogs")]
public virtual string ErrorLogs { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImportExistingResources
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.
Declaration
[JsonProperty("importExistingResources")]
public virtual bool? ImportExistingResources { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Logs
Output only. Location of Revision operation logs in gs://{bucket}/{object} format.
Declaration
[JsonProperty("logs")]
public virtual string Logs { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
QuotaValidation
Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
Declaration
[JsonProperty("quotaValidation")]
public virtual string QuotaValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
QuotaValidationResults
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}.
Declaration
[JsonProperty("quotaValidationResults")]
public virtual string QuotaValidationResults { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServiceAccount
Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format:
projects/{projectID}/serviceAccounts/{serviceAccount}
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. Current state of the revision.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StateDetail
Output only. Additional info regarding the current state.
Declaration
[JsonProperty("stateDetail")]
public virtual string StateDetail { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TerraformBlueprint
Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
Declaration
[JsonProperty("terraformBlueprint")]
public virtual TerraformBlueprint TerraformBlueprint { get; set; }
Property Value
| Type | Description |
|---|---|
| TerraformBlueprint |
TfErrors
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.
Declaration
[JsonProperty("tfErrors")]
public virtual IList<TerraformError> TfErrors { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<TerraformError> |
TfVersion
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".
Declaration
[JsonProperty("tfVersion")]
public virtual string TfVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TfVersionConstraint
Output only. The user-specified Terraform version constraint. Example: "=1.3.10".
Declaration
[JsonProperty("tfVersionConstraint")]
public virtual string TfVersionConstraint { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. Time when the revision was last modified.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkerPool
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.
Declaration
[JsonProperty("workerPool")]
public virtual string WorkerPool { get; set; }
Property Value
| Type | Description |
|---|---|
| string |