ShieldedInstanceConfig.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. namespace Google\Service\Compute;
  18. class ShieldedInstanceConfig extends \Google\Model
  19. {
  20. /**
  21. * Defines whether the instance has integrity monitoring enabled.Enabled by
  22. * default.
  23. *
  24. * @var bool
  25. */
  26. public $enableIntegrityMonitoring;
  27. /**
  28. * Defines whether the instance has Secure Boot enabled.Disabled by default.
  29. *
  30. * @var bool
  31. */
  32. public $enableSecureBoot;
  33. /**
  34. * Defines whether the instance has the vTPM enabled.Enabled by default.
  35. *
  36. * @var bool
  37. */
  38. public $enableVtpm;
  39. /**
  40. * Defines whether the instance has integrity monitoring enabled.Enabled by
  41. * default.
  42. *
  43. * @param bool $enableIntegrityMonitoring
  44. */
  45. public function setEnableIntegrityMonitoring($enableIntegrityMonitoring)
  46. {
  47. $this->enableIntegrityMonitoring = $enableIntegrityMonitoring;
  48. }
  49. /**
  50. * @return bool
  51. */
  52. public function getEnableIntegrityMonitoring()
  53. {
  54. return $this->enableIntegrityMonitoring;
  55. }
  56. /**
  57. * Defines whether the instance has Secure Boot enabled.Disabled by default.
  58. *
  59. * @param bool $enableSecureBoot
  60. */
  61. public function setEnableSecureBoot($enableSecureBoot)
  62. {
  63. $this->enableSecureBoot = $enableSecureBoot;
  64. }
  65. /**
  66. * @return bool
  67. */
  68. public function getEnableSecureBoot()
  69. {
  70. return $this->enableSecureBoot;
  71. }
  72. /**
  73. * Defines whether the instance has the vTPM enabled.Enabled by default.
  74. *
  75. * @param bool $enableVtpm
  76. */
  77. public function setEnableVtpm($enableVtpm)
  78. {
  79. $this->enableVtpm = $enableVtpm;
  80. }
  81. /**
  82. * @return bool
  83. */
  84. public function getEnableVtpm()
  85. {
  86. return $this->enableVtpm;
  87. }
  88. }
  89. // Adding a class alias for backwards compatibility with the previous class name.
  90. class_alias(ShieldedInstanceConfig::class, 'Google_Service_Compute_ShieldedInstanceConfig');