πŸ“‚ File Browser

AgentAI/vendor/google/apiclient-services/src/VMMigrationService
πŸŒ™ Dark Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 AccessKeyCredentials.php
β–Ά Open πŸ“„ View Source
🐘 AdaptationModifier.php
β–Ά Open πŸ“„ View Source
🐘 AdaptingOSStep.php
β–Ά Open πŸ“„ View Source
🐘 AddGroupMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 AddGroupMigrationResponse.php
β–Ά Open πŸ“„ View Source
🐘 ApplianceVersion.php
β–Ά Open πŸ“„ View Source
🐘 AppliedLicense.php
β–Ά Open πŸ“„ View Source
🐘 AvailableUpdates.php
β–Ά Open πŸ“„ View Source
🐘 AwsDiskDetails.php
β–Ά Open πŸ“„ View Source
🐘 AwsSecurityGroup.php
β–Ά Open πŸ“„ View Source
🐘 AwsSourceDetails.php
β–Ά Open πŸ“„ View Source
🐘 AwsSourceDiskDetails.php
β–Ά Open πŸ“„ View Source
🐘 AwsSourceVmDetails.php
β–Ά Open πŸ“„ View Source
🐘 AwsVmDetails.php
β–Ά Open πŸ“„ View Source
🐘 AwsVmsDetails.php
β–Ά Open πŸ“„ View Source
🐘 AzureDiskDetails.php
β–Ά Open πŸ“„ View Source
🐘 AzureSourceDetails.php
β–Ά Open πŸ“„ View Source
🐘 AzureSourceVmDetails.php
β–Ά Open πŸ“„ View Source
🐘 AzureVmDetails.php
β–Ά Open πŸ“„ View Source
🐘 AzureVmsDetails.php
β–Ά Open πŸ“„ View Source
🐘 BootDiskDefaults.php
β–Ά Open πŸ“„ View Source
🐘 CancelCloneJobRequest.php
β–Ά Open πŸ“„ View Source
🐘 CancelCloneJobResponse.php
β–Ά Open πŸ“„ View Source
🐘 CancelCutoverJobRequest.php
β–Ά Open πŸ“„ View Source
🐘 CancelCutoverJobResponse.php
β–Ά Open πŸ“„ View Source
🐘 CancelDiskMigrationJobRequest.php
β–Ά Open πŸ“„ View Source
🐘 CancelImageImportJobRequest.php
β–Ά Open πŸ“„ View Source
🐘 CancelOperationRequest.php
β–Ά Open πŸ“„ View Source
🐘 ClientSecretCredentials.php
β–Ά Open πŸ“„ View Source
🐘 CloneJob.php
β–Ά Open πŸ“„ View Source
🐘 CloneStep.php
β–Ά Open πŸ“„ View Source
🐘 ComputeEngineDisk.php
β–Ά Open πŸ“„ View Source
🐘 ComputeEngineDisksTargetDefaults.php
β–Ά Open πŸ“„ View Source
🐘 ComputeEngineDisksTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 ComputeEngineTargetDefaults.php
β–Ά Open πŸ“„ View Source
🐘 ComputeEngineTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 ComputeScheduling.php
β–Ά Open πŸ“„ View Source
🐘 CopyingSourceDiskSnapshotStep.php
β–Ά Open πŸ“„ View Source
🐘 CreatingImageStep.php
β–Ά Open πŸ“„ View Source
🐘 CreatingSourceDiskSnapshotStep.php
β–Ά Open πŸ“„ View Source
🐘 CutoverForecast.php
β–Ά Open πŸ“„ View Source
🐘 CutoverJob.php
β–Ά Open πŸ“„ View Source
🐘 CutoverStep.php
β–Ά Open πŸ“„ View Source
🐘 CycleStep.php
β–Ά Open πŸ“„ View Source
🐘 DataDiskImageImport.php
β–Ά Open πŸ“„ View Source
🐘 DatacenterConnector.php
β–Ά Open πŸ“„ View Source
🐘 Disk.php
β–Ά Open πŸ“„ View Source
🐘 DiskImageDefaults.php
β–Ά Open πŸ“„ View Source
🐘 DiskImageTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 DiskMigrationJob.php
β–Ά Open πŸ“„ View Source
🐘 DiskMigrationJobTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 DiskMigrationStep.php
β–Ά Open πŸ“„ View Source
🐘 DisksMigrationDisksTargetDefaults.php
β–Ά Open πŸ“„ View Source
🐘 DisksMigrationDisksTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 DisksMigrationVmTargetDefaults.php
β–Ά Open πŸ“„ View Source
🐘 DisksMigrationVmTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 Encryption.php
β–Ά Open πŸ“„ View Source
🐘 Expiration.php
β–Ά Open πŸ“„ View Source
🐘 ExtendMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 FetchInventoryResponse.php
β–Ά Open πŸ“„ View Source
🐘 FetchStorageInventoryResponse.php
β–Ά Open πŸ“„ View Source
🐘 FinalizeMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 FinalizeMigrationResponse.php
β–Ά Open πŸ“„ View Source
🐘 Group.php
β–Ά Open πŸ“„ View Source
🐘 ImageImport.php
β–Ά Open πŸ“„ View Source
🐘 ImageImportJob.php
β–Ά Open πŸ“„ View Source
🐘 ImageImportOsAdaptationParameters.php
β–Ά Open πŸ“„ View Source
🐘 ImageImportStep.php
β–Ά Open πŸ“„ View Source
🐘 InitializingImageImportStep.php
β–Ά Open πŸ“„ View Source
🐘 InitializingReplicationStep.php
β–Ά Open πŸ“„ View Source
🐘 InstantiatingMigratedVMStep.php
β–Ά Open πŸ“„ View Source
🐘 Link.php
β–Ά Open πŸ“„ View Source
🐘 ListCloneJobsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListCutoverJobsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListDatacenterConnectorsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListDiskMigrationJobsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListGroupsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListImageImportJobsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListImageImportsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListLocationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMigratingVmsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListReplicationCyclesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListSourcesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListTargetProjectsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListUtilizationReportsResponse.php
β–Ά Open πŸ“„ View Source
🐘 LoadingImageSourceFilesStep.php
β–Ά Open πŸ“„ View Source
🐘 LocalizedMessage.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 MachineImageParametersOverrides.php
β–Ά Open πŸ“„ View Source
🐘 MachineImageTargetDetails.php
β–Ά Open πŸ“„ View Source
🐘 MigratingVm.php
β–Ά Open πŸ“„ View Source
🐘 MigrationError.php
β–Ά Open πŸ“„ View Source
🐘 MigrationWarning.php
β–Ά Open πŸ“„ View Source
🐘 NetworkInsights.php
β–Ά Open πŸ“„ View Source
🐘 NetworkInterface.php
β–Ά Open πŸ“„ View Source
🐘 OSDescription.php
β–Ά Open πŸ“„ View Source
🐘 OSDisk.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 OperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 PauseMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 PauseMigrationResponse.php
β–Ά Open πŸ“„ View Source
🐘 PersistentDisk.php
β–Ά Open πŸ“„ View Source
🐘 PersistentDiskDefaults.php
β–Ά Open πŸ“„ View Source
🐘 PostProcessingStep.php
β–Ά Open πŸ“„ View Source
🐘 PreparingVMDisksStep.php
β–Ά Open πŸ“„ View Source
🐘 ProvisioningTargetDiskStep.php
β–Ά Open πŸ“„ View Source
🐘 RemoveGroupMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 RemoveGroupMigrationResponse.php
β–Ά Open πŸ“„ View Source
🐘 ReplicatingStep.php
β–Ά Open πŸ“„ View Source
🐘 ReplicationCycle.php
β–Ά Open πŸ“„ View Source
🐘 ReplicationSync.php
β–Ά Open πŸ“„ View Source
🐘 ResumeMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 ResumeMigrationResponse.php
β–Ά Open πŸ“„ View Source
🐘 RunDiskMigrationJobRequest.php
β–Ά Open πŸ“„ View Source
🐘 SchedulePolicy.php
β–Ά Open πŸ“„ View Source
🐘 SchedulingNodeAffinity.php
β–Ά Open πŸ“„ View Source
🐘 ServiceAccount.php
β–Ά Open πŸ“„ View Source
🐘 ShieldedInstanceConfig.php
β–Ά Open πŸ“„ View Source
🐘 ShuttingDownSourceVMStep.php
β–Ά Open πŸ“„ View Source
🐘 SkipOsAdaptation.php
β–Ά Open πŸ“„ View Source
🐘 Source.php
β–Ά Open πŸ“„ View Source
🐘 SourceStorageResource.php
β–Ά Open πŸ“„ View Source
🐘 StartMigrationRequest.php
β–Ά Open πŸ“„ View Source
🐘 StartMigrationResponse.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 TargetProject.php
β–Ά Open πŸ“„ View Source
🐘 UpgradeApplianceRequest.php
β–Ά Open πŸ“„ View Source
🐘 UpgradeStatus.php
β–Ά Open πŸ“„ View Source
🐘 UtilizationReport.php
β–Ά Open πŸ“„ View Source
🐘 VmAttachmentDetails.php
β–Ά Open πŸ“„ View Source
🐘 VmCapabilities.php
β–Ά Open πŸ“„ View Source
🐘 VmUtilizationInfo.php
β–Ά Open πŸ“„ View Source
🐘 VmUtilizationMetrics.php
β–Ά Open πŸ“„ View Source
🐘 VmmigrationEmpty.php
β–Ά Open πŸ“„ View Source
🐘 VmwareDiskDetails.php
β–Ά Open πŸ“„ View Source
🐘 VmwareSourceDetails.php
β–Ά Open πŸ“„ View Source
🐘 VmwareSourceVmDetails.php
β–Ά Open πŸ“„ View Source
🐘 VmwareVmDetails.php
β–Ά Open πŸ“„ View Source
🐘 VmwareVmsDetails.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: ReplicationCycle.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\VMMigrationService;

