OperationMetadataV1.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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\Appengine;
  18. class OperationMetadataV1 extends \Google\Collection
  19. {
  20. protected $collection_key = 'warning';
  21. protected $createVersionMetadataType = CreateVersionMetadataV1::class;
  22. protected $createVersionMetadataDataType = '';
  23. /**
  24. * @var string
  25. */
  26. public $endTime;
  27. /**
  28. * @var string
  29. */
  30. public $ephemeralMessage;
  31. /**
  32. * @var string
  33. */
  34. public $insertTime;
  35. /**
  36. * @var string
  37. */
  38. public $method;
  39. /**
  40. * @var string
  41. */
  42. public $target;
  43. /**
  44. * @var string
  45. */
  46. public $user;
  47. /**
  48. * @var string[]
  49. */
  50. public $warning;
  51. /**
  52. * @param CreateVersionMetadataV1
  53. */
  54. public function setCreateVersionMetadata(CreateVersionMetadataV1 $createVersionMetadata)
  55. {
  56. $this->createVersionMetadata = $createVersionMetadata;
  57. }
  58. /**
  59. * @return CreateVersionMetadataV1
  60. */
  61. public function getCreateVersionMetadata()
  62. {
  63. return $this->createVersionMetadata;
  64. }
  65. /**
  66. * @param string
  67. */
  68. public function setEndTime($endTime)
  69. {
  70. $this->endTime = $endTime;
  71. }
  72. /**
  73. * @return string
  74. */
  75. public function getEndTime()
  76. {
  77. return $this->endTime;
  78. }
  79. /**
  80. * @param string
  81. */
  82. public function setEphemeralMessage($ephemeralMessage)
  83. {
  84. $this->ephemeralMessage = $ephemeralMessage;
  85. }
  86. /**
  87. * @return string
  88. */
  89. public function getEphemeralMessage()
  90. {
  91. return $this->ephemeralMessage;
  92. }
  93. /**
  94. * @param string
  95. */
  96. public function setInsertTime($insertTime)
  97. {
  98. $this->insertTime = $insertTime;
  99. }
  100. /**
  101. * @return string
  102. */
  103. public function getInsertTime()
  104. {
  105. return $this->insertTime;
  106. }
  107. /**
  108. * @param string
  109. */
  110. public function setMethod($method)
  111. {
  112. $this->method = $method;
  113. }
  114. /**
  115. * @return string
  116. */
  117. public function getMethod()
  118. {
  119. return $this->method;
  120. }
  121. /**
  122. * @param string
  123. */
  124. public function setTarget($target)
  125. {
  126. $this->target = $target;
  127. }
  128. /**
  129. * @return string
  130. */
  131. public function getTarget()
  132. {
  133. return $this->target;
  134. }
  135. /**
  136. * @param string
  137. */
  138. public function setUser($user)
  139. {
  140. $this->user = $user;
  141. }
  142. /**
  143. * @return string
  144. */
  145. public function getUser()
  146. {
  147. return $this->user;
  148. }
  149. /**
  150. * @param string[]
  151. */
  152. public function setWarning($warning)
  153. {
  154. $this->warning = $warning;
  155. }
  156. /**
  157. * @return string[]
  158. */
  159. public function getWarning()
  160. {
  161. return $this->warning;
  162. }
  163. }
  164. // Adding a class alias for backwards compatibility with the previous class name.
  165. class_alias(OperationMetadataV1::class, 'Google_Service_Appengine_OperationMetadataV1');