📂 File Browser

AgentAI/vendor/google/apiclient-services/src/CloudAlloyDBAdmin
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AlloydbEmpty.php
▶ Open 📄 View Source
🐘 AuthorizedNetwork.php
▶ Open 📄 View Source
🐘 AutoScalingConfig.php
▶ Open 📄 View Source
🐘 AutomatedBackupPolicy.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupDrBackupSource.php
▶ Open 📄 View Source
🐘 BackupDrEnabledWindow.php
▶ Open 📄 View Source
🐘 BackupDrInfo.php
▶ Open 📄 View Source
🐘 BackupDrPitrSource.php
▶ Open 📄 View Source
🐘 BackupSource.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 ClientConnectionConfig.php
▶ Open 📄 View Source
🐘 CloudControl2SharedOperationsReconciliationOperationMetadata.php
▶ Open 📄 View Source
🐘 CloudSQLBackupRunSource.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterUpgradeDetails.php
▶ Open 📄 View Source
🐘 ConnectionInfo.php
▶ Open 📄 View Source
🐘 ConnectionPoolConfig.php
▶ Open 📄 View Source
🐘 ContinuousBackupConfig.php
▶ Open 📄 View Source
🐘 ContinuousBackupInfo.php
▶ Open 📄 View Source
🐘 ContinuousBackupSource.php
▶ Open 📄 View Source
🐘 CpuUtilization.php
▶ Open 📄 View Source
🐘 CsvExportOptions.php
▶ Open 📄 View Source
🐘 CsvImportOptions.php
▶ Open 📄 View Source
🐘 DataplexConfig.php
▶ Open 📄 View Source
🐘 DenyMaintenancePeriod.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EncryptionInfo.php
▶ Open 📄 View Source
🐘 ExportClusterRequest.php
▶ Open 📄 View Source
🐘 ExportClusterResponse.php
▶ Open 📄 View Source
🐘 FailoverInstanceRequest.php
▶ Open 📄 View Source
🐘 GcsDestination.php
▶ Open 📄 View Source
🐘 GenerateClientCertificateRequest.php
▶ Open 📄 View Source
🐘 GenerateClientCertificateResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudLocationListLocationsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudLocationLocation.php
▶ Open 📄 View Source
🐘 GoogleTypeDate.php
▶ Open 📄 View Source
🐘 GoogleTypeTimeOfDay.php
▶ Open 📄 View Source
🐘 ImportClusterRequest.php
▶ Open 📄 View Source
🐘 ImportClusterResponse.php
▶ Open 📄 View Source
🐘 InjectFaultRequest.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceNetworkConfig.php
▶ Open 📄 View Source
🐘 InstanceUpgradeDetails.php
▶ Open 📄 View Source
🐘 IntegerRestrictions.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSupportedDatabaseFlagsResponse.php
▶ Open 📄 View Source
🐘 ListUsersResponse.php
▶ Open 📄 View Source
🐘 MachineConfig.php
▶ Open 📄 View Source
🐘 MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 MaintenanceUpdatePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MigrationSource.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Node.php
▶ Open 📄 View Source
🐘 ObservabilityInstanceConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PrimaryConfig.php
▶ Open 📄 View Source
🐘 PromoteClusterRequest.php
▶ Open 📄 View Source
🐘 PscAutoConnectionConfig.php
▶ Open 📄 View Source
🐘 PscConfig.php
▶ Open 📄 View Source
🐘 PscInstanceConfig.php
▶ Open 📄 View Source
🐘 PscInterfaceConfig.php
▶ Open 📄 View Source
🐘 QuantityBasedExpiry.php
▶ Open 📄 View Source
🐘 QuantityBasedRetention.php
▶ Open 📄 View Source
🐘 QueryInsightsInstanceConfig.php
▶ Open 📄 View Source
🐘 ReadPoolConfig.php
▶ Open 📄 View Source
🐘 ReadPoolInstancesUpgradeStageStatus.php
▶ Open 📄 View Source
🐘 RestartInstanceRequest.php
▶ Open 📄 View Source
🐘 RestoreClusterRequest.php
▶ Open 📄 View Source
🐘 RestoreFromCloudSQLRequest.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 SecondaryConfig.php
▶ Open 📄 View Source
🐘 SqlExportOptions.php
▶ Open 📄 View Source
🐘 SqlImportOptions.php
▶ Open 📄 View Source
🐘 SslConfig.php
▶ Open 📄 View Source
🐘 StageInfo.php
▶ Open 📄 View Source
🐘 StageSchedule.php
▶ Open 📄 View Source
🐘 StageStatus.php
▶ Open 📄 View Source
🐘 Stats.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBackupRun.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainBigQueryResourceMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainCompliance.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainCustomMetadataData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainEntitlement.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainMachineConfiguration.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainOperationError.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceFlags.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainRetentionSettings.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainSignalMetadata.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainTags.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterPartnerapiV1mainUserLabels.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterProtoCommonProduct.php
▶ Open 📄 View Source
🐘 StorageDatabasecenterProtoCommonTypedValue.php
▶ Open 📄 View Source
🐘 StringRestrictions.php
▶ Open 📄 View Source
🐘 SupportedDatabaseFlag.php
▶ Open 📄 View Source
🐘 SwitchoverClusterRequest.php
▶ Open 📄 View Source
🐘 TimeBasedRetention.php
▶ Open 📄 View Source
🐘 TrialMetadata.php
▶ Open 📄 View Source
🐘 UpgradeClusterRequest.php
▶ Open 📄 View Source
🐘 UpgradeClusterResponse.php
▶ Open 📄 View Source
🐘 UpgradeClusterStatus.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserPassword.php
▶ Open 📄 View Source
🐘 WeeklySchedule.php
▶ Open 📄 View Source