class ReplicationCycle extends \Google\Collection
{
  /**
   * The state is unknown. This is used for API compatibility only and is not
   * used by the system.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The replication cycle is running.
   */
  public const STATE_RUNNING = 'RUNNING';
  /**
   * The replication cycle is paused.
   */
  public const STATE_PAUSED = 'PAUSED';
  /**
   * The replication cycle finished with errors.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The replication cycle finished successfully.
   */
  public const STATE_SUCCEEDED = 'SUCCEEDED';
  protected $collection_key = 'warnings';
  /**
   * The cycle's ordinal number.
   *
   * @var int
   */
  public $cycleNumber;
  /**
   * The time the replication cycle has ended.
   *
   * @var string
   */
  public $endTime;
  protected $errorType = Status::class;
  protected $errorDataType = '';
  /**
   * The identifier of the ReplicationCycle.
   *
   * @var string
   */
  public $name;
  /**
   * The current progress in percentage of this cycle. Was replaced by 'steps'
   * field, which breaks down the cycle progression more accurately.
   *
   * @deprecated
   * @var int
   */
  public $progressPercent;
  /**
   * The time the replication cycle has started.
   *
   * @var string
   */
  public $startTime;
  /**
   * State of the ReplicationCycle.
   *
   * @var string
   */
  public $state;
  protected $stepsType = CycleStep::class;
  protected $stepsDataType = 'array';
  /**
   * The accumulated duration the replication cycle was paused.
   *
   * @var string
   */
  public $totalPauseDuration;
  protected $warningsType = MigrationWarning::class;
  protected $warningsDataType = 'array';

