📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AppProfile.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AuthorizedView.php
▶ Open 📄 View Source
🐘 AutomatedBackupPolicy.php
▶ Open 📄 View Source
🐘 AutoscalingLimits.php
▶ Open 📄 View Source
🐘 AutoscalingTargets.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupInfo.php
▶ Open 📄 View Source
🐘 BigtableadminEmpty.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 ChangeStreamConfig.php
▶ Open 📄 View Source
🐘 CheckConsistencyRequest.php
▶ Open 📄 View Source
🐘 CheckConsistencyResponse.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterAutoscalingConfig.php
▶ Open 📄 View Source
🐘 ClusterConfig.php
▶ Open 📄 View Source
🐘 ClusterState.php
▶ Open 📄 View Source
🐘 ColumnFamily.php
▶ Open 📄 View Source
🐘 ColumnFamilyStats.php
▶ Open 📄 View Source
🐘 CopyBackupMetadata.php
▶ Open 📄 View Source
🐘 CopyBackupRequest.php
▶ Open 📄 View Source
🐘 CreateAuthorizedViewMetadata.php
▶ Open 📄 View Source
🐘 CreateAuthorizedViewRequest.php
▶ Open 📄 View Source
🐘 CreateBackupMetadata.php
▶ Open 📄 View Source
🐘 CreateClusterMetadata.php
▶ Open 📄 View Source
🐘 CreateClusterRequest.php
▶ Open 📄 View Source
🐘 CreateInstanceMetadata.php
▶ Open 📄 View Source
🐘 CreateInstanceRequest.php
▶ Open 📄 View Source
🐘 CreateLogicalViewMetadata.php
▶ Open 📄 View Source
🐘 CreateLogicalViewRequest.php
▶ Open 📄 View Source
🐘 CreateMaterializedViewMetadata.php
▶ Open 📄 View Source
🐘 CreateMaterializedViewRequest.php
▶ Open 📄 View Source
🐘 CreateSchemaBundleMetadata.php
▶ Open 📄 View Source
🐘 CreateTableRequest.php
▶ Open 📄 View Source
🐘 DataBoostIsolationReadOnly.php
▶ Open 📄 View Source
🐘 DataBoostReadLocalWrites.php
▶ Open 📄 View Source
🐘 DropRowRangeRequest.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EncryptionInfo.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FailureTrace.php
▶ Open 📄 View Source
🐘 Frame.php
▶ Open 📄 View Source
🐘 GcRule.php
▶ Open 📄 View Source
🐘 GenerateConsistencyTokenRequest.php
▶ Open 📄 View Source
🐘 GenerateConsistencyTokenResponse.php
▶ Open 📄 View Source
🐘 GetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 GetPolicyOptions.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2AuthorizedViewFamilySubsets.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2AuthorizedViewSubsetView.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2MaterializedViewClusterState.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2MemoryLayerMemoryConfig.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeAggregate.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeAggregateMax.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeAggregateMin.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeAggregateSum.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeArray.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeBool.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeBoolEncoding.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeBytesEncoding.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeBytesEncodingRaw.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeDate.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeEnum.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeFloat32.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeFloat64.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeGeography.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt32.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt32Encoding.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt32EncodingBigEndianBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt32EncodingOrderedCodeBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt64.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt64Encoding.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeMap.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeProto.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeString.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStringEncoding.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStringEncodingUtf8Raw.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStruct.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStructEncoding.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStructEncodingSingleton.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeStructField.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeTimestamp.php
▶ Open 📄 View Source
🐘 GoogleBigtableAdminV2TypeTimestampEncoding.php
▶ Open 📄 View Source
🐘 HotTablet.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 Intersection.php
▶ Open 📄 View Source
🐘 ListAppProfilesResponse.php
▶ Open 📄 View Source
🐘 ListAuthorizedViewsResponse.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListHotTabletsResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListLogicalViewsResponse.php
▶ Open 📄 View Source
🐘 ListMaterializedViewsResponse.php
▶ Open 📄 View Source
🐘 ListMemoryLayersResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSchemaBundlesResponse.php
▶ Open 📄 View Source
🐘 ListTablesResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LogicalView.php
▶ Open 📄 View Source
🐘 MaterializedView.php
▶ Open 📄 View Source
🐘 MemoryConfig.php
▶ Open 📄 View Source
🐘 MemoryLayer.php
▶ Open 📄 View Source
🐘 Modification.php
▶ Open 📄 View Source
🐘 ModifyColumnFamiliesRequest.php
▶ Open 📄 View Source
🐘 MultiClusterRoutingUseAny.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationProgress.php
▶ Open 📄 View Source
🐘 OptimizeRestoredTableMetadata.php
▶ Open 📄 View Source
🐘 PartialUpdateClusterMetadata.php
▶ Open 📄 View Source
🐘 PartialUpdateClusterRequest.php
▶ Open 📄 View Source
🐘 PartialUpdateInstanceRequest.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 ProtoSchema.php
▶ Open 📄 View Source
🐘 RestoreInfo.php
▶ Open 📄 View Source
🐘 RestoreTableMetadata.php
▶ Open 📄 View Source
🐘 RestoreTableRequest.php
▶ Open 📄 View Source
🐘 RowAffinity.php
▶ Open 📄 View Source
🐘 SchemaBundle.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SingleClusterRouting.php
▶ Open 📄 View Source
🐘 Split.php
▶ Open 📄 View Source
🐘 StandardIsolation.php
▶ Open 📄 View Source
🐘 StandardReadRemoteWrites.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Table.php
▶ Open 📄 View Source
🐘 TableProgress.php
▶ Open 📄 View Source
🐘 TableStats.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TieredStorageConfig.php
▶ Open 📄 View Source
🐘 TieredStorageRule.php
▶ Open 📄 View Source
🐘 Type.php
▶ Open 📄 View Source
🐘 UndeleteTableMetadata.php
▶ Open 📄 View Source
🐘 UndeleteTableRequest.php
▶ Open 📄 View Source
🐘 Union.php
▶ Open 📄 View Source
🐘 UpdateAppProfileMetadata.php
▶ Open 📄 View Source
🐘 UpdateAuthorizedViewMetadata.php
▶ Open 📄 View Source
🐘 UpdateAuthorizedViewRequest.php
▶ Open 📄 View Source
🐘 UpdateClusterMetadata.php
▶ Open 📄 View Source
🐘 UpdateInstanceMetadata.php
▶ Open 📄 View Source
🐘 UpdateLogicalViewMetadata.php
▶ Open 📄 View Source
🐘 UpdateLogicalViewRequest.php
▶ Open 📄 View Source
🐘 UpdateMemoryLayerMetadata.php
▶ Open 📄 View Source
🐘 UpdateMemoryLayerRequest.php
▶ Open 📄 View Source
🐘 UpdateSchemaBundleMetadata.php
▶ Open 📄 View Source
🐘 UpdateTableMetadata.php
▶ Open 📄 View Source

📄 Source: Cluster.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\BigtableAdmin;

class Cluster extends \Google\Model
{
  /**
   * The user did not specify a storage type.
   */
  public const DEFAULT_STORAGE_TYPE_STORAGE_TYPE_UNSPECIFIED = 'STORAGE_TYPE_UNSPECIFIED';
  /**
   * Flash (SSD) storage should be used.
   */
  public const DEFAULT_STORAGE_TYPE_SSD = 'SSD';
  /**
   * Magnetic drive (HDD) storage should be used.
   */
  public const DEFAULT_STORAGE_TYPE_HDD = 'HDD';
  /**
   * No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
   */
  public const NODE_SCALING_FACTOR_NODE_SCALING_FACTOR_UNSPECIFIED = 'NODE_SCALING_FACTOR_UNSPECIFIED';
  /**
   * The cluster is running with a scaling factor of 1.
   */
  public const NODE_SCALING_FACTOR_NODE_SCALING_FACTOR_1X = 'NODE_SCALING_FACTOR_1X';
  /**
   * The cluster is running with a scaling factor of 2. All node count values
   * must be in increments of 2 with this scaling factor enabled, otherwise an
   * INVALID_ARGUMENT error will be returned.
   */
  public const NODE_SCALING_FACTOR_NODE_SCALING_FACTOR_2X = 'NODE_SCALING_FACTOR_2X';
  /**
   * The state of the cluster could not be determined.
   */
  public const STATE_STATE_NOT_KNOWN = 'STATE_NOT_KNOWN';
  /**
   * The cluster has been successfully created and is ready to serve requests.
   */
  public const STATE_READY = 'READY';
  /**
   * The cluster is currently being created, and may be destroyed if the
   * creation process encounters an error. A cluster may not be able to serve
   * requests while being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The cluster is currently being resized, and may revert to its previous node
   * count if the process encounters an error. A cluster is still capable of
   * serving requests while being resized, but may exhibit performance as if its
   * number of allocated nodes is between the starting and requested states.
   */
  public const STATE_RESIZING = 'RESIZING';
  /**
   * The cluster has no backing nodes. The data (tables) still exist, but no
   * operations can be performed on the cluster.
   */
  public const STATE_DISABLED = 'DISABLED';
  protected $clusterConfigType = ClusterConfig::class;
  protected $clusterConfigDataType = '';
  /**
   * Immutable. The type of storage used by this cluster to serve its parent
   * instance's tables, unless explicitly overridden.
   *
   * @var string
   */
  public $defaultStorageType;
  protected $encryptionConfigType = EncryptionConfig::class;
  protected $encryptionConfigDataType = '';
  /**
   * Immutable. The location where this cluster's nodes and storage reside. For
   * best performance, clients should be located as close as possible to this
   * cluster. Currently only zones are supported, so values should be of the
   * form `projects/{project}/locations/{zone}`.
   *
   * @var string
   */
  public $location;
  /**
   * The unique name of the cluster. Values are of the form
   * `projects/{project}/instances/{instance}/clusters/a-z*`.
   *
   * @var string
   */
  public $name;
  /**
   * Immutable. The node scaling factor of this cluster.
   *
   * @var string
   */
  public $nodeScalingFactor;
  /**
   * The number of nodes in the cluster. If no value is set, Cloud Bigtable
   * automatically allocates nodes based on your data footprint and optimized
   * for 50% storage utilization.
   *
   * @var int
   */
  public $serveNodes;
  /**
   * Output only. The current state of the cluster.
   *
   * @var string
   */
  public $state;

  /**
   * Configuration for this cluster.
   *
   * @param ClusterConfig $clusterConfig
   */
  public function setClusterConfig(ClusterConfig $clusterConfig)
  {
    $this->clusterConfig = $clusterConfig;
  }
  /**
   * @return ClusterConfig
   */
  public function getClusterConfig()
  {
    return $this->clusterConfig;
  }
  /**
   * Immutable. The type of storage used by this cluster to serve its parent
   * instance's tables, unless explicitly overridden.
   *
   * Accepted values: STORAGE_TYPE_UNSPECIFIED, SSD, HDD
   *
   * @param self::DEFAULT_STORAGE_TYPE_* $defaultStorageType
   */
  public function setDefaultStorageType($defaultStorageType)
  {
    $this->defaultStorageType = $defaultStorageType;
  }
  /**
   * @return self::DEFAULT_STORAGE_TYPE_*
   */
  public function getDefaultStorageType()
  {
    return $this->defaultStorageType;
  }
  /**
   * Immutable. The encryption configuration for CMEK-protected clusters.
   *
   * @param EncryptionConfig $encryptionConfig
   */
  public function setEncryptionConfig(EncryptionConfig $encryptionConfig)
  {
    $this->encryptionConfig = $encryptionConfig;
  }
  /**
   * @return EncryptionConfig
   */
  public function getEncryptionConfig()
  {
    return $this->encryptionConfig;
  }
  /**
   * Immutable. The location where this cluster's nodes and storage reside. For
   * best performance, clients should be located as close as possible to this
   * cluster. Currently only zones are supported, so values should be of the
   * form `projects/{project}/locations/{zone}`.
   *
   * @param string $location
   */
  public function setLocation($location)
  {
    $this->location = $location;
  }
  /**
   * @return string
   */
  public function getLocation()
  {
    return $this->location;
  }
  /**
   * The unique name of the cluster. Values are of the form
   * `projects/{project}/instances/{instance}/clusters/a-z*`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Immutable. The node scaling factor of this cluster.
   *
   * Accepted values: NODE_SCALING_FACTOR_UNSPECIFIED, NODE_SCALING_FACTOR_1X,
   * NODE_SCALING_FACTOR_2X
   *
   * @param self::NODE_SCALING_FACTOR_* $nodeScalingFactor
   */
  public function setNodeScalingFactor($nodeScalingFactor)
  {
    $this->nodeScalingFactor = $nodeScalingFactor;
  }
  /**
   * @return self::NODE_SCALING_FACTOR_*
   */
  public function getNodeScalingFactor()
  {
    return $this->nodeScalingFactor;
  }
  /**
   * The number of nodes in the cluster. If no value is set, Cloud Bigtable
   * automatically allocates nodes based on your data footprint and optimized
   * for 50% storage utilization.
   *
   * @param int $serveNodes
   */
  public function setServeNodes($serveNodes)
  {
    $this->serveNodes = $serveNodes;
  }
  /**
   * @return int
   */
  public function getServeNodes()
  {
    return $this->serveNodes;
  }
  /**
   * Output only. The current state of the cluster.
   *
   * Accepted values: STATE_NOT_KNOWN, READY, CREATING, RESIZING, DISABLED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
}

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