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
- (::Google::Cloud::Deploy::V1::AdvanceRolloutOperation) — Output only. Advances a rollout to the next phase.
#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
- (::Google::Cloud::Deploy::V1::Automation) — Output only. Snapshot of the Automation taken at AutomationRun creation time.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
AutomationRun
was created.
#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. AnAutomationRun
expires after 14 days from its creation date.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Name of the
AutomationRun
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
#policy_violation
def policy_violation() -> ::Google::Cloud::Deploy::V1::PolicyViolation
Returns
-
(::Google::Cloud::Deploy::V1::PolicyViolation) — Output only. Contains information about what policies prevented the
AutomationRun
from proceeding.
#promote_release_operation
def promote_release_operation() -> ::Google::Cloud::Deploy::V1::PromoteReleaseOperation
Returns
- (::Google::Cloud::Deploy::V1::PromoteReleaseOperation) — Output only. Promotes a release to a specified 'Target'.
#repair_rollout_operation
def repair_rollout_operation() -> ::Google::Cloud::Deploy::V1::RepairRolloutOperation
Returns
- (::Google::Cloud::Deploy::V1::RepairRolloutOperation) — Output only. Repairs a failed 'Rollout'.
#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
-
(::Google::Cloud::Deploy::V1::AutomationRun::State) — Output only. Current state of the
AutomationRun
.
#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 source target that initiates the
AutomationRun
. The value of this field is the last segment of a target name.
#timed_promote_release_operation
def timed_promote_release_operation() -> ::Google::Cloud::Deploy::V1::TimedPromoteReleaseOperation
Returns
- (::Google::Cloud::Deploy::V1::TimedPromoteReleaseOperation) — Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time at which the automationRun was updated.
#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 bywait
in automation rule.