backupConfigsDetails = $backupConfigsDetails; } /** * @return BackupConfigDetails[] */ public function getBackupConfigsDetails() { return $this->backupConfigsDetails; } /** * Output only. Whether the target resource is configured for backup. This is * true if the backup_configs_details is not empty. * * @param bool $backupConfigured */ public function setBackupConfigured($backupConfigured) { $this->backupConfigured = $backupConfigured; } /** * @return bool */ public function getBackupConfigured() { return $this->backupConfigured; } /** * Identifier. The resource name of the ResourceBackupConfig. Format: * projects/{project}/locations/{location}/resourceBackupConfigs/{uid} * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The [full resource name](https://cloud.google.com/asset- * inventory/docs/resource-name-format) of the cloud resource that this * configuration applies to. Supported resource types are * ResourceBackupConfig.ResourceType. * * @param string $targetResource */ public function setTargetResource($targetResource) { $this->targetResource = $targetResource; } /** * @return string */ public function getTargetResource() { return $this->targetResource; } /** * Output only. The human friendly name of the target resource. * * @param string $targetResourceDisplayName */ public function setTargetResourceDisplayName($targetResourceDisplayName) { $this->targetResourceDisplayName = $targetResourceDisplayName; } /** * @return string */ public function getTargetResourceDisplayName() { return $this->targetResourceDisplayName; } /** * Labels associated with the target resource. * * @param string[] $targetResourceLabels */ public function setTargetResourceLabels($targetResourceLabels) { $this->targetResourceLabels = $targetResourceLabels; } /** * @return string[] */ public function getTargetResourceLabels() { return $this->targetResourceLabels; } /** * Output only. The type of the target resource. * * Accepted values: RESOURCE_TYPE_UNSPECIFIED, CLOUD_SQL_INSTANCE, * COMPUTE_ENGINE_VM, COMPUTE_ENGINE_DISK, COMPUTE_ENGINE_REGIONAL_DISK * * @param self::TARGET_RESOURCE_TYPE_* $targetResourceType */ public function setTargetResourceType($targetResourceType) { $this->targetResourceType = $targetResourceType; } /** * @return self::TARGET_RESOURCE_TYPE_* */ public function getTargetResourceType() { return $this->targetResourceType; } /** * Output only. The unique identifier of the resource backup config. * * @param string $uid */ public function setUid($uid) { $this->uid = $uid; } /** * @return string */ public function getUid() { return $this->uid; } /** * Output only. Whether the target resource is protected by a backup vault. * This is true if the backup_configs_details is not empty and any of the * ResourceBackupConfig.backup_configs_details has a backup configuration with * BackupConfigDetails.backup_vault set. set. * * @param bool $vaulted */ public function setVaulted($vaulted) { $this->vaulted = $vaulted; } /** * @return bool */ public function getVaulted() { return $this->vaulted; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ResourceBackupConfig::class, 'Google_Service_Backupdr_ResourceBackupConfig');