Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::Revision (v0.3.1)

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}

#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

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