Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::Revision (v1.0.2)

Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::Google::Cloud::ConfigService::V1::Revision::Action
Returns

#apply_results

def apply_results() -> ::Google::Cloud::ConfigService::V1::ApplyResults
Returns

#build

def build() -> ::String
Returns
  • (::String) — Output only. Cloud Build instance UUID associated with this revision.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#error_code

def error_code() -> ::Google::Cloud::ConfigService::V1::Revision::ErrorCode
Returns

#error_logs

def error_logs() -> ::String
Returns
  • (::String) — Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.

#import_existing_resources

def import_existing_resources() -> ::Boolean
Returns
  • (::Boolean) — 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.

#logs

def logs() -> ::String
Returns
  • (::String) — Output only. Location of Revision operation logs in gs://{bucket}/{object} format.

#name

def name() -> ::String
Returns
  • (::String) — Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/\\{revision}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/\\{revision}
Returns
  • (::String) — Revision name. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/\\{revision}

#quota_validation

def quota_validation() -> ::Google::Cloud::ConfigService::V1::QuotaValidation
Returns

#quota_validation=

def quota_validation=(value) -> ::Google::Cloud::ConfigService::V1::QuotaValidation
Parameter
Returns

#quota_validation_results

def quota_validation_results() -> ::String
Returns
  • (::String) — 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}.

#service_account

def service_account() -> ::String
Returns
  • (::String) — Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}

#state

def state() -> ::Google::Cloud::ConfigService::V1::Revision::State
Returns

#state_detail

def state_detail() -> ::String
Returns
  • (::String) — Output only. Additional info regarding the current state.

#terraform_blueprint

def terraform_blueprint() -> ::Google::Cloud::ConfigService::V1::TerraformBlueprint
Returns

#tf_errors

def tf_errors() -> ::Array<::Google::Cloud::ConfigService::V1::TerraformError>
Returns

#tf_version

def tf_version() -> ::String
Returns
  • (::String) — 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".

#tf_version_constraint

def tf_version_constraint() -> ::String
Returns
  • (::String) — Output only. The user-specified Terraform version constraint. Example: "=1.3.10".

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#worker_pool

def worker_pool() -> ::String
Returns
  • (::String) — 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.