Class AutomationRun (1.15.0)

AutomationRun(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An AutomationRun resource in the Cloud Deploy API.

An AutomationRun represents an execution instance of an automation rule.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
name str
Output only. Name of the AutomationRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time at which the AutomationRun was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time at which the automationRun was updated.
etag str
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.
service_account str
Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
automation_snapshot google.cloud.deploy_v1.types.Automation
Output only. Snapshot of the Automation taken at AutomationRun creation time.
target_id str
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.
state google.cloud.deploy_v1.types.AutomationRun.State
Output only. Current state of the AutomationRun.
state_description str
Output only. Explains the current state of the AutomationRun. Present only when an explanation is needed.
expire_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time the AutomationRun expires. An AutomationRun expires after 14 days from its creation date.
rule_id str
Output only. The ID of the automation rule that initiated the operation.
automation_id str
Output only. The ID of the automation that initiated the operation.
promote_release_operation google.cloud.deploy_v1.types.PromoteReleaseOperation
Output only. Promotes a release to a specified 'Target'. This field is a member of oneof_ operation.
advance_rollout_operation google.cloud.deploy_v1.types.AdvanceRolloutOperation
Output only. Advances a rollout to the next phase. This field is a member of oneof_ operation.
repair_rollout_operation google.cloud.deploy_v1.types.RepairRolloutOperation
Output only. Repairs a failed 'Rollout'. This field is a member of oneof_ operation.
wait_until_time google.protobuf.timestamp_pb2.Timestamp
Output only. Earliest time the AutomationRun will attempt to resume. Wait-time is configured by wait in automation rule.

Classes

State

State(value)

Valid state of an AutomationRun.

Values: STATE_UNSPECIFIED (0): The AutomationRun has an unspecified state. SUCCEEDED (1): The AutomationRun has succeeded. CANCELLED (2): The AutomationRun was cancelled. FAILED (3): The AutomationRun has failed. IN_PROGRESS (4): The AutomationRun is in progress. PENDING (5): The AutomationRun is pending.