EVOLUTION-MANAGER
Edit File: AttachedDiskInitializeParams.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\Compute; class AttachedDiskInitializeParams extends \Google\Collection { protected $collection_key = 'resourcePolicies'; /** * @var string */ public $architecture; /** * @var string */ public $description; /** * @var string */ public $diskName; /** * @var string */ public $diskSizeGb; /** * @var string */ public $diskType; /** * @var string[] */ public $labels; /** * @var string[] */ public $licenses; /** * @var string */ public $onUpdateAction; /** * @var string */ public $provisionedIops; /** * @var string */ public $provisionedThroughput; /** * @var string[] */ public $replicaZones; /** * @var string[] */ public $resourceManagerTags; /** * @var string[] */ public $resourcePolicies; /** * @var string */ public $sourceImage; protected $sourceImageEncryptionKeyType = CustomerEncryptionKey::class; protected $sourceImageEncryptionKeyDataType = ''; /** * @var string */ public $sourceSnapshot; protected $sourceSnapshotEncryptionKeyType = CustomerEncryptionKey::class; protected $sourceSnapshotEncryptionKeyDataType = ''; /** * @param string */ public function setArchitecture($architecture) { $this->architecture = $architecture; } /** * @return string */ public function getArchitecture() { return $this->architecture; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string */ public function setDiskName($diskName) { $this->diskName = $diskName; } /** * @return string */ public function getDiskName() { return $this->diskName; } /** * @param string */ public function setDiskSizeGb($diskSizeGb) { $this->diskSizeGb = $diskSizeGb; } /** * @return string */ public function getDiskSizeGb() { return $this->diskSizeGb; } /** * @param string */ public function setDiskType($diskType) { $this->diskType = $diskType; } /** * @return string */ public function getDiskType() { return $this->diskType; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string[] */ public function setLicenses($licenses) { $this->licenses = $licenses; } /** * @return string[] */ public function getLicenses() { return $this->licenses; } /** * @param string */ public function setOnUpdateAction($onUpdateAction) { $this->onUpdateAction = $onUpdateAction; } /** * @return string */ public function getOnUpdateAction() { return $this->onUpdateAction; } /** * @param string */ public function setProvisionedIops($provisionedIops) { $this->provisionedIops = $provisionedIops; } /** * @return string */ public function getProvisionedIops() { return $this->provisionedIops; } /** * @param string */ public function setProvisionedThroughput($provisionedThroughput) { $this->provisionedThroughput = $provisionedThroughput; } /** * @return string */ public function getProvisionedThroughput() { return $this->provisionedThroughput; } /** * @param string[] */ public function setReplicaZones($replicaZones) { $this->replicaZones = $replicaZones; } /** * @return string[] */ public function getReplicaZones() { return $this->replicaZones; } /** * @param string[] */ public function setResourceManagerTags($resourceManagerTags) { $this->resourceManagerTags = $resourceManagerTags; } /** * @return string[] */ public function getResourceManagerTags() { return $this->resourceManagerTags; } /** * @param string[] */ public function setResourcePolicies($resourcePolicies) { $this->resourcePolicies = $resourcePolicies; } /** * @return string[] */ public function getResourcePolicies() { return $this->resourcePolicies; } /** * @param string */ public function setSourceImage($sourceImage) { $this->sourceImage = $sourceImage; } /** * @return string */ public function getSourceImage() { return $this->sourceImage; } /** * @param CustomerEncryptionKey */ public function setSourceImageEncryptionKey(CustomerEncryptionKey $sourceImageEncryptionKey) { $this->sourceImageEncryptionKey = $sourceImageEncryptionKey; } /** * @return CustomerEncryptionKey */ public function getSourceImageEncryptionKey() { return $this->sourceImageEncryptionKey; } /** * @param string */ public function setSourceSnapshot($sourceSnapshot) { $this->sourceSnapshot = $sourceSnapshot; } /** * @return string */ public function getSourceSnapshot() { return $this->sourceSnapshot; } /** * @param CustomerEncryptionKey */ public function setSourceSnapshotEncryptionKey(CustomerEncryptionKey $sourceSnapshotEncryptionKey) { $this->sourceSnapshotEncryptionKey = $sourceSnapshotEncryptionKey; } /** * @return CustomerEncryptionKey */ public function getSourceSnapshotEncryptionKey() { return $this->sourceSnapshotEncryptionKey; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AttachedDiskInitializeParams::class, 'Google_Service_Compute_AttachedDiskInitializeParams');