📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AbandonBackupRequest.php
▶ Open 📄 View Source
🐘 AcceleratorConfig.php
▶ Open 📄 View Source
🐘 AccessConfig.php
▶ Open 📄 View Source
🐘 AdvancedMachineFeatures.php
▶ Open 📄 View Source
🐘 AliasIpRange.php
▶ Open 📄 View Source
🐘 AllocationAffinity.php
▶ Open 📄 View Source
🐘 AlloyDBClusterBackupPlanAssociationProperties.php
▶ Open 📄 View Source
🐘 AlloyDBClusterDataSourceProperties.php
▶ Open 📄 View Source
🐘 AlloyDBClusterDataSourceReferenceProperties.php
▶ Open 📄 View Source
🐘 AlloyDbClusterBackupProperties.php
▶ Open 📄 View Source
🐘 AlloyDbPitrWindow.php
▶ Open 📄 View Source
🐘 AssetLocation.php
▶ Open 📄 View Source
🐘 AttachedDisk.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupApplianceBackupConfig.php
▶ Open 📄 View Source
🐘 BackupApplianceBackupProperties.php
▶ Open 📄 View Source
🐘 BackupApplianceLockInfo.php
▶ Open 📄 View Source
🐘 BackupConfigDetails.php
▶ Open 📄 View Source
🐘 BackupConfigInfo.php
▶ Open 📄 View Source
🐘 BackupDrPlanConfig.php
▶ Open 📄 View Source
🐘 BackupDrPlanRule.php
▶ Open 📄 View Source
🐘 BackupDrTemplateConfig.php
▶ Open 📄 View Source
🐘 BackupGcpResource.php
▶ Open 📄 View Source
🐘 BackupLocation.php
▶ Open 📄 View Source
🐘 BackupLock.php
▶ Open 📄 View Source
🐘 BackupPlan.php
▶ Open 📄 View Source
🐘 BackupPlanAssociation.php
▶ Open 📄 View Source
🐘 BackupPlanRevision.php
▶ Open 📄 View Source
🐘 BackupRule.php
▶ Open 📄 View Source
🐘 BackupVault.php
▶ Open 📄 View Source
🐘 BackupWindow.php
▶ Open 📄 View Source
🐘 BackupdrEmpty.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BlobstoreLocation.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudAsset.php
▶ Open 📄 View Source
🐘 CloudAssetComposition.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceBackupPlanAssociationProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceBackupProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceDataSourceProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceDataSourceReferenceProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceInitializationConfig.php
▶ Open 📄 View Source
🐘 ComputeInstanceBackupPlanProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceBackupProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceDataSourceProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceRestoreProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceTargetEnvironment.php
▶ Open 📄 View Source
🐘 ConfidentialInstanceConfig.php
▶ Open 📄 View Source
🐘 CustomerEncryptionKey.php
▶ Open 📄 View Source
🐘 DataSource.php
▶ Open 📄 View Source
🐘 DataSourceBackupApplianceApplication.php
▶ Open 📄 View Source
🐘 DataSourceBackupConfigInfo.php
▶ Open 📄 View Source
🐘 DataSourceGcpResource.php
▶ Open 📄 View Source
🐘 DataSourceGcpResourceInfo.php
▶ Open 📄 View Source
🐘 DataSourceReference.php
▶ Open 📄 View Source
🐘 DirectLocationAssignment.php
▶ Open 📄 View Source
🐘 DiskBackupPlanProperties.php
▶ Open 📄 View Source
🐘 DiskBackupProperties.php
▶ Open 📄 View Source
🐘 DiskDataSourceProperties.php
▶ Open 📄 View Source
🐘 DiskRestoreProperties.php
▶ Open 📄 View Source
🐘 DiskTargetEnvironment.php
▶ Open 📄 View Source
🐘 DisplayDevice.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EndTrialRequest.php
▶ Open 📄 View Source
🐘 Entry.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExtraParameter.php
▶ Open 📄 View Source
🐘 FetchAccessTokenRequest.php
▶ Open 📄 View Source
🐘 FetchAccessTokenResponse.php
▶ Open 📄 View Source
🐘 FetchBackupPlanAssociationsForResourceTypeResponse.php
▶ Open 📄 View Source
🐘 FetchBackupsForResourceTypeResponse.php
▶ Open 📄 View Source
🐘 FetchDataSourceReferencesForResourceTypeResponse.php
▶ Open 📄 View Source
🐘 FetchMsComplianceMetadataRequest.php
▶ Open 📄 View Source
🐘 FetchMsComplianceMetadataResponse.php
▶ Open 📄 View Source
🐘 FetchUsableBackupVaultsResponse.php
▶ Open 📄 View Source
🐘 FilestoreInstanceBackupPlanAssociationProperties.php
▶ Open 📄 View Source
🐘 FilestoreInstanceBackupProperties.php
▶ Open 📄 View Source
🐘 FilestoreInstanceDataSourceProperties.php
▶ Open 📄 View Source
🐘 FilestoreInstanceDataSourceReferenceProperties.php
▶ Open 📄 View Source
🐘 FinalizeBackupRequest.php
▶ Open 📄 View Source
🐘 GCPBackupPlanInfo.php
▶ Open 📄 View Source
🐘 GcpBackupConfig.php
▶ Open 📄 View Source
🐘 GcpResource.php
▶ Open 📄 View Source
🐘 GoogleCloudBackupdrV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GuestOsFeature.php
▶ Open 📄 View Source
🐘 InitializeParams.php
▶ Open 📄 View Source
🐘 InitializeServiceRequest.php
▶ Open 📄 View Source
🐘 InitiateBackupRequest.php
▶ Open 📄 View Source
🐘 InitiateBackupResponse.php
▶ Open 📄 View Source
🐘 InstanceParams.php
▶ Open 📄 View Source
🐘 IsolationExpectations.php
▶ Open 📄 View Source
🐘 ListBackupPlanAssociationsResponse.php
▶ Open 📄 View Source
🐘 ListBackupPlanRevisionsResponse.php
▶ Open 📄 View Source
🐘 ListBackupPlansResponse.php
▶ Open 📄 View Source
🐘 ListBackupVaultsResponse.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListDataSourceReferencesResponse.php
▶ Open 📄 View Source
🐘 ListDataSourcesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListManagementServersResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListResourceBackupConfigsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationAssignment.php
▶ Open 📄 View Source
🐘 LocationData.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 ManagementServer.php
▶ Open 📄 View Source
🐘 ManagementURI.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NetworkInterface.php
▶ Open 📄 View Source
🐘 NetworkPerformanceConfig.php
▶ Open 📄 View Source
🐘 NodeAffinity.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PitrSettings.php
▶ Open 📄 View Source
🐘 PlacerLocation.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 RegionDiskTargetEnvironment.php
▶ Open 📄 View Source
🐘 RegionalMigDistributionPolicy.php
▶ Open 📄 View Source
🐘 RemoveDataSourceRequest.php
▶ Open 📄 View Source
🐘 RequirementOverride.php
▶ Open 📄 View Source
🐘 ResourceBackupConfig.php
▶ Open 📄 View Source
🐘 RestoreBackupRequest.php
▶ Open 📄 View Source
🐘 RestoreBackupResponse.php
▶ Open 📄 View Source
🐘 RuleConfigInfo.php
▶ Open 📄 View Source
🐘 Scheduling.php
▶ Open 📄 View Source
🐘 SchedulingDuration.php
▶ Open 📄 View Source
🐘 ServiceAccount.php
▶ Open 📄 View Source
🐘 ServiceLockInfo.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SetInternalStatusRequest.php
▶ Open 📄 View Source
🐘 SetInternalStatusResponse.php
▶ Open 📄 View Source
🐘 SpannerLocation.php
▶ Open 📄 View Source
🐘 StandardSchedule.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 SubscribeTrialRequest.php
▶ Open 📄 View Source
🐘 Tags.php
▶ Open 📄 View Source
🐘 TargetResource.php
▶ Open 📄 View Source
🐘 TenantProjectProxy.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 Trial.php
▶ Open 📄 View Source
🐘 TriggerBackupRequest.php
▶ Open 📄 View Source
🐘 WeekDayOfMonth.php
▶ Open 📄 View Source
🐘 WorkforceIdentityBasedManagementURI.php
▶ Open 📄 View Source
🐘 WorkforceIdentityBasedOAuth2ClientID.php
▶ Open 📄 View Source
🐘 ZoneConfiguration.php
▶ Open 📄 View Source

📄 Source: BackupConfigDetails.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\Backupdr;

class BackupConfigDetails extends \Google\Collection
{
  /**
   * Backup config state not set.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The config is in an active state protecting the resource
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * The config is currently not protecting the resource. Either because it is
   * disabled or the owning project has been deleted without cleanup of the
   * actual resource.
   */
  public const STATE_INACTIVE = 'INACTIVE';
  /**
   * The config still exists but because of some error state it is not
   * protecting the resource. Like the source project is deleted. For eg.
   * PlanAssociation, BackupPlan is deleted.
   */
  public const STATE_ERROR = 'ERROR';
  /**
   * Backup config type is unspecified.
   */
  public const TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
  /**
   * Backup config is Cloud SQL instance's automated backup config.
   */
  public const TYPE_CLOUD_SQL_INSTANCE_BACKUP_CONFIG = 'CLOUD_SQL_INSTANCE_BACKUP_CONFIG';
  /**
   * Backup config is Compute Engine Resource Policy.
   */
  public const TYPE_COMPUTE_ENGINE_RESOURCE_POLICY = 'COMPUTE_ENGINE_RESOURCE_POLICY';
  /**
   * Backup config is Google Cloud Backup and DR's Backup Plan.
   */
  public const TYPE_BACKUPDR_BACKUP_PLAN = 'BACKUPDR_BACKUP_PLAN';
  /**
   * Backup config is Google Cloud Backup and DR's Template.
   */
  public const TYPE_BACKUPDR_TEMPLATE = 'BACKUPDR_TEMPLATE';
  protected $collection_key = 'backupLocations';
  /**
   * Output only. The [full resource name](https://cloud.google.com/asset-
   * inventory/docs/resource-name-format) of the resource that is applicable for
   * the backup configuration. Example: "//compute.googleapis.com/projects/{proj
   * ect}/zones/{zone}/instances/{instance}"
   *
   * @var string
   */
  public $applicableResource;
  /**
   * Output only. The full resource name of the backup config source resource.
   * For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{re
   * gion}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{pr
   * oject}/locations/{region}/resourcePolicies/{resourcePolicyId}".
   *
   * @var string
   */
  public $backupConfigSource;
  /**
   * Output only. The display name of the backup config source resource.
   *
   * @var string
   */
  public $backupConfigSourceDisplayName;
  protected $backupDrPlanConfigType = BackupDrPlanConfig::class;
  protected $backupDrPlanConfigDataType = '';
  protected $backupDrTemplateConfigType = BackupDrTemplateConfig::class;
  protected $backupDrTemplateConfigDataType = '';
  protected $backupLocationsType = BackupLocation::class;
  protected $backupLocationsDataType = 'array';
  /**
   * Output only. The [full resource name](https://cloud.google.com/asset-
   * inventory/docs/resource-name-format) of the backup vault that will store
   * the backups generated through this backup configuration. Example: "//backup
   * dr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{ba
   * ckupvaultId}"
   *
   * @var string
   */
  public $backupVault;
  /**
   * Output only. Timestamp of the latest successful backup created via this
   * backup configuration.
   *
   * @var string
   */
  public $latestSuccessfulBackupTime;
  protected $pitrSettingsType = PitrSettings::class;
  protected $pitrSettingsDataType = '';
  /**
   * Output only. The state of the backup config resource.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. The type of the backup config resource.
   *
   * @var string
   */
  public $type;

  /**
   * Output only. The [full resource name](https://cloud.google.com/asset-
   * inventory/docs/resource-name-format) of the resource that is applicable for
   * the backup configuration. Example: "//compute.googleapis.com/projects/{proj
   * ect}/zones/{zone}/instances/{instance}"
   *
   * @param string $applicableResource
   */
  public function setApplicableResource($applicableResource)
  {
    $this->applicableResource = $applicableResource;
  }
  /**
   * @return string
   */
  public function getApplicableResource()
  {
    return $this->applicableResource;
  }
  /**
   * Output only. The full resource name of the backup config source resource.
   * For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{re
   * gion}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{pr
   * oject}/locations/{region}/resourcePolicies/{resourcePolicyId}".
   *
   * @param string $backupConfigSource
   */
  public function setBackupConfigSource($backupConfigSource)
  {
    $this->backupConfigSource = $backupConfigSource;
  }
  /**
   * @return string
   */
  public function getBackupConfigSource()
  {
    return $this->backupConfigSource;
  }
  /**
   * Output only. The display name of the backup config source resource.
   *
   * @param string $backupConfigSourceDisplayName
   */
  public function setBackupConfigSourceDisplayName($backupConfigSourceDisplayName)
  {
    $this->backupConfigSourceDisplayName = $backupConfigSourceDisplayName;
  }
  /**
   * @return string
   */
  public function getBackupConfigSourceDisplayName()
  {
    return $this->backupConfigSourceDisplayName;
  }
  /**
   * Google Cloud Backup and DR's Backup Plan specific data.
   *
   * @param BackupDrPlanConfig $backupDrPlanConfig
   */
  public function setBackupDrPlanConfig(BackupDrPlanConfig $backupDrPlanConfig)
  {
    $this->backupDrPlanConfig = $backupDrPlanConfig;
  }
  /**
   * @return BackupDrPlanConfig
   */
  public function getBackupDrPlanConfig()
  {
    return $this->backupDrPlanConfig;
  }
  /**
   * Google Cloud Backup and DR's Template specific data.
   *
   * @param BackupDrTemplateConfig $backupDrTemplateConfig
   */
  public function setBackupDrTemplateConfig(BackupDrTemplateConfig $backupDrTemplateConfig)
  {
    $this->backupDrTemplateConfig = $backupDrTemplateConfig;
  }
  /**
   * @return BackupDrTemplateConfig
   */
  public function getBackupDrTemplateConfig()
  {
    return $this->backupDrTemplateConfig;
  }
  /**
   * The locations where the backups are to be stored.
   *
   * @param BackupLocation[] $backupLocations
   */
  public function setBackupLocations($backupLocations)
  {
    $this->backupLocations = $backupLocations;
  }
  /**
   * @return BackupLocation[]
   */
  public function getBackupLocations()
  {
    return $this->backupLocations;
  }
  /**
   * Output only. The [full resource name](https://cloud.google.com/asset-
   * inventory/docs/resource-name-format) of the backup vault that will store
   * the backups generated through this backup configuration. Example: "//backup
   * dr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{ba
   * ckupvaultId}"
   *
   * @param string $backupVault
   */
  public function setBackupVault($backupVault)
  {
    $this->backupVault = $backupVault;
  }
  /**
   * @return string
   */
  public function getBackupVault()
  {
    return $this->backupVault;
  }
  /**
   * Output only. Timestamp of the latest successful backup created via this
   * backup configuration.
   *
   * @param string $latestSuccessfulBackupTime
   */
  public function setLatestSuccessfulBackupTime($latestSuccessfulBackupTime)
  {
    $this->latestSuccessfulBackupTime = $latestSuccessfulBackupTime;
  }
  /**
   * @return string
   */
  public function getLatestSuccessfulBackupTime()
  {
    return $this->latestSuccessfulBackupTime;
  }
  /**
   * Output only. Point in time recovery settings of the backup configuration
   * resource.
   *
   * @param PitrSettings $pitrSettings
   */
  public function setPitrSettings(PitrSettings $pitrSettings)
  {
    $this->pitrSettings = $pitrSettings;
  }
  /**
   * @return PitrSettings
   */
  public function getPitrSettings()
  {
    return $this->pitrSettings;
  }
  /**
   * Output only. The state of the backup config resource.
   *
   * Accepted values: STATE_UNSPECIFIED, ACTIVE, INACTIVE, ERROR
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. The type of the backup config resource.
   *
   * Accepted values: TYPE_UNSPECIFIED, CLOUD_SQL_INSTANCE_BACKUP_CONFIG,
   * COMPUTE_ENGINE_RESOURCE_POLICY, BACKUPDR_BACKUP_PLAN, BACKUPDR_TEMPLATE
   *
   * @param self::TYPE_* $type
   */
  public function setType($type)
  {
    $this->type = $type;
  }
  /**
   * @return self::TYPE_*
   */
  public function getType()
  {
    return $this->type;
  }
}

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