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
-
(::Google::Cloud::Deploy::V1::AdvanceRolloutOperation) — Output only. Advances a rollout to the next phase.
Note: The following fields are mutually exclusive:
advance_rollout_operation
,promote_release_operation
,repair_rollout_operation
,timed_promote_release_operation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#automation_id
def automation_id() -> ::String
- (::String) — Output only. The ID of the automation that initiated the operation.
#automation_snapshot
def automation_snapshot() -> ::Google::Cloud::Deploy::V1::Automation
- (::Google::Cloud::Deploy::V1::Automation) — Output only. Snapshot of the Automation taken at AutomationRun creation time.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
AutomationRun
was created.
#etag
def etag() -> ::String
-
(::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
-
(::Google::Protobuf::Timestamp) — Output only. Time the
AutomationRun
expires. AnAutomationRun
expires after 14 days from its creation date.
#name
def name() -> ::String
-
(::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
-
(::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
-
(::Google::Cloud::Deploy::V1::PromoteReleaseOperation) — Output only. Promotes a release to a specified 'Target'.
Note: The following fields are mutually exclusive:
promote_release_operation
,advance_rollout_operation
,repair_rollout_operation
,timed_promote_release_operation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#repair_rollout_operation
def repair_rollout_operation() -> ::Google::Cloud::Deploy::V1::RepairRolloutOperation
-
(::Google::Cloud::Deploy::V1::RepairRolloutOperation) — Output only. Repairs a failed 'Rollout'.
Note: The following fields are mutually exclusive:
repair_rollout_operation
,promote_release_operation
,advance_rollout_operation
,timed_promote_release_operation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rule_id
def rule_id() -> ::String
- (::String) — Output only. The ID of the automation rule that initiated the operation.
#service_account
def service_account() -> ::String
- (::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
-
(::Google::Cloud::Deploy::V1::AutomationRun::State) — Output only. Current state of the
AutomationRun
.
#state_description
def state_description() -> ::String
-
(::String) — Output only. Explains the current state of the
AutomationRun
. Present only when an explanation is needed.
#target_id
def target_id() -> ::String
-
(::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
-
(::Google::Cloud::Deploy::V1::TimedPromoteReleaseOperation) — Output only. Promotes a release to a specified 'Target' as defined in a
Timed Promote Release rule.
Note: The following fields are mutually exclusive:
timed_promote_release_operation
,promote_release_operation
,advance_rollout_operation
,repair_rollout_operation
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Time at which the automationRun was updated.
#wait_until_time
def wait_until_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Earliest time the
AutomationRun
will attempt to resume. Wait-time is configured bywait
in automation rule.