Class Revision (0.1.12)

Revision(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
terraform_blueprint google.cloud.config_v1.types.TerraformBlueprint
Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module. This field is a member of oneof_ blueprint.
name str
Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the revision was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the revision was last modified.
action google.cloud.config_v1.types.Revision.Action
Output only. The action which created this revision
state google.cloud.config_v1.types.Revision.State
Output only. Current state of the revision.
apply_results google.cloud.config_v1.types.ApplyResults
Output only. Outputs and artifacts from applying a deployment.
state_detail str
Output only. Additional info regarding the current state.
error_code google.cloud.config_v1.types.Revision.ErrorCode
Output only. Code describing any errors that may have occurred.
build str
Output only. Cloud Build instance UUID associated with this revision.
logs str
Output only. Location of Revision operation logs in gs://{bucket}/{object} format.
tf_errors MutableSequence[google.cloud.config_v1.types.TerraformError]
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.
error_logs str
Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.
service_account str
Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}
import_existing_resources bool
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.
worker_pool str
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.
tf_version_constraint str
Output only. The user-specified Terraform version constraint. Example: "=1.3.10".
tf_version str
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".
quota_validation_results str
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}.
quota_validation google.cloud.config_v1.types.QuotaValidation
Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

Classes

Action

Action(value)

Actions that generate a revision.

ErrorCode

ErrorCode(value)

Possible errors if Revision could not be created or updated successfully.

State

State(value)

Possible states of a revision.