📄 Source: Backup.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CloudAlloyDBAdmin;

class Backup extends \Google\Model
{
  /**
   * This is an unknown database version.
   */
  public const DATABASE_VERSION_DATABASE_VERSION_UNSPECIFIED = 'DATABASE_VERSION_UNSPECIFIED';
  /**
   * DEPRECATED - The database version is Postgres 13.
   *
   * @deprecated
   */
  public const DATABASE_VERSION_POSTGRES_13 = 'POSTGRES_13';
  /**
   * The database version is Postgres 14.
   */
  public const DATABASE_VERSION_POSTGRES_14 = 'POSTGRES_14';
  /**
   * The database version is Postgres 15.
   */
  public const DATABASE_VERSION_POSTGRES_15 = 'POSTGRES_15';
  /**
   * The database version is Postgres 16.
   */
  public const DATABASE_VERSION_POSTGRES_16 = 'POSTGRES_16';
  /**
   * The database version is Postgres 17.
   */
  public const DATABASE_VERSION_POSTGRES_17 = 'POSTGRES_17';
  /**
   * The database version is Postgres 18.
   */
  public const DATABASE_VERSION_POSTGRES_18 = 'POSTGRES_18';
  /**
   * The state of the backup is unknown.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The backup is ready.
   */
  public const STATE_READY = 'READY';
  /**
   * The backup is creating.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The backup failed.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The backup is being deleted.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * Backup Type is unknown.
   */
  public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
  /**
   * ON_DEMAND backups that were triggered by the customer (e.g., not
   * AUTOMATED).
   */
  public const TYPE_ON_DEMAND = 'ON_DEMAND';
  /**
   * AUTOMATED backups triggered by the automated backups scheduler pursuant to
   * an automated backup policy.
   */
  public const TYPE_AUTOMATED = 'AUTOMATED';
  /**
   * CONTINUOUS backups triggered by the automated backups scheduler due to a
   * continuous backup policy.
   */
  public const TYPE_CONTINUOUS = 'CONTINUOUS';
  /**
   * Annotations to allow client tools to store small amount of arbitrary data.
   * This is distinct from labels. https://google.aip.dev/128
   *
   * @var string[]
   */
  public $annotations;
  /**
   * Required. The full resource name of the backup source cluster (e.g.,
   * projects/{project}/locations/{region}/clusters/{cluster_id}).
   *
   * @var string
   */
  public $clusterName;
  /**
   * Output only. The system-generated UID of the cluster which was used to
   * create this resource.
   *
   * @var string
   */
  public $clusterUid;
  /**
   * Output only. Timestamp when the resource finished being created.
   *
   * @var string
   */
  public $createCompletionTime;
  /**
   * Output only. Create time stamp
   *
   * @var string
   */
  public $createTime;
  /**
   * Output only. The database engine major version of the cluster this backup
   * was created from. Any restored cluster created from this backup will have
   * the same database version.
   *
   * @var string
   */
  public $databaseVersion;
  /**
   * Output only. Delete time stamp
   *
   * @var string
   */
  public $deleteTime;
  /**
   * User-provided description of the backup.
   *
   * @var string
   */
  public $description;
  /**
   * User-settable and human-readable display name for the Backup.
   *
   * @var string
   */
  public $displayName;
  protected $encryptionConfigType = EncryptionConfig::class;
  protected $encryptionConfigDataType = '';
  protected $encryptionInfoType = EncryptionInfo::class;
  protected $encryptionInfoDataType = '';
  /**
   * For Resource freshness validation (https://google.aip.dev/154)
   *
   * @var string
   */
  public $etag;
  protected $expiryQuantityType = QuantityBasedExpiry::class;
  protected $expiryQuantityDataType = '';
  /**
   * Output only. The time at which after the backup is eligible to be garbage
   * collected. It is the duration specified by the backup's retention policy,
   * added to the backup's create_time.
   *
   * @var string
   */
  public $expiryTime;
  /**
   * Labels as key value pairs
   *
   * @var string[]
   */
  public $labels;
  /**
   * Output only. The name of the backup resource with the format: *
   * projects/{project}/locations/{region}/backups/{backup_id} where the cluster
   * and backup ID segments should satisfy the regex expression
   * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase
   * letters, numbers, and dashes, starting with a letter, and ending with a
   * letter or number. For more details see https://google.aip.dev/122. The
   * prefix of the backup resource name is the name of the parent resource: *
   * projects/{project}/locations/{region}
   *
   * @var string
   */
  public $name;
  /**
   * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
   * true, indicates that the service is actively updating the resource. This
   * can happen due to user-triggered updates or system actions like failover or
   * maintenance.
   *
   * @var bool
   */
  public $reconciling;
  /**
   * Output only. Reserved for future use.
   *
   * @var bool
   */
  public $satisfiesPzs;
  /**
   * Output only. The size of the backup in bytes.
   *
   * @var string
   */
  public $sizeBytes;
  /**
   * Output only. The current state of the backup.
   *
   * @var string
   */
  public $state;
  /**
   * Optional. Input only. Immutable. Tag keys/values directly bound to this
   * resource. For example: ``` "123/environment": "production",
   * "123/costCenter": "marketing" ```
   *
   * @var string[]
   */
  public $tags;
  /**
   * The backup type, which suggests the trigger for the backup.
   *
   * @var string
   */
  public $type;
  /**
   * Output only. The system-generated UID of the resource. The UID is assigned
   * when the resource is created, and it is retained until it is deleted.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. Update time stamp Users should not infer any meaning from this
   * field. Its value is generally unrelated to the timing of the backup
   * creation operation.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Annotations to allow client tools to store small amount of arbitrary data.
   * This is distinct from labels. https://google.aip.dev/128
   *
   * @param string[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return string[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * Required. The full resource name of the backup source cluster (e.g.,
   * projects/{project}/locations/{region}/clusters/{cluster_id}).
   *
   * @param string $clusterName
   */
  public function setClusterName($clusterName)
  {
    $this->clusterName = $clusterName;
  }
  /**
   * @return string
   */
  public function getClusterName()
  {
    return $this->clusterName;
  }
  /**
   * Output only. The system-generated UID of the cluster which was used to
   * create this resource.
   *
   * @param string $clusterUid
   */
  public function setClusterUid($clusterUid)
  {
    $this->clusterUid = $clusterUid;
  }
  /**
   * @return string
   */
  public function getClusterUid()
  {
    return $this->clusterUid;
  }
  /**
   * Output only. Timestamp when the resource finished being created.
   *
   * @param string $createCompletionTime
   */
  public function setCreateCompletionTime($createCompletionTime)
  {
    $this->createCompletionTime = $createCompletionTime;
  }
  /**
   * @return string
   */
  public function getCreateCompletionTime()
  {
    return $this->createCompletionTime;
  }
  /**
   * Output only. Create time stamp
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. The database engine major version of the cluster this backup
   * was created from. Any restored cluster created from this backup will have
   * the same database version.
   *
   * Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
   * POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
   *
   * @param self::DATABASE_VERSION_* $databaseVersion
   */
  public function setDatabaseVersion($databaseVersion)
  {
    $this->databaseVersion = $databaseVersion;
  }
  /**
   * @return self::DATABASE_VERSION_*
   */
  public function getDatabaseVersion()
  {
    return $this->databaseVersion;
  }
  /**
   * Output only. Delete time stamp
   *
   * @param string $deleteTime
   */
  public function setDeleteTime($deleteTime)
  {
    $this->deleteTime = $deleteTime;
  }
  /**
   * @return string
   */
  public function getDeleteTime()
  {
    return $this->deleteTime;
  }
  /**
   * User-provided description of the backup.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * User-settable and human-readable display name for the Backup.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Optional. The encryption config can be specified to encrypt the backup with
   * a customer-managed encryption key (CMEK). When this field is not specified,
   * the backup will then use default encryption scheme to protect the user
   * data.
   *
   * @param EncryptionConfig $encryptionConfig
   */
  public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
  {
    $this->encryptionConfig = $encryptionConfig;
  }
  /**
   * @return EncryptionConfig
   */
  public function getEncryptionConfig()
  {
    return $this->encryptionConfig;
  }
  /**
   * Output only. The encryption information for the backup.
   *
   * @param EncryptionInfo $encryptionInfo
   */
  public function setEncryptionInfo(EncryptionInfo $encryptionInfo)
  {
    $this->encryptionInfo = $encryptionInfo;
  }
  /**
   * @return EncryptionInfo
   */
  public function getEncryptionInfo()
  {
    return $this->encryptionInfo;
  }
  /**
   * For Resource freshness validation (https://google.aip.dev/154)
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. The QuantityBasedExpiry of the backup, specified by the
   * backup's retention policy. Once the expiry quantity is over retention, the
   * backup is eligible to be garbage collected.
   *
   * @param QuantityBasedExpiry $expiryQuantity
   */
  public function setExpiryQuantity(QuantityBasedExpiry $expiryQuantity)
  {
    $this->expiryQuantity = $expiryQuantity;
  }
  /**
   * @return QuantityBasedExpiry
   */
  public function getExpiryQuantity()
  {
    return $this->expiryQuantity;
  }
  /**
   * Output only. The time at which after the backup is eligible to be garbage
   * collected. It is the duration specified by the backup's retention policy,
   * added to the backup's create_time.
   *
   * @param string $expiryTime
   */
  public function setExpiryTime($expiryTime)
  {
    $this->expiryTime = $expiryTime;
  }
  /**
   * @return string
   */
  public function getExpiryTime()
  {
    return $this->expiryTime;
  }
  /**
   * Labels as key value pairs
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Output only. The name of the backup resource with the format: *
   * projects/{project}/locations/{region}/backups/{backup_id} where the cluster
   * and backup ID segments should satisfy the regex expression
   * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase
   * letters, numbers, and dashes, starting with a letter, and ending with a
   * letter or number. For more details see https://google.aip.dev/122. The
   * prefix of the backup resource name is the name of the parent resource: *
   * projects/{project}/locations/{region}
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
   * true, indicates that the service is actively updating the resource. This
   * can happen due to user-triggered updates or system actions like failover or
   * maintenance.
   *
   * @param bool $reconciling
   */
  public function setReconciling($reconciling)
  {
    $this->reconciling = $reconciling;
  }
  /**
   * @return bool
   */
  public function getReconciling()
  {
    return $this->reconciling;
  }
  /**
   * Output only. Reserved for future use.
   *
   * @param bool $satisfiesPzs
   */
  public function setSatisfiesPzs($satisfiesPzs)
  {
    $this->satisfiesPzs = $satisfiesPzs;
  }
  /**
   * @return bool
   */
  public function getSatisfiesPzs()
  {
    return $this->satisfiesPzs;
  }
  /**
   * Output only. The size of the backup in bytes.
   *
   * @param string $sizeBytes
   */
  public function setSizeBytes($sizeBytes)
  {
    $this->sizeBytes = $sizeBytes;
  }
  /**
   * @return string
   */
  public function getSizeBytes()
  {
    return $this->sizeBytes;
  }
  /**
   * Output only. The current state of the backup.
   *
   * Accepted values: STATE_UNSPECIFIED, READY, CREATING, FAILED, DELETING
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Optional. Input only. Immutable. Tag keys/values directly bound to this
   * resource. For example: ``` "123/environment": "production",
   * "123/costCenter": "marketing" ```
   *
   * @param string[] $tags
   */
  public function setTags($tags)
  {
    $this->tags = $tags;
  }
  /**
   * @return string[]
   */
  public function getTags()
  {
    return $this->tags;
  }
  /**
   * The backup type, which suggests the trigger for the backup.
   *
   * Accepted values: TYPE_UNSPECIFIED, ON_DEMAND, AUTOMATED, CONTINUOUS
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
  /**
   * Output only. The system-generated UID of the resource. The UID is assigned
   * when the resource is created, and it is retained until it is deleted.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. Update time stamp Users should not infer any meaning from this
   * field. Its value is generally unrelated to the timing of the backup
   * creation operation.
   *
   * @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_CloudAlloyDBAdmin_Backup');
← Back