Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::AutomationRun (v1.2.1)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::AutomationRun.

An AutomationRun resource in the Cloud Deploy API.

An AutomationRun represents an execution instance of an automation rule.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#advance_rollout_operation

def advance_rollout_operation() -> ::Google::Cloud::Deploy::V1::AdvanceRolloutOperation
Returns

#automation_id

def automation_id() -> ::String
Returns
  • (::String) — Output only. The ID of the automation that initiated the operation.

#automation_snapshot

def automation_snapshot() -> ::Google::Cloud::Deploy::V1::Automation
Returns

#create_time

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

#etag

def etag() -> ::String
Returns
  • (::String) — Output only. The weak etag of the AutomationRun resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. Time the AutomationRun expires. An AutomationRun expires after 14 days from its creation date.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Name of the AutomationRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

#promote_release_operation

def promote_release_operation() -> ::Google::Cloud::Deploy::V1::PromoteReleaseOperation
Returns

#repair_rollout_operation

def repair_rollout_operation() -> ::Google::Cloud::Deploy::V1::RepairRolloutOperation
Returns

#rule_id

def rule_id() -> ::String
Returns
  • (::String) — Output only. The ID of the automation rule that initiated the operation.

#service_account

def service_account() -> ::String
Returns
  • (::String) — Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.

#state

def state() -> ::Google::Cloud::Deploy::V1::AutomationRun::State
Returns

#state_description

def state_description() -> ::String
Returns
  • (::String) — Output only. Explains the current state of the AutomationRun. Present only when an explanation is needed.

#target_id

def target_id() -> ::String
Returns
  • (::String) — Output only. The ID of the target that represents the promotion stage that initiates the AutomationRun. The value of this field is the last segment of a target name.

#update_time

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

#wait_until_time

def wait_until_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. Earliest time the AutomationRun will attempt to resume. Wait-time is configured by wait in automation rule.