lms/vendor/google/apiclient-services/src/VMMigrationService/PersistentDiskDefaults.php
2025-12-15 12:26:23 +01:00

131 lines
2.7 KiB
PHP

<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\VMMigrationService;
class 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');