Reference documentation and code samples for the Google Cloud Deploy V1 Client class AutomationRun.
An AutomationRun
resource in the Cloud Deploy API.
An AutomationRun
represents an execution instance of an
automation rule.
Generated from protobuf message google.cloud.deploy.v1.AutomationRun
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Name of the AutomationRun
. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
↳ create_time
↳ update_time
↳ etag
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.
↳ service_account
string
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\Automation
Output only. Snapshot of the Automation taken at AutomationRun creation time.
↳ target_id
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.
↳ state
int
Output only. Current state of the AutomationRun
.
↳ state_description
string
Output only. Explains the current state of the AutomationRun
. Present only when an explanation is needed.
↳ policy_violation
Google\Cloud\Deploy\V1\PolicyViolation
Output only. Contains information about what policies prevented the AutomationRun
to proceed.
↳ expire_time
Google\Protobuf\Timestamp
Output only. Time the AutomationRun
expires. An AutomationRun
expires after 14 days from its creation date.
↳ rule_id
string
Output only. The ID of the automation rule that initiated the operation.
↳ automation_id
string
Output only. The ID of the automation that initiated the operation.
↳ promote_release_operation
Google\Cloud\Deploy\V1\PromoteReleaseOperation
Output only. Promotes a release to a specified 'Target'.
↳ advance_rollout_operation
↳ repair_rollout_operation
↳ wait_until_time
Google\Protobuf\Timestamp
Output only. Earliest time the AutomationRun
will attempt to resume. Wait-time is configured by wait
in automation rule.
getName
Output only. Name of the AutomationRun
. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
string
setName
Output only. Name of the AutomationRun
. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
var
string
$this
getCreateTime
Output only. Time at which the AutomationRun
was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time at which the AutomationRun
was created.
$this
getUpdateTime
Output only. Time at which the automationRun was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time at which the automationRun was updated.
$this
getEtag
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.
string
setEtag
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.
var
string
$this
getServiceAccount
Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
string
setServiceAccount
Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
var
string
$this
getAutomationSnapshot
Output only. Snapshot of the Automation taken at AutomationRun creation time.
hasAutomationSnapshot
clearAutomationSnapshot
setAutomationSnapshot
Output only. Snapshot of the Automation taken at AutomationRun creation time.
$this
getTargetId
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.
string
setTargetId
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.
var
string
$this
getState
Output only. Current state of the AutomationRun
.
int
setState
Output only. Current state of the AutomationRun
.
var
int
$this
getStateDescription
Output only. Explains the current state of the AutomationRun
. Present
only when an explanation is needed.
string
setStateDescription
Output only. Explains the current state of the AutomationRun
. Present
only when an explanation is needed.
var
string
$this
getPolicyViolation
Output only. Contains information about what policies prevented the AutomationRun
to proceed.
hasPolicyViolation
clearPolicyViolation
setPolicyViolation
Output only. Contains information about what policies prevented the AutomationRun
to proceed.
$this
getExpireTime
Output only. Time the AutomationRun
expires. An AutomationRun
expires
after 14 days from its creation date.
hasExpireTime
clearExpireTime
setExpireTime
Output only. Time the AutomationRun
expires. An AutomationRun
expires
after 14 days from its creation date.
$this
getRuleId
Output only. The ID of the automation rule that initiated the operation.
string
setRuleId
Output only. The ID of the automation rule that initiated the operation.
var
string
$this
getAutomationId
Output only. The ID of the automation that initiated the operation.
string
setAutomationId
Output only. The ID of the automation that initiated the operation.
var
string
$this
getPromoteReleaseOperation
Output only. Promotes a release to a specified 'Target'.
hasPromoteReleaseOperation
setPromoteReleaseOperation
Output only. Promotes a release to a specified 'Target'.
$this
getAdvanceRolloutOperation
Output only. Advances a rollout to the next phase.
hasAdvanceRolloutOperation
setAdvanceRolloutOperation
Output only. Advances a rollout to the next phase.
$this
getRepairRolloutOperation
Output only. Repairs a failed 'Rollout'.
hasRepairRolloutOperation
setRepairRolloutOperation
Output only. Repairs a failed 'Rollout'.
$this
getWaitUntilTime
Output only. Earliest time the AutomationRun
will attempt to resume.
Wait-time is configured by wait
in automation rule.
hasWaitUntilTime
clearWaitUntilTime
setWaitUntilTime
Output only. Earliest time the AutomationRun
will attempt to resume.
Wait-time is configured by wait
in automation rule.
$this
getOperation
string