Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
<?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 AccessKeyCredentials extends \Google\Model
{
/**
* @var string
*/
public $accessKeyId;
/**
* @var string
*/
public $secretAccessKey;
/**
* @var string
*/
public $sessionToken;
/**
* @param string
*/
public function setAccessKeyId($accessKeyId)
{
$this->accessKeyId = $accessKeyId;
}
/**
* @return string
*/
public function getAccessKeyId()
{
return $this->accessKeyId;
}
/**
* @param string
*/
public function setSecretAccessKey($secretAccessKey)
{
$this->secretAccessKey = $secretAccessKey;
}
/**
* @return string
*/
public function getSecretAccessKey()
{
return $this->secretAccessKey;
}
/**
* @param string
*/
public function setSessionToken($sessionToken)
{
$this->sessionToken = $sessionToken;
}
/**
* @return string
*/
public function getSessionToken()
{
return $this->sessionToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccessKeyCredentials::class, 'Google_Service_VMMigrationService_AccessKeyCredentials');

View File

@@ -0,0 +1,25 @@
<?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 AdaptingOSStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdaptingOSStep::class, 'Google_Service_VMMigrationService_AdaptingOSStep');

View File

@@ -0,0 +1,44 @@
<?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 AddGroupMigrationRequest extends \Google\Model
{
/**
* @var string
*/
public $migratingVm;
/**
* @param string
*/
public function setMigratingVm($migratingVm)
{
$this->migratingVm = $migratingVm;
}
/**
* @return string
*/
public function getMigratingVm()
{
return $this->migratingVm;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddGroupMigrationRequest::class, 'Google_Service_VMMigrationService_AddGroupMigrationRequest');

View File

@@ -0,0 +1,25 @@
<?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 AddGroupMigrationResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddGroupMigrationResponse::class, 'Google_Service_VMMigrationService_AddGroupMigrationResponse');

View File

