📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AlloyDbConnectionProfile.php
▶ Open 📄 View Source
🐘 AlloyDbSettings.php
▶ Open 📄 View Source
🐘 ApplyConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 ApplyHash.php
▶ Open 📄 View Source
🐘 ApplyJobDetails.php
▶ Open 📄 View Source
🐘 AssignSpecificValue.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AuthorizedNetwork.php
▶ Open 📄 View Source
🐘 BackgroundJobLogEntry.php
▶ Open 📄 View Source
🐘 BadRequest.php
▶ Open 📄 View Source
🐘 BinaryLogParser.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudSqlConnectionProfile.php
▶ Open 📄 View Source
🐘 CloudSqlSettings.php
▶ Open 📄 View Source
🐘 ColumnEntity.php
▶ Open 📄 View Source
🐘 CommitConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 ConditionalColumnSetValue.php
▶ Open 📄 View Source
🐘 ConnectionProfile.php
▶ Open 📄 View Source
🐘 ConstraintEntity.php
▶ Open 📄 View Source
🐘 ConversionWorkspace.php
▶ Open 📄 View Source
🐘 ConversionWorkspaceInfo.php
▶ Open 📄 View Source
🐘 ConvertConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 ConvertJobDetails.php
▶ Open 📄 View Source
🐘 ConvertRowIdToColumn.php
▶ Open 📄 View Source
🐘 DataCacheConfig.php
▶ Open 📄 View Source
🐘 DatabaseEngineInfo.php
▶ Open 📄 View Source
🐘 DatabaseEntity.php
▶ Open 📄 View Source
🐘 DatabaseInstanceEntity.php
▶ Open 📄 View Source
🐘 DatabaseType.php
▶ Open 📄 View Source
🐘 DatamigrationEmpty.php
▶ Open 📄 View Source
🐘 DebugInfo.php
▶ Open 📄 View Source
🐘 DemoteDestinationRequest.php
▶ Open 📄 View Source
🐘 DescribeConversionWorkspaceRevisionsResponse.php
▶ Open 📄 View Source
🐘 DescribeDatabaseEntitiesResponse.php
▶ Open 📄 View Source
🐘 DoubleComparisonFilter.php
▶ Open 📄 View Source
🐘 DumpFlag.php
▶ Open 📄 View Source
🐘 DumpFlags.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EntityDdl.php
▶ Open 📄 View Source
🐘 EntityIssue.php
▶ Open 📄 View Source
🐘 EntityMapping.php
▶ Open 📄 View Source
🐘 EntityMappingLogEntry.php
▶ Open 📄 View Source
🐘 EntityMove.php
▶ Open 📄 View Source
🐘 ErrorInfo.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FetchStaticIpsResponse.php
▶ Open 📄 View Source
🐘 FieldViolation.php
▶ Open 📄 View Source
🐘 FilterTableColumns.php
▶ Open 📄 View Source
🐘 ForwardSshTunnelConnectivity.php
▶ Open 📄 View Source
🐘 FunctionEntity.php
▶ Open 📄 View Source
🐘 GenerateSshScriptRequest.php
▶ Open 📄 View Source
🐘 GenerateTcpProxyScriptRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudClouddmsV1OperationMetadata.php
▶ Open 📄 View Source
🐘 Help.php
▶ Open 📄 View Source
🐘 HeterogeneousMetadata.php
▶ Open 📄 View Source
🐘 ImportMappingRulesRequest.php
▶ Open 📄 View Source
🐘 ImportRulesJobDetails.php
▶ Open 📄 View Source
🐘 IndexEntity.php
▶ Open 📄 View Source
🐘 InstanceNetworkConfig.php
▶ Open 📄 View Source
🐘 IntComparisonFilter.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 ListConnectionProfilesResponse.php
▶ Open 📄 View Source
🐘 ListConversionWorkspacesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMappingRulesResponse.php
▶ Open 📄 View Source
🐘 ListMigrationJobObjectsResponse.php
▶ Open 📄 View Source
🐘 ListMigrationJobsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListPrivateConnectionsResponse.php
▶ Open 📄 View Source
🐘 LocalizedMessage.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LogFileDirectories.php
▶ Open 📄 View Source
🐘 LogMiner.php
▶ Open 📄 View Source
🐘 LookupMigrationJobObjectRequest.php
▶ Open 📄 View Source
🐘 MachineConfig.php
▶ Open 📄 View Source
🐘 MappingRule.php
▶ Open 📄 View Source
🐘 MappingRuleFilter.php
▶ Open 📄 View Source
🐘 MaterializedViewEntity.php
▶ Open 📄 View Source
🐘 MigrationJob.php
▶ Open 📄 View Source
🐘 MigrationJobObject.php
▶ Open 📄 View Source
🐘 MigrationJobObjectsConfig.php
▶ Open 📄 View Source
🐘 MigrationJobVerificationError.php
▶ Open 📄 View Source
🐘 MultiColumnDatatypeChange.php
▶ Open 📄 View Source
🐘 MultiEntityRename.php
▶ Open 📄 View Source
🐘 MySqlConnectionProfile.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OracleAsmConfig.php
▶ Open 📄 View Source
🐘 OracleAsmLogFileAccess.php
▶ Open 📄 View Source
🐘 OracleConnectionProfile.php
▶ Open 📄 View Source
🐘 OracleSourceConfig.php
▶ Open 📄 View Source
🐘 OracleToPostgresConfig.php
▶ Open 📄 View Source
🐘 PackageEntity.php
▶ Open 📄 View Source
🐘 PerformanceConfig.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 Position.php
▶ Open 📄 View Source
🐘 PostgreSqlConnectionProfile.php
▶ Open 📄 View Source
🐘 PostgresDestinationConfig.php
▶ Open 📄 View Source
🐘 PostgresSourceConfig.php
▶ Open 📄 View Source
🐘 PostgresToSqlServerConfig.php
▶ Open 📄 View Source
🐘 PreconditionFailure.php
▶ Open 📄 View Source
🐘 PreconditionFailureViolation.php
▶ Open 📄 View Source
🐘 PrimaryInstanceSettings.php
▶ Open 📄 View Source
🐘 PrivateConnection.php
▶ Open 📄 View Source
🐘 PrivateConnectivity.php
▶ Open 📄 View Source
🐘 PrivateServiceConnectConnectivity.php
▶ Open 📄 View Source
🐘 PromoteMigrationJobRequest.php
▶ Open 📄 View Source
🐘 PscInterfaceConfig.php
▶ Open 📄 View Source
🐘 QuotaFailure.php
▶ Open 📄 View Source
🐘 QuotaFailureViolation.php
▶ Open 📄 View Source
🐘 RequestInfo.php
▶ Open 📄 View Source
🐘 ResourceInfo.php
▶ Open 📄 View Source
🐘 RestartMigrationJobRequest.php
▶ Open 📄 View Source
🐘 ResumeMigrationJobRequest.php
▶ Open 📄 View Source
🐘 RetryInfo.php
▶ Open 📄 View Source
🐘 ReverseSshConnectivity.php
▶ Open 📄 View Source
🐘 RollbackConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 RoundToScale.php
▶ Open 📄 View Source
🐘 RulesFile.php
▶ Open 📄 View Source
🐘 SchemaEntity.php
▶ Open 📄 View Source
🐘 SearchBackgroundJobsResponse.php
▶ Open 📄 View Source
🐘 SeedConversionWorkspaceRequest.php
▶ Open 📄 View Source
🐘 SeedJobDetails.php
▶ Open 📄 View Source
🐘 SequenceEntity.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SetTablePrimaryKey.php
▶ Open 📄 View Source
🐘 SingleColumnChange.php
▶ Open 📄 View Source
🐘 SingleEntityRename.php
▶ Open 📄 View Source
🐘 SinglePackageChange.php
▶ Open 📄 View Source
🐘 SourceNumericFilter.php
▶ Open 📄 View Source
🐘 SourceObjectConfig.php
▶ Open 📄 View Source
🐘 SourceObjectIdentifier.php
▶ Open 📄 View Source
🐘 SourceObjectsConfig.php
▶ Open 📄 View Source
🐘 SourceSqlChange.php
▶ Open 📄 View Source
🐘 SourceTextFilter.php
▶ Open 📄 View Source
🐘 SqlAclEntry.php
▶ Open 📄 View Source
🐘 SqlIpConfig.php
▶ Open 📄 View Source
🐘 SqlServerBackups.php
▶ Open 📄 View Source
🐘 SqlServerConnectionProfile.php
▶ Open 📄 View Source
🐘 SqlServerDagConfig.php
▶ Open 📄 View Source
🐘 SqlServerDatabaseBackup.php
▶ Open 📄 View Source
🐘 SqlServerDestinationConfig.php
▶ Open 📄 View Source
🐘 SqlServerEncryptionOptions.php
▶ Open 📄 View Source
🐘 SqlServerHomogeneousMigrationJobConfig.php
▶ Open 📄 View Source
🐘 SqlServerSourceConfig.php
▶ Open 📄 View Source
🐘 SqlServerToPostgresConfig.php
▶ Open 📄 View Source
🐘 SshScript.php
▶ Open 📄 View Source
🐘 SslConfig.php
▶ Open 📄 View Source
🐘 StartMigrationJobRequest.php
▶ Open 📄 View Source
🐘 StaticIpConnectivity.php
▶ Open 📄 View Source
🐘 StaticServiceIpConnectivity.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopMigrationJobRequest.php
▶ Open 📄 View Source
🐘 StoredProcedureEntity.php
▶ Open 📄 View Source
🐘 SynonymEntity.php
▶ Open 📄 View Source
🐘 TableEntity.php
▶ Open 📄 View Source
🐘 TcpProxyScript.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TriggerEntity.php
▶ Open 📄 View Source
🐘 UDTEntity.php
▶ Open 📄 View Source
🐘 UserPassword.php
▶ Open 📄 View Source
🐘 ValueListFilter.php
▶ Open 📄 View Source
🐘 ValueTransformation.php
▶ Open 📄 View Source
🐘 VerifyMigrationJobRequest.php
▶ Open 📄 View Source
🐘 ViewEntity.php
▶ Open 📄 View Source
🐘 VmCreationConfig.php
▶ Open 📄 View Source
🐘 VmSelectionConfig.php
▶ Open 📄 View Source
🐘 VpcPeeringConfig.php
▶ Open 📄 View Source
🐘 VpcPeeringConnectivity.php
▶ Open 📄 View Source

