SessionOperationMetadata.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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\Dataproc;
  18. class SessionOperationMetadata extends \Google\Collection
  19. {
  20. protected $collection_key = 'warnings';
  21. /**
  22. * @var string
  23. */
  24. public $createTime;
  25. /**
  26. * @var string
  27. */
  28. public $description;
  29. /**
  30. * @var string
  31. */
  32. public $doneTime;
  33. /**
  34. * @var string[]
  35. */
  36. public $labels;
  37. /**
  38. * @var string
  39. */
  40. public $operationType;
  41. /**
  42. * @var string
  43. */
  44. public $session;
  45. /**
  46. * @var string
  47. */
  48. public $sessionUuid;
  49. /**
  50. * @var string[]
  51. */
  52. public $warnings;
  53. /**
  54. * @param string
  55. */
  56. public function setCreateTime($createTime)
  57. {
  58. $this->createTime = $createTime;
  59. }
  60. /**
  61. * @return string
  62. */
  63. public function getCreateTime()
  64. {
  65. return $this->createTime;
  66. }
  67. /**
  68. * @param string
  69. */
  70. public function setDescription($description)
  71. {
  72. $this->description = $description;
  73. }
  74. /**
  75. * @return string
  76. */
  77. public function getDescription()
  78. {
  79. return $this->description;
  80. }
  81. /**
  82. * @param string
  83. */
  84. public function setDoneTime($doneTime)
  85. {
  86. $this->doneTime = $doneTime;
  87. }
  88. /**
  89. * @return string
  90. */
  91. public function getDoneTime()
  92. {
  93. return $this->doneTime;
  94. }
  95. /**
  96. * @param string[]
  97. */
  98. public function setLabels($labels)
  99. {
  100. $this->labels = $labels;
  101. }
  102. /**
  103. * @return string[]
  104. */
  105. public function getLabels()
  106. {
  107. return $this->labels;
  108. }
  109. /**
  110. * @param string
  111. */
  112. public function setOperationType($operationType)
  113. {
  114. $this->operationType = $operationType;
  115. }
  116. /**
  117. * @return string
  118. */
  119. public function getOperationType()
  120. {
  121. return $this->operationType;
  122. }
  123. /**
  124. * @param string
  125. */
  126. public function setSession($session)
  127. {
  128. $this->session = $session;
  129. }
  130. /**
  131. * @return string
  132. */
  133. public function getSession()
  134. {
  135. return $this->session;
  136. }
  137. /**
  138. * @param string
  139. */
  140. public function setSessionUuid($sessionUuid)
  141. {
  142. $this->sessionUuid = $sessionUuid;
  143. }
  144. /**
  145. * @return string
  146. */
  147. public function getSessionUuid()
  148. {
  149. return $this->sessionUuid;
  150. }
  151. /**
  152. * @param string[]
  153. */
  154. public function setWarnings($warnings)
  155. {
  156. $this->warnings = $warnings;
  157. }
  158. /**
  159. * @return string[]
  160. */
  161. public function getWarnings()
  162. {
  163. return $this->warnings;
  164. }
  165. }
  166. // Adding a class alias for backwards compatibility with the previous class name.
  167. class_alias(SessionOperationMetadata::class, 'Google_Service_Dataproc_SessionOperationMetadata');