설명 없음

MetricDescriptor.php 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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_ServiceUsage_MetricDescriptor extends Google_Collection
  18. {
  19. protected $collection_key = 'labels';
  20. public $description;
  21. public $displayName;
  22. protected $labelsType = 'Google_Service_ServiceUsage_LabelDescriptor';
  23. protected $labelsDataType = 'array';
  24. public $metricKind;
  25. public $name;
  26. public $type;
  27. public $unit;
  28. public $valueType;
  29. public function setDescription($description)
  30. {
  31. $this->description = $description;
  32. }
  33. public function getDescription()
  34. {
  35. return $this->description;
  36. }
  37. public function setDisplayName($displayName)
  38. {
  39. $this->displayName = $displayName;
  40. }
  41. public function getDisplayName()
  42. {
  43. return $this->displayName;
  44. }
  45. /**
  46. * @param Google_Service_ServiceUsage_LabelDescriptor
  47. */
  48. public function setLabels($labels)
  49. {
  50. $this->labels = $labels;
  51. }
  52. /**
  53. * @return Google_Service_ServiceUsage_LabelDescriptor
  54. */
  55. public function getLabels()
  56. {
  57. return $this->labels;
  58. }
  59. public function setMetricKind($metricKind)
  60. {
  61. $this->metricKind = $metricKind;
  62. }
  63. public function getMetricKind()
  64. {
  65. return $this->metricKind;
  66. }
  67. public function setName($name)
  68. {
  69. $this->name = $name;
  70. }
  71. public function getName()
  72. {
  73. return $this->name;
  74. }
  75. public function setType($type)
  76. {
  77. $this->type = $type;
  78. }
  79. public function getType()
  80. {
  81. return $this->type;
  82. }
  83. public function setUnit($unit)
  84. {
  85. $this->unit = $unit;
  86. }
  87. public function getUnit()
  88. {
  89. return $this->unit;
  90. }
  91. public function setValueType($valueType)
  92. {
  93. $this->valueType = $valueType;
  94. }
  95. public function getValueType()
  96. {
  97. return $this->valueType;
  98. }
  99. }