JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "CutoverJob.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/VMMigrationService/CutoverJob.php
File size: 6.83 KB
MIME-type: text/x-php
Charset: utf-8

<?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 CutoverJob 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 cutover job has not yet started.
   */
  public const STATE_PENDING = 'PENDING';
  /**
   * The cutover job finished with errors.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The cutover job finished successfully.
   */
  public const STATE_SUCCEEDED = 'SUCCEEDED';
  /**
   * The cutover job was cancelled.
   */
  public const STATE_CANCELLED = 'CANCELLED';
  /**
   * The cutover job is being cancelled.
   */
  public const STATE_CANCELLING = 'CANCELLING';
  /**
   * The cutover job is active and running.
   */
  public const STATE_ACTIVE = 'ACTIVE';
  /**
   * OS adaptation is running as part of the cutover job to generate license.
   */
  public const STATE_ADAPTING_OS = 'ADAPTING_OS';
  protected $collection_key = 'steps';
  protected $computeEngineDisksTargetDetailsType = ComputeEngineDisksTargetDetails::class;
  protected $computeEngineDisksTargetDetailsDataType = '';
  protected $computeEngineTargetDetailsType = ComputeEngineTargetDetails::class;
  protected $computeEngineTargetDetailsDataType = '';
  /**
   * Output only. The time the cutover job was created (as an API call, not when
   * it was actually created in the target).
   *
   * @var string
   */
  public $createTime;
  /**
   * Output only. The time the cutover job had finished.
   *
   * @var string
   */
  public $endTime;
  protected $errorType = Status::class;
  protected $errorDataType = '';
  /**
   * Output only. The name of the cutover job.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. The current progress in percentage of the cutover job.
   *
   * @var int
   */
  public $progressPercent;
  /**
   * Output only. State of the cutover job.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. A message providing possible extra details about the current
   * state.
   *
   * @var string
   */
  public $stateMessage;
  /**
   * Output only. The time the state was last updated.
   *
   * @var string
   */
  public $stateTime;
  protected $stepsType = CutoverStep::class;
  protected $stepsDataType = 'array';

  /**
   * Output only. Details of the target Persistent Disks in Compute Engine.
   *
   * @param ComputeEngineDisksTargetDetails $computeEngineDisksTargetDetails
   */
  public function setComputeEngineDisksTargetDetails(ComputeEngineDisksTargetDetails $computeEngineDisksTargetDetails)
  {
    $this->computeEngineDisksTargetDetails = $computeEngineDisksTargetDetails;
  }
  /**
   * @return ComputeEngineDisksTargetDetails
   */
  public function getComputeEngineDisksTargetDetails()
  {
    return $this->computeEngineDisksTargetDetails;
  }
  /**
   * Output only. Details of the target VM in Compute Engine.
   *
   * @param ComputeEngineTargetDetails $computeEngineTargetDetails
   */
  public function setComputeEngineTargetDetails(ComputeEngineTargetDetails $computeEngineTargetDetails)
  {
    $this->computeEngineTargetDetails = $computeEngineTargetDetails;
  }
  /**
   * @return ComputeEngineTargetDetails
   */
  public function getComputeEngineTargetDetails()
  {
    return $this->computeEngineTargetDetails;
  }
  /**
   * Output only. The time the cutover job was created (as an API call, not when
   * it was actually created in the target).
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * Output only. The time the cutover job had finished.
   *
   * @param string $endTime
   */
  public function setEndTime($endTime)
  {
    $this->endTime = $endTime;
  }
  /**
   * @return string
   */
  public function getEndTime()
  {
    return $this->endTime;
  }
  /**
   * Output only. Provides details for the errors that led to the Cutover Job's
   * state.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * Output only. The name of the cutover job.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. The current progress in percentage of the cutover job.
   *
   * @param int $progressPercent
   */
  public function setProgressPercent($progressPercent)
  {
    $this->progressPercent = $progressPercent;
  }
  /**
   * @return int
   */
  public function getProgressPercent()
  {
    return $this->progressPercent;
  }
  /**
   * Output only. State of the cutover job.
   *
   * Accepted values: STATE_UNSPECIFIED, PENDING, FAILED, SUCCEEDED, CANCELLED,
   * CANCELLING, ACTIVE, ADAPTING_OS
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. A message providing possible extra details about the current
   * state.
   *
   * @param string $stateMessage
   */
  public function setStateMessage($stateMessage)
  {
    $this->stateMessage = $stateMessage;
  }
  /**
   * @return string
   */
  public function getStateMessage()
  {
    return $this->stateMessage;
  }
  /**
   * Output only. The time the state was last updated.
   *
   * @param string $stateTime
   */
  public function setStateTime($stateTime)
  {
    $this->stateTime = $stateTime;
  }
  /**
   * @return string
   */
  public function getStateTime()
  {
    return $this->stateTime;
  }
  /**
   * Output only. The cutover steps list representing its progress.
   *
   * @param CutoverStep[] $steps
   */
  public function setSteps($steps)
  {
    $this->steps = $steps;
  }
  /**
   * @return CutoverStep[]
   */
  public function getSteps()
  {
    return $this->steps;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CutoverJob::class, 'Google_Service_VMMigrationService_CutoverJob');