errorCode = $errorCode; } /** * @return int */ public function getErrorCode() { return $this->errorCode; } /** * Optional. Gives the location where the job ran, such as `US` or `europe- * west1` * * @param string $location */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } /** * The fully-qualified name for a job. e.g. `projects//jobs/` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. State of the job, such as `RUNNING` or `PENDING`. * * Accepted values: JOB_STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, FAILED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudSecuritycenterV2Job::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Job');