createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Optional. Resource labels to represent user provided metadata. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Output only. The unique name of the Backup in the form of `projects/{projec * t_id}/locations/global/domains/{domain_name}/backups/{name}` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The current state of the backup. * * Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, FAILED, DELETING * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Output only. Additional information about the current status of this * backup, if available. * * @param string $statusMessage */ public function setStatusMessage($statusMessage) { $this->statusMessage = $statusMessage; } /** * @return string */ public function getStatusMessage() { return $this->statusMessage; } /** * Output only. Indicates whether it’s an on-demand backup or scheduled. * * Accepted values: TYPE_UNSPECIFIED, ON_DEMAND, SCHEDULED * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } /** * Output only. Last update time. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Backup::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Backup');