  /**
   * The cycle's ordinal number.
   *
   * @param int $cycleNumber
   */
  public function setCycleNumber($cycleNumber)
  {
    $this->cycleNumber = $cycleNumber;
  }
  /**
   * @return int
   */
  public function getCycleNumber()
  {
    return $this->cycleNumber;
  }
  /**
   * The time the replication cycle has ended.
   *
   * @param string $endTime
   */
  public function setEndTime($endTime)
  {
    $this->endTime = $endTime;
  }
  /**
   * @return string
   */
  public function getEndTime()
  {
    return $this->endTime;
  }
  /**
   * Output only. Provides details on the state of the cycle in case of an
   * error.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * The identifier of the ReplicationCycle.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * The current progress in percentage of this cycle. Was replaced by 'steps'
   * field, which breaks down the cycle progression more accurately.
   *
   * @deprecated
   * @param int $progressPercent
   */
  public function setProgressPercent($progressPercent)
  {
    $this->progressPercent = $progressPercent;
  }
  /**
   * @deprecated
   * @return int
   */
  public function getProgressPercent()
  {
    return $this->progressPercent;
  }
  /**
   * The time the replication cycle has started.
   *
   * @param string $startTime
   */
  public function setStartTime($startTime)
  {
    $this->startTime = $startTime;
  }
  /**
   * @return string
   */
  public function getStartTime()
  {
    return $this->startTime;
  }
  /**
   * State of the ReplicationCycle.
   *
   * Accepted values: STATE_UNSPECIFIED, RUNNING, PAUSED, FAILED, SUCCEEDED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * The cycle's steps list representing its progress.
   *
   * @param CycleStep[] $steps
   */
  public function setSteps($steps)
  {
    $this->steps = $steps;
  }
  /**
   * @return CycleStep[]
   */
  public function getSteps()
  {
    return $this->steps;
  }
  /**
   * The accumulated duration the replication cycle was paused.
   *
   * @param string $totalPauseDuration
   */
  public function setTotalPauseDuration($totalPauseDuration)
  {
    $this->totalPauseDuration = $totalPauseDuration;
  }
  /**
   * @return string
   */
  public function getTotalPauseDuration()
  {
    return $this->totalPauseDuration;
  }
  /**
   * Output only. Warnings that occurred during the cycle.
   *
   * @param MigrationWarning[] $warnings
   */
  public function setWarnings($warnings)
  {
    $this->warnings = $warnings;
  }
  /**
   * @return MigrationWarning[]
   */
  public function getWarnings()
  {
    return $this->warnings;
  }
}

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