📄 Source: ConnectionProfile.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\DatabaseMigrationService;

class ConnectionProfile extends \Google\Model
{
  /**
   * Use this value for on-premise source database instances and ORACLE.
   */
  public const PROVIDER_DATABASE_PROVIDER_UNSPECIFIED = 'DATABASE_PROVIDER_UNSPECIFIED';
  /**
   * Cloud SQL is the source instance provider.
   */
  public const PROVIDER_CLOUDSQL = 'CLOUDSQL';
  /**
   * Amazon RDS is the source instance provider.
   */
  public const PROVIDER_RDS = 'RDS';
  /**
   * Amazon Aurora is the source instance provider.
   */
  public const PROVIDER_AURORA = 'AURORA';
  /**
   * AlloyDB for PostgreSQL is the source instance provider.
   */
  public const PROVIDER_ALLOYDB = 'ALLOYDB';
  /**
   * Microsoft Azure Database for MySQL/PostgreSQL.
   */
  public const PROVIDER_AZURE_DATABASE = 'AZURE_DATABASE';
  /**
   * The role is unspecified.
   */
  public const ROLE_ROLE_UNSPECIFIED = 'ROLE_UNSPECIFIED';
  /**
   * The role is source.
   */
  public const ROLE_SOURCE = 'SOURCE';
  /**
   * The role is destination.
   */
  public const ROLE_DESTINATION = 'DESTINATION';
  /**
   * The state of the connection profile is unknown.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The connection profile is in draft mode and fully editable.
   */
  public const STATE_DRAFT = 'DRAFT';
  /**
   * The connection profile is being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The connection profile is ready.
   */
  public const STATE_READY = 'READY';
  /**
   * The connection profile is being updated.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * The connection profile is being deleted.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * The connection profile has been deleted.
   */
  public const STATE_DELETED = 'DELETED';
  /**
   * The last action on the connection profile failed.
   */
  public const STATE_FAILED = 'FAILED';
  protected $alloydbType = AlloyDbConnectionProfile::class;
  protected $alloydbDataType = '';
  protected $cloudsqlType = CloudSqlConnectionProfile::class;
  protected $cloudsqlDataType = '';
  /**
   * Output only. The timestamp when the resource was created. A timestamp in
   * RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example:
   * "2014-10-02T15:01:23.045123456Z".
   *
   * @var string
   */
  public $createTime;
  /**
   * The connection profile display name.
   *
   * @var string
   */
  public $displayName;
  protected $errorType = Status::class;
  protected $errorDataType = '';
  /**
   * The resource labels for connection profile to use to annotate any related
   * underlying resources such as Compute Engine VMs. An object containing a
   * list of "key": "value" pairs. Example: `{ "name": "wrench", "mass":
   * "1.3kg", "count": "3" }`.
   *
   * @var string[]
   */
  public $labels;
  protected $mysqlType = MySqlConnectionProfile::class;
  protected $mysqlDataType = '';
  /**
   * The name of this connection profile resource in the form of projects/{proje
   * ct}/locations/{location}/connectionProfiles/{connectionProfile}.
   *
   * @var string
   */
  public $name;
  protected $oracleType = OracleConnectionProfile::class;
  protected $oracleDataType = '';
  protected $postgresqlType = PostgreSqlConnectionProfile::class;
  protected $postgresqlDataType = '';
  /**
   * The database provider.
   *
   * @var string
   */
  public $provider;
  /**
   * Optional. The connection profile role.
   *
   * @var string
   */
  public $role;
  /**
   * Output only. Reserved for future use.
   *
   * @var bool
   */
  public $satisfiesPzi;
  /**
   * Output only. Reserved for future use.
   *
   * @var bool
   */
  public $satisfiesPzs;
  protected $sqlserverType = SqlServerConnectionProfile::class;
  protected $sqlserverDataType = '';
  /**
   * The current connection profile state (e.g. DRAFT, READY, or FAILED).
   *
   * @var string
   */
  public $state;
  /**
   * Output only. The timestamp when the resource was last updated. A timestamp
   * in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example:
   * "2014-10-02T15:01:23.045123456Z".
   *
   * @var string
   */
  public $updateTime;

