Нет описания

AttachedDiskInitializeParams.php 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model
  18. {
  19. public $diskName;
  20. public $diskSizeGb;
  21. public $diskType;
  22. public $labels;
  23. public $sourceImage;
  24. protected $sourceImageEncryptionKeyType = 'Google_Service_Compute_CustomerEncryptionKey';
  25. protected $sourceImageEncryptionKeyDataType = '';
  26. public function setDiskName($diskName)
  27. {
  28. $this->diskName = $diskName;
  29. }
  30. public function getDiskName()
  31. {
  32. return $this->diskName;
  33. }
  34. public function setDiskSizeGb($diskSizeGb)
  35. {
  36. $this->diskSizeGb = $diskSizeGb;
  37. }
  38. public function getDiskSizeGb()
  39. {
  40. return $this->diskSizeGb;
  41. }
  42. public function setDiskType($diskType)
  43. {
  44. $this->diskType = $diskType;
  45. }
  46. public function getDiskType()
  47. {
  48. return $this->diskType;
  49. }
  50. public function setLabels($labels)
  51. {
  52. $this->labels = $labels;
  53. }
  54. public function getLabels()
  55. {
  56. return $this->labels;
  57. }
  58. public function setSourceImage($sourceImage)
  59. {
  60. $this->sourceImage = $sourceImage;
  61. }
  62. public function getSourceImage()
  63. {
  64. return $this->sourceImage;
  65. }
  66. /**
  67. * @param Google_Service_Compute_CustomerEncryptionKey
  68. */
  69. public function setSourceImageEncryptionKey(Google_Service_Compute_CustomerEncryptionKey $sourceImageEncryptionKey)
  70. {
  71. $this->sourceImageEncryptionKey = $sourceImageEncryptionKey;
  72. }
  73. /**
  74. * @return Google_Service_Compute_CustomerEncryptionKey
  75. */
  76. public function getSourceImageEncryptionKey()
  77. {
  78. return $this->sourceImageEncryptionKey;
  79. }
  80. }