InstanceSettingsMetadata.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 InstanceSettingsMetadata extends \Google\Model
  19. {
  20. /**
  21. * A metadata key/value items map. The total size of all keys and values must
  22. * be less than 512KB.
  23. *
  24. * @var string[]
  25. */
  26. public $items;
  27. /**
  28. * Output only. [Output Only] Type of the resource. Always compute#metadata
  29. * for metadata.
  30. *
  31. * @var string
  32. */
  33. public $kind;
  34. /**
  35. * A metadata key/value items map. The total size of all keys and values must
  36. * be less than 512KB.
  37. *
  38. * @param string[] $items
  39. */
  40. public function setItems($items)
  41. {
  42. $this->items = $items;
  43. }
  44. /**
  45. * @return string[]
  46. */
  47. public function getItems()
  48. {
  49. return $this->items;
  50. }
  51. /**
  52. * Output only. [Output Only] Type of the resource. Always compute#metadata
  53. * for metadata.
  54. *
  55. * @param string $kind
  56. */
  57. public function setKind($kind)
  58. {
  59. $this->kind = $kind;
  60. }
  61. /**
  62. * @return string
  63. */
  64. public function getKind()
  65. {
  66. return $this->kind;
  67. }
  68. }
  69. // Adding a class alias for backwards compatibility with the previous class name.
  70. class_alias(InstanceSettingsMetadata::class, 'Google_Service_Compute_InstanceSettingsMetadata');