📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Ack.php
▶ Open 📄 View Source
🐘 AdaptMessageRequest.php
▶ Open 📄 View Source
🐘 AdaptMessageResponse.php
▶ Open 📄 View Source
🐘 AdapterSession.php
▶ Open 📄 View Source
🐘 AddSplitPointsRequest.php
▶ Open 📄 View Source
🐘 AddSplitPointsResponse.php
▶ Open 📄 View Source
🐘 AsymmetricAutoscalingOption.php
▶ Open 📄 View Source
🐘 AutoscalingConfig.php
▶ Open 📄 View Source
🐘 AutoscalingConfigOverrides.php
▶ Open 📄 View Source
🐘 AutoscalingLimits.php
▶ Open 📄 View Source
🐘 AutoscalingTargets.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupInfo.php
▶ Open 📄 View Source
🐘 BackupInstancePartition.php
▶ Open 📄 View Source
🐘 BackupSchedule.php
▶ Open 📄 View Source
🐘 BackupScheduleSpec.php
▶ Open 📄 View Source
🐘 BatchCreateSessionsRequest.php
▶ Open 📄 View Source
🐘 BatchCreateSessionsResponse.php
▶ Open 📄 View Source
🐘 BatchWriteRequest.php
▶ Open 📄 View Source
🐘 BatchWriteResponse.php
▶ Open 📄 View Source
🐘 BeginTransactionRequest.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 ChangeQuorumMetadata.php
▶ Open 📄 View Source
🐘 ChangeQuorumRequest.php
▶ Open 📄 View Source
🐘 ChangeStreamRecord.php
▶ Open 📄 View Source
🐘 ChildLink.php
▶ Open 📄 View Source
🐘 ClientContext.php
▶ Open 📄 View Source
🐘 ColumnMetadata.php
▶ Open 📄 View Source
🐘 CommitRequest.php
▶ Open 📄 View Source
🐘 CommitResponse.php
▶ Open 📄 View Source
🐘 CommitStats.php
▶ Open 📄 View Source
🐘 CompactDatabaseMetadata.php
▶ Open 📄 View Source
🐘 ContextValue.php
▶ Open 📄 View Source
🐘 CopyBackupEncryptionConfig.php
▶ Open 📄 View Source
🐘 CopyBackupMetadata.php
▶ Open 📄 View Source
🐘 CopyBackupRequest.php
▶ Open 📄 View Source
🐘 CreateBackupEncryptionConfig.php
▶ Open 📄 View Source
🐘 CreateBackupMetadata.php
▶ Open 📄 View Source
🐘 CreateDatabaseMetadata.php
▶ Open 📄 View Source
🐘 CreateDatabaseRequest.php
▶ Open 📄 View Source
🐘 CreateInstanceConfigMetadata.php
▶ Open 📄 View Source
🐘 CreateInstanceConfigRequest.php
▶ Open 📄 View Source
🐘 CreateInstanceMetadata.php
▶ Open 📄 View Source
🐘 CreateInstancePartitionMetadata.php
▶ Open 📄 View Source
🐘 CreateInstancePartitionRequest.php
▶ Open 📄 View Source
🐘 CreateInstanceRequest.php
▶ Open 📄 View Source
🐘 CreateSessionRequest.php
▶ Open 📄 View Source
🐘 CrontabSpec.php
▶ Open 📄 View Source
🐘 DataChangeRecord.php
▶ Open 📄 View Source
🐘 Database.php
▶ Open 📄 View Source
🐘 DatabaseMoveConfig.php
▶ Open 📄 View Source
🐘 DatabaseRole.php
▶ Open 📄 View Source
🐘 DdlStatementActionInfo.php
▶ Open 📄 View Source
🐘 Delete.php
▶ Open 📄 View Source
🐘 DerivedMetric.php
▶ Open 📄 View Source
🐘 DiagnosticMessage.php
▶ Open 📄 View Source
🐘 DirectedReadOptions.php
▶ Open 📄 View Source
🐘 DualRegionQuorum.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EncryptionInfo.php
▶ Open 📄 View Source
🐘 ExcludeReplicas.php
▶ Open 📄 View Source
🐘 ExecuteBatchDmlRequest.php
▶ Open 📄 View Source
🐘 ExecuteBatchDmlResponse.php
▶ Open 📄 View Source
🐘 ExecuteSqlRequest.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 Field.php
▶ Open 📄 View Source
🐘 FreeInstanceMetadata.php
▶ Open 📄 View Source
🐘 FullBackupSpec.php
▶ Open 📄 View Source
🐘 GetDatabaseDdlResponse.php
▶ Open 📄 View Source
🐘 GetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 GetPolicyOptions.php
▶ Open 📄 View Source
🐘 HeartbeatRecord.php
▶ Open 📄 View Source
🐘 IncludeReplicas.php
▶ Open 📄 View Source
🐘 IncrementalBackupSpec.php
▶ Open 📄 View Source
🐘 IndexAdvice.php
▶ Open 📄 View Source
🐘 IndexedHotKey.php
▶ Open 📄 View Source
🐘 IndexedKeyRangeInfos.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceConfig.php
▶ Open 📄 View Source
🐘 InstanceEncryptionConfig.php
▶ Open 📄 View Source
🐘 InstanceOperationProgress.php
▶ Open 📄 View Source
🐘 InstancePartition.php
▶ Open 📄 View Source
🐘 InstanceReplicaSelection.php
▶ Open 📄 View Source
🐘 Key.php
▶ Open 📄 View Source
🐘 KeyRange.php
▶ Open 📄 View Source
🐘 KeyRangeInfo.php
▶ Open 📄 View Source
🐘 KeyRangeInfos.php
▶ Open 📄 View Source
🐘 KeySet.php
▶ Open 📄 View Source
🐘 ListBackupOperationsResponse.php
▶ Open 📄 View Source
🐘 ListBackupSchedulesResponse.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListDatabaseOperationsResponse.php
▶ Open 📄 View Source
🐘 ListDatabaseRolesResponse.php
▶ Open 📄 View Source
🐘 ListDatabasesResponse.php
▶ Open 📄 View Source
🐘 ListInstanceConfigOperationsResponse.php
▶ Open 📄 View Source
🐘 ListInstanceConfigsResponse.php
▶ Open 📄 View Source
🐘 ListInstancePartitionOperationsResponse.php
▶ Open 📄 View Source
🐘 ListInstancePartitionsResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListScansResponse.php
▶ Open 📄 View Source
🐘 ListSessionsResponse.php
▶ Open 📄 View Source
🐘 LocalizedString.php
▶ Open 📄 View Source
🐘 Metric.php
▶ Open 📄 View Source
🐘 MetricMatrix.php
▶ Open 📄 View Source
🐘 MetricMatrixRow.php
▶ Open 📄 View Source
🐘 Mod.php
▶ Open 📄 View Source
🐘 ModValue.php
▶ Open 📄 View Source
🐘 MoveInEvent.php
▶ Open 📄 View Source
🐘 MoveInstanceRequest.php
▶ Open 📄 View Source
🐘 MoveOutEvent.php
▶ Open 📄 View Source
🐘 MultiplexedSessionPrecommitToken.php
▶ Open 📄 View Source
🐘 Mutation.php
▶ Open 📄 View Source
🐘 MutationGroup.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationProgress.php
▶ Open 📄 View Source
🐘 OptimizeRestoredDatabaseMetadata.php
▶ Open 📄 View Source
🐘 PartialResultSet.php
▶ Open 📄 View Source
🐘 Partition.php
▶ Open 📄 View Source
🐘 PartitionEndRecord.php
▶ Open 📄 View Source
🐘 PartitionEventRecord.php
▶ Open 📄 View Source
🐘 PartitionOptions.php
▶ Open 📄 View Source
🐘 PartitionQueryRequest.php
▶ Open 📄 View Source
🐘 PartitionReadRequest.php
▶ Open 📄 View Source
🐘 PartitionResponse.php
▶ Open 📄 View Source
🐘 PartitionStartRecord.php
▶ Open 📄 View Source
🐘 PartitionedDml.php
▶ Open 📄 View Source
🐘 PlanNode.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 PrefixNode.php
▶ Open 📄 View Source
🐘 QueryAdvisorResult.php
▶ Open 📄 View Source
🐘 QueryOptions.php
▶ Open 📄 View Source
🐘 QueryPlan.php
▶ Open 📄 View Source
🐘 QuorumInfo.php
▶ Open 📄 View Source
🐘 QuorumType.php
▶ Open 📄 View Source
🐘 ReadRequest.php
▶ Open 📄 View Source
🐘 ReadWrite.php
▶ Open 📄 View Source
🐘 ReplicaComputeCapacity.php
▶ Open 📄 View Source
🐘 ReplicaInfo.php
▶ Open 📄 View Source
🐘 ReplicaSelection.php
▶ Open 📄 View Source
🐘 RequestOptions.php
▶ Open 📄 View Source
🐘 RestoreDatabaseEncryptionConfig.php
▶ Open 📄 View Source
🐘 RestoreDatabaseMetadata.php
▶ Open 📄 View Source
🐘 RestoreDatabaseRequest.php
▶ Open 📄 View Source
🐘 RestoreInfo.php
▶ Open 📄 View Source
🐘 ResultSet.php
▶ Open 📄 View Source
🐘 ResultSetMetadata.php
▶ Open 📄 View Source
🐘 ResultSetStats.php
▶ Open 📄 View Source
🐘 RollbackRequest.php
▶ Open 📄 View Source
🐘 Scan.php
▶ Open 📄 View Source
🐘 ScanData.php
▶ Open 📄 View Source
🐘 Send.php
▶ Open 📄 View Source
🐘 Session.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 ShortRepresentation.php
▶ Open 📄 View Source
🐘 SingleRegionQuorum.php
▶ Open 📄 View Source
🐘 SpannerEmpty.php
▶ Open 📄 View Source
🐘 SpannerReadOnly.php
▶ Open 📄 View Source
🐘 SplitPoints.php
▶ Open 📄 View Source
🐘 Statement.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StructType.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 Transaction.php
▶ Open 📄 View Source
🐘 TransactionOptions.php
▶ Open 📄 View Source
🐘 TransactionSelector.php
▶ Open 📄 View Source
🐘 Type.php
▶ Open 📄 View Source
🐘 UpdateDatabaseDdlMetadata.php
▶ Open 📄 View Source
🐘 UpdateDatabaseDdlRequest.php
▶ Open 📄 View Source
🐘 UpdateDatabaseMetadata.php
▶ Open 📄 View Source
🐘 UpdateDatabaseRequest.php
▶ Open 📄 View Source
🐘 UpdateInstanceConfigMetadata.php
▶ Open 📄 View Source
🐘 UpdateInstanceConfigRequest.php
▶ Open 📄 View Source
🐘 UpdateInstanceMetadata.php
▶ Open 📄 View Source
🐘 UpdateInstancePartitionMetadata.php
▶ Open 📄 View Source
🐘 UpdateInstancePartitionRequest.php
▶ Open 📄 View Source
🐘 UpdateInstanceRequest.php
▶ Open 📄 View Source
🐘 VisualizationData.php
▶ Open 📄 View Source
🐘 Write.php
▶ Open 📄 View Source

📄 Source: InstanceConfig.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\Spanner;

class InstanceConfig extends \Google\Collection
{
  /**
   * Unspecified.
   */
  public const CONFIG_TYPE_TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED';
  /**
   * Google-managed configuration.
   */
  public const CONFIG_TYPE_GOOGLE_MANAGED = 'GOOGLE_MANAGED';
  /**
   * User-managed configuration.
   */
  public const CONFIG_TYPE_USER_MANAGED = 'USER_MANAGED';
  /**
   * Not specified.
   */
  public const FREE_INSTANCE_AVAILABILITY_FREE_INSTANCE_AVAILABILITY_UNSPECIFIED = 'FREE_INSTANCE_AVAILABILITY_UNSPECIFIED';
  /**
   * Indicates that free instances are available to be created in this instance
   * configuration.
   */
  public const FREE_INSTANCE_AVAILABILITY_AVAILABLE = 'AVAILABLE';
  /**
   * Indicates that free instances are not supported in this instance
   * configuration.
   */
  public const FREE_INSTANCE_AVAILABILITY_UNSUPPORTED = 'UNSUPPORTED';
  /**
   * Indicates that free instances are currently not available to be created in
   * this instance configuration.
   */
  public const FREE_INSTANCE_AVAILABILITY_DISABLED = 'DISABLED';
  /**
   * Indicates that additional free instances cannot be created in this instance
   * configuration because the project has reached its limit of free instances.
   */
  public const FREE_INSTANCE_AVAILABILITY_QUOTA_EXCEEDED = 'QUOTA_EXCEEDED';
  /**
   * Quorum type not specified.
   */
  public const QUORUM_TYPE_QUORUM_TYPE_UNSPECIFIED = 'QUORUM_TYPE_UNSPECIFIED';
  /**
   * An instance configuration tagged with `REGION` quorum type forms a write
   * quorum in a single region.
   */
  public const QUORUM_TYPE_REGION = 'REGION';
  /**
   * An instance configuration tagged with the `DUAL_REGION` quorum type forms a
   * write quorum with exactly two read-write regions in a multi-region
   * configuration. This instance configuration requires failover in the event
   * of regional failures.
   */
  public const QUORUM_TYPE_DUAL_REGION = 'DUAL_REGION';
  /**
   * An instance configuration tagged with the `MULTI_REGION` quorum type forms
   * a write quorum from replicas that are spread across more than one region in
   * a multi-region configuration.
   */
  public const QUORUM_TYPE_MULTI_REGION = 'MULTI_REGION';
  /**
   * Not specified.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The instance configuration is still being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The instance configuration is fully created and ready to be used to create
   * instances.
   */
  public const STATE_READY = 'READY';
  protected $collection_key = 'replicas';
  /**
   * Base configuration name, e.g. projects//instanceConfigs/nam3, based on
   * which this configuration is created. Only set for user-managed
   * configurations. `base_config` must refer to a configuration of type
   * `GOOGLE_MANAGED` in the same project as this configuration.
   *
   * @var string
   */
  public $baseConfig;
  /**
   * Output only. Whether this instance configuration is a Google-managed or
   * user-managed configuration.
   *
   * @var string
   */
  public $configType;
  /**
   * The name of this instance configuration as it appears in UIs.
   *
   * @var string
   */
  public $displayName;
  /**
   * etag is used for optimistic concurrency control as a way to help prevent
   * simultaneous updates of a instance configuration from overwriting each
   * other. It is strongly suggested that systems make use of the etag in the
   * read-modify-write cycle to perform instance configuration updates in order
   * to avoid race conditions: An etag is returned in the response which
   * contains instance configurations, and systems are expected to put that etag
   * in the request to update instance configuration to ensure that their change
   * is applied to the same version of the instance configuration. If no etag is
   * provided in the call to update the instance configuration, then the
   * existing instance configuration is overwritten blindly.
   *
   * @var string
   */
  public $etag;
  /**
   * Output only. Describes whether free instances are available to be created
   * in this instance configuration.
   *
   * @var string
   */
  public $freeInstanceAvailability;
  /**
   * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
   * resources into groups that reflect a customer's organizational needs and
   * deployment strategies. Cloud Labels can be used to filter collections of
   * resources. They can be used to control how resource metrics are aggregated.
   * And they can be used as arguments to policy management rules (e.g. route,
   * firewall, load balancing, etc.). * Label keys must be between 1 and 63
   * characters long and must conform to the following regular expression:
   * `a-z{0,62}`. * Label values must be between 0 and 63 characters long and
   * must conform to the regular expression `[a-z0-9_-]{0,63}`. * No more than
   * 64 labels can be associated with a given resource. See
   * https://goo.gl/xmQnxf for more information on and examples of labels. If
   * you plan to use labels in your own code, please note that additional
   * characters may be allowed in the future. Therefore, you are advised to use
   * an internal label representation, such as JSON, which doesn't rely upon
   * specific characters being disallowed. For example, representing labels as
   * the string: name + "_" + value would prove problematic if we were to allow
   * "_" in a future release.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Allowed values of the "default_leader" schema option for databases in
   * instances that use this instance configuration.
   *
   * @var string[]
   */
  public $leaderOptions;
  /**
   * A unique identifier for the instance configuration. Values are of the form
   * `projects//instanceConfigs/a-z*`. User instance configuration must start
   * with `custom-`.
   *
   * @var string
   */
  public $name;
  protected $optionalReplicasType = ReplicaInfo::class;
  protected $optionalReplicasDataType = 'array';
  /**
   * Output only. The `QuorumType` of the instance configuration.
   *
   * @var string
   */
  public $quorumType;
  /**
   * Output only. If true, the instance configuration is being created or
   * updated. If false, there are no ongoing operations for the instance
   * configuration.
   *
   * @var bool
   */
  public $reconciling;
  protected $replicasType = ReplicaInfo::class;
  protected $replicasDataType = 'array';
  /**
   * Output only. The current instance configuration state. Applicable only for
   * `USER_MANAGED` configurations.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. The storage limit in bytes per processing unit.
   *
   * @var string
   */
  public $storageLimitPerProcessingUnit;

  /**
   * Base configuration name, e.g. projects//instanceConfigs/nam3, based on
   * which this configuration is created. Only set for user-managed
   * configurations. `base_config` must refer to a configuration of type
   * `GOOGLE_MANAGED` in the same project as this configuration.
   *
   * @param string $baseConfig
   */
  public function setBaseConfig($baseConfig)
  {
    $this->baseConfig = $baseConfig;
  }
  /**
   * @return string
   */
  public function getBaseConfig()
  {
    return $this->baseConfig;
  }
  /**
   * Output only. Whether this instance configuration is a Google-managed or
   * user-managed configuration.
   *
   * Accepted values: TYPE_UNSPECIFIED, GOOGLE_MANAGED, USER_MANAGED
   *
   * @param self::CONFIG_TYPE_* $configType
   */
  public function setConfigType($configType)
  {
    $this->configType = $configType;
  }
  /**
   * @return self::CONFIG_TYPE_*
   */
  public function getConfigType()
  {
    return $this->configType;
  }
  /**
   * The name of this instance configuration as it appears in UIs.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * etag is used for optimistic concurrency control as a way to help prevent
   * simultaneous updates of a instance configuration from overwriting each
   * other. It is strongly suggested that systems make use of the etag in the
   * read-modify-write cycle to perform instance configuration updates in order
   * to avoid race conditions: An etag is returned in the response which
   * contains instance configurations, and systems are expected to put that etag
   * in the request to update instance configuration to ensure that their change
   * is applied to the same version of the instance configuration. If no etag is
   * provided in the call to update the instance configuration, then the
   * existing instance configuration is overwritten blindly.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Output only. Describes whether free instances are available to be created
   * in this instance configuration.
   *
   * Accepted values: FREE_INSTANCE_AVAILABILITY_UNSPECIFIED, AVAILABLE,
   * UNSUPPORTED, DISABLED, QUOTA_EXCEEDED
   *
   * @param self::FREE_INSTANCE_AVAILABILITY_* $freeInstanceAvailability
   */
  public function setFreeInstanceAvailability($freeInstanceAvailability)
  {
    $this->freeInstanceAvailability = $freeInstanceAvailability;
  }
  /**
   * @return self::FREE_INSTANCE_AVAILABILITY_*
   */
  public function getFreeInstanceAvailability()
  {
    return $this->freeInstanceAvailability;
  }
  /**
   * Cloud Labels are a flexible and lightweight mechanism for organizing cloud
   * resources into groups that reflect a customer's organizational needs and
   * deployment strategies. Cloud Labels can be used to filter collections of
   * resources. They can be used to control how resource metrics are aggregated.
   * And they can be used as arguments to policy management rules (e.g. route,
   * firewall, load balancing, etc.). * Label keys must be between 1 and 63
   * characters long and must conform to the following regular expression:
   * `a-z{0,62}`. * Label values must be between 0 and 63 characters long and
   * must conform to the regular expression `[a-z0-9_-]{0,63}`. * No more than
   * 64 labels can be associated with a given resource. See
   * https://goo.gl/xmQnxf for more information on and examples of labels. If
   * you plan to use labels in your own code, please note that additional
   * characters may be allowed in the future. Therefore, you are advised to use
   * an internal label representation, such as JSON, which doesn't rely upon
   * specific characters being disallowed. For example, representing labels as
   * the string: name + "_" + value would prove problematic if we were to allow
   * "_" in a future release.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Allowed values of the "default_leader" schema option for databases in
   * instances that use this instance configuration.
   *
   * @param string[] $leaderOptions
   */
  public function setLeaderOptions($leaderOptions)
  {
    $this->leaderOptions = $leaderOptions;
  }
  /**
   * @return string[]
   */
  public function getLeaderOptions()
  {
    return $this->leaderOptions;
  }
  /**
   * A unique identifier for the instance configuration. Values are of the form
   * `projects//instanceConfigs/a-z*`. User instance configuration must start
   * with `custom-`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The available optional replicas to choose from for user-
   * managed configurations. Populated for Google-managed configurations.
   *
   * @param ReplicaInfo[] $optionalReplicas
   */
  public function setOptionalReplicas($optionalReplicas)
  {
    $this->optionalReplicas = $optionalReplicas;
  }
  /**
   * @return ReplicaInfo[]
   */
  public function getOptionalReplicas()
  {
    return $this->optionalReplicas;
  }
  /**
   * Output only. The `QuorumType` of the instance configuration.
   *
   * Accepted values: QUORUM_TYPE_UNSPECIFIED, REGION, DUAL_REGION, MULTI_REGION
   *
   * @param self::QUORUM_TYPE_* $quorumType
   */
  public function setQuorumType($quorumType)
  {
    $this->quorumType = $quorumType;
  }
  /**
   * @return self::QUORUM_TYPE_*
   */
  public function getQuorumType()
  {
    return $this->quorumType;
  }
  /**
   * Output only. If true, the instance configuration is being created or
   * updated. If false, there are no ongoing operations for the instance
   * configuration.
   *
   * @param bool $reconciling
   */
  public function setReconciling($reconciling)
  {
    $this->reconciling = $reconciling;
  }
  /**
   * @return bool
   */
  public function getReconciling()
  {
    return $this->reconciling;
  }
  /**
   * The geographic placement of nodes in this instance configuration and their
   * replication properties. To create user-managed configurations, input
   * `replicas` must include all replicas in `replicas` of the `base_config` and
   * include one or more replicas in the `optional_replicas` of the
   * `base_config`.
   *
   * @param ReplicaInfo[] $replicas
   */
  public function setReplicas($replicas)
  {
    $this->replicas = $replicas;
  }
  /**
   * @return ReplicaInfo[]
   */
  public function getReplicas()
  {
    return $this->replicas;
  }
  /**
   * Output only. The current instance configuration state. Applicable only for
   * `USER_MANAGED` configurations.
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, READY
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. The storage limit in bytes per processing unit.
   *
   * @param string $storageLimitPerProcessingUnit
   */
  public function setStorageLimitPerProcessingUnit($storageLimitPerProcessingUnit)
  {
    $this->storageLimitPerProcessingUnit = $storageLimitPerProcessingUnit;
  }
  /**
   * @return string
   */
  public function getStorageLimitPerProcessingUnit()
  {
    return $this->storageLimitPerProcessingUnit;
  }
}

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