πŸ“‚ File Browser

AgentAIv3/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: MigrationJobObject.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 MigrationJobObject extends \Google\Model
{
  /**
   * The phase of the migration job is unknown.
   */
  public const PHASE_PHASE_UNSPECIFIED = 'PHASE_UNSPECIFIED';
  /**
   * The migration job object is in the full dump phase.
   */
  public const PHASE_FULL_DUMP = 'FULL_DUMP';
  /**
   * The migration job object is in CDC phase.
   */
  public const PHASE_CDC = 'CDC';
  /**
   * The migration job object is ready to be promoted.
   */
  public const PHASE_READY_FOR_PROMOTE = 'READY_FOR_PROMOTE';
  /**
   * The migration job object is in running the promote phase.
   */
  public const PHASE_PROMOTE_IN_PROGRESS = 'PROMOTE_IN_PROGRESS';
  /**
   * The migration job is promoted.
   */
  public const PHASE_PROMOTED = 'PROMOTED';
  /**
   * The migration job object is in the differential backup phase.
   */
  public const PHASE_DIFF_BACKUP = 'DIFF_BACKUP';
  /**
   * The state of the migration job object is unknown.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The migration job object is not started.
   */
  public const STATE_NOT_STARTED = 'NOT_STARTED';
  /**
   * The migration job object is running.
   */
  public const STATE_RUNNING = 'RUNNING';
  /**
   * The migration job object is being stopped.
   */
  public const STATE_STOPPING = 'STOPPING';
  /**
   * The migration job object is currently stopped.
   */
  public const STATE_STOPPED = 'STOPPED';
  /**
   * The migration job object is restarting.
   */
  public const STATE_RESTARTING = 'RESTARTING';
  /**
   * The migration job object failed.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The migration job object is deleting.
   */
  public const STATE_REMOVING = 'REMOVING';
  /**
   * The migration job object is not selected for migration.
   */
  public const STATE_NOT_SELECTED = 'NOT_SELECTED';
  /**
   * The migration job object is completed.
   */
  public const STATE_COMPLETED = 'COMPLETED';
  /**
   * Output only. The creation time of the migration job object.
   *
   * @var string
   */
  public $createTime;
  protected $errorType = Status::class;
  protected $errorDataType = '';
  protected $heterogeneousMetadataType = HeterogeneousMetadata::class;
  protected $heterogeneousMetadataDataType = '';
  /**
   * The object's name.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. The phase of the migration job object.
   *
   * @var string
   */
  public $phase;
  protected $sourceObjectType = SourceObjectIdentifier::class;
  protected $sourceObjectDataType = '';
  /**
   * The state of the migration job object.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. The last update time of the migration job object.
   *
   * @var string
   */
  public $updateTime;

  /**
   * Output only. The creation time of the migration job object.
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. The error details in case of failure.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * Output only. Metadata for heterogeneous migration jobs objects.
   *
   * @param HeterogeneousMetadata $heterogeneousMetadata
   */
  public function setHeterogeneousMetadata(HeterogeneousMetadata $heterogeneousMetadata)
  {
    $this->heterogeneousMetadata = $heterogeneousMetadata;
  }
  /**
   * @return HeterogeneousMetadata
   */
  public function getHeterogeneousMetadata()
  {
    return $this->heterogeneousMetadata;
  }
  /**
   * The object's name.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The phase of the migration job object.
   *
   * Accepted values: PHASE_UNSPECIFIED, FULL_DUMP, CDC, READY_FOR_PROMOTE,
   * PROMOTE_IN_PROGRESS, PROMOTED, DIFF_BACKUP
   *
   * @param self::PHASE_* $phase
   */
  public function setPhase($phase)
  {
    $this->phase = $phase;
  }
  /**
   * @return self::PHASE_*
   */
  public function getPhase()
  {
    return $this->phase;
  }
  /**
   * The object identifier in the data source.
   *
   * @param SourceObjectIdentifier $sourceObject
   */
  public function setSourceObject(SourceObjectIdentifier $sourceObject)
  {
    $this->sourceObject = $sourceObject;
  }
  /**
   * @return SourceObjectIdentifier
   */
  public function getSourceObject()
  {
    return $this->sourceObject;
  }
  /**
   * The state of the migration job object.
   *
   * Accepted values: STATE_UNSPECIFIED, NOT_STARTED, RUNNING, STOPPING,
   * STOPPED, RESTARTING, FAILED, REMOVING, NOT_SELECTED, COMPLETED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. The last update time of the migration job object.
   *
   * @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(MigrationJobObject::class, 'Google_Service_DatabaseMigrationService_MigrationJobObject');
← Back