📂 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
🐘 Tag.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: UtilizationReport.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 UtilizationReport extends \Google\Collection
{
  /**
   * The state is unknown. This value is not in use.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The report is in the making.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * Report creation completed successfully.
   */
  public const STATE_SUCCEEDED = 'SUCCEEDED';
  /**
   * Report creation failed.
   */
  public const STATE_FAILED = 'FAILED';
  /**
   * The time frame was not specified and will default to WEEK.
   */
  public const TIME_FRAME_TIME_FRAME_UNSPECIFIED = 'TIME_FRAME_UNSPECIFIED';
  /**
   * One week.
   */
  public const TIME_FRAME_WEEK = 'WEEK';
  /**
   * One month.
   */
  public const TIME_FRAME_MONTH = 'MONTH';
  /**
   * One year.
   */
  public const TIME_FRAME_YEAR = 'YEAR';
  protected $collection_key = 'vms';
  /**
   * Output only. The time the report was created (this refers to the time of
   * the request, not the time the report creation completed).
   *
   * @var string
   */
  public $createTime;
  /**
   * The report display name, as assigned by the user.
   *
   * @var string
   */
  public $displayName;
  protected $errorType = Status::class;
  protected $errorDataType = '';
  /**
   * Output only. The point in time when the time frame ends. Notice that the
   * time frame is counted backwards. For instance if the "frame_end_time" value
   * is 2021/01/20 and the time frame is WEEK then the report covers the week
   * between 2021/01/20 and 2021/01/14.
   *
   * @var string
   */
  public $frameEndTime;
  /**
   * Output only. The report unique name.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. Current state of the report.
   *
   * @var string
   */
  public $state;
  /**
   * Output only. The time the state was last set.
   *
   * @var string
   */
  public $stateTime;
  /**
   * Time frame of the report.
   *
   * @var string
   */
  public $timeFrame;
  /**
   * Output only. Total number of VMs included in the report.
   *
   * @var int
   */
  public $vmCount;
  protected $vmsType = VmUtilizationInfo::class;
  protected $vmsDataType = 'array';

  /**
   * Output only. The time the report was created (this refers to the time of
   * the request, not the time the report creation completed).
   *
   * @param string $createTime
   */
  public function setCreateTime($createTime)
  {
    $this->createTime = $createTime;
  }
  /**
   * @return string
   */
  public function getCreateTime()
  {
    return $this->createTime;
  }
  /**
   * The report display name, as assigned by the user.
   *
   * @param string $displayName
   */
  public function setDisplayName($displayName)
  {
    $this->displayName = $displayName;
  }
  /**
   * @return string
   */
  public function getDisplayName()
  {
    return $this->displayName;
  }
  /**
   * Output only. Provides details on the state of the report in case of an
   * error.
   *
   * @param Status $error
   */
  public function setError(Status $error)
  {
    $this->error = $error;
  }
  /**
   * @return Status
   */
  public function getError()
  {
    return $this->error;
  }
  /**
   * Output only. The point in time when the time frame ends. Notice that the
   * time frame is counted backwards. For instance if the "frame_end_time" value
   * is 2021/01/20 and the time frame is WEEK then the report covers the week
   * between 2021/01/20 and 2021/01/14.
   *
   * @param string $frameEndTime
   */
  public function setFrameEndTime($frameEndTime)
  {
    $this->frameEndTime = $frameEndTime;
  }
  /**
   * @return string
   */
  public function getFrameEndTime()
  {
    return $this->frameEndTime;
  }
  /**
   * Output only. The report unique name.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. Current state of the report.
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, SUCCEEDED, FAILED
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Output only. The time the state was last set.
   *
   * @param string $stateTime
   */
  public function setStateTime($stateTime)
  {
    $this->stateTime = $stateTime;
  }
  /**
   * @return string
   */
  public function getStateTime()
  {
    return $this->stateTime;
  }
  /**
   * Time frame of the report.
   *
   * Accepted values: TIME_FRAME_UNSPECIFIED, WEEK, MONTH, YEAR
   *
   * @param self::TIME_FRAME_* $timeFrame
   */
  public function setTimeFrame($timeFrame)
  {
    $this->timeFrame = $timeFrame;
  }
  /**
   * @return self::TIME_FRAME_*
   */
  public function getTimeFrame()
  {
    return $this->timeFrame;
  }
  /**
   * Output only. Total number of VMs included in the report.
   *
   * @param int $vmCount
   */
  public function setVmCount($vmCount)
  {
    $this->vmCount = $vmCount;
  }
  /**
   * @return int
   */
  public function getVmCount()
  {
    return $this->vmCount;
  }
  /**
   * List of utilization information per VM. When sent as part of the request,
   * the "vm_id" field is used in order to specify which VMs to include in the
   * report. In that case all other fields are ignored.
   *
   * @param VmUtilizationInfo[] $vms
   */
  public function setVms($vms)
  {
    $this->vms = $vms;
  }
  /**
   * @return VmUtilizationInfo[]
   */
  public function getVms()
  {
    return $this->vms;
  }
}

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