Class: Google::Cloud::Deploy::V1::AutomationRun
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::AutomationRun
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
An AutomationRun
resource in the Cloud Deploy API.
An AutomationRun
represents an execution instance of an
automation rule.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#advance_rollout_operation ⇒ ::Google::Cloud::Deploy::V1::AdvanceRolloutOperation
readonly
Output only.
-
#automation_id ⇒ ::String
readonly
Output only.
-
#automation_snapshot ⇒ ::Google::Cloud::Deploy::V1::Automation
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#etag ⇒ ::String
readonly
Output only.
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#promote_release_operation ⇒ ::Google::Cloud::Deploy::V1::PromoteReleaseOperation
readonly
Output only.
-
#repair_rollout_operation ⇒ ::Google::Cloud::Deploy::V1::RepairRolloutOperation
readonly
Output only.
-
#rule_id ⇒ ::String
readonly
Output only.
-
#service_account ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Deploy::V1::AutomationRun::State
readonly
Output only.
-
#state_description ⇒ ::String
readonly
Output only.
-
#target_id ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#wait_until_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#advance_rollout_operation ⇒ ::Google::Cloud::Deploy::V1::AdvanceRolloutOperation (readonly)
Returns Output only. Advances a rollout to the next phase.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#automation_id ⇒ ::String (readonly)
Returns Output only. The ID of the automation that initiated the operation.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#automation_snapshot ⇒ ::Google::Cloud::Deploy::V1::Automation (readonly)
Returns Output only. Snapshot of the Automation taken at AutomationRun creation time.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the AutomationRun
was created.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#etag ⇒ ::String (readonly)
Returns 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.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#expire_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time the AutomationRun
expires. An AutomationRun
expires
after 14 days from its creation date.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#name ⇒ ::String (readonly)
Returns Output only. Name of the AutomationRun
. Format is
projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#promote_release_operation ⇒ ::Google::Cloud::Deploy::V1::PromoteReleaseOperation (readonly)
Returns Output only. Promotes a release to a specified 'Target'.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#repair_rollout_operation ⇒ ::Google::Cloud::Deploy::V1::RepairRolloutOperation (readonly)
Returns Output only. Repairs a failed 'Rollout'.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#rule_id ⇒ ::String (readonly)
Returns Output only. The ID of the automation rule that initiated the operation.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#service_account ⇒ ::String (readonly)
Returns Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#state ⇒ ::Google::Cloud::Deploy::V1::AutomationRun::State (readonly)
Returns Output only. Current state of the AutomationRun
.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#state_description ⇒ ::String (readonly)
Returns Output only. Explains the current state of the AutomationRun
. Present
only when an explanation is needed.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#target_id ⇒ ::String (readonly)
Returns 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.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the automationRun was updated.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |
#wait_until_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Earliest time the AutomationRun
will attempt to resume.
Wait-time is configured by wait
in automation rule.
3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3576 class AutomationRun include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid state of an `AutomationRun`. module State # The `AutomationRun` has an unspecified state. STATE_UNSPECIFIED = 0 # The `AutomationRun` has succeeded. SUCCEEDED = 1 # The `AutomationRun` was cancelled. CANCELLED = 2 # The `AutomationRun` has failed. FAILED = 3 # The `AutomationRun` is in progress. IN_PROGRESS = 4 # The `AutomationRun` is pending. PENDING = 5 end end |