πŸ“‚ 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: ComputeScheduling.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 ComputeScheduling extends \Google\Collection
{
  /**
   * An unknown, unexpected behavior.
   */
  public const ON_HOST_MAINTENANCE_ON_HOST_MAINTENANCE_UNSPECIFIED = 'ON_HOST_MAINTENANCE_UNSPECIFIED';
  /**
   * Terminate the instance when the host machine undergoes maintenance.
   */
  public const ON_HOST_MAINTENANCE_TERMINATE = 'TERMINATE';
  /**
   * Migrate the instance when the host machine undergoes maintenance.
   */
  public const ON_HOST_MAINTENANCE_MIGRATE = 'MIGRATE';
  /**
   * Unspecified behavior. This will use the default.
   */
  public const RESTART_TYPE_RESTART_TYPE_UNSPECIFIED = 'RESTART_TYPE_UNSPECIFIED';
  /**
   * The Instance should be automatically restarted whenever it is terminated by
   * Compute Engine.
   */
  public const RESTART_TYPE_AUTOMATIC_RESTART = 'AUTOMATIC_RESTART';
  /**
   * The Instance isn't automatically restarted whenever it is terminated by
   * Compute Engine.
   */
  public const RESTART_TYPE_NO_AUTOMATIC_RESTART = 'NO_AUTOMATIC_RESTART';
  protected $collection_key = 'nodeAffinities';
  /**
   * The minimum number of virtual CPUs this instance will consume when running
   * on a sole-tenant node. Ignored if no node_affinites are configured.
   *
   * @var int
   */
  public $minNodeCpus;
  protected $nodeAffinitiesType = SchedulingNodeAffinity::class;
  protected $nodeAffinitiesDataType = 'array';
  /**
   * How the instance should behave when the host machine undergoes maintenance
   * that may temporarily impact instance performance.
   *
   * @var string
   */
  public $onHostMaintenance;
  /**
   * Whether the Instance should be automatically restarted whenever it is
   * terminated by Compute Engine (not terminated by user). This configuration
   * is identical to `automaticRestart` field in Compute Engine create instance
   * under scheduling. It was changed to an enum (instead of a boolean) to match
   * the default value in Compute Engine which is automatic restart.
   *
   * @var string
   */
  public $restartType;

  /**
   * The minimum number of virtual CPUs this instance will consume when running
   * on a sole-tenant node. Ignored if no node_affinites are configured.
   *
   * @param int $minNodeCpus
   */
  public function setMinNodeCpus($minNodeCpus)
  {
    $this->minNodeCpus = $minNodeCpus;
  }
  /**
   * @return int
   */
  public function getMinNodeCpus()
  {
    return $this->minNodeCpus;
  }
  /**
   * A set of node affinity and anti-affinity configurations for sole tenant
   * nodes.
   *
   * @param SchedulingNodeAffinity[] $nodeAffinities
   */
  public function setNodeAffinities($nodeAffinities)
  {
    $this->nodeAffinities = $nodeAffinities;
  }
  /**
   * @return SchedulingNodeAffinity[]
   */
  public function getNodeAffinities()
  {
    return $this->nodeAffinities;
  }
  /**
   * How the instance should behave when the host machine undergoes maintenance
   * that may temporarily impact instance performance.
   *
   * Accepted values: ON_HOST_MAINTENANCE_UNSPECIFIED, TERMINATE, MIGRATE
   *
   * @param self::ON_HOST_MAINTENANCE_* $onHostMaintenance
   */
  public function setOnHostMaintenance($onHostMaintenance)
  {
    $this->onHostMaintenance = $onHostMaintenance;
  }
  /**
   * @return self::ON_HOST_MAINTENANCE_*
   */
  public function getOnHostMaintenance()
  {
    return $this->onHostMaintenance;
  }
  /**
   * Whether the Instance should be automatically restarted whenever it is
   * terminated by Compute Engine (not terminated by user). This configuration
   * is identical to `automaticRestart` field in Compute Engine create instance
   * under scheduling. It was changed to an enum (instead of a boolean) to match
   * the default value in Compute Engine which is automatic restart.
   *
   * Accepted values: RESTART_TYPE_UNSPECIFIED, AUTOMATIC_RESTART,
   * NO_AUTOMATIC_RESTART
   *
   * @param self::RESTART_TYPE_* $restartType
   */
  public function setRestartType($restartType)
  {
    $this->restartType = $restartType;
  }
  /**
   * @return self::RESTART_TYPE_*
   */
  public function getRestartType()
  {
    return $this->restartType;
  }
}

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