📂 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: Policy.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 Policy extends \Google\Collection
{
  protected $collection_key = 'bindings';
  protected $auditConfigsType = AuditConfig::class;
  protected $auditConfigsDataType = 'array';
  protected $bindingsType = Binding::class;
  protected $bindingsDataType = 'array';
  /**
   * `etag` is used for optimistic concurrency control as a way to help prevent
   * simultaneous updates of a policy from overwriting each other. It is
   * strongly suggested that systems make use of the `etag` in the read-modify-
   * write cycle to perform policy updates in order to avoid race conditions: An
   * `etag` is returned in the response to `getIamPolicy`, and systems are
   * expected to put that etag in the request to `setIamPolicy` to ensure that
   * their change will be applied to the same version of the policy.
   * **Important:** If you use IAM Conditions, you must include the `etag` field
   * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
   * you to overwrite a version `3` policy with a version `1` policy, and all of
   * the conditions in the version `3` policy are lost.
   *
   * @var string
   */
  public $etag;
  /**
   * Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
   * Requests that specify an invalid value are rejected. Any operation that
   * affects conditional role bindings must specify version `3`. This
   * requirement applies to the following operations: * Getting a policy that
   * includes a conditional role binding * Adding a conditional role binding to
   * a policy * Changing a conditional role binding in a policy * Removing any
   * role binding, with or without a condition, from a policy that includes
   * conditions **Important:** If you use IAM Conditions, you must include the
   * `etag` field whenever you call `setIamPolicy`. If you omit this field, then
   * IAM allows you to overwrite a version `3` policy with a version `1` policy,
   * and all of the conditions in the version `3` policy are lost. If a policy
   * does not include any conditions, operations on that policy may specify any
   * valid version or leave the field unset. To learn which resources support
   * conditions in their IAM policies, see the [IAM
   * documentation](https://cloud.google.com/iam/help/conditions/resource-
   * policies).
   *
   * @var int
   */
  public $version;

  /**
   * Specifies cloud audit logging configuration for this policy.
   *
   * @param AuditConfig[] $auditConfigs
   */
  public function setAuditConfigs($auditConfigs)
  {
    $this->auditConfigs = $auditConfigs;
  }
  /**
   * @return AuditConfig[]
   */
  public function getAuditConfigs()
  {
    return $this->auditConfigs;
  }
  /**
   * Associates a list of `members`, or principals, with a `role`. Optionally,
   * may specify a `condition` that determines how and when the `bindings` are
   * applied. Each of the `bindings` must contain at least one principal. The
   * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of
   * these principals can be Google groups. Each occurrence of a principal
   * counts towards these limits. For example, if the `bindings` grant 50
   * different roles to `user:alice@example.com`, and not to any other
   * principal, then you can add another 1,450 principals to the `bindings` in
   * the `Policy`.
   *
   * @param Binding[] $bindings
   */
  public function setBindings($bindings)
  {
    $this->bindings = $bindings;
  }
  /**
   * @return Binding[]
   */
  public function getBindings()
  {
    return $this->bindings;
  }
  /**
   * `etag` is used for optimistic concurrency control as a way to help prevent
   * simultaneous updates of a policy from overwriting each other. It is
   * strongly suggested that systems make use of the `etag` in the read-modify-
   * write cycle to perform policy updates in order to avoid race conditions: An
   * `etag` is returned in the response to `getIamPolicy`, and systems are
   * expected to put that etag in the request to `setIamPolicy` to ensure that
   * their change will be applied to the same version of the policy.
   * **Important:** If you use IAM Conditions, you must include the `etag` field
   * whenever you call `setIamPolicy`. If you omit this field, then IAM allows
   * you to overwrite a version `3` policy with a version `1` policy, and all of
   * the conditions in the version `3` policy are lost.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
   * Requests that specify an invalid value are rejected. Any operation that
   * affects conditional role bindings must specify version `3`. This
   * requirement applies to the following operations: * Getting a policy that
   * includes a conditional role binding * Adding a conditional role binding to
   * a policy * Changing a conditional role binding in a policy * Removing any
   * role binding, with or without a condition, from a policy that includes
   * conditions **Important:** If you use IAM Conditions, you must include the
   * `etag` field whenever you call `setIamPolicy`. If you omit this field, then
   * IAM allows you to overwrite a version `3` policy with a version `1` policy,
   * and all of the conditions in the version `3` policy are lost. If a policy
   * does not include any conditions, operations on that policy may specify any
   * valid version or leave the field unset. To learn which resources support
   * conditions in their IAM policies, see the [IAM
   * documentation](https://cloud.google.com/iam/help/conditions/resource-
   * policies).
   *
   * @param int $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return int
   */
  public function getVersion()
  {
    return $this->version;
  }
}

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