📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AllConnectionStrings.php
▶ Open 📄 View Source
🐘 AutonomousDatabase.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseApex.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseBackup.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseBackupProperties.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseCharacterSet.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseConnectionStrings.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseConnectionUrls.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseProperties.php
▶ Open 📄 View Source
🐘 AutonomousDatabaseStandbySummary.php
▶ Open 📄 View Source
🐘 AutonomousDbVersion.php
▶ Open 📄 View Source
🐘 BackupDestinationDetails.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudAccountDetails.php
▶ Open 📄 View Source
🐘 CloudExadataInfrastructure.php
▶ Open 📄 View Source
🐘 CloudExadataInfrastructureProperties.php
▶ Open 📄 View Source
🐘 CloudVmCluster.php
▶ Open 📄 View Source
🐘 CloudVmClusterProperties.php
▶ Open 📄 View Source
🐘 CustomerContact.php
▶ Open 📄 View Source
🐘 DataCollectionOptions.php
▶ Open 📄 View Source
🐘 DataCollectionOptionsCommon.php
▶ Open 📄 View Source
🐘 DataCollectionOptionsDbSystem.php
▶ Open 📄 View Source
🐘 Database.php
▶ Open 📄 View Source
🐘 DatabaseCharacterSet.php
▶ Open 📄 View Source
🐘 DatabaseConnectionStringProfile.php
▶ Open 📄 View Source
🐘 DatabaseManagementConfig.php
▶ Open 📄 View Source
🐘 DatabaseProperties.php
▶ Open 📄 View Source
🐘 DbBackupConfig.php
▶ Open 📄 View Source
🐘 DbHome.php
▶ Open 📄 View Source
🐘 DbNode.php
▶ Open 📄 View Source
🐘 DbNodeProperties.php
▶ Open 📄 View Source
🐘 DbServer.php
▶ Open 📄 View Source
🐘 DbServerProperties.php
▶ Open 📄 View Source
🐘 DbSystem.php
▶ Open 📄 View Source
🐘 DbSystemInitialStorageSize.php
▶ Open 📄 View Source
🐘 DbSystemInitialStorageSizeProperties.php
▶ Open 📄 View Source
🐘 DbSystemOptions.php
▶ Open 📄 View Source
🐘 DbSystemProperties.php
▶ Open 📄 View Source
🐘 DbSystemShape.php
▶ Open 📄 View Source
🐘 DbVersion.php
▶ Open 📄 View Source
🐘 DbVersionProperties.php
▶ Open 📄 View Source
🐘 DefinedTagValue.php
▶ Open 📄 View Source
🐘 EncryptionKey.php
▶ Open 📄 View Source
🐘 EncryptionKeyHistoryEntry.php
▶ Open 📄 View Source
🐘 Entitlement.php
▶ Open 📄 View Source
🐘 ExadbVmCluster.php
▶ Open 📄 View Source
🐘 ExadbVmClusterProperties.php
▶ Open 📄 View Source
🐘 ExadbVmClusterStorageDetails.php
▶ Open 📄 View Source
🐘 ExascaleDbStorageDetails.php
▶ Open 📄 View Source
🐘 ExascaleDbStorageVault.php
▶ Open 📄 View Source
🐘 ExascaleDbStorageVaultProperties.php
▶ Open 📄 View Source
🐘 FailoverAutonomousDatabaseRequest.php
▶ Open 📄 View Source
🐘 GenerateAutonomousDatabaseWalletRequest.php
▶ Open 📄 View Source
🐘 GenerateAutonomousDatabaseWalletResponse.php
▶ Open 📄 View Source
🐘 GiVersion.php
▶ Open 📄 View Source
🐘 IdentityConnector.php
▶ Open 📄 View Source
🐘 ListAutonomousDatabaseBackupsResponse.php
▶ Open 📄 View Source
🐘 ListAutonomousDatabaseCharacterSetsResponse.php
▶ Open 📄 View Source
🐘 ListAutonomousDatabasesResponse.php
▶ Open 📄 View Source
🐘 ListAutonomousDbVersionsResponse.php
▶ Open 📄 View Source
🐘 ListCloudExadataInfrastructuresResponse.php
▶ Open 📄 View Source
🐘 ListCloudVmClustersResponse.php
▶ Open 📄 View Source
🐘 ListDatabaseCharacterSetsResponse.php
▶ Open 📄 View Source
🐘 ListDatabasesResponse.php
▶ Open 📄 View Source
🐘 ListDbNodesResponse.php
▶ Open 📄 View Source
🐘 ListDbServersResponse.php
▶ Open 📄 View Source
🐘 ListDbSystemInitialStorageSizesResponse.php
▶ Open 📄 View Source
🐘 ListDbSystemShapesResponse.php
▶ Open 📄 View Source
🐘 ListDbSystemsResponse.php
▶ Open 📄 View Source
🐘 ListDbVersionsResponse.php
▶ Open 📄 View Source
🐘 ListEntitlementsResponse.php
▶ Open 📄 View Source
🐘 ListExadbVmClustersResponse.php
▶ Open 📄 View Source
🐘 ListExascaleDbStorageVaultsResponse.php
▶ Open 📄 View Source
🐘 ListGiVersionsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMinorVersionsResponse.php
▶ Open 📄 View Source
🐘 ListOdbNetworksResponse.php
▶ Open 📄 View Source
🐘 ListOdbSubnetsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPluggableDatabasesResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MinorVersion.php
▶ Open 📄 View Source
🐘 OdbNetwork.php
▶ Open 📄 View Source
🐘 OdbSubnet.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 OracledatabaseEmpty.php
▶ Open 📄 View Source
🐘 PluggableDatabase.php
▶ Open 📄 View Source
🐘 PluggableDatabaseConnectionStrings.php
▶ Open 📄 View Source
🐘 PluggableDatabaseNodeLevelDetails.php
▶ Open 📄 View Source
🐘 PluggableDatabaseProperties.php
▶ Open 📄 View Source
🐘 RemoveVirtualMachineExadbVmClusterRequest.php
▶ Open 📄 View Source
🐘 RestartAutonomousDatabaseRequest.php
▶ Open 📄 View Source
🐘 RestoreAutonomousDatabaseRequest.php
▶ Open 📄 View Source
🐘 ScheduledOperationDetails.php
▶ Open 📄 View Source
🐘 SourceConfig.php
▶ Open 📄 View Source
🐘 StartAutonomousDatabaseRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopAutonomousDatabaseRequest.php
▶ Open 📄 View Source
🐘 StorageSizeDetails.php
▶ Open 📄 View Source
🐘 SwitchoverAutonomousDatabaseRequest.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 TimeZone.php
▶ Open 📄 View Source