  /**
   * An AlloyDB cluster connection profile.
   *
   * @param AlloyDbConnectionProfile $alloydb
   */
  public function setAlloydb(AlloyDbConnectionProfile $alloydb)
  {
    $this->alloydb = $alloydb;
  }
  /**
   * @return AlloyDbConnectionProfile
   */
  public function getAlloydb()
  {
    return $this->alloydb;
  }
  /**
   * A CloudSQL database connection profile.
   *
   * @param CloudSqlConnectionProfile $cloudsql
   */
  public function setCloudsql(CloudSqlConnectionProfile $cloudsql)
  {
    $this->cloudsql = $cloudsql;
  }
  /**
   * @return CloudSqlConnectionProfile
   */
  public function getCloudsql()
  {
    return $this->cloudsql;
  }
  /**
   * Output only. The timestamp when the resource was created. A timestamp in
   * RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example:
   * "2014-10-02T15:01:23.045123456Z".
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * The connection profile display name.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Output only. The error details in case of state FAILED.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * The resource labels for connection profile to use to annotate any related
   * underlying resources such as Compute Engine VMs. An object containing a
   * list of "key": "value" pairs. Example: `{ "name": "wrench", "mass":
   * "1.3kg", "count": "3" }`.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * A MySQL database connection profile.
   *
   * @param MySqlConnectionProfile $mysql
   */
  public function setMysql(MySqlConnectionProfile $mysql)
  {
    $this->mysql = $mysql;
  }
  /**
   * @return MySqlConnectionProfile
   */
  public function getMysql()
  {
    return $this->mysql;
  }
  /**
   * The name of this connection profile resource in the form of projects/{proje
   * ct}/locations/{location}/connectionProfiles/{connectionProfile}.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * An Oracle database connection profile.
   *
   * @param OracleConnectionProfile $oracle
   */
  public function setOracle(OracleConnectionProfile $oracle)
  {
    $this->oracle = $oracle;
  }
  /**
   * @return OracleConnectionProfile
   */
  public function getOracle()
  {
    return $this->oracle;
  }
  /**
   * A PostgreSQL database connection profile.
   *
   * @param PostgreSqlConnectionProfile $postgresql
   */
  public function setPostgresql(PostgreSqlConnectionProfile $postgresql)
  {
    $this->postgresql = $postgresql;
  }
  /**
   * @return PostgreSqlConnectionProfile
   */
  public function getPostgresql()
  {
    return $this->postgresql;
  }
  /**
   * The database provider.
   *
   * Accepted values: DATABASE_PROVIDER_UNSPECIFIED, CLOUDSQL, RDS, AURORA,
   * ALLOYDB, AZURE_DATABASE
   *
   * @param self::PROVIDER_* $provider
   */
  public function setProvider($provider)
  {
    $this->provider = $provider;
  }
  /**
   * @return self::PROVIDER_*
   */
  public function getProvider()
  {
    return $this->provider;
  }
  /**
   * Optional. The connection profile role.
   *
   * Accepted values: ROLE_UNSPECIFIED, SOURCE, DESTINATION
   *
   * @param self::ROLE_* $role
   */
  public function setRole($role)
  {
    $this->role = $role;
  }
  /**
   * @return self::ROLE_*
   */
  public function getRole()
  {
    return $this->role;
  }
  /**
   * Output only. Reserved for future use.
   *
   * @param bool $satisfiesPzi
   */
  public function setSatisfiesPzi($satisfiesPzi)
  {
    $this->satisfiesPzi = $satisfiesPzi;
  }
  /**
   * @return bool
   */
  public function getSatisfiesPzi()
  {
    return $this->satisfiesPzi;
  }
  /**
   * Output only. Reserved for future use.
   *
   * @param bool $satisfiesPzs
   */
  public function setSatisfiesPzs($satisfiesPzs)
  {
    $this->satisfiesPzs = $satisfiesPzs;
  }
  /**
   * @return bool
   */
  public function getSatisfiesPzs()
  {
    return $this->satisfiesPzs;
  }
  /**
   * Connection profile for a SQL Server data source.
   *
   * @param SqlServerConnectionProfile $sqlserver
   */
  public function setSqlserver(SqlServerConnectionProfile $sqlserver)
  {
    $this->sqlserver = $sqlserver;
  }
  /**
   * @return SqlServerConnectionProfile
   */
  public function getSqlserver()
  {
    return $this->sqlserver;
  }
  /**
   * The current connection profile state (e.g. DRAFT, READY, or FAILED).
   *
   * Accepted values: STATE_UNSPECIFIED, DRAFT, CREATING, READY, UPDATING,
   * DELETING, DELETED, FAILED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. The timestamp when the resource was last updated. A timestamp
   * in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example:
   * "2014-10-02T15:01:23.045123456Z".
   *
   * @param string $updateTime
   */
  public function setUpdateTime($updateTime)
  {
    $this->updateTime = $updateTime;
  }
  /**
   * @return string
   */
  public function getUpdateTime()
  {
    return $this->updateTime;
  }
}

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