@@ -0,0 +1,98 @@
<?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 ApplianceVersion extends \Google\Model
{
/**
* @var bool
*/
public $critical;
/**
* @var string
*/
public $releaseNotesUri;
/**
* @var string
*/
public $uri;
/**
* @var string
*/
public $version;
/**
* @param bool
*/
public function setCritical($critical)
{
$this->critical = $critical;
}
/**
* @return bool
*/
public function getCritical()
{
return $this->critical;
}
/**
* @param string
*/
public function setReleaseNotesUri($releaseNotesUri)
{
$this->releaseNotesUri = $releaseNotesUri;
}
/**
* @return string
*/
public function getReleaseNotesUri()
{
return $this->releaseNotesUri;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApplianceVersion::class, 'Google_Service_VMMigrationService_ApplianceVersion');

View File

@@ -0,0 +1,62 @@
<?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 AppliedLicense extends \Google\Model
{
/**
* @var string
*/
public $osLicense;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setOsLicense($osLicense)
{
$this->osLicense = $osLicense;
}
/**
* @return string
*/
public function getOsLicense()
{
return $this->osLicense;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppliedLicense::class, 'Google_Service_VMMigrationService_AppliedLicense');

View File

@@ -0,0 +1,58 @@
<?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 AvailableUpdates extends \Google\Model
{
protected $inPlaceUpdateType = ApplianceVersion::class;
protected $inPlaceUpdateDataType = '';
protected $newDeployableApplianceType = ApplianceVersion::class;
protected $newDeployableApplianceDataType = '';
/**
* @param ApplianceVersion
*/
public function setInPlaceUpdate(ApplianceVersion $inPlaceUpdate)
{
$this->inPlaceUpdate = $inPlaceUpdate;
}
/**
* @return ApplianceVersion
*/
public function getInPlaceUpdate()
{
return $this->inPlaceUpdate;
}
/**
* @param ApplianceVersion
*/
public function setNewDeployableAppliance(ApplianceVersion $newDeployableAppliance)
{
$this->newDeployableAppliance = $newDeployableAppliance;
}
/**
* @return ApplianceVersion
*/
public function getNewDeployableAppliance()
{
return $this->newDeployableAppliance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AvailableUpdates::class, 'Google_Service_VMMigrationService_AvailableUpdates');

View File

@@ -0,0 +1,80 @@
<?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 AwsDiskDetails extends \Google\Model
{
/**
* @var int
*/
public $diskNumber;
/**
* @var string
*/
public $sizeGb;
/**
* @var string
*/
public $volumeId;
/**
* @param int
*/
public function setDiskNumber($diskNumber)
{
$this->diskNumber = $diskNumber;
}
/**
* @return int
*/
public function getDiskNumber()
{
return $this->diskNumber;
}
/**
* @param string
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return string
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsDiskDetails::class, 'Google_Service_VMMigrationService_AwsDiskDetails');

View File

@@ -0,0 +1,62 @@
<?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 AwsSecurityGroup extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsSecurityGroup::class, 'Google_Service_VMMigrationService_AwsSecurityGroup');

View File

@@ -0,0 +1,165 @@
<?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 AwsSourceDetails extends \Google\Collection
{
protected $collection_key = 'inventoryTagList';
protected $accessKeyCredsType = AccessKeyCredentials::class;
protected $accessKeyCredsDataType = '';
/**
* @var string
*/
public $awsRegion;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string[]
*/
public $inventorySecurityGroupNames;
protected $inventoryTagListType = Tag::class;
protected $inventoryTagListDataType = 'array';
/**
* @var string[]
*/
public $migrationResourcesUserTags;
/**
* @var string
*/
public $publicIp;
/**
* @var string
*/
public $state;
/**
* @param AccessKeyCredentials
*/
public function setAccessKeyCreds(AccessKeyCredentials $accessKeyCreds)
{
$this->accessKeyCreds = $accessKeyCreds;
}
/**
* @return AccessKeyCredentials
*/
public function getAccessKeyCreds()
{
return $this->accessKeyCreds;
}
/**
* @param string
*/
public function setAwsRegion($awsRegion)
{
$this->awsRegion = $awsRegion;
}
/**
* @return string
*/
public function getAwsRegion()
{
return $this->awsRegion;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string[]
*/
public function setInventorySecurityGroupNames($inventorySecurityGroupNames)
{
$this->inventorySecurityGroupNames = $inventorySecurityGroupNames;
}
/**
* @return string[]
*/
public function getInventorySecurityGroupNames()
{
return $this->inventorySecurityGroupNames;
}
/**
* @param Tag[]
*/
public function setInventoryTagList($inventoryTagList)
{
$this->inventoryTagList = $inventoryTagList;
}
/**
* @return Tag[]
*/
public function getInventoryTagList()
{
return $this->inventoryTagList;
}
/**
* @param string[]
*/
public function setMigrationResourcesUserTags($migrationResourcesUserTags)
{
$this->migrationResourcesUserTags = $migrationResourcesUserTags;
}
/**
* @return string[]
*/
public function getMigrationResourcesUserTags()
{
return $this->migrationResourcesUserTags;
}
/**
* @param string
*/
public function setPublicIp($publicIp)
{
$this->publicIp = $publicIp;
}
/**
* @return string
*/
public function getPublicIp()
{
return $this->publicIp;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsSourceDetails::class, 'Google_Service_VMMigrationService_AwsSourceDetails');

View File

@@ -0,0 +1,113 @@
<?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 AwsSourceVmDetails extends \Google\Collection
{
protected $collection_key = 'disks';
/**
* @var string
*/
public $architecture;
/**
* @var string
*/
public $committedStorageBytes;
protected $disksType = AwsDiskDetails::class;
protected $disksDataType = 'array';
/**
* @var string
*/
public $firmware;
protected $vmCapabilitiesInfoType = VmCapabilities::class;
protected $vmCapabilitiesInfoDataType = '';
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param string
*/
public function setCommittedStorageBytes($committedStorageBytes)
{
$this->committedStorageBytes = $committedStorageBytes;
}
/**
* @return string
*/
public function getCommittedStorageBytes()
{
return $this->committedStorageBytes;
}
/**
* @param AwsDiskDetails[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return AwsDiskDetails[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param string
*/
public function setFirmware($firmware)
{
$this->firmware = $firmware;
}
/**
* @return string
*/
public function getFirmware()
{
return $this->firmware;
}
/**
* @param VmCapabilities
*/
public function setVmCapabilitiesInfo(VmCapabilities $vmCapabilitiesInfo)
{
$this->vmCapabilitiesInfo = $vmCapabilitiesInfo;
}
/**
* @return VmCapabilities
*/
public function getVmCapabilitiesInfo()
{
return $this->vmCapabilitiesInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsSourceVmDetails::class, 'Google_Service_VMMigrationService_AwsSourceVmDetails');

View File

@@ -0,0 +1,349 @@
<?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 AwsVmDetails extends \Google\Collection
{
protected $collection_key = 'securityGroups';
/**
* @var string
*/
public $architecture;
/**
* @var string
*/
public $bootOption;
/**
* @var string
*/
public $committedStorageMb;
/**
* @var int
*/
public $cpuCount;
/**
* @var int
*/
public $diskCount;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $instanceType;
/**
* @var int
*/
public $memoryMb;
/**
* @var string
*/
public $osDescription;
/**
* @var string
*/
public $powerState;
protected $securityGroupsType = AwsSecurityGroup::class;
protected $securityGroupsDataType = 'array';
/**
* @var string
*/
public $sourceDescription;
/**
* @var string
*/
public $sourceId;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $virtualizationType;
/**
* @var string
*/
public $vmId;
/**
* @var string
*/
public $vpcId;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param string
*/
public function setBootOption($bootOption)
{
$this->bootOption = $bootOption;
}
/**
* @return string
*/
public function getBootOption()
{
return $this->bootOption;
}
/**
* @param string
*/
public function setCommittedStorageMb($committedStorageMb)
{
$this->committedStorageMb = $committedStorageMb;
}
/**
* @return string
*/
public function getCommittedStorageMb()
{
return $this->committedStorageMb;
}
/**
* @param int
*/
public function setCpuCount($cpuCount)
{
$this->cpuCount = $cpuCount;
}
/**
* @return int
*/
public function getCpuCount()
{
return $this->cpuCount;
}
/**
* @param int
*/
public function setDiskCount($diskCount)
{
$this->diskCount = $diskCount;
}
/**
* @return int
*/
public function getDiskCount()
{
return $this->diskCount;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* @param int
*/
public function setMemoryMb($memoryMb)
{
$this->memoryMb = $memoryMb;
}
/**
* @return int
*/
public function getMemoryMb()
{
return $this->memoryMb;
}
/**
* @param string
*/
public function setOsDescription($osDescription)
{
$this->osDescription = $osDescription;
}
/**
* @return string
*/
public function getOsDescription()
{
return $this->osDescription;
}
/**
* @param string
*/
public function setPowerState($powerState)
{
$this->powerState = $powerState;
}
/**
* @return string
*/
public function getPowerState()
{
return $this->powerState;
}
/**
* @param AwsSecurityGroup[]
*/
public function setSecurityGroups($securityGroups)
{
$this->securityGroups = $securityGroups;
}
/**
* @return AwsSecurityGroup[]
*/
public function getSecurityGroups()
{
return $this->securityGroups;
}
/**
* @param string
*/
public function setSourceDescription($sourceDescription)
{
$this->sourceDescription = $sourceDescription;
}
/**
* @return string
*/
public function getSourceDescription()
{
return $this->sourceDescription;
}
/**
* @param string
*/
public function setSourceId($sourceId)
{
$this->sourceId = $sourceId;
}
/**
* @return string
*/
public function getSourceId()
{
return $this->sourceId;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setVirtualizationType($virtualizationType)
{
$this->virtualizationType = $virtualizationType;
}
/**
* @return string
*/
public function getVirtualizationType()
{
return $this->virtualizationType;
}
/**
* @param string
*/
public function setVmId($vmId)
{
$this->vmId = $vmId;
}
/**
* @return string
*/
public function getVmId()
{
return $this->vmId;
}
/**
* @param string
*/
public function setVpcId($vpcId)
{
$this->vpcId = $vpcId;
}
/**
* @return string
*/
public function getVpcId()
{
return $this->vpcId;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsVmDetails::class, 'Google_Service_VMMigrationService_AwsVmDetails');

View File

@@ -0,0 +1,43 @@
<?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 AwsVmsDetails extends \Google\Collection
{
protected $collection_key = 'details';
protected $detailsType = AwsVmDetails::class;
protected $detailsDataType = 'array';
/**
* @param AwsVmDetails[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return AwsVmDetails[]
*/
public function getDetails()
{
return $this->details;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AwsVmsDetails::class, 'Google_Service_VMMigrationService_AwsVmsDetails');

View File

@@ -0,0 +1,80 @@
<?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 AzureDiskDetails extends \Google\Model
{
/**
* @var string
*/
public $diskId;
/**
* @var int
*/
public $diskNumber;
/**
* @var string
*/
public $sizeGb;
/**
* @param string
*/
public function setDiskId($diskId)
{
$this->diskId = $diskId;
}
/**
* @return string
*/
public function getDiskId()
{
return $this->diskId;
}
/**
* @param int
*/
public function setDiskNumber($diskNumber)
{
$this->diskNumber = $diskNumber;
}
/**
* @return int
*/
public function getDiskNumber()
{
return $this->diskNumber;
}
/**
* @param string
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return string
*/
public function getSizeGb()
{
return $this->sizeGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureDiskDetails::class, 'Google_Service_VMMigrationService_AzureDiskDetails');

View File

@@ -0,0 +1,148 @@
<?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 AzureSourceDetails extends \Google\Model
{
/**
* @var string
*/
public $azureLocation;
protected $clientSecretCredsType = ClientSecretCredentials::class;
protected $clientSecretCredsDataType = '';
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string[]
*/
public $migrationResourcesUserTags;
/**
* @var string
*/
public $resourceGroupId;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $subscriptionId;
/**
* @param string
*/
public function setAzureLocation($azureLocation)
{
$this->azureLocation = $azureLocation;
}
/**
* @return string
*/
public function getAzureLocation()
{
return $this->azureLocation;
}
/**
* @param ClientSecretCredentials
*/
public function setClientSecretCreds(ClientSecretCredentials $clientSecretCreds)
{
$this->clientSecretCreds = $clientSecretCreds;
}
/**
* @return ClientSecretCredentials
*/
public function getClientSecretCreds()
{
return $this->clientSecretCreds;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string[]
*/
public function setMigrationResourcesUserTags($migrationResourcesUserTags)
{
$this->migrationResourcesUserTags = $migrationResourcesUserTags;
}
/**
* @return string[]
*/
public function getMigrationResourcesUserTags()
{
return $this->migrationResourcesUserTags;
}
/**
* @param string
*/
public function setResourceGroupId($resourceGroupId)
{
$this->resourceGroupId = $resourceGroupId;
}
/**
* @return string
*/
public function getResourceGroupId()
{
return $this->resourceGroupId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setSubscriptionId($subscriptionId)
{
$this->subscriptionId = $subscriptionId;
}
/**
* @return string
*/
public function getSubscriptionId()
{
return $this->subscriptionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureSourceDetails::class, 'Google_Service_VMMigrationService_AzureSourceDetails');

View File

@@ -0,0 +1,113 @@
<?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 AzureSourceVmDetails extends \Google\Collection
{
protected $collection_key = 'disks';
/**
* @var string
*/
public $architecture;
/**
* @var string
*/
public $committedStorageBytes;
protected $disksType = AzureDiskDetails::class;
protected $disksDataType = 'array';
/**
* @var string
*/
public $firmware;
protected $vmCapabilitiesInfoType = VmCapabilities::class;
protected $vmCapabilitiesInfoDataType = '';
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param string
*/
public function setCommittedStorageBytes($committedStorageBytes)
{
$this->committedStorageBytes = $committedStorageBytes;
}
/**
* @return string
*/
public function getCommittedStorageBytes()
{
return $this->committedStorageBytes;
}
/**
* @param AzureDiskDetails[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return AzureDiskDetails[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param string
*/
public function setFirmware($firmware)
{
$this->firmware = $firmware;
}
/**
* @return string
*/
public function getFirmware()
{
return $this->firmware;
}
/**
* @param VmCapabilities
*/
public function setVmCapabilitiesInfo(VmCapabilities $vmCapabilitiesInfo)
{
$this->vmCapabilitiesInfo = $vmCapabilitiesInfo;
}
/**
* @return VmCapabilities
*/
public function getVmCapabilitiesInfo()
{
return $this->vmCapabilitiesInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureSourceVmDetails::class, 'Google_Service_VMMigrationService_AzureSourceVmDetails');

View File

@@ -0,0 +1,273 @@
<?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 AzureVmDetails extends \Google\Collection
{
protected $collection_key = 'disks';
/**
* @var string
*/
public $architecture;
/**
* @var string
*/
public $bootOption;
/**
* @var string
*/
public $committedStorageMb;
/**
* @var string
*/
public $computerName;
/**
* @var int
*/
public $cpuCount;
/**
* @var int
*/
public $diskCount;
protected $disksType = Disk::class;
protected $disksDataType = 'array';
/**
* @var int
*/
public $memoryMb;
protected $osDescriptionType = OSDescription::class;
protected $osDescriptionDataType = '';
protected $osDiskType = OSDisk::class;
protected $osDiskDataType = '';
/**
* @var string
*/
public $powerState;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $vmId;
/**
* @var string
*/
public $vmSize;
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param string
*/
public function setBootOption($bootOption)
{
$this->bootOption = $bootOption;
}
/**
* @return string
*/
public function getBootOption()
{
return $this->bootOption;
}
/**
* @param string
*/
public function setCommittedStorageMb($committedStorageMb)
{
$this->committedStorageMb = $committedStorageMb;
}
/**
* @return string
*/
public function getCommittedStorageMb()
{
return $this->committedStorageMb;
}
/**
* @param string
*/
public function setComputerName($computerName)
{
$this->computerName = $computerName;
}
/**
* @return string
*/
public function getComputerName()
{
return $this->computerName;
}
/**
* @param int
*/
public function setCpuCount($cpuCount)
{
$this->cpuCount = $cpuCount;
}
/**
* @return int
*/
public function getCpuCount()
{
return $this->cpuCount;
}
/**
* @param int
*/
public function setDiskCount($diskCount)
{
$this->diskCount = $diskCount;
}
/**
* @return int
*/
public function getDiskCount()
{
return $this->diskCount;
}
/**
* @param Disk[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return Disk[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param int
*/
public function setMemoryMb($memoryMb)
{
$this->memoryMb = $memoryMb;
}
/**
* @return int
*/
public function getMemoryMb()
{
return $this->memoryMb;
}
/**
* @param OSDescription
*/
public function setOsDescription(OSDescription $osDescription)
{
$this->osDescription = $osDescription;
}
/**
* @return OSDescription
*/
public function getOsDescription()
{
return $this->osDescription;
}
/**
* @param OSDisk
*/
public function setOsDisk(OSDisk $osDisk)
{
$this->osDisk = $osDisk;
}
/**
* @return OSDisk
*/
public function getOsDisk()
{
return $this->osDisk;
}
/**
* @param string
*/
public function setPowerState($powerState)
{
$this->powerState = $powerState;
}
/**
* @return string
*/
public function getPowerState()
{
return $this->powerState;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setVmId($vmId)
{
$this->vmId = $vmId;
}
/**
* @return string
*/
public function getVmId()
{
return $this->vmId;
}
/**
* @param string
*/
public function setVmSize($vmSize)
{
$this->vmSize = $vmSize;
}
/**
* @return string
*/
public function getVmSize()
{
return $this->vmSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureVmDetails::class, 'Google_Service_VMMigrationService_AzureVmDetails');

View File

@@ -0,0 +1,43 @@
<?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 AzureVmsDetails extends \Google\Collection
{
protected $collection_key = 'details';
protected $detailsType = AzureVmDetails::class;
protected $detailsDataType = 'array';
/**
* @param AzureVmDetails[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return AzureVmDetails[]
*/
public function getDetails()
{
return $this->details;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AzureVmsDetails::class, 'Google_Service_VMMigrationService_AzureVmsDetails');

View File

@@ -0,0 +1,112 @@
<?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 BootDiskDefaults extends \Google\Model
{
/**
* @var string
*/
public $deviceName;
/**
* @var string
*/
public $diskName;
/**
* @var string
*/
public $diskType;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
protected $imageType = DiskImageDefaults::class;
protected $imageDataType = '';
/**
* @param string
*/
public function setDeviceName($deviceName)
{
$this->deviceName = $deviceName;
}
/**
* @return string
*/
public function getDeviceName()
{
return $this->deviceName;
}
/**
* @param string
*/
public function setDiskName($diskName)
{
$this->diskName = $diskName;
}
/**
* @return string
*/
public function getDiskName()
{
return $this->diskName;
}
/**
* @param string
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param DiskImageDefaults
*/
public function setImage(DiskImageDefaults $image)
{
$this->image = $image;
}
/**
* @return DiskImageDefaults
*/
public function getImage()
{
return $this->image;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BootDiskDefaults::class, 'Google_Service_VMMigrationService_BootDiskDefaults');

View File

@@ -0,0 +1,25 @@
<?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 CancelCloneJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelCloneJobRequest::class, 'Google_Service_VMMigrationService_CancelCloneJobRequest');

View File

@@ -0,0 +1,25 @@
<?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 CancelCloneJobResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelCloneJobResponse::class, 'Google_Service_VMMigrationService_CancelCloneJobResponse');

View File

@@ -0,0 +1,25 @@
<?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 CancelCutoverJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelCutoverJobRequest::class, 'Google_Service_VMMigrationService_CancelCutoverJobRequest');

View File

@@ -0,0 +1,25 @@
<?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 CancelCutoverJobResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelCutoverJobResponse::class, 'Google_Service_VMMigrationService_CancelCutoverJobResponse');

View File

@@ -0,0 +1,25 @@
<?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 CancelDiskMigrationJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelDiskMigrationJobRequest::class, 'Google_Service_VMMigrationService_CancelDiskMigrationJobRequest');

View File

@@ -0,0 +1,25 @@
<?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 CancelImageImportJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelImageImportJobRequest::class, 'Google_Service_VMMigrationService_CancelImageImportJobRequest');

View File

@@ -0,0 +1,25 @@
<?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 CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_VMMigrationService_CancelOperationRequest');

View File

@@ -0,0 +1,80 @@
<?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 ClientSecretCredentials extends \Google\Model
{
/**
* @var string
*/
public $clientId;
/**
* @var string
*/
public $clientSecret;
/**
* @var string
*/
public $tenantId;
/**
* @param string
*/
public function setClientId($clientId)
{
$this->clientId = $clientId;
}
/**
* @return string
*/
public function getClientId()
{
return $this->clientId;
}
/**
* @param string
*/
public function setClientSecret($clientSecret)
{
$this->clientSecret = $clientSecret;
}
/**
* @return string
*/
public function getClientSecret()
{
return $this->clientSecret;
}
/**
* @param string
*/
public function setTenantId($tenantId)
{
$this->tenantId = $tenantId;
}
/**
* @return string
*/
public function getTenantId()
{
return $this->tenantId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClientSecretCredentials::class, 'Google_Service_VMMigrationService_ClientSecretCredentials');

View File

@@ -0,0 +1,181 @@
<?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 CloneJob extends \Google\Collection
{
protected $collection_key = 'steps';
protected $computeEngineDisksTargetDetailsType = ComputeEngineDisksTargetDetails::class;
protected $computeEngineDisksTargetDetailsDataType = '';
protected $computeEngineTargetDetailsType = ComputeEngineTargetDetails::class;
protected $computeEngineTargetDetailsDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateTime;
protected $stepsType = CloneStep::class;
protected $stepsDataType = 'array';
/**
* @param ComputeEngineDisksTargetDetails
*/
public function setComputeEngineDisksTargetDetails(ComputeEngineDisksTargetDetails $computeEngineDisksTargetDetails)
{
$this->computeEngineDisksTargetDetails = $computeEngineDisksTargetDetails;
}
/**
* @return ComputeEngineDisksTargetDetails
*/
public function getComputeEngineDisksTargetDetails()
{
return $this->computeEngineDisksTargetDetails;
}
/**
* @param ComputeEngineTargetDetails
*/
public function setComputeEngineTargetDetails(ComputeEngineTargetDetails $computeEngineTargetDetails)
{
$this->computeEngineTargetDetails = $computeEngineTargetDetails;
}
/**
* @return ComputeEngineTargetDetails
*/
public function getComputeEngineTargetDetails()
{
return $this->computeEngineTargetDetails;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateTime($stateTime)
{
$this->stateTime = $stateTime;
}
/**
* @return string
*/
public function getStateTime()
{
return $this->stateTime;
}
/**
* @param CloneStep[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return CloneStep[]
*/
public function getSteps()
{
return $this->steps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloneJob::class, 'Google_Service_VMMigrationService_CloneJob');

View File

@@ -0,0 +1,110 @@
<?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 CloneStep extends \Google\Model
{
protected $adaptingOsType = AdaptingOSStep::class;
protected $adaptingOsDataType = '';
/**
* @var string
*/
public $endTime;
protected $instantiatingMigratedVmType = InstantiatingMigratedVMStep::class;
protected $instantiatingMigratedVmDataType = '';
protected $preparingVmDisksType = PreparingVMDisksStep::class;
protected $preparingVmDisksDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param AdaptingOSStep
*/
public function setAdaptingOs(AdaptingOSStep $adaptingOs)
{
$this->adaptingOs = $adaptingOs;
}
/**
* @return AdaptingOSStep
*/
public function getAdaptingOs()
{
return $this->adaptingOs;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param InstantiatingMigratedVMStep
*/
public function setInstantiatingMigratedVm(InstantiatingMigratedVMStep $instantiatingMigratedVm)
{
$this->instantiatingMigratedVm = $instantiatingMigratedVm;
}
/**
* @return InstantiatingMigratedVMStep
*/
public function getInstantiatingMigratedVm()
{
return $this->instantiatingMigratedVm;
}
/**
* @param PreparingVMDisksStep
*/
public function setPreparingVmDisks(PreparingVMDisksStep $preparingVmDisks)
{
$this->preparingVmDisks = $preparingVmDisks;
}
/**
* @return PreparingVMDisksStep
*/
public function getPreparingVmDisks()
{
return $this->preparingVmDisks;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloneStep::class, 'Google_Service_VMMigrationService_CloneStep');

View File

@@ -0,0 +1,111 @@
<?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 ComputeEngineDisksTargetDefaults extends \Google\Collection
{
protected $collection_key = 'disks';
protected $disksType = PersistentDiskDefaults::class;
protected $disksDataType = 'array';
protected $disksTargetDefaultsType = DisksMigrationDisksTargetDefaults::class;
protected $disksTargetDefaultsDataType = '';
/**
* @var string
*/
public $targetProject;
protected $vmTargetDefaultsType = DisksMigrationVmTargetDefaults::class;
protected $vmTargetDefaultsDataType = '';
/**
* @var string
*/
public $zone;
/**
* @param PersistentDiskDefaults[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return PersistentDiskDefaults[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param DisksMigrationDisksTargetDefaults
*/
public function setDisksTargetDefaults(DisksMigrationDisksTargetDefaults $disksTargetDefaults)
{
$this->disksTargetDefaults = $disksTargetDefaults;
}
/**
* @return DisksMigrationDisksTargetDefaults
*/
public function getDisksTargetDefaults()
{
return $this->disksTargetDefaults;
}
/**
* @param string
*/
public function setTargetProject($targetProject)
{
$this->targetProject = $targetProject;
}
/**
* @return string
*/
public function getTargetProject()
{
return $this->targetProject;
}
/**
* @param DisksMigrationVmTargetDefaults
*/
public function setVmTargetDefaults(DisksMigrationVmTargetDefaults $vmTargetDefaults)
{
$this->vmTargetDefaults = $vmTargetDefaults;
}
/**
* @return DisksMigrationVmTargetDefaults
*/
public function getVmTargetDefaults()
{
return $this->vmTargetDefaults;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEngineDisksTargetDefaults::class, 'Google_Service_VMMigrationService_ComputeEngineDisksTargetDefaults');

View File

@@ -0,0 +1,75 @@
<?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 ComputeEngineDisksTargetDetails extends \Google\Collection
{
protected $collection_key = 'disks';
protected $disksType = PersistentDisk::class;
protected $disksDataType = 'array';
protected $disksTargetDetailsType = DisksMigrationDisksTargetDetails::class;
protected $disksTargetDetailsDataType = '';
protected $vmTargetDetailsType = DisksMigrationVmTargetDetails::class;
protected $vmTargetDetailsDataType = '';
/**
* @param PersistentDisk[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return PersistentDisk[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param DisksMigrationDisksTargetDetails
*/
public function setDisksTargetDetails(DisksMigrationDisksTargetDetails $disksTargetDetails)
{
$this->disksTargetDetails = $disksTargetDetails;
}
/**
* @return DisksMigrationDisksTargetDetails
*/
public function getDisksTargetDetails()
{
return $this->disksTargetDetails;
}
/**
* @param DisksMigrationVmTargetDetails
*/
public function setVmTargetDetails(DisksMigrationVmTargetDetails $vmTargetDetails)
{
$this->vmTargetDetails = $vmTargetDetails;
}
/**
* @return DisksMigrationVmTargetDetails
*/
public function getVmTargetDetails()
{
return $this->vmTargetDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEngineDisksTargetDetails::class, 'Google_Service_VMMigrationService_ComputeEngineDisksTargetDetails');

View File

@@ -0,0 +1,415 @@
<?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 ComputeEngineTargetDefaults extends \Google\Collection
{
protected $collection_key = 'networkTags';
/**
* @var string[]
*/
public $additionalLicenses;
protected $appliedLicenseType = AppliedLicense::class;
protected $appliedLicenseDataType = '';
/**
* @var string
*/
public $bootConversion;
/**
* @var string
*/
public $bootOption;
protected $computeSchedulingType = ComputeScheduling::class;
protected $computeSchedulingDataType = '';
/**
* @var string
*/
public $diskType;
/**
* @var bool
*/
public $enableIntegrityMonitoring;
/**
* @var bool
*/
public $enableVtpm;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
/**
* @var string
*/
public $hostname;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $licenseType;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $machineTypeSeries;
/**
* @var string[]
*/
public $metadata;
protected $networkInterfacesType = NetworkInterface::class;
protected $networkInterfacesDataType = 'array';
/**
* @var string[]
*/
public $networkTags;
/**
* @var bool
*/
public $secureBoot;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $targetProject;
/**
* @var string
*/
public $vmName;
/**
* @var string
*/
public $zone;
/**
* @param string[]
*/
public function setAdditionalLicenses($additionalLicenses)
{
$this->additionalLicenses = $additionalLicenses;
}
/**
* @return string[]
*/
public function getAdditionalLicenses()
{
return $this->additionalLicenses;
}
/**
* @param AppliedLicense
*/
public function setAppliedLicense(AppliedLicense $appliedLicense)
{
$this->appliedLicense = $appliedLicense;
}
/**
* @return AppliedLicense
*/
public function getAppliedLicense()
{
return $this->appliedLicense;
}
/**
* @param string
*/
public function setBootConversion($bootConversion)
{
$this->bootConversion = $bootConversion;
}
/**
* @return string
*/
public function getBootConversion()
{
return $this->bootConversion;
}
/**
* @param string
*/
public function setBootOption($bootOption)
{
$this->bootOption = $bootOption;
}
/**
* @return string
*/
public function getBootOption()
{
return $this->bootOption;
}
/**
* @param ComputeScheduling
*/
public function setComputeScheduling(ComputeScheduling $computeScheduling)
{
$this->computeScheduling = $computeScheduling;
}
/**
* @return ComputeScheduling
*/
public function getComputeScheduling()
{
return $this->computeScheduling;
}
/**
* @param string
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* @param bool
*/
public function setEnableIntegrityMonitoring($enableIntegrityMonitoring)
{
$this->enableIntegrityMonitoring = $enableIntegrityMonitoring;
}
/**
* @return bool
*/
public function getEnableIntegrityMonitoring()
{
return $this->enableIntegrityMonitoring;
}
/**
* @param bool
*/
public function setEnableVtpm($enableVtpm)
{
$this->enableVtpm = $enableVtpm;
}
/**
* @return bool
*/
public function getEnableVtpm()
{
return $this->enableVtpm;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLicenseType($licenseType)
{
$this->licenseType = $licenseType;
}
/**
* @return string
*/
public function getLicenseType()
{
return $this->licenseType;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setMachineTypeSeries($machineTypeSeries)
{
$this->machineTypeSeries = $machineTypeSeries;
}
/**
* @return string
*/
public function getMachineTypeSeries()
{
return $this->machineTypeSeries;
}
/**
* @param string[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param NetworkInterface[]
*/
public function setNetworkInterfaces($networkInterfaces)
{
$this->networkInterfaces = $networkInterfaces;
}
/**
* @return NetworkInterface[]
*/
public function getNetworkInterfaces()
{
return $this->networkInterfaces;
}
/**
* @param string[]
*/
public function setNetworkTags($networkTags)
{
$this->networkTags = $networkTags;
}
/**
* @return string[]
*/
public function getNetworkTags()
{
return $this->networkTags;
}
/**
* @param bool
*/
public function setSecureBoot($secureBoot)
{
$this->secureBoot = $secureBoot;
}
/**
* @return bool
*/
public function getSecureBoot()
{
return $this->secureBoot;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setTargetProject($targetProject)
{
$this->targetProject = $targetProject;
}
/**
* @return string
*/
public function getTargetProject()
{
return $this->targetProject;
}
/**
* @param string
*/
public function setVmName($vmName)
{
$this->vmName = $vmName;
}
/**
* @return string
*/
public function getVmName()
{
return $this->vmName;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEngineTargetDefaults::class, 'Google_Service_VMMigrationService_ComputeEngineTargetDefaults');

View File

@@ -0,0 +1,415 @@
<?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 ComputeEngineTargetDetails extends \Google\Collection
{
protected $collection_key = 'networkTags';
/**
* @var string[]
*/
public $additionalLicenses;
protected $appliedLicenseType = AppliedLicense::class;
protected $appliedLicenseDataType = '';
/**
* @var string
*/
public $bootConversion;
/**
* @var string
*/
public $bootOption;
protected $computeSchedulingType = ComputeScheduling::class;
protected $computeSchedulingDataType = '';
/**
* @var string
*/
public $diskType;
/**
* @var bool
*/
public $enableIntegrityMonitoring;
/**
* @var bool
*/
public $enableVtpm;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
/**
* @var string
*/
public $hostname;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $licenseType;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $machineTypeSeries;
/**
* @var string[]
*/
public $metadata;
protected $networkInterfacesType = NetworkInterface::class;
protected $networkInterfacesDataType = 'array';
/**
* @var string[]
*/
public $networkTags;
/**
* @var string
*/
public $project;
/**
* @var bool
*/
public $secureBoot;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $vmName;
/**
* @var string
*/
public $zone;
/**
* @param string[]
*/
public function setAdditionalLicenses($additionalLicenses)
{
$this->additionalLicenses = $additionalLicenses;
}
/**
* @return string[]
*/
public function getAdditionalLicenses()
{
return $this->additionalLicenses;
}
/**
* @param AppliedLicense
*/
public function setAppliedLicense(AppliedLicense $appliedLicense)
{
$this->appliedLicense = $appliedLicense;
}
/**
* @return AppliedLicense
*/
public function getAppliedLicense()
{
return $this->appliedLicense;
}
/**
* @param string
*/
public function setBootConversion($bootConversion)
{
$this->bootConversion = $bootConversion;
}
/**
* @return string
*/
public function getBootConversion()
{
return $this->bootConversion;
}
/**
* @param string
*/
public function setBootOption($bootOption)
{
$this->bootOption = $bootOption;
}
/**
* @return string
*/
public function getBootOption()
{
return $this->bootOption;
}
/**
* @param ComputeScheduling
*/
public function setComputeScheduling(ComputeScheduling $computeScheduling)
{
$this->computeScheduling = $computeScheduling;
}
/**
* @return ComputeScheduling
*/
public function getComputeScheduling()
{
return $this->computeScheduling;
}
/**
* @param string
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* @param bool
*/
public function setEnableIntegrityMonitoring($enableIntegrityMonitoring)
{
$this->enableIntegrityMonitoring = $enableIntegrityMonitoring;
}
/**
* @return bool
*/
public function getEnableIntegrityMonitoring()
{
return $this->enableIntegrityMonitoring;
}
/**
* @param bool
*/
public function setEnableVtpm($enableVtpm)
{
$this->enableVtpm = $enableVtpm;
}
/**
* @return bool
*/
public function getEnableVtpm()
{
return $this->enableVtpm;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLicenseType($licenseType)
{
$this->licenseType = $licenseType;
}
/**
* @return string
*/
public function getLicenseType()
{
return $this->licenseType;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setMachineTypeSeries($machineTypeSeries)
{
$this->machineTypeSeries = $machineTypeSeries;
}
/**
* @return string
*/
public function getMachineTypeSeries()
{
return $this->machineTypeSeries;
}
/**
* @param string[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param NetworkInterface[]
*/
public function setNetworkInterfaces($networkInterfaces)
{
$this->networkInterfaces = $networkInterfaces;
}
/**
* @return NetworkInterface[]
*/
public function getNetworkInterfaces()
{
return $this->networkInterfaces;
}
/**
* @param string[]
*/
public function setNetworkTags($networkTags)
{
$this->networkTags = $networkTags;
}
/**
* @return string[]
*/
public function getNetworkTags()
{
return $this->networkTags;
}
/**
* @param string
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
/**
* @param bool
*/
public function setSecureBoot($secureBoot)
{
$this->secureBoot = $secureBoot;
}
/**
* @return bool
*/
public function getSecureBoot()
{
return $this->secureBoot;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setVmName($vmName)
{
$this->vmName = $vmName;
}
/**
* @return string
*/
public function getVmName()
{
return $this->vmName;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeEngineTargetDetails::class, 'Google_Service_VMMigrationService_ComputeEngineTargetDetails');

View File

@@ -0,0 +1,97 @@
<?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
{
protected $collection_key = 'nodeAffinities';
/**
* @var int
*/
public $minNodeCpus;
protected $nodeAffinitiesType = SchedulingNodeAffinity::class;
protected $nodeAffinitiesDataType = 'array';
/**
* @var string
*/
public $onHostMaintenance;
/**
* @var string
*/
public $restartType;
/**
* @param int
*/
public function setMinNodeCpus($minNodeCpus)
{
$this->minNodeCpus = $minNodeCpus;
}
/**
* @return int
*/
public function getMinNodeCpus()
{
return $this->minNodeCpus;
}
/**
* @param SchedulingNodeAffinity[]
*/
public function setNodeAffinities($nodeAffinities)
{
$this->nodeAffinities = $nodeAffinities;
}
/**
* @return SchedulingNodeAffinity[]
*/
public function getNodeAffinities()
{
return $this->nodeAffinities;
}
/**
* @param string
*/
public function setOnHostMaintenance($onHostMaintenance)
{
$this->onHostMaintenance = $onHostMaintenance;
}
/**
* @return string
*/
public function getOnHostMaintenance()
{
return $this->onHostMaintenance;
}
/**
* @param string
*/
public function setRestartType($restartType)
{
$this->restartType = $restartType;
}
/**
* @return string
*/
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');

View File

@@ -0,0 +1,25 @@
<?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 CreatingImageStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreatingImageStep::class, 'Google_Service_VMMigrationService_CreatingImageStep');

View File

@@ -0,0 +1,44 @@
<?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 CutoverForecast extends \Google\Model
{
/**
* @var string
*/
public $estimatedCutoverJobDuration;
/**
* @param string
*/
public function setEstimatedCutoverJobDuration($estimatedCutoverJobDuration)
{
$this->estimatedCutoverJobDuration = $estimatedCutoverJobDuration;
}
/**
* @return string
*/
public function getEstimatedCutoverJobDuration()
{
return $this->estimatedCutoverJobDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CutoverForecast::class, 'Google_Service_VMMigrationService_CutoverForecast');

View File

@@ -0,0 +1,217 @@
<?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
{
protected $collection_key = 'steps';
protected $computeEngineDisksTargetDetailsType = ComputeEngineDisksTargetDetails::class;
protected $computeEngineDisksTargetDetailsDataType = '';
protected $computeEngineTargetDetailsType = ComputeEngineTargetDetails::class;
protected $computeEngineTargetDetailsDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $progressPercent;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateMessage;
/**
* @var string
*/
public $stateTime;
protected $stepsType = CutoverStep::class;
protected $stepsDataType = 'array';
/**
* @param ComputeEngineDisksTargetDetails
*/
public function setComputeEngineDisksTargetDetails(ComputeEngineDisksTargetDetails $computeEngineDisksTargetDetails)
{
$this->computeEngineDisksTargetDetails = $computeEngineDisksTargetDetails;
}
/**
* @return ComputeEngineDisksTargetDetails
*/
public function getComputeEngineDisksTargetDetails()
{
return $this->computeEngineDisksTargetDetails;
}
/**
* @param ComputeEngineTargetDetails
*/
public function setComputeEngineTargetDetails(ComputeEngineTargetDetails $computeEngineTargetDetails)
{
$this->computeEngineTargetDetails = $computeEngineTargetDetails;
}
/**
* @return ComputeEngineTargetDetails
*/
public function getComputeEngineTargetDetails()
{
return $this->computeEngineTargetDetails;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setProgressPercent($progressPercent)
{
$this->progressPercent = $progressPercent;
}
/**
* @return int
*/
public function getProgressPercent()
{
return $this->progressPercent;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateMessage($stateMessage)
{
$this->stateMessage = $stateMessage;
}
/**
* @return string
*/
public function getStateMessage()
{
return $this->stateMessage;
}
/**
* @param string
*/
public function setStateTime($stateTime)
{
$this->stateTime = $stateTime;
}
/**
* @return string
*/
public function getStateTime()
{
return $this->stateTime;
}
/**
* @param CutoverStep[]
*/
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');

View File

@@ -0,0 +1,142 @@
<?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 CutoverStep extends \Google\Model
{
/**
* @var string
*/
public $endTime;
protected $finalSyncType = ReplicationCycle::class;
protected $finalSyncDataType = '';
protected $instantiatingMigratedVmType = InstantiatingMigratedVMStep::class;
protected $instantiatingMigratedVmDataType = '';
protected $preparingVmDisksType = PreparingVMDisksStep::class;
protected $preparingVmDisksDataType = '';
protected $previousReplicationCycleType = ReplicationCycle::class;
protected $previousReplicationCycleDataType = '';
protected $shuttingDownSourceVmType = ShuttingDownSourceVMStep::class;
protected $shuttingDownSourceVmDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param ReplicationCycle
*/
public function setFinalSync(ReplicationCycle $finalSync)
{
$this->finalSync = $finalSync;
}
/**
* @return ReplicationCycle
*/
public function getFinalSync()
{
return $this->finalSync;
}
/**
* @param InstantiatingMigratedVMStep
*/
public function setInstantiatingMigratedVm(InstantiatingMigratedVMStep $instantiatingMigratedVm)
{
$this->instantiatingMigratedVm = $instantiatingMigratedVm;
}
/**
* @return InstantiatingMigratedVMStep
*/
public function getInstantiatingMigratedVm()
{
return $this->instantiatingMigratedVm;
}
/**
* @param PreparingVMDisksStep
*/
public function setPreparingVmDisks(PreparingVMDisksStep $preparingVmDisks)
{
$this->preparingVmDisks = $preparingVmDisks;
}
/**
* @return PreparingVMDisksStep
*/
public function getPreparingVmDisks()
{
return $this->preparingVmDisks;
}
/**
* @param ReplicationCycle
*/
public function setPreviousReplicationCycle(ReplicationCycle $previousReplicationCycle)
{
$this->previousReplicationCycle = $previousReplicationCycle;
}
/**
* @return ReplicationCycle
*/
public function getPreviousReplicationCycle()
{
return $this->previousReplicationCycle;
}
/**
* @param ShuttingDownSourceVMStep
*/
public function setShuttingDownSourceVm(ShuttingDownSourceVMStep $shuttingDownSourceVm)
{
$this->shuttingDownSourceVm = $shuttingDownSourceVm;
}
/**
* @return ShuttingDownSourceVMStep
*/
public function getShuttingDownSourceVm()
{
return $this->shuttingDownSourceVm;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CutoverStep::class, 'Google_Service_VMMigrationService_CutoverStep');

View File

@@ -0,0 +1,110 @@
<?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 CycleStep extends \Google\Model
{
/**
* @var string
*/
public $endTime;
protected $initializingReplicationType = InitializingReplicationStep::class;
protected $initializingReplicationDataType = '';
protected $postProcessingType = PostProcessingStep::class;
protected $postProcessingDataType = '';
protected $replicatingType = ReplicatingStep::class;
protected $replicatingDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param InitializingReplicationStep
*/
public function setInitializingReplication(InitializingReplicationStep $initializingReplication)
{
$this->initializingReplication = $initializingReplication;
}
/**
* @return InitializingReplicationStep
*/
public function getInitializingReplication()
{
return $this->initializingReplication;
}
/**
* @param PostProcessingStep
*/
public function setPostProcessing(PostProcessingStep $postProcessing)
{
$this->postProcessing = $postProcessing;
}
/**
* @return PostProcessingStep
*/
public function getPostProcessing()
{
return $this->postProcessing;
}
/**
* @param ReplicatingStep
*/
public function setReplicating(ReplicatingStep $replicating)
{
$this->replicating = $replicating;
}
/**
* @return ReplicatingStep
*/
public function getReplicating()
{
return $this->replicating;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CycleStep::class, 'Google_Service_VMMigrationService_CycleStep');

View File

@@ -0,0 +1,25 @@
<?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 DataDiskImageImport extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataDiskImageImport::class, 'Google_Service_VMMigrationService_DataDiskImageImport');

View File

@@ -0,0 +1,272 @@
<?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 DatacenterConnector extends \Google\Model
{
/**
* @var string
*/
public $applianceInfrastructureVersion;
/**
* @var string
*/
public $applianceSoftwareVersion;
protected $availableVersionsType = AvailableUpdates::class;
protected $availableVersionsDataType = '';
/**
* @var string
*/
public $bucket;
/**
* @var string
*/
public $createTime;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $registrationId;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateTime;
/**
* @var string
*/
public $updateTime;
protected $upgradeStatusType = UpgradeStatus::class;
protected $upgradeStatusDataType = '';
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setApplianceInfrastructureVersion($applianceInfrastructureVersion)
{
$this->applianceInfrastructureVersion = $applianceInfrastructureVersion;
}
/**
* @return string
*/
public function getApplianceInfrastructureVersion()
{
return $this->applianceInfrastructureVersion;
}
/**
* @param string
*/
public function setApplianceSoftwareVersion($applianceSoftwareVersion)
{
$this->applianceSoftwareVersion = $applianceSoftwareVersion;
}
/**
* @return string
*/
public function getApplianceSoftwareVersion()
{
return $this->applianceSoftwareVersion;
}
/**
* @param AvailableUpdates
*/
public function setAvailableVersions(AvailableUpdates $availableVersions)
{
$this->availableVersions = $availableVersions;
}
/**
* @return AvailableUpdates
*/
public function getAvailableVersions()
{
return $this->availableVersions;
}
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRegistrationId($registrationId)
{
$this->registrationId = $registrationId;
}
/**
* @return string
*/
public function getRegistrationId()
{
return $this->registrationId;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateTime($stateTime)
{
$this->stateTime = $stateTime;
}
/**
* @return string
*/
public function getStateTime()
{
return $this->stateTime;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param UpgradeStatus
*/
public function setUpgradeStatus(UpgradeStatus $upgradeStatus)
{
$this->upgradeStatus = $upgradeStatus;
}
/**
* @return UpgradeStatus
*/
public function getUpgradeStatus()
{
return $this->upgradeStatus;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatacenterConnector::class, 'Google_Service_VMMigrationService_DatacenterConnector');

View File

@@ -0,0 +1,80 @@
<?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 Disk extends \Google\Model
{
/**
* @var int
*/
public $lun;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $sizeGb;
/**
* @param int
*/
public function setLun($lun)
{
$this->lun = $lun;
}
/**
* @return int
*/
public function getLun()
{
return $this->lun;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Disk::class, 'Google_Service_VMMigrationService_Disk');

View File

@@ -0,0 +1,44 @@
<?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 DiskImageDefaults extends \Google\Model
{
/**
* @var string
*/
public $sourceImage;
/**
* @param string
*/
public function setSourceImage($sourceImage)
{
$this->sourceImage = $sourceImage;
}
/**
* @return string
*/
public function getSourceImage()
{
return $this->sourceImage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskImageDefaults::class, 'Google_Service_VMMigrationService_DiskImageDefaults');

View File

@@ -0,0 +1,201 @@
<?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 DiskImageTargetDetails extends \Google\Collection
{
protected $collection_key = 'additionalLicenses';
/**
* @var string[]
*/
public $additionalLicenses;
protected $dataDiskImageImportType = DataDiskImageImport::class;
protected $dataDiskImageImportDataType = '';
/**
* @var string
*/
public $description;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
/**
* @var string
*/
public $familyName;
/**
* @var string
*/
public $imageName;
/**
* @var string[]
*/
public $labels;
protected $osAdaptationParametersType = ImageImportOsAdaptationParameters::class;
protected $osAdaptationParametersDataType = '';
/**
* @var bool
*/
public $singleRegionStorage;
/**
* @var string
*/
public $targetProject;
/**
* @param string[]
*/
public function setAdditionalLicenses($additionalLicenses)
{
$this->additionalLicenses = $additionalLicenses;
}
/**
* @return string[]
*/
public function getAdditionalLicenses()
{
return $this->additionalLicenses;
}
/**
* @param DataDiskImageImport
*/
public function setDataDiskImageImport(DataDiskImageImport $dataDiskImageImport)
{
$this->dataDiskImageImport = $dataDiskImageImport;
}
/**
* @return DataDiskImageImport
*/
public function getDataDiskImageImport()
{
return $this->dataDiskImageImport;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param string
*/
public function setFamilyName($familyName)
{
$this->familyName = $familyName;
}
/**
* @return string
*/
public function getFamilyName()
{
return $this->familyName;
}
/**
* @param string
*/
public function setImageName($imageName)
{
$this->imageName = $imageName;
}
/**
* @return string
*/
public function getImageName()
{
return $this->imageName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ImageImportOsAdaptationParameters
*/
public function setOsAdaptationParameters(ImageImportOsAdaptationParameters $osAdaptationParameters)
{
$this->osAdaptationParameters = $osAdaptationParameters;
}
/**
* @return ImageImportOsAdaptationParameters
*/
public function getOsAdaptationParameters()
{
return $this->osAdaptationParameters;
}
/**
* @param bool
*/
public function setSingleRegionStorage($singleRegionStorage)
{
$this->singleRegionStorage = $singleRegionStorage;
}
/**
* @return bool
*/
public function getSingleRegionStorage()
{
return $this->singleRegionStorage;
}
/**
* @param string
*/
public function setTargetProject($targetProject)
{
$this->targetProject = $targetProject;
}
/**
* @return string
*/
public function getTargetProject()
{
return $this->targetProject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskImageTargetDetails::class, 'Google_Service_VMMigrationService_DiskImageTargetDetails');

View File

@@ -0,0 +1,25 @@
<?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 DisksMigrationDisksTargetDefaults extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisksMigrationDisksTargetDefaults::class, 'Google_Service_VMMigrationService_DisksMigrationDisksTargetDefaults');

View File

@@ -0,0 +1,25 @@
<?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 DisksMigrationDisksTargetDetails extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisksMigrationDisksTargetDetails::class, 'Google_Service_VMMigrationService_DisksMigrationDisksTargetDetails');

View File

@@ -0,0 +1,307 @@
<?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 DisksMigrationVmTargetDefaults extends \Google\Collection
{
protected $collection_key = 'networkTags';
/**
* @var string[]
*/
public $additionalLicenses;
protected $bootDiskDefaultsType = BootDiskDefaults::class;
protected $bootDiskDefaultsDataType = '';
protected $computeSchedulingType = ComputeScheduling::class;
protected $computeSchedulingDataType = '';
/**
* @var bool
*/
public $enableIntegrityMonitoring;
/**
* @var bool
*/
public $enableVtpm;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
/**
* @var string
*/
public $hostname;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $machineTypeSeries;
/**
* @var string[]
*/
public $metadata;
protected $networkInterfacesType = NetworkInterface::class;
protected $networkInterfacesDataType = 'array';
/**
* @var string[]
*/
public $networkTags;
/**
* @var bool
*/
public $secureBoot;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $vmName;
/**
* @param string[]
*/
public function setAdditionalLicenses($additionalLicenses)
{
$this->additionalLicenses = $additionalLicenses;
}
/**
* @return string[]
*/
public function getAdditionalLicenses()
{
return $this->additionalLicenses;
}
/**
* @param BootDiskDefaults
*/
public function setBootDiskDefaults(BootDiskDefaults $bootDiskDefaults)
{
$this->bootDiskDefaults = $bootDiskDefaults;
}
/**
* @return BootDiskDefaults
*/
public function getBootDiskDefaults()
{
return $this->bootDiskDefaults;
}
/**
* @param ComputeScheduling
*/
public function setComputeScheduling(ComputeScheduling $computeScheduling)
{
$this->computeScheduling = $computeScheduling;
}
/**
* @return ComputeScheduling
*/
public function getComputeScheduling()
{
return $this->computeScheduling;
}
/**
* @param bool
*/
public function setEnableIntegrityMonitoring($enableIntegrityMonitoring)
{
$this->enableIntegrityMonitoring = $enableIntegrityMonitoring;
}
/**
* @return bool
*/
public function getEnableIntegrityMonitoring()
{
return $this->enableIntegrityMonitoring;
}
/**
* @param bool
*/
public function setEnableVtpm($enableVtpm)
{
$this->enableVtpm = $enableVtpm;
}
/**
* @return bool
*/
public function getEnableVtpm()
{
return $this->enableVtpm;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setMachineTypeSeries($machineTypeSeries)
{
$this->machineTypeSeries = $machineTypeSeries;
}
/**
* @return string
*/
public function getMachineTypeSeries()
{
return $this->machineTypeSeries;
}
/**
* @param string[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param NetworkInterface[]
*/
public function setNetworkInterfaces($networkInterfaces)
{
$this->networkInterfaces = $networkInterfaces;
}
/**
* @return NetworkInterface[]
*/
public function getNetworkInterfaces()
{
return $this->networkInterfaces;
}
/**
* @param string[]
*/
public function setNetworkTags($networkTags)
{
$this->networkTags = $networkTags;
}
/**
* @return string[]
*/
public function getNetworkTags()
{
return $this->networkTags;
}
/**
* @param bool
*/
public function setSecureBoot($secureBoot)
{
$this->secureBoot = $secureBoot;
}
/**
* @return bool
*/
public function getSecureBoot()
{
return $this->secureBoot;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setVmName($vmName)
{
$this->vmName = $vmName;
}
/**
* @return string
*/
public function getVmName()
{
return $this->vmName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisksMigrationVmTargetDefaults::class, 'Google_Service_VMMigrationService_DisksMigrationVmTargetDefaults');

View File

@@ -0,0 +1,44 @@
<?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 DisksMigrationVmTargetDetails extends \Google\Model
{
/**
* @var string
*/
public $vmUri;
/**
* @param string
*/
public function setVmUri($vmUri)
{
$this->vmUri = $vmUri;
}
/**
* @return string
*/
public function getVmUri()
{
return $this->vmUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisksMigrationVmTargetDetails::class, 'Google_Service_VMMigrationService_DisksMigrationVmTargetDetails');

View File

@@ -0,0 +1,44 @@
<?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 Encryption extends \Google\Model
{
/**
* @var string
*/
public $kmsKey;
/**
* @param string
*/
public function setKmsKey($kmsKey)
{
$this->kmsKey = $kmsKey;
}
/**
* @return string
*/
public function getKmsKey()
{
return $this->kmsKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Encryption::class, 'Google_Service_VMMigrationService_Encryption');

View File

@@ -0,0 +1,110 @@
<?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 FetchInventoryResponse extends \Google\Model
{
protected $awsVmsType = AwsVmsDetails::class;
protected $awsVmsDataType = '';
protected $azureVmsType = AzureVmsDetails::class;
protected $azureVmsDataType = '';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $updateTime;
protected $vmwareVmsType = VmwareVmsDetails::class;
protected $vmwareVmsDataType = '';
/**
* @param AwsVmsDetails
*/
public function setAwsVms(AwsVmsDetails $awsVms)
{
$this->awsVms = $awsVms;
}
/**
* @return AwsVmsDetails
*/
public function getAwsVms()
{
return $this->awsVms;
}
/**
* @param AzureVmsDetails
*/
public function setAzureVms(AzureVmsDetails $azureVms)
{
$this->azureVms = $azureVms;
}
/**
* @return AzureVmsDetails
*/
public function getAzureVms()
{
return $this->azureVms;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param VmwareVmsDetails
*/
public function setVmwareVms(VmwareVmsDetails $vmwareVms)
{
$this->vmwareVms = $vmwareVms;
}
/**
* @return VmwareVmsDetails
*/
public function getVmwareVms()
{
return $this->vmwareVms;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchInventoryResponse::class, 'Google_Service_VMMigrationService_FetchInventoryResponse');

View File

@@ -0,0 +1,25 @@
<?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 FinalizeMigrationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FinalizeMigrationRequest::class, 'Google_Service_VMMigrationService_FinalizeMigrationRequest');

View File

@@ -0,0 +1,25 @@
<?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 FinalizeMigrationResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FinalizeMigrationResponse::class, 'Google_Service_VMMigrationService_FinalizeMigrationResponse');

View File

@@ -0,0 +1,134 @@
<?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 Group extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $migrationTargetType;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMigrationTargetType($migrationTargetType)
{
$this->migrationTargetType = $migrationTargetType;
}
/**
* @return string
*/
public function getMigrationTargetType()
{
return $this->migrationTargetType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
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(Group::class, 'Google_Service_VMMigrationService_Group');

View File

@@ -0,0 +1,145 @@
<?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 ImageImport extends \Google\Collection
{
protected $collection_key = 'recentImageImportJobs';
/**
* @var string
*/
public $cloudStorageUri;
/**
* @var string
*/
public $createTime;
protected $diskImageTargetDefaultsType = DiskImageTargetDetails::class;
protected $diskImageTargetDefaultsDataType = '';
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
protected $machineImageTargetDefaultsType = MachineImageTargetDetails::class;
protected $machineImageTargetDefaultsDataType = '';
/**
* @var string
*/
public $name;
protected $recentImageImportJobsType = ImageImportJob::class;
protected $recentImageImportJobsDataType = 'array';
/**
* @param string
*/
public function setCloudStorageUri($cloudStorageUri)
{
$this->cloudStorageUri = $cloudStorageUri;
}
/**
* @return string
*/
public function getCloudStorageUri()
{
return $this->cloudStorageUri;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DiskImageTargetDetails
*/
public function setDiskImageTargetDefaults(DiskImageTargetDetails $diskImageTargetDefaults)
{
$this->diskImageTargetDefaults = $diskImageTargetDefaults;
}
/**
* @return DiskImageTargetDetails
*/
public function getDiskImageTargetDefaults()
{
return $this->diskImageTargetDefaults;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param MachineImageTargetDetails
*/
public function setMachineImageTargetDefaults(MachineImageTargetDetails $machineImageTargetDefaults)
{
$this->machineImageTargetDefaults = $machineImageTargetDefaults;
}
/**
* @return MachineImageTargetDetails
*/
public function getMachineImageTargetDefaults()
{
return $this->machineImageTargetDefaults;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ImageImportJob[]
*/
public function setRecentImageImportJobs($recentImageImportJobs)
{
$this->recentImageImportJobs = $recentImageImportJobs;
}
/**
* @return ImageImportJob[]
*/
public function getRecentImageImportJobs()
{
return $this->recentImageImportJobs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImageImport::class, 'Google_Service_VMMigrationService_ImageImport');

View File

@@ -0,0 +1,215 @@
<?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 ImageImportJob extends \Google\Collection
{
protected $collection_key = 'warnings';
/**
* @var string
*/
public $cloudStorageUri;
/**
* @var string
*/
public $createTime;
/**
* @var string[]
*/
public $createdResources;
protected $diskImageTargetDetailsType = DiskImageTargetDetails::class;
protected $diskImageTargetDetailsDataType = '';
/**
* @var string
*/
public $endTime;
protected $errorsType = Status::class;
protected $errorsDataType = 'array';
protected $machineImageTargetDetailsType = MachineImageTargetDetails::class;
protected $machineImageTargetDetailsDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
protected $stepsType = ImageImportStep::class;
protected $stepsDataType = 'array';
protected $warningsType = MigrationWarning::class;
protected $warningsDataType = 'array';
/**
* @param string
*/
public function setCloudStorageUri($cloudStorageUri)
{
$this->cloudStorageUri = $cloudStorageUri;
}
/**
* @return string
*/
public function getCloudStorageUri()
{
return $this->cloudStorageUri;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string[]
*/
public function setCreatedResources($createdResources)
{
$this->createdResources = $createdResources;
}
/**
* @return string[]
*/
public function getCreatedResources()
{
return $this->createdResources;
}
/**
* @param DiskImageTargetDetails
*/
public function setDiskImageTargetDetails(DiskImageTargetDetails $diskImageTargetDetails)
{
$this->diskImageTargetDetails = $diskImageTargetDetails;
}
/**
* @return DiskImageTargetDetails
*/
public function getDiskImageTargetDetails()
{
return $this->diskImageTargetDetails;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Status[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Status[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param MachineImageTargetDetails
*/
public function setMachineImageTargetDetails(MachineImageTargetDetails $machineImageTargetDetails)
{
$this->machineImageTargetDetails = $machineImageTargetDetails;
}
/**
* @return MachineImageTargetDetails
*/
public function getMachineImageTargetDetails()
{
return $this->machineImageTargetDetails;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param ImageImportStep[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return ImageImportStep[]
*/
public function getSteps()
{
return $this->steps;
}
/**
* @param MigrationWarning[]
*/
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(ImageImportJob::class, 'Google_Service_VMMigrationService_ImageImportJob');

View File

@@ -0,0 +1,62 @@
<?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 ImageImportOsAdaptationParameters extends \Google\Model
{
/**
* @var bool
*/
public $generalize;
/**
* @var string
*/
public $licenseType;
/**
* @param bool
*/
public function setGeneralize($generalize)
{
$this->generalize = $generalize;
}
/**
* @return bool
*/
public function getGeneralize()
{
return $this->generalize;
}
/**
* @param string
*/
public function setLicenseType($licenseType)
{
$this->licenseType = $licenseType;
}
/**
* @return string
*/
public function getLicenseType()
{
return $this->licenseType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImageImportOsAdaptationParameters::class, 'Google_Service_VMMigrationService_ImageImportOsAdaptationParameters');

View File

@@ -0,0 +1,126 @@
<?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 ImageImportStep extends \Google\Model
{
protected $adaptingOsType = AdaptingOSStep::class;
protected $adaptingOsDataType = '';
protected $creatingImageType = CreatingImageStep::class;
protected $creatingImageDataType = '';
/**
* @var string
*/
public $endTime;
protected $initializingType = InitializingImageImportStep::class;
protected $initializingDataType = '';
protected $loadingSourceFilesType = LoadingImageSourceFilesStep::class;
protected $loadingSourceFilesDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @param AdaptingOSStep
*/
public function setAdaptingOs(AdaptingOSStep $adaptingOs)
{
$this->adaptingOs = $adaptingOs;
}
/**
* @return AdaptingOSStep
*/
public function getAdaptingOs()
{
return $this->adaptingOs;
}
/**
* @param CreatingImageStep
*/
public function setCreatingImage(CreatingImageStep $creatingImage)
{
$this->creatingImage = $creatingImage;
}
/**
* @return CreatingImageStep
*/
public function getCreatingImage()
{
return $this->creatingImage;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param InitializingImageImportStep
*/
public function setInitializing(InitializingImageImportStep $initializing)
{
$this->initializing = $initializing;
}
/**
* @return InitializingImageImportStep
*/
public function getInitializing()
{
return $this->initializing;
}
/**
* @param LoadingImageSourceFilesStep
*/
public function setLoadingSourceFiles(LoadingImageSourceFilesStep $loadingSourceFiles)
{
$this->loadingSourceFiles = $loadingSourceFiles;
}
/**
* @return LoadingImageSourceFilesStep
*/
public function getLoadingSourceFiles()
{
return $this->loadingSourceFiles;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImageImportStep::class, 'Google_Service_VMMigrationService_ImageImportStep');

View File

@@ -0,0 +1,25 @@
<?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 InitializingImageImportStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitializingImageImportStep::class, 'Google_Service_VMMigrationService_InitializingImageImportStep');

View File

@@ -0,0 +1,25 @@
<?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 InitializingReplicationStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitializingReplicationStep::class, 'Google_Service_VMMigrationService_InitializingReplicationStep');

View File

@@ -0,0 +1,25 @@
<?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 InstantiatingMigratedVMStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstantiatingMigratedVMStep::class, 'Google_Service_VMMigrationService_InstantiatingMigratedVMStep');

View File

@@ -0,0 +1,62 @@
<?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 Link extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Link::class, 'Google_Service_VMMigrationService_Link');

View File

@@ -0,0 +1,79 @@
<?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 ListCloneJobsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $cloneJobsType = CloneJob::class;
protected $cloneJobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CloneJob[]
*/
public function setCloneJobs($cloneJobs)
{
$this->cloneJobs = $cloneJobs;
}
/**
* @return CloneJob[]
*/
public function getCloneJobs()
{
return $this->cloneJobs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCloneJobsResponse::class, 'Google_Service_VMMigrationService_ListCloneJobsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListCutoverJobsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $cutoverJobsType = CutoverJob::class;
protected $cutoverJobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CutoverJob[]
*/
public function setCutoverJobs($cutoverJobs)
{
$this->cutoverJobs = $cutoverJobs;
}
/**
* @return CutoverJob[]
*/
public function getCutoverJobs()
{
return $this->cutoverJobs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListCutoverJobsResponse::class, 'Google_Service_VMMigrationService_ListCutoverJobsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListDatacenterConnectorsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $datacenterConnectorsType = DatacenterConnector::class;
protected $datacenterConnectorsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param DatacenterConnector[]
*/
public function setDatacenterConnectors($datacenterConnectors)
{
$this->datacenterConnectors = $datacenterConnectors;
}
/**
* @return DatacenterConnector[]
*/
public function getDatacenterConnectors()
{
return $this->datacenterConnectors;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDatacenterConnectorsResponse::class, 'Google_Service_VMMigrationService_ListDatacenterConnectorsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListGroupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $groupsType = Group::class;
protected $groupsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Group[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return Group[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGroupsResponse::class, 'Google_Service_VMMigrationService_ListGroupsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListImageImportJobsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $imageImportJobsType = ImageImportJob::class;
protected $imageImportJobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ImageImportJob[]
*/
public function setImageImportJobs($imageImportJobs)
{
$this->imageImportJobs = $imageImportJobs;
}
/**
* @return ImageImportJob[]
*/
public function getImageImportJobs()
{
return $this->imageImportJobs;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListImageImportJobsResponse::class, 'Google_Service_VMMigrationService_ListImageImportJobsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListImageImportsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $imageImportsType = ImageImport::class;
protected $imageImportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ImageImport[]
*/
public function setImageImports($imageImports)
{
$this->imageImports = $imageImports;
}
/**
* @return ImageImport[]
*/
public function getImageImports()
{
return $this->imageImports;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListImageImportsResponse::class, 'Google_Service_VMMigrationService_ListImageImportsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_VMMigrationService_ListLocationsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListMigratingVmsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $migratingVmsType = MigratingVm::class;
protected $migratingVmsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param MigratingVm[]
*/
public function setMigratingVms($migratingVms)
{
$this->migratingVms = $migratingVms;
}
/**
* @return MigratingVm[]
*/
public function getMigratingVms()
{
return $this->migratingVms;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMigratingVmsResponse::class, 'Google_Service_VMMigrationService_ListMigratingVmsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_VMMigrationService_ListOperationsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListReplicationCyclesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $replicationCyclesType = ReplicationCycle::class;
protected $replicationCyclesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ReplicationCycle[]
*/
public function setReplicationCycles($replicationCycles)
{
$this->replicationCycles = $replicationCycles;
}
/**
* @return ReplicationCycle[]
*/
public function getReplicationCycles()
{
return $this->replicationCycles;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListReplicationCyclesResponse::class, 'Google_Service_VMMigrationService_ListReplicationCyclesResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListSourcesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $sourcesType = Source::class;
protected $sourcesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Source[]
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return Source[]
*/
public function getSources()
{
return $this->sources;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSourcesResponse::class, 'Google_Service_VMMigrationService_ListSourcesResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListTargetProjectsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $targetProjectsType = TargetProject::class;
protected $targetProjectsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param TargetProject[]
*/
public function setTargetProjects($targetProjects)
{
$this->targetProjects = $targetProjects;
}
/**
* @return TargetProject[]
*/
public function getTargetProjects()
{
return $this->targetProjects;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListTargetProjectsResponse::class, 'Google_Service_VMMigrationService_ListTargetProjectsResponse');

View File

@@ -0,0 +1,79 @@
<?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 ListUtilizationReportsResponse extends \Google\Collection
{
protected $collection_key = 'utilizationReports';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
protected $utilizationReportsType = UtilizationReport::class;
protected $utilizationReportsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
/**
* @param UtilizationReport[]
*/
public function setUtilizationReports($utilizationReports)
{
$this->utilizationReports = $utilizationReports;
}
/**
* @return UtilizationReport[]
*/
public function getUtilizationReports()
{
return $this->utilizationReports;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUtilizationReportsResponse::class, 'Google_Service_VMMigrationService_ListUtilizationReportsResponse');

View File

@@ -0,0 +1,25 @@
<?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 LoadingImageSourceFilesStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LoadingImageSourceFilesStep::class, 'Google_Service_VMMigrationService_LoadingImageSourceFilesStep');

View File

@@ -0,0 +1,62 @@
<?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 LocalizedMessage extends \Google\Model
{
/**
* @var string
*/
public $locale;
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocalizedMessage::class, 'Google_Service_VMMigrationService_LocalizedMessage');

View File

@@ -0,0 +1,116 @@
<?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 Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_VMMigrationService_Location');

View File

@@ -0,0 +1,44 @@
<?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 MachineImageParametersOverrides extends \Google\Model
{
/**
* @var string
*/
public $machineType;
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MachineImageParametersOverrides::class, 'Google_Service_VMMigrationService_MachineImageParametersOverrides');

View File

@@ -0,0 +1,265 @@
<?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 MachineImageTargetDetails extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string[]
*/
public $additionalLicenses;
/**
* @var string
*/
public $description;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $machineImageName;
protected $machineImageParametersOverridesType = MachineImageParametersOverrides::class;
protected $machineImageParametersOverridesDataType = '';
protected $networkInterfacesType = NetworkInterface::class;
protected $networkInterfacesDataType = 'array';
protected $osAdaptationParametersType = ImageImportOsAdaptationParameters::class;
protected $osAdaptationParametersDataType = '';
protected $serviceAccountType = ServiceAccount::class;
protected $serviceAccountDataType = '';
protected $shieldedInstanceConfigType = ShieldedInstanceConfig::class;
protected $shieldedInstanceConfigDataType = '';
/**
* @var bool
*/
public $singleRegionStorage;
protected $skipOsAdaptationType = SkipOsAdaptation::class;
protected $skipOsAdaptationDataType = '';
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $targetProject;
/**
* @param string[]
*/
public function setAdditionalLicenses($additionalLicenses)
{
$this->additionalLicenses = $additionalLicenses;
}
/**
* @return string[]
*/
public function getAdditionalLicenses()
{
return $this->additionalLicenses;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMachineImageName($machineImageName)
{
$this->machineImageName = $machineImageName;
}
/**
* @return string
*/
public function getMachineImageName()
{
return $this->machineImageName;
}
/**
* @param MachineImageParametersOverrides
*/
public function setMachineImageParametersOverrides(MachineImageParametersOverrides $machineImageParametersOverrides)
{
$this->machineImageParametersOverrides = $machineImageParametersOverrides;
}
/**
* @return MachineImageParametersOverrides
*/
public function getMachineImageParametersOverrides()
{
return $this->machineImageParametersOverrides;
}
/**
* @param NetworkInterface[]
*/
public function setNetworkInterfaces($networkInterfaces)
{
$this->networkInterfaces = $networkInterfaces;
}
/**
* @return NetworkInterface[]
*/
public function getNetworkInterfaces()
{
return $this->networkInterfaces;
}
/**
* @param ImageImportOsAdaptationParameters
*/
public function setOsAdaptationParameters(ImageImportOsAdaptationParameters $osAdaptationParameters)
{
$this->osAdaptationParameters = $osAdaptationParameters;
}
/**
* @return ImageImportOsAdaptationParameters
*/
public function getOsAdaptationParameters()
{
return $this->osAdaptationParameters;
}
/**
* @param ServiceAccount
*/
public function setServiceAccount(ServiceAccount $serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return ServiceAccount
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param ShieldedInstanceConfig
*/
public function setShieldedInstanceConfig(ShieldedInstanceConfig $shieldedInstanceConfig)
{
$this->shieldedInstanceConfig = $shieldedInstanceConfig;
}
/**
* @return ShieldedInstanceConfig
*/
public function getShieldedInstanceConfig()
{
return $this->shieldedInstanceConfig;
}
/**
* @param bool
*/
public function setSingleRegionStorage($singleRegionStorage)
{
$this->singleRegionStorage = $singleRegionStorage;
}
/**
* @return bool
*/
public function getSingleRegionStorage()
{
return $this->singleRegionStorage;
}
/**
* @param SkipOsAdaptation
*/
public function setSkipOsAdaptation(SkipOsAdaptation $skipOsAdaptation)
{
$this->skipOsAdaptation = $skipOsAdaptation;
}
/**
* @return SkipOsAdaptation
*/
public function getSkipOsAdaptation()
{
return $this->skipOsAdaptation;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setTargetProject($targetProject)
{
$this->targetProject = $targetProject;
}
/**
* @return string
*/
public function getTargetProject()
{
return $this->targetProject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MachineImageTargetDetails::class, 'Google_Service_VMMigrationService_MachineImageTargetDetails');

View File

@@ -0,0 +1,415 @@
<?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 MigratingVm extends \Google\Collection
{
protected $collection_key = 'recentCutoverJobs';
protected $awsSourceVmDetailsType = AwsSourceVmDetails::class;
protected $awsSourceVmDetailsDataType = '';
protected $azureSourceVmDetailsType = AzureSourceVmDetails::class;
protected $azureSourceVmDetailsDataType = '';
protected $computeEngineDisksTargetDefaultsType = ComputeEngineDisksTargetDefaults::class;
protected $computeEngineDisksTargetDefaultsDataType = '';
protected $computeEngineTargetDefaultsType = ComputeEngineTargetDefaults::class;
protected $computeEngineTargetDefaultsDataType = '';
/**
* @var string
*/
public $createTime;
protected $currentSyncInfoType = ReplicationCycle::class;
protected $currentSyncInfoDataType = '';
protected $cutoverForecastType = CutoverForecast::class;
protected $cutoverForecastDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $group;
/**
* @var string[]
*/
public $labels;
protected $lastReplicationCycleType = ReplicationCycle::class;
protected $lastReplicationCycleDataType = '';
protected $lastSyncType = ReplicationSync::class;
protected $lastSyncDataType = '';
/**
* @var string
*/
public $name;
protected $policyType = SchedulePolicy::class;
protected $policyDataType = '';
protected $recentCloneJobsType = CloneJob::class;
protected $recentCloneJobsDataType = 'array';
protected $recentCutoverJobsType = CutoverJob::class;
protected $recentCutoverJobsDataType = 'array';
/**
* @var string
*/
public $sourceVmId;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $stateTime;
/**
* @var string
*/
public $updateTime;
protected $vmwareSourceVmDetailsType = VmwareSourceVmDetails::class;
protected $vmwareSourceVmDetailsDataType = '';
/**
* @param AwsSourceVmDetails
*/
public function setAwsSourceVmDetails(AwsSourceVmDetails $awsSourceVmDetails)
{
$this->awsSourceVmDetails = $awsSourceVmDetails;
}
/**
* @return AwsSourceVmDetails
*/
public function getAwsSourceVmDetails()
{
return $this->awsSourceVmDetails;
}
/**
* @param AzureSourceVmDetails
*/
public function setAzureSourceVmDetails(AzureSourceVmDetails $azureSourceVmDetails)
{
$this->azureSourceVmDetails = $azureSourceVmDetails;
}
/**
* @return AzureSourceVmDetails
*/
public function getAzureSourceVmDetails()
{
return $this->azureSourceVmDetails;
}
/**
* @param ComputeEngineDisksTargetDefaults
*/
public function setComputeEngineDisksTargetDefaults(ComputeEngineDisksTargetDefaults $computeEngineDisksTargetDefaults)
{
$this->computeEngineDisksTargetDefaults = $computeEngineDisksTargetDefaults;
}
/**
* @return ComputeEngineDisksTargetDefaults
*/
public function getComputeEngineDisksTargetDefaults()
{
return $this->computeEngineDisksTargetDefaults;
}
/**
* @param ComputeEngineTargetDefaults
*/
public function setComputeEngineTargetDefaults(ComputeEngineTargetDefaults $computeEngineTargetDefaults)
{
$this->computeEngineTargetDefaults = $computeEngineTargetDefaults;
}
/**
* @return ComputeEngineTargetDefaults
*/
public function getComputeEngineTargetDefaults()
{
return $this->computeEngineTargetDefaults;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param ReplicationCycle
*/
public function setCurrentSyncInfo(ReplicationCycle $currentSyncInfo)
{
$this->currentSyncInfo = $currentSyncInfo;
}
/**
* @return ReplicationCycle
*/
public function getCurrentSyncInfo()
{
return $this->currentSyncInfo;
}
/**
* @param CutoverForecast
*/
public function setCutoverForecast(CutoverForecast $cutoverForecast)
{
$this->cutoverForecast = $cutoverForecast;
}
/**
* @return CutoverForecast
*/
public function getCutoverForecast()
{
return $this->cutoverForecast;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ReplicationCycle
*/
public function setLastReplicationCycle(ReplicationCycle $lastReplicationCycle)
{
$this->lastReplicationCycle = $lastReplicationCycle;
}
/**
* @return ReplicationCycle
*/
public function getLastReplicationCycle()
{
return $this->lastReplicationCycle;
}
/**
* @param ReplicationSync
*/
public function setLastSync(ReplicationSync $lastSync)
{
$this->lastSync = $lastSync;
}
/**
* @return ReplicationSync
*/
public function getLastSync()
{
return $this->lastSync;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param SchedulePolicy
*/
public function setPolicy(SchedulePolicy $policy)
{
$this->policy = $policy;
}
/**
* @return SchedulePolicy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param CloneJob[]
*/
public function setRecentCloneJobs($recentCloneJobs)
{
$this->recentCloneJobs = $recentCloneJobs;
}
/**
* @return CloneJob[]
*/
public function getRecentCloneJobs()
{
return $this->recentCloneJobs;
}
/**
* @param CutoverJob[]
*/
public function setRecentCutoverJobs($recentCutoverJobs)
{
$this->recentCutoverJobs = $recentCutoverJobs;
}
/**
* @return CutoverJob[]
*/
public function getRecentCutoverJobs()
{
return $this->recentCutoverJobs;
}
/**
* @param string
*/
public function setSourceVmId($sourceVmId)
{
$this->sourceVmId = $sourceVmId;
}
/**
* @return string
*/
public function getSourceVmId()
{
return $this->sourceVmId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setStateTime($stateTime)
{
$this->stateTime = $stateTime;
}
/**
* @return string
*/
public function getStateTime()
{
return $this->stateTime;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param VmwareSourceVmDetails
*/
public function setVmwareSourceVmDetails(VmwareSourceVmDetails $vmwareSourceVmDetails)
{
$this->vmwareSourceVmDetails = $vmwareSourceVmDetails;
}
/**
* @return VmwareSourceVmDetails
*/
public function getVmwareSourceVmDetails()
{
return $this->vmwareSourceVmDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigratingVm::class, 'Google_Service_VMMigrationService_MigratingVm');

View File

@@ -0,0 +1,111 @@
<?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 MigrationError extends \Google\Collection
{
protected $collection_key = 'helpLinks';
protected $actionItemType = LocalizedMessage::class;
protected $actionItemDataType = '';
/**
* @var string
*/
public $code;
protected $errorMessageType = LocalizedMessage::class;
protected $errorMessageDataType = '';
/**
* @var string
*/
public $errorTime;
protected $helpLinksType = Link::class;
protected $helpLinksDataType = 'array';
/**
* @param LocalizedMessage
*/
public function setActionItem(LocalizedMessage $actionItem)
{
$this->actionItem = $actionItem;
}
/**
* @return LocalizedMessage
*/
public function getActionItem()
{
return $this->actionItem;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param LocalizedMessage
*/
public function setErrorMessage(LocalizedMessage $errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return LocalizedMessage
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param string
*/
public function setErrorTime($errorTime)
{
$this->errorTime = $errorTime;
}
/**
* @return string
*/
public function getErrorTime()
{
return $this->errorTime;
}
/**
* @param Link[]
*/
public function setHelpLinks($helpLinks)
{
$this->helpLinks = $helpLinks;
}
/**
* @return Link[]
*/
public function getHelpLinks()
{
return $this->helpLinks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigrationError::class, 'Google_Service_VMMigrationService_MigrationError');

View File

@@ -0,0 +1,111 @@
<?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 MigrationWarning extends \Google\Collection
{
protected $collection_key = 'helpLinks';
protected $actionItemType = LocalizedMessage::class;
protected $actionItemDataType = '';
/**
* @var string
*/
public $code;
protected $helpLinksType = Link::class;
protected $helpLinksDataType = 'array';
protected $warningMessageType = LocalizedMessage::class;
protected $warningMessageDataType = '';
/**
* @var string
*/
public $warningTime;
/**
* @param LocalizedMessage
*/
public function setActionItem(LocalizedMessage $actionItem)
{
$this->actionItem = $actionItem;
}
/**
* @return LocalizedMessage
*/
public function getActionItem()
{
return $this->actionItem;
}
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param Link[]
*/
public function setHelpLinks($helpLinks)
{
$this->helpLinks = $helpLinks;
}
/**
* @return Link[]
*/
public function getHelpLinks()
{
return $this->helpLinks;
}
/**
* @param LocalizedMessage
*/
public function setWarningMessage(LocalizedMessage $warningMessage)
{
$this->warningMessage = $warningMessage;
}
/**
* @return LocalizedMessage
*/
public function getWarningMessage()
{
return $this->warningMessage;
}
/**
* @param string
*/
public function setWarningTime($warningTime)
{
$this->warningTime = $warningTime;
}
/**
* @return string
*/
public function getWarningTime()
{
return $this->warningTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MigrationWarning::class, 'Google_Service_VMMigrationService_MigrationWarning');

View File

@@ -0,0 +1,62 @@
<?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 NetworkInsights extends \Google\Model
{
/**
* @var string
*/
public $sourceNetworkConfig;
/**
* @var string
*/
public $sourceNetworkTerraform;
/**
* @param string
*/
public function setSourceNetworkConfig($sourceNetworkConfig)
{
$this->sourceNetworkConfig = $sourceNetworkConfig;
}
/**
* @return string
*/
public function getSourceNetworkConfig()
{
return $this->sourceNetworkConfig;
}
/**
* @param string
*/
public function setSourceNetworkTerraform($sourceNetworkTerraform)
{
$this->sourceNetworkTerraform = $sourceNetworkTerraform;
}
/**
* @return string
*/
public function getSourceNetworkTerraform()
{
return $this->sourceNetworkTerraform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkInsights::class, 'Google_Service_VMMigrationService_NetworkInsights');

View File

@@ -0,0 +1,116 @@
<?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 NetworkInterface extends \Google\Model
{
/**
* @var string
*/
public $externalIp;
/**
* @var string
*/
public $internalIp;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $networkTier;
/**
* @var string
*/
public $subnetwork;
/**
* @param string
*/
public function setExternalIp($externalIp)
{
$this->externalIp = $externalIp;
}
/**
* @return string
*/
public function getExternalIp()
{
return $this->externalIp;
}
/**
* @param string
*/
public function setInternalIp($internalIp)
{
$this->internalIp = $internalIp;
}
/**
* @return string
*/
public function getInternalIp()
{
return $this->internalIp;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNetworkTier($networkTier)
{
$this->networkTier = $networkTier;
}
/**
* @return string
*/
public function getNetworkTier()
{
return $this->networkTier;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkInterface::class, 'Google_Service_VMMigrationService_NetworkInterface');

View File

@@ -0,0 +1,98 @@
<?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 OSDescription extends \Google\Model
{
/**
* @var string
*/
public $offer;
/**
* @var string
*/
public $plan;
/**
* @var string
*/
public $publisher;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setOffer($offer)
{
$this->offer = $offer;
}
/**
* @return string
*/
public function getOffer()
{
return $this->offer;
}
/**
* @param string
*/
public function setPlan($plan)
{
$this->plan = $plan;
}
/**
* @return string
*/
public function getPlan()
{
return $this->plan;
}
/**
* @param string
*/
public function setPublisher($publisher)
{
$this->publisher = $publisher;
}
/**
* @return string
*/
public function getPublisher()
{
return $this->publisher;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OSDescription::class, 'Google_Service_VMMigrationService_OSDescription');

View File

@@ -0,0 +1,80 @@
<?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 OSDisk extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $sizeGb;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
/**
* @return int
*/
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OSDisk::class, 'Google_Service_VMMigrationService_OSDisk');

View File

@@ -0,0 +1,114 @@
<?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 Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_VMMigrationService_Operation');

View File

@@ -0,0 +1,152 @@
<?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 OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_VMMigrationService_OperationMetadata');

View File

@@ -0,0 +1,25 @@
<?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 PauseMigrationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PauseMigrationRequest::class, 'Google_Service_VMMigrationService_PauseMigrationRequest');

View File

@@ -0,0 +1,25 @@
<?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 PauseMigrationResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PauseMigrationResponse::class, 'Google_Service_VMMigrationService_PauseMigrationResponse');

View File

@@ -0,0 +1,62 @@
<?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 PersistentDisk extends \Google\Model
{
/**
* @var string
*/
public $diskUri;
/**
* @var int
*/
public $sourceDiskNumber;
/**
* @param string
*/
public function setDiskUri($diskUri)
{
$this->diskUri = $diskUri;
}
/**
* @return string
*/
public function getDiskUri()
{
return $this->diskUri;
}
/**
* @param int
*/
public function setSourceDiskNumber($sourceDiskNumber)
{
$this->sourceDiskNumber = $sourceDiskNumber;
}
/**
* @return int
*/
public function getSourceDiskNumber()
{
return $this->sourceDiskNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PersistentDisk::class, 'Google_Service_VMMigrationService_PersistentDisk');

View File

@@ -0,0 +1,130 @@
<?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 PersistentDiskDefaults extends \Google\Model
{
/**
* @var string[]
*/
public $additionalLabels;
/**
* @var string
*/
public $diskName;
/**
* @var string
*/
public $diskType;
protected $encryptionType = Encryption::class;
protected $encryptionDataType = '';
/**
* @var int
*/
public $sourceDiskNumber;
protected $vmAttachmentDetailsType = VmAttachmentDetails::class;
protected $vmAttachmentDetailsDataType = '';
/**
* @param string[]
*/
public function setAdditionalLabels($additionalLabels)
{
$this->additionalLabels = $additionalLabels;
}
/**
* @return string[]
*/
public function getAdditionalLabels()
{
return $this->additionalLabels;
}
/**
* @param string
*/
public function setDiskName($diskName)
{
$this->diskName = $diskName;
}
/**
* @return string
*/
public function getDiskName()
{
return $this->diskName;
}
/**
* @param string
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* @param Encryption
*/
public function setEncryption(Encryption $encryption)
{
$this->encryption = $encryption;
}
/**
* @return Encryption
*/
public function getEncryption()
{
return $this->encryption;
}
/**
* @param int
*/
public function setSourceDiskNumber($sourceDiskNumber)
{
$this->sourceDiskNumber = $sourceDiskNumber;
}
/**
* @return int
*/
public function getSourceDiskNumber()
{
return $this->sourceDiskNumber;
}
/**
* @param VmAttachmentDetails
*/
public function setVmAttachmentDetails(VmAttachmentDetails $vmAttachmentDetails)
{
$this->vmAttachmentDetails = $vmAttachmentDetails;
}
/**
* @return VmAttachmentDetails
*/
public function getVmAttachmentDetails()
{
return $this->vmAttachmentDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PersistentDiskDefaults::class, 'Google_Service_VMMigrationService_PersistentDiskDefaults');

View File

@@ -0,0 +1,25 @@
<?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 PostProcessingStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PostProcessingStep::class, 'Google_Service_VMMigrationService_PostProcessingStep');

View File

@@ -0,0 +1,25 @@
<?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 PreparingVMDisksStep extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PreparingVMDisksStep::class, 'Google_Service_VMMigrationService_PreparingVMDisksStep');

View File

@@ -0,0 +1,44 @@
<?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 RemoveGroupMigrationRequest extends \Google\Model
{
/**
* @var string
*/
public $migratingVm;
/**
* @param string
*/
public function setMigratingVm($migratingVm)
{
$this->migratingVm = $migratingVm;
}
/**
* @return string
*/
public function getMigratingVm()
{
return $this->migratingVm;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveGroupMigrationRequest::class, 'Google_Service_VMMigrationService_RemoveGroupMigrationRequest');

View File

@@ -0,0 +1,25 @@
<?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 RemoveGroupMigrationResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveGroupMigrationResponse::class, 'Google_Service_VMMigrationService_RemoveGroupMigrationResponse');

View File

@@ -0,0 +1,98 @@
<?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 ReplicatingStep extends \Google\Model
{
/**
* @var string
*/
public $lastThirtyMinutesAverageBytesPerSecond;
/**
* @var string
*/
public $lastTwoMinutesAverageBytesPerSecond;
/**
* @var string
*/
public $replicatedBytes;
/**
* @var string
*/
public $totalBytes;
/**
* @param string
*/
public function setLastThirtyMinutesAverageBytesPerSecond($lastThirtyMinutesAverageBytesPerSecond)
{
$this->lastThirtyMinutesAverageBytesPerSecond = $lastThirtyMinutesAverageBytesPerSecond;
}
/**
* @return string
*/
public function getLastThirtyMinutesAverageBytesPerSecond()
{
return $this->lastThirtyMinutesAverageBytesPerSecond;
}
/**
* @param string
*/
public function setLastTwoMinutesAverageBytesPerSecond($lastTwoMinutesAverageBytesPerSecond)
{
$this->lastTwoMinutesAverageBytesPerSecond = $lastTwoMinutesAverageBytesPerSecond;
}
/**
* @return string
*/
public function getLastTwoMinutesAverageBytesPerSecond()
{
return $this->lastTwoMinutesAverageBytesPerSecond;
}
/**
* @param string
*/
public function setReplicatedBytes($replicatedBytes)
{
$this->replicatedBytes = $replicatedBytes;
}
/**
* @return string
*/
public function getReplicatedBytes()
{
return $this->replicatedBytes;
}
/**
* @param string
*/
public function setTotalBytes($totalBytes)
{
$this->totalBytes = $totalBytes;
}
/**
* @return string
*/
public function getTotalBytes()
{
return $this->totalBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplicatingStep::class, 'Google_Service_VMMigrationService_ReplicatingStep');

View File

@@ -0,0 +1,201 @@
<?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
{
protected $collection_key = 'warnings';
/**
* @var int
*/
public $cycleNumber;
/**
* @var string
*/
public $endTime;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $progressPercent;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $state;
protected $stepsType = CycleStep::class;
protected $stepsDataType = 'array';
/**
* @var string
*/
public $totalPauseDuration;
protected $warningsType = MigrationWarning::class;
protected $warningsDataType = 'array';
/**
* @param int
*/
public function setCycleNumber($cycleNumber)
{
$this->cycleNumber = $cycleNumber;
}
/**
* @return int
*/
public function getCycleNumber()
{
return $this->cycleNumber;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setProgressPercent($progressPercent)
{
$this->progressPercent = $progressPercent;
}
/**
* @return int
*/
public function getProgressPercent()
{
return $this->progressPercent;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param CycleStep[]
*/
public function setSteps($steps)
{
$this->steps = $steps;
}
/**
* @return CycleStep[]
*/
public function getSteps()
{
return $this->steps;
}
/**
* @param string
*/
public function setTotalPauseDuration($totalPauseDuration)
{
$this->totalPauseDuration = $totalPauseDuration;
}
/**
* @return string
*/
public function getTotalPauseDuration()
{
return $this->totalPauseDuration;
}
/**
* @param MigrationWarning[]
*/
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');

View File

@@ -0,0 +1,44 @@
<?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 ReplicationSync extends \Google\Model
{
/**
* @var string
*/
public $lastSyncTime;
/**
* @param string
*/
public function setLastSyncTime($lastSyncTime)
{
$this->lastSyncTime = $lastSyncTime;
}
/**
* @return string
*/
public function getLastSyncTime()
{
return $this->lastSyncTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReplicationSync::class, 'Google_Service_VMMigrationService_ReplicationSync');

View File

@@ -0,0 +1,33 @@
<?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\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $vmmigrationService = new Google\Service\VMMigrationService(...);
* $projects = $vmmigrationService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_VMMigrationService_Resource_Projects');

Some files were not shown because too many files have changed in this diff Show More