advanceRolloutOperation = $advanceRolloutOperation; } /** * @return AdvanceRolloutOperation */ public function getAdvanceRolloutOperation() { return $this->advanceRolloutOperation; } /** * Output only. The ID of the automation that initiated the operation. * * @param string $automationId */ public function setAutomationId($automationId) { $this->automationId = $automationId; } /** * @return string */ public function getAutomationId() { return $this->automationId; } /** * Output only. Snapshot of the Automation taken at AutomationRun creation * time. * * @param Automation $automationSnapshot */ public function setAutomationSnapshot(Automation $automationSnapshot) { $this->automationSnapshot = $automationSnapshot; } /** * @return Automation */ public function getAutomationSnapshot() { return $this->automationSnapshot; } /** * Output only. Time at which the `AutomationRun` was created. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * 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. * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * Output only. Time the `AutomationRun` expires. An `AutomationRun` expires * after 14 days from its creation date. * * @param string $expireTime */ public function setExpireTime($expireTime) { $this->expireTime = $expireTime; } /** * @return string */ public function getExpireTime() { return $this->expireTime; } /** * Output only. Name of the `AutomationRun`. Format is `projects/{project}/loc * ations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{aut * omation_run}`. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. Contains information about what policies prevented the * `AutomationRun` from proceeding. * * @param PolicyViolation $policyViolation */ public function setPolicyViolation(PolicyViolation $policyViolation) { $this->policyViolation = $policyViolation; } /** * @return PolicyViolation */ public function getPolicyViolation() { return $this->policyViolation; } /** * Output only. Promotes a release to a specified 'Target'. * * @param PromoteReleaseOperation $promoteReleaseOperation */ public function setPromoteReleaseOperation(PromoteReleaseOperation $promoteReleaseOperation) { $this->promoteReleaseOperation = $promoteReleaseOperation; } /** * @return PromoteReleaseOperation */ public function getPromoteReleaseOperation() { return $this->promoteReleaseOperation; } /** * Output only. Repairs a failed 'Rollout'. * * @param RepairRolloutOperation $repairRolloutOperation */ public function setRepairRolloutOperation(RepairRolloutOperation $repairRolloutOperation) { $this->repairRolloutOperation = $repairRolloutOperation; } /** * @return RepairRolloutOperation */ public function getRepairRolloutOperation() { return $this->repairRolloutOperation; } /** * Output only. The ID of the automation rule that initiated the operation. * * @param string $ruleId */ public function setRuleId($ruleId) { $this->ruleId = $ruleId; } /** * @return string */ public function getRuleId() { return $this->ruleId; } /** * Output only. Email address of the user-managed IAM service account that * performs the operations against Cloud Deploy resources. * * @param string $serviceAccount */ public function setServiceAccount($serviceAccount) { $this->serviceAccount = $serviceAccount; } /** * @return string */ public function getServiceAccount() { return $this->serviceAccount; } /** * Output only. Current state of the `AutomationRun`. * * Accepted values: STATE_UNSPECIFIED, SUCCEEDED, CANCELLED, FAILED, * IN_PROGRESS, PENDING, ABORTED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Output only. Explains the current state of the `AutomationRun`. Present * only when an explanation is needed. * * @param string $stateDescription */ public function setStateDescription($stateDescription) { $this->stateDescription = $stateDescription; } /** * @return string */ public function getStateDescription() { return $this->stateDescription; } /** * 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. * * @param string $targetId */ public function setTargetId($targetId) { $this->targetId = $targetId; } /** * @return string */ public function getTargetId() { return $this->targetId; } /** * Output only. Promotes a release to a specified 'Target' as defined in a * Timed Promote Release rule. * * @param TimedPromoteReleaseOperation $timedPromoteReleaseOperation */ public function setTimedPromoteReleaseOperation(TimedPromoteReleaseOperation $timedPromoteReleaseOperation) { $this->timedPromoteReleaseOperation = $timedPromoteReleaseOperation; } /** * @return TimedPromoteReleaseOperation */ public function getTimedPromoteReleaseOperation() { return $this->timedPromoteReleaseOperation; } /** * Output only. Unique identifier of the `AutomationRun`. * * @param string $uid */ public function setUid($uid) { $this->uid = $uid; } /** * @return string */ public function getUid() { return $this->uid; } /** * Output only. Time at which the automationRun was updated. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * Output only. Earliest time the `AutomationRun` will attempt to resume. * Wait-time is configured by `wait` in automation rule. * * @param string $waitUntilTime */ public function setWaitUntilTime($waitUntilTime) { $this->waitUntilTime = $waitUntilTime; } /** * @return string */ public function getWaitUntilTime() { return $this->waitUntilTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AutomationRun::class, 'Google_Service_CloudDeploy_AutomationRun');