📄 Source: DbBackupConfig.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\OracleDatabase;

class DbBackupConfig extends \Google\Collection
{
  /**
   * The day of the week is unspecified.
   */
  public const AUTO_FULL_BACKUP_DAY_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
  /**
   * Monday
   */
  public const AUTO_FULL_BACKUP_DAY_MONDAY = 'MONDAY';
  /**
   * Tuesday
   */
  public const AUTO_FULL_BACKUP_DAY_TUESDAY = 'TUESDAY';
  /**
   * Wednesday
   */
  public const AUTO_FULL_BACKUP_DAY_WEDNESDAY = 'WEDNESDAY';
  /**
   * Thursday
   */
  public const AUTO_FULL_BACKUP_DAY_THURSDAY = 'THURSDAY';
  /**
   * Friday
   */
  public const AUTO_FULL_BACKUP_DAY_FRIDAY = 'FRIDAY';
  /**
   * Saturday
   */
  public const AUTO_FULL_BACKUP_DAY_SATURDAY = 'SATURDAY';
  /**
   * Sunday
   */
  public const AUTO_FULL_BACKUP_DAY_SUNDAY = 'SUNDAY';
  /**
   * Default unspecified value.
   */
  public const AUTO_FULL_BACKUP_WINDOW_BACKUP_WINDOW_UNSPECIFIED = 'BACKUP_WINDOW_UNSPECIFIED';
  /**
   * 12:00 AM - 2:00 AM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_ONE = 'SLOT_ONE';
  /**
   * 2:00 AM - 4:00 AM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_TWO = 'SLOT_TWO';
  /**
   * 4:00 AM - 6:00 AM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_THREE = 'SLOT_THREE';
  /**
   * 6:00 AM - 8:00 AM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_FOUR = 'SLOT_FOUR';
  /**
   * 8:00 AM - 10:00 AM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_FIVE = 'SLOT_FIVE';
  /**
   * 10:00 AM - 12:00 PM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_SIX = 'SLOT_SIX';
  /**
   * 12:00 PM - 2:00 PM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_SEVEN = 'SLOT_SEVEN';
  /**
   * 2:00 PM - 4:00 PM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_EIGHT = 'SLOT_EIGHT';
  /**
   * 4:00 PM - 6:00 PM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_NINE = 'SLOT_NINE';
  /**
   * 6:00 PM - 8:00 PM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_TEN = 'SLOT_TEN';
  /**
   * 8:00 PM - 10:00 PM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_ELEVEN = 'SLOT_ELEVEN';
  /**
   * 10:00 PM - 12:00 AM
   */
  public const AUTO_FULL_BACKUP_WINDOW_SLOT_TWELVE = 'SLOT_TWELVE';
  /**
   * Default unspecified value.
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_BACKUP_WINDOW_UNSPECIFIED = 'BACKUP_WINDOW_UNSPECIFIED';
  /**
   * 12:00 AM - 2:00 AM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_ONE = 'SLOT_ONE';
  /**
   * 2:00 AM - 4:00 AM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_TWO = 'SLOT_TWO';
  /**
   * 4:00 AM - 6:00 AM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_THREE = 'SLOT_THREE';
  /**
   * 6:00 AM - 8:00 AM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_FOUR = 'SLOT_FOUR';
  /**
   * 8:00 AM - 10:00 AM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_FIVE = 'SLOT_FIVE';
  /**
   * 10:00 AM - 12:00 PM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_SIX = 'SLOT_SIX';
  /**
   * 12:00 PM - 2:00 PM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_SEVEN = 'SLOT_SEVEN';
  /**
   * 2:00 PM - 4:00 PM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_EIGHT = 'SLOT_EIGHT';
  /**
   * 4:00 PM - 6:00 PM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_NINE = 'SLOT_NINE';
  /**
   * 6:00 PM - 8:00 PM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_TEN = 'SLOT_TEN';
  /**
   * 8:00 PM - 10:00 PM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_ELEVEN = 'SLOT_ELEVEN';
  /**
   * 10:00 PM - 12:00 AM
   */
  public const AUTO_INCREMENTAL_BACKUP_WINDOW_SLOT_TWELVE = 'SLOT_TWELVE';
  /**
   * Default unspecified value.
   */
  public const BACKUP_DELETION_POLICY_BACKUP_DELETION_POLICY_UNSPECIFIED = 'BACKUP_DELETION_POLICY_UNSPECIFIED';
  /**
   * Keeps the backup for predefined time i.e. 72 hours and then delete
   * permanently.
   */
  public const BACKUP_DELETION_POLICY_DELETE_IMMEDIATELY = 'DELETE_IMMEDIATELY';
  /**
   * Keeps the backups as per the policy defined for database backups.
   */
  public const BACKUP_DELETION_POLICY_DELETE_AFTER_RETENTION_PERIOD = 'DELETE_AFTER_RETENTION_PERIOD';
  protected $collection_key = 'backupDestinationDetails';
  /**
   * Optional. If set to true, enables automatic backups on the database.
   *
   * @var bool
   */
  public $autoBackupEnabled;
  /**
   * Optional. The day of the week on which the full backup should be performed
   * on the database. If no value is provided, it will default to Sunday.
   *
   * @var string
   */
  public $autoFullBackupDay;
  /**
   * Optional. The window in which the full backup should be performed on the
   * database. If no value is provided, the default is anytime.
   *
   * @var string
   */
  public $autoFullBackupWindow;
  /**
   * Optional. The window in which the incremental backup should be performed on
   * the database. If no value is provided, the default is anytime except the
   * auto full backup day.
   *
   * @var string
   */
  public $autoIncrementalBackupWindow;
  /**
   * Optional. This defines when the backups will be deleted after Database
   * termination.
   *
   * @var string
   */
  public $backupDeletionPolicy;
  protected $backupDestinationDetailsType = BackupDestinationDetails::class;
  protected $backupDestinationDetailsDataType = 'array';
  /**
   * Optional. The number of days an automatic backup is retained before being
   * automatically deleted. This value determines the earliest point in time to
   * which a database can be restored. Min: 1, Max: 60.
   *
   * @var int
   */
  public $retentionPeriodDays;

  /**
   * Optional. If set to true, enables automatic backups on the database.
   *
   * @param bool $autoBackupEnabled
   */
  public function setAutoBackupEnabled($autoBackupEnabled)
  {
    $this->autoBackupEnabled = $autoBackupEnabled;
  }
  /**
   * @return bool
   */
  public function getAutoBackupEnabled()
  {
    return $this->autoBackupEnabled;
  }
  /**
   * Optional. The day of the week on which the full backup should be performed
   * on the database. If no value is provided, it will default to Sunday.
   *
   * Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
   * THURSDAY, FRIDAY, SATURDAY, SUNDAY
   *
   * @param self::AUTO_FULL_BACKUP_DAY_* $autoFullBackupDay
   */
  public function setAutoFullBackupDay($autoFullBackupDay)
  {
    $this->autoFullBackupDay = $autoFullBackupDay;
  }
  /**
   * @return self::AUTO_FULL_BACKUP_DAY_*
   */
  public function getAutoFullBackupDay()
  {
    return $this->autoFullBackupDay;
  }
  /**
   * Optional. The window in which the full backup should be performed on the
   * database. If no value is provided, the default is anytime.
   *
   * Accepted values: BACKUP_WINDOW_UNSPECIFIED, SLOT_ONE, SLOT_TWO, SLOT_THREE,
   * SLOT_FOUR, SLOT_FIVE, SLOT_SIX, SLOT_SEVEN, SLOT_EIGHT, SLOT_NINE,
   * SLOT_TEN, SLOT_ELEVEN, SLOT_TWELVE
   *
   * @param self::AUTO_FULL_BACKUP_WINDOW_* $autoFullBackupWindow
   */
  public function setAutoFullBackupWindow($autoFullBackupWindow)
  {
    $this->autoFullBackupWindow = $autoFullBackupWindow;
  }
  /**
   * @return self::AUTO_FULL_BACKUP_WINDOW_*
   */
  public function getAutoFullBackupWindow()
  {
    return $this->autoFullBackupWindow;
  }
  /**
   * Optional. The window in which the incremental backup should be performed on
   * the database. If no value is provided, the default is anytime except the
   * auto full backup day.
   *
   * Accepted values: BACKUP_WINDOW_UNSPECIFIED, SLOT_ONE, SLOT_TWO, SLOT_THREE,
   * SLOT_FOUR, SLOT_FIVE, SLOT_SIX, SLOT_SEVEN, SLOT_EIGHT, SLOT_NINE,
   * SLOT_TEN, SLOT_ELEVEN, SLOT_TWELVE
   *
   * @param self::AUTO_INCREMENTAL_BACKUP_WINDOW_* $autoIncrementalBackupWindow
   */
  public function setAutoIncrementalBackupWindow($autoIncrementalBackupWindow)
  {
    $this->autoIncrementalBackupWindow = $autoIncrementalBackupWindow;
  }
  /**
   * @return self::AUTO_INCREMENTAL_BACKUP_WINDOW_*
   */
  public function getAutoIncrementalBackupWindow()
  {
    return $this->autoIncrementalBackupWindow;
  }
  /**
   * Optional. This defines when the backups will be deleted after Database
   * termination.
   *
   * Accepted values: BACKUP_DELETION_POLICY_UNSPECIFIED, DELETE_IMMEDIATELY,
   * DELETE_AFTER_RETENTION_PERIOD
   *
   * @param self::BACKUP_DELETION_POLICY_* $backupDeletionPolicy
   */
  public function setBackupDeletionPolicy($backupDeletionPolicy)
  {
    $this->backupDeletionPolicy = $backupDeletionPolicy;
  }
  /**
   * @return self::BACKUP_DELETION_POLICY_*
   */
  public function getBackupDeletionPolicy()
  {
    return $this->backupDeletionPolicy;
  }
  /**
   * Optional. Details of the database backup destinations.
   *
   * @param BackupDestinationDetails[] $backupDestinationDetails
   */
  public function setBackupDestinationDetails($backupDestinationDetails)
  {
    $this->backupDestinationDetails = $backupDestinationDetails;
  }
  /**
   * @return BackupDestinationDetails[]
   */
  public function getBackupDestinationDetails()
  {
    return $this->backupDestinationDetails;
  }
  /**
   * Optional. The number of days an automatic backup is retained before being
   * automatically deleted. This value determines the earliest point in time to
   * which a database can be restored. Min: 1, Max: 60.
   *
   * @param int $retentionPeriodDays
   */
  public function setRetentionPeriodDays($retentionPeriodDays)
  {
    $this->retentionPeriodDays = $retentionPeriodDays;
  }
  /**
   * @return int
   */
  public function getRetentionPeriodDays()
  {
    return $this->retentionPeriodDays;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DbBackupConfig::class, 'Google_Service_OracleDatabase_DbBackupConfig');
← Back