failureCause = $failureCause; } /** * @return self::FAILURE_CAUSE_* */ public function getFailureCause() { return $this->failureCause; } /** * Output only. Additional information about the analysis failure, if * available. * * @param string $failureMessage */ public function setFailureMessage($failureMessage) { $this->failureMessage = $failureMessage; } /** * @return string */ public function getFailureMessage() { return $this->failureMessage; } /** * Output only. The frequency in minutes at which the custom check is run. * * @param string $frequency */ public function setFrequency($frequency) { $this->frequency = $frequency; } /** * @return string */ public function getFrequency() { return $this->frequency; } /** * Output only. The ID of the custom check. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Output only. The resource name of the Cloud Build `Build` object that was * used to execute the latest run of this custom action check. Format is * `projects/{project}/locations/{location}/builds/{build}`. * * @param string $latestBuild */ public function setLatestBuild($latestBuild) { $this->latestBuild = $latestBuild; } /** * @return string */ public function getLatestBuild() { return $this->latestBuild; } /** * Output only. Custom metadata provided by the user-defined custom check * operation. result. * * @param CustomMetadata $metadata */ public function setMetadata(CustomMetadata $metadata) { $this->metadata = $metadata; } /** * @return CustomMetadata */ public function getMetadata() { return $this->metadata; } /** * Output only. The task that ran for this custom check. * * @param Task $task */ public function setTask(Task $task) { $this->task = $task; } /** * @return Task */ public function getTask() { return $this->task; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CustomCheckStatus::class, 'Google_Service_CloudDeploy_CustomCheckStatus');