📂 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: StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.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 StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata extends \Google\Collection
{
  public const CURRENT_STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The instance is running.
   */
  public const CURRENT_STATE_HEALTHY = 'HEALTHY';
  /**
   * Instance being created, updated, deleted or under maintenance
   */
  public const CURRENT_STATE_UNHEALTHY = 'UNHEALTHY';
  /**
   * When instance is suspended
   */
  public const CURRENT_STATE_SUSPENDED = 'SUSPENDED';
  /**
   * Instance is deleted.
   */
  public const CURRENT_STATE_DELETED = 'DELETED';
  /**
   * For rest of the other category
   */
  public const CURRENT_STATE_STATE_OTHER = 'STATE_OTHER';
  /**
   * Instance is in STOPPED state.
   */
  public const CURRENT_STATE_STOPPED = 'STOPPED';
  /**
   * Default, to make it consistent with instance edition enum.
   */
  public const EDITION_EDITION_UNSPECIFIED = 'EDITION_UNSPECIFIED';
  /**
   * Represents the enterprise edition.
   */
  public const EDITION_EDITION_ENTERPRISE = 'EDITION_ENTERPRISE';
  /**
   * Represents the enterprise plus edition.
   */
  public const EDITION_EDITION_ENTERPRISE_PLUS = 'EDITION_ENTERPRISE_PLUS';
  /**
   * Represents the standard edition.
   */
  public const EDITION_EDITION_STANDARD = 'EDITION_STANDARD';
  public const EXPECTED_STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The instance is running.
   */
  public const EXPECTED_STATE_HEALTHY = 'HEALTHY';
  /**
   * Instance being created, updated, deleted or under maintenance
   */
  public const EXPECTED_STATE_UNHEALTHY = 'UNHEALTHY';
  /**
   * When instance is suspended
   */
  public const EXPECTED_STATE_SUSPENDED = 'SUSPENDED';
  /**
   * Instance is deleted.
   */
  public const EXPECTED_STATE_DELETED = 'DELETED';
  /**
   * For rest of the other category
   */
  public const EXPECTED_STATE_STATE_OTHER = 'STATE_OTHER';
  /**
   * Instance is in STOPPED state.
   */
  public const EXPECTED_STATE_STOPPED = 'STOPPED';
  /**
   * Unspecified.
   *
   * @deprecated
   */
  public const INSTANCE_TYPE_INSTANCE_TYPE_UNSPECIFIED = 'INSTANCE_TYPE_UNSPECIFIED';
  /**
   * For rest of the other categories.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_UNSPECIFIED = 'SUB_RESOURCE_TYPE_UNSPECIFIED';
  /**
   * A regular primary database instance.
   *
   * @deprecated
   */
  public const INSTANCE_TYPE_PRIMARY = 'PRIMARY';
  /**
   * A cluster or an instance acting as a secondary.
   *
   * @deprecated
   */
  public const INSTANCE_TYPE_SECONDARY = 'SECONDARY';
  /**
   * An instance acting as a read-replica.
   *
   * @deprecated
   */
  public const INSTANCE_TYPE_READ_REPLICA = 'READ_REPLICA';
  /**
   * For rest of the other categories.
   *
   * @deprecated
   */
  public const INSTANCE_TYPE_OTHER = 'OTHER';
  /**
   * A regular primary database instance.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_PRIMARY = 'SUB_RESOURCE_TYPE_PRIMARY';
  /**
   * A cluster or an instance acting as a secondary.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_SECONDARY = 'SUB_RESOURCE_TYPE_SECONDARY';
  /**
   * An instance acting as a read-replica.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_READ_REPLICA = 'SUB_RESOURCE_TYPE_READ_REPLICA';
  /**
   * An instance acting as an external primary.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 'SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY';
  /**
   * An instance acting as Read Pool.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_READ_POOL = 'SUB_RESOURCE_TYPE_READ_POOL';
  /**
   * Represents a reservation resource.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_RESERVATION = 'SUB_RESOURCE_TYPE_RESERVATION';
  /**
   * Represents a dataset resource.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_DATASET = 'SUB_RESOURCE_TYPE_DATASET';
  /**
   * For rest of the other categories.
   */
  public const INSTANCE_TYPE_SUB_RESOURCE_TYPE_OTHER = 'SUB_RESOURCE_TYPE_OTHER';
  /**
   * Suspension reason is unspecified.
   */
  public const SUSPENSION_REASON_SUSPENSION_REASON_UNSPECIFIED = 'SUSPENSION_REASON_UNSPECIFIED';
  /**
   * Wipeout hide event.
   */
  public const SUSPENSION_REASON_WIPEOUT_HIDE_EVENT = 'WIPEOUT_HIDE_EVENT';
  /**
   * Wipeout purge event.
   */
  public const SUSPENSION_REASON_WIPEOUT_PURGE_EVENT = 'WIPEOUT_PURGE_EVENT';
  /**
   * Billing disabled for project
   */
  public const SUSPENSION_REASON_BILLING_DISABLED = 'BILLING_DISABLED';
  /**
   * Abuse detected for resource
   */
  public const SUSPENSION_REASON_ABUSER_DETECTED = 'ABUSER_DETECTED';
  /**
   * Encryption key inaccessible.
   */
  public const SUSPENSION_REASON_ENCRYPTION_KEY_INACCESSIBLE = 'ENCRYPTION_KEY_INACCESSIBLE';
  /**
   * Replicated cluster encryption key inaccessible.
   */
  public const SUSPENSION_REASON_REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE = 'REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE';
  protected $collection_key = 'resourceFlags';
  protected $availabilityConfigurationType = StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration::class;
  protected $availabilityConfigurationDataType = '';
  protected $backupConfigurationType = StorageDatabasecenterPartnerapiV1mainBackupConfiguration::class;
  protected $backupConfigurationDataType = '';
  protected $backupRunType = StorageDatabasecenterPartnerapiV1mainBackupRun::class;
  protected $backupRunDataType = '';
  protected $backupdrConfigurationType = StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration::class;
  protected $backupdrConfigurationDataType = '';
  /**
   * The creation time of the resource, i.e. the time when resource is created
   * and recorded in partner service.
   *
   * @var string
   */
  public $creationTime;
  /**
   * Current state of the instance.
   *
   * @var string
   */
  public $currentState;
  protected $customMetadataType = StorageDatabasecenterPartnerapiV1mainCustomMetadataData::class;
  protected $customMetadataDataType = '';
  /**
   * Optional. Edition represents whether the instance is ENTERPRISE or
   * ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to
   * identify the edition of the instance.
   *
   * @var string
   */
  public $edition;
  protected $entitlementsType = StorageDatabasecenterPartnerapiV1mainEntitlement::class;
  protected $entitlementsDataType = 'array';
  /**
   * The state that the instance is expected to be in. For example, an instance
   * state can transition to UNHEALTHY due to wrong patch update, while the
   * expected state will remain at the HEALTHY.
   *
   * @var string
   */
  public $expectedState;
  protected $gcbdrConfigurationType = StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration::class;
  protected $gcbdrConfigurationDataType = '';
  protected $idType = StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::class;
  protected $idDataType = '';
  /**
   * The type of the instance. Specified at creation time.
   *
   * @var string
   */
  public $instanceType;
  /**
   * Optional. Whether deletion protection is enabled for this resource.
   *
   * @var bool
   */
  public $isDeletionProtectionEnabled;
  /**
   * The resource location. REQUIRED
   *
   * @var string
   */
  public $location;
  protected $machineConfigurationType = StorageDatabasecenterPartnerapiV1mainMachineConfiguration::class;
  protected $machineConfigurationDataType = '';
  protected $maintenanceInfoType = StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo::class;
  protected $maintenanceInfoDataType = '';
  /**
   * Optional. The modes of the database resource.
   *
   * @var string[]
   */
  public $modes;
  protected $primaryResourceIdType = StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::class;
  protected $primaryResourceIdDataType = '';
  /**
   * Primary resource location. REQUIRED if the immediate parent exists when
   * first time resource is getting ingested, otherwise optional.
   *
   * @var string
   */
  public $primaryResourceLocation;
  protected $productType = StorageDatabasecenterProtoCommonProduct::class;
  protected $productDataType = '';
  /**
   * Closest parent Cloud Resource Manager container of this resource. It must
   * be resource name of a Cloud Resource Manager project with the format of
   * "/", such as "projects/123". For GCP provided resources, number should be
   * project number.
   *
   * @var string
   */
  public $resourceContainer;
  protected $resourceFlagsType = StorageDatabasecenterPartnerapiV1mainResourceFlags::class;
  protected $resourceFlagsDataType = 'array';
  /**
   * Required. Different from DatabaseResourceId.unique_id, a resource name can
   * be reused over time. That is, after a resource named "ABC" is deleted, the
   * name "ABC" can be used to to create a new resource within the same source.
   * Resource name to follow CAIS resource_name format as noted here go/condor-
   * common-datamodel
   *
   * @var string
   */
  public $resourceName;
  /**
   * Optional. Suspension reason for the resource.
   *
   * @var string
   */
  public $suspensionReason;
  protected $tagsSetType = StorageDatabasecenterPartnerapiV1mainTags::class;
  protected $tagsSetDataType = '';
  /**
   * The time at which the resource was updated and recorded at partner service.
   *
   * @var string
   */
  public $updationTime;
  protected $userLabelSetType = StorageDatabasecenterPartnerapiV1mainUserLabels::class;
  protected $userLabelSetDataType = '';
  /**
   * The resource zone. This is only applicable for zonal resources and will be
   * empty for regional and multi-regional resources.
   *
   * @var string
   */
  public $zone;

  /**
   * Availability configuration for this instance
   *
   * @param StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration $availabilityConfiguration
   */
  public function setAvailabilityConfiguration(StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration $availabilityConfiguration)
  {
    $this->availabilityConfiguration = $availabilityConfiguration;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
   */
  public function getAvailabilityConfiguration()
  {
    return $this->availabilityConfiguration;
  }
  /**
   * Backup configuration for this instance
   *
   * @param StorageDatabasecenterPartnerapiV1mainBackupConfiguration $backupConfiguration
   */
  public function setBackupConfiguration(StorageDatabasecenterPartnerapiV1mainBackupConfiguration $backupConfiguration)
  {
    $this->backupConfiguration = $backupConfiguration;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainBackupConfiguration
   */
  public function getBackupConfiguration()
  {
    return $this->backupConfiguration;
  }
  /**
   * Latest backup run information for this instance
   *
   * @param StorageDatabasecenterPartnerapiV1mainBackupRun $backupRun
   */
  public function setBackupRun(StorageDatabasecenterPartnerapiV1mainBackupRun $backupRun)
  {
    $this->backupRun = $backupRun;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainBackupRun
   */
  public function getBackupRun()
  {
    return $this->backupRun;
  }
  /**
   * Optional. BackupDR Configuration for the resource.
   *
   * @param StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration $backupdrConfiguration
   */
  public function setBackupdrConfiguration(StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration $backupdrConfiguration)
  {
    $this->backupdrConfiguration = $backupdrConfiguration;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration
   */
  public function getBackupdrConfiguration()
  {
    return $this->backupdrConfiguration;
  }
  /**
   * The creation time of the resource, i.e. the time when resource is created
   * and recorded in partner service.
   *
   * @param string $creationTime
   */
  public function setCreationTime($creationTime)
  {
    $this->creationTime = $creationTime;
  }
  /**
   * @return string
   */
  public function getCreationTime()
  {
    return $this->creationTime;
  }
  /**
   * Current state of the instance.
   *
   * Accepted values: STATE_UNSPECIFIED, HEALTHY, UNHEALTHY, SUSPENDED, DELETED,
   * STATE_OTHER, STOPPED
   *
   * @param self::CURRENT_STATE_* $currentState
   */
  public function setCurrentState($currentState)
  {
    $this->currentState = $currentState;
  }
  /**
   * @return self::CURRENT_STATE_*
   */
  public function getCurrentState()
  {
    return $this->currentState;
  }
  /**
   * Any custom metadata associated with the resource
   *
   * @param StorageDatabasecenterPartnerapiV1mainCustomMetadataData $customMetadata
   */
  public function setCustomMetadata(StorageDatabasecenterPartnerapiV1mainCustomMetadataData $customMetadata)
  {
    $this->customMetadata = $customMetadata;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainCustomMetadataData
   */
  public function getCustomMetadata()
  {
    return $this->customMetadata;
  }
  /**
   * Optional. Edition represents whether the instance is ENTERPRISE or
   * ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to
   * identify the edition of the instance.
   *
   * Accepted values: EDITION_UNSPECIFIED, EDITION_ENTERPRISE,
   * EDITION_ENTERPRISE_PLUS, EDITION_STANDARD
   *
   * @param self::EDITION_* $edition
   */
  public function setEdition($edition)
  {
    $this->edition = $edition;
  }
  /**
   * @return self::EDITION_*
   */
  public function getEdition()
  {
    return $this->edition;
  }
  /**
   * Entitlements associated with the resource
   *
   * @param StorageDatabasecenterPartnerapiV1mainEntitlement[] $entitlements
   */
  public function setEntitlements($entitlements)
  {
    $this->entitlements = $entitlements;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainEntitlement[]
   */
  public function getEntitlements()
  {
    return $this->entitlements;
  }
  /**
   * The state that the instance is expected to be in. For example, an instance
   * state can transition to UNHEALTHY due to wrong patch update, while the
   * expected state will remain at the HEALTHY.
   *
   * Accepted values: STATE_UNSPECIFIED, HEALTHY, UNHEALTHY, SUSPENDED, DELETED,
   * STATE_OTHER, STOPPED
   *
   * @param self::EXPECTED_STATE_* $expectedState
   */
  public function setExpectedState($expectedState)
  {
    $this->expectedState = $expectedState;
  }
  /**
   * @return self::EXPECTED_STATE_*
   */
  public function getExpectedState()
  {
    return $this->expectedState;
  }
  /**
   * GCBDR configuration for the resource.
   *
   * @deprecated
   * @param StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration $gcbdrConfiguration
   */
  public function setGcbdrConfiguration(StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration $gcbdrConfiguration)
  {
    $this->gcbdrConfiguration = $gcbdrConfiguration;
  }
  /**
   * @deprecated
   * @return StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration
   */
  public function getGcbdrConfiguration()
  {
    return $this->gcbdrConfiguration;
  }
  /**
   * Required. Unique identifier for a Database resource
   *
   * @param StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $id
   */
  public function setId(StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $id)
  {
    $this->id = $id;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * The type of the instance. Specified at creation time.
   *
   * Accepted values: INSTANCE_TYPE_UNSPECIFIED, SUB_RESOURCE_TYPE_UNSPECIFIED,
   * PRIMARY, SECONDARY, READ_REPLICA, OTHER, SUB_RESOURCE_TYPE_PRIMARY,
   * SUB_RESOURCE_TYPE_SECONDARY, SUB_RESOURCE_TYPE_READ_REPLICA,
   * SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY, SUB_RESOURCE_TYPE_READ_POOL,
   * SUB_RESOURCE_TYPE_RESERVATION, SUB_RESOURCE_TYPE_DATASET,
   * SUB_RESOURCE_TYPE_OTHER
   *
   * @param self::INSTANCE_TYPE_* $instanceType
   */
  public function setInstanceType($instanceType)
  {
    $this->instanceType = $instanceType;
  }
  /**
   * @return self::INSTANCE_TYPE_*
   */
  public function getInstanceType()
  {
    return $this->instanceType;
  }
  /**
   * Optional. Whether deletion protection is enabled for this resource.
   *
   * @param bool $isDeletionProtectionEnabled
   */
  public function setIsDeletionProtectionEnabled($isDeletionProtectionEnabled)
  {
    $this->isDeletionProtectionEnabled = $isDeletionProtectionEnabled;
  }
  /**
   * @return bool
   */
  public function getIsDeletionProtectionEnabled()
  {
    return $this->isDeletionProtectionEnabled;
  }
  /**
   * The resource location. REQUIRED
   *
   * @param string $location
   */
  public function setLocation($location)
  {
    $this->location = $location;
  }
  /**
   * @return string
   */
  public function getLocation()
  {
    return $this->location;
  }
  /**
   * Machine configuration for this resource.
   *
   * @param StorageDatabasecenterPartnerapiV1mainMachineConfiguration $machineConfiguration
   */
  public function setMachineConfiguration(StorageDatabasecenterPartnerapiV1mainMachineConfiguration $machineConfiguration)
  {
    $this->machineConfiguration = $machineConfiguration;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainMachineConfiguration
   */
  public function getMachineConfiguration()
  {
    return $this->machineConfiguration;
  }
  /**
   * Optional. Maintenance info for the resource.
   *
   * @param StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo $maintenanceInfo
   */
  public function setMaintenanceInfo(StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo $maintenanceInfo)
  {
    $this->maintenanceInfo = $maintenanceInfo;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo
   */
  public function getMaintenanceInfo()
  {
    return $this->maintenanceInfo;
  }
  /**
   * Optional. The modes of the database resource.
   *
   * @param string[] $modes
   */
  public function setModes($modes)
  {
    $this->modes = $modes;
  }
  /**
   * @return string[]
   */
  public function getModes()
  {
    return $this->modes;
  }
  /**
   * Identifier for this resource's immediate parent/primary resource if the
   * current resource is a replica or derived form of another Database resource.
   * Else it would be NULL. REQUIRED if the immediate parent exists when first
   * time resource is getting ingested, otherwise optional.
   *
   * @param StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $primaryResourceId
   */
  public function setPrimaryResourceId(StorageDatabasecenterPartnerapiV1mainDatabaseResourceId $primaryResourceId)
  {
    $this->primaryResourceId = $primaryResourceId;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainDatabaseResourceId
   */
  public function getPrimaryResourceId()
  {
    return $this->primaryResourceId;
  }
  /**
   * Primary resource location. REQUIRED if the immediate parent exists when
   * first time resource is getting ingested, otherwise optional.
   *
   * @param string $primaryResourceLocation
   */
  public function setPrimaryResourceLocation($primaryResourceLocation)
  {
    $this->primaryResourceLocation = $primaryResourceLocation;
  }
  /**
   * @return string
   */
  public function getPrimaryResourceLocation()
  {
    return $this->primaryResourceLocation;
  }
  /**
   * The product this resource represents.
   *
   * @param StorageDatabasecenterProtoCommonProduct $product
   */
  public function setProduct(StorageDatabasecenterProtoCommonProduct $product)
  {
    $this->product = $product;
  }
  /**
   * @return StorageDatabasecenterProtoCommonProduct
   */
  public function getProduct()
  {
    return $this->product;
  }
  /**
   * Closest parent Cloud Resource Manager container of this resource. It must
   * be resource name of a Cloud Resource Manager project with the format of
   * "/", such as "projects/123". For GCP provided resources, number should be
   * project number.
   *
   * @param string $resourceContainer
   */
  public function setResourceContainer($resourceContainer)
  {
    $this->resourceContainer = $resourceContainer;
  }
  /**
   * @return string
   */
  public function getResourceContainer()
  {
    return $this->resourceContainer;
  }
  /**
   * Optional. List of resource flags for the database resource.
   *
   * @param StorageDatabasecenterPartnerapiV1mainResourceFlags[] $resourceFlags
   */
  public function setResourceFlags($resourceFlags)
  {
    $this->resourceFlags = $resourceFlags;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainResourceFlags[]
   */
  public function getResourceFlags()
  {
    return $this->resourceFlags;
  }
  /**
   * Required. Different from DatabaseResourceId.unique_id, a resource name can
   * be reused over time. That is, after a resource named "ABC" is deleted, the
   * name "ABC" can be used to to create a new resource within the same source.
   * Resource name to follow CAIS resource_name format as noted here go/condor-
   * common-datamodel
   *
   * @param string $resourceName
   */
  public function setResourceName($resourceName)
  {
    $this->resourceName = $resourceName;
  }
  /**
   * @return string
   */
  public function getResourceName()
  {
    return $this->resourceName;
  }
  /**
   * Optional. Suspension reason for the resource.
   *
   * Accepted values: SUSPENSION_REASON_UNSPECIFIED, WIPEOUT_HIDE_EVENT,
   * WIPEOUT_PURGE_EVENT, BILLING_DISABLED, ABUSER_DETECTED,
   * ENCRYPTION_KEY_INACCESSIBLE, REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE
   *
   * @param self::SUSPENSION_REASON_* $suspensionReason
   */
  public function setSuspensionReason($suspensionReason)
  {
    $this->suspensionReason = $suspensionReason;
  }
  /**
   * @return self::SUSPENSION_REASON_*
   */
  public function getSuspensionReason()
  {
    return $this->suspensionReason;
  }
  /**
   * Optional. Tags associated with this resources.
   *
   * @param StorageDatabasecenterPartnerapiV1mainTags $tagsSet
   */
  public function setTagsSet(StorageDatabasecenterPartnerapiV1mainTags $tagsSet)
  {
    $this->tagsSet = $tagsSet;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainTags
   */
  public function getTagsSet()
  {
    return $this->tagsSet;
  }
  /**
   * The time at which the resource was updated and recorded at partner service.
   *
   * @param string $updationTime
   */
  public function setUpdationTime($updationTime)
  {
    $this->updationTime = $updationTime;
  }
  /**
   * @return string
   */
  public function getUpdationTime()
  {
    return $this->updationTime;
  }
  /**
   * User-provided labels associated with the resource
   *
   * @param StorageDatabasecenterPartnerapiV1mainUserLabels $userLabelSet
   */
  public function setUserLabelSet(StorageDatabasecenterPartnerapiV1mainUserLabels $userLabelSet)
  {
    $this->userLabelSet = $userLabelSet;
  }
  /**
   * @return StorageDatabasecenterPartnerapiV1mainUserLabels
   */
  public function getUserLabelSet()
  {
    return $this->userLabelSet;
  }
  /**
   * The resource zone. This is only applicable for zonal resources and will be
   * empty for regional and multi-regional resources.
   *
   * @param string $zone
   */
  public function setZone($zone)
  {
    $this->zone = $zone;
  }
  /**
   * @return string
   */
  public function getZone()
  {
    return $this->zone;
  }
}

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