📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AlterMetadataResourceLocationRequest.php
▶ Open 📄 View Source
🐘 AlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 AlterTablePropertiesRequest.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AutoscalingConfig.php
▶ Open 📄 View Source
🐘 AuxiliaryVersionConfig.php
▶ Open 📄 View Source
🐘 BackendMetastore.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelMigrationRequest.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CdcConfig.php
▶ Open 📄 View Source
🐘 CloudSQLConnectionConfig.php
▶ Open 📄 View Source
🐘 CloudSQLMigrationConfig.php
▶ Open 📄 View Source
🐘 CompleteMigrationRequest.php
▶ Open 📄 View Source
🐘 Consumer.php
▶ Open 📄 View Source
🐘 CustomRegionMetadata.php
▶ Open 📄 View Source
🐘 DataCatalogConfig.php
▶ Open 📄 View Source
🐘 DatabaseDump.php
▶ Open 📄 View Source
🐘 DataplexConfig.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 ErrorDetails.php
▶ Open 📄 View Source
🐘 ExportMetadataRequest.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 Federation.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1CustomRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1ErrorDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1HiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1LocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1MoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1MultiRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1QueryMetadataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaCancelMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaCompleteMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaCustomRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaErrorDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaHiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaLocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaMultiRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaQueryMetadataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaCancelMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaCompleteMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaCustomRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaErrorDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaHiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaLocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaMultiRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaQueryMetadataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2AlterTablePropertiesRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2AuxiliaryVersionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2Backup.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2DataCatalogConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2DatabaseDump.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2EncryptionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2Endpoint.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ExportMetadataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2HiveMetastoreConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ImportMetadataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2LatestBackup.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ListBackupsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2MetadataIntegration.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2MoveTableToDatabaseRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2QueryMetadataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2RestoreServiceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ScalingConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ScheduledBackup.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2Service.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 HiveMetastoreConfig.php
▶ Open 📄 View Source
🐘 HiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 KerberosConfig.php
▶ Open 📄 View Source
🐘 Lake.php
▶ Open 📄 View Source
🐘 LatestBackup.php
▶ Open 📄 View Source
🐘 LimitConfig.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListFederationsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMetadataImportsResponse.php
▶ Open 📄 View Source
🐘 ListMigrationExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MessageSet.php
▶ Open 📄 View Source
🐘 MetadataExport.php
▶ Open 📄 View Source
🐘 MetadataImport.php
▶ Open 📄 View Source
🐘 MetadataIntegration.php
▶ Open 📄 View Source
🐘 MetadataManagementActivity.php
▶ Open 📄 View Source
🐘 MetastoreEmpty.php
▶ Open 📄 View Source
🐘 MigrationExecution.php
▶ Open 📄 View Source
🐘 MoveTableToDatabaseRequest.php
▶ Open 📄 View Source
🐘 MoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 MultiRegionMetadata.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 QueryMetadataRequest.php
▶ Open 📄 View Source
🐘 QueryMetadataResponse.php
▶ Open 📄 View Source
🐘 RemoveIamPolicyRequest.php
▶ Open 📄 View Source
🐘 RemoveIamPolicyResponse.php
▶ Open 📄 View Source
🐘 Restore.php
▶ Open 📄 View Source
🐘 RestoreServiceRequest.php
▶ Open 📄 View Source
🐘 ScalingConfig.php
▶ Open 📄 View Source
🐘 ScheduledBackup.php
▶ Open 📄 View Source
🐘 Secret.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 StartMigrationRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusProto.php
▶ Open 📄 View Source
🐘 TelemetryConfig.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source

📄 Source: Federation.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\DataprocMetastore;

class Federation extends \Google\Model
{
  /**
   * The state of the metastore federation is unknown.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The metastore federation is in the process of being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The metastore federation is running and ready to serve queries.
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * The metastore federation is being updated. It remains usable but cannot
   * accept additional update requests or be deleted at this time.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * The metastore federation is undergoing deletion. It cannot be used.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * The metastore federation has encountered an error and cannot be used. The
   * metastore federation should be deleted.
   */
  public const STATE_ERROR = 'ERROR';
  protected $backendMetastoresType = BackendMetastore::class;
  protected $backendMetastoresDataType = 'map';
  /**
   * Output only. The time when the metastore federation was created.
   *
   * @var string
   */
  public $createTime;
  /**
   * Output only. The federation endpoint.
   *
   * @var string
   */
  public $endpointUri;
  /**
   * User-defined labels for the metastore federation.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Immutable. The relative resource name of the federation, of the form: proje
   * cts/{project_number}/locations/{location_id}/federations/{federation_id}`.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. The current state of the federation.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. Additional information about the current state of the
   * metastore federation, if available.
   *
   * @var string
   */
  public $stateMessage;
  /**
   * Optional. Input only. Immutable. Tag keys/values directly bound to this
   * resource. For example: "123/environment": "production", "123/costCenter":
   * "marketing"
   *
   * @var string[]
   */
  public $tags;
  /**
   * Output only. The globally unique resource identifier of the metastore
   * federation.
   *
   * @var string
   */
  public $uid;
  /**
   * Output only. The time when the metastore federation was last updated.
   *
   * @var string
   */
  public $updateTime;
  /**
   * Immutable. The Apache Hive metastore version of the federation. All backend
   * metastore versions must be compatible with the federation version.
   *
   * @var string
   */
  public $version;

  /**
   * A map from BackendMetastore rank to BackendMetastores from which the
   * federation service serves metadata at query time. The map key represents
   * the order in which BackendMetastores should be evaluated to resolve
   * database names at query time and should be greater than or equal to zero. A
   * BackendMetastore with a lower number will be evaluated before a
   * BackendMetastore with a higher number.
   *
   * @param BackendMetastore[] $backendMetastores
   */
  public function setBackendMetastores($backendMetastores)
  {
    $this->backendMetastores = $backendMetastores;
  }
  /**
   * @return BackendMetastore[]
   */
  public function getBackendMetastores()
  {
    return $this->backendMetastores;
  }
  /**
   * Output only. The time when the metastore federation was created.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. The federation endpoint.
   *
   * @param string $endpointUri
   */
  public function setEndpointUri($endpointUri)
  {
    $this->endpointUri = $endpointUri;
  }
  /**
   * @return string
   */
  public function getEndpointUri()
  {
    return $this->endpointUri;
  }
  /**
   * User-defined labels for the metastore federation.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Immutable. The relative resource name of the federation, of the form: proje
   * cts/{project_number}/locations/{location_id}/federations/{federation_id}`.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The current state of the federation.
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, ACTIVE, UPDATING, DELETING,
   * ERROR
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. Additional information about the current state of the
   * metastore federation, if available.
   *
   * @param string $stateMessage
   */
  public function setStateMessage($stateMessage)
  {
    $this->stateMessage = $stateMessage;
  }
  /**
   * @return string
   */
  public function getStateMessage()
  {
    return $this->stateMessage;
  }
  /**
   * Optional. Input only. Immutable. Tag keys/values directly bound to this
   * resource. For example: "123/environment": "production", "123/costCenter":
   * "marketing"
   *
   * @param string[] $tags
   */
  public function setTags($tags)
  {
    $this->tags = $tags;
  }
  /**
   * @return string[]
   */
  public function getTags()
  {
    return $this->tags;
  }
  /**
   * Output only. The globally unique resource identifier of the metastore
   * federation.
   *
   * @param string $uid
   */
  public function setUid($uid)
  {
    $this->uid = $uid;
  }
  /**
   * @return string
   */
  public function getUid()
  {
    return $this->uid;
  }
  /**
   * Output only. The time when the metastore federation was last updated.
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
  /**
   * Immutable. The Apache Hive metastore version of the federation. All backend
   * metastore versions must be compatible with the federation version.
   *
   * @param string $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return string
   */
  public function getVersion()
  {
    return $this->version;
  }
}

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