UpdateTableMetadata.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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\BigtableAdmin;
  18. class UpdateTableMetadata extends \Google\Model
  19. {
  20. /**
  21. * If set, the time at which this operation finished or was canceled.
  22. * DEPRECATED: Use finish_time instead.
  23. *
  24. * @deprecated
  25. * @var string
  26. */
  27. public $endTime;
  28. /**
  29. * The time at which the operation failed or was completed successfully.
  30. *
  31. * @var string
  32. */
  33. public $finishTime;
  34. /**
  35. * The name of the table being updated.
  36. *
  37. * @var string
  38. */
  39. public $name;
  40. /**
  41. * The time at which the original request was received.
  42. *
  43. * @var string
  44. */
  45. public $requestTime;
  46. /**
  47. * The time at which this operation started. DEPRECATED: Use request_time
  48. * instead.
  49. *
  50. * @deprecated
  51. * @var string
  52. */
  53. public $startTime;
  54. /**
  55. * If set, the time at which this operation finished or was canceled.
  56. * DEPRECATED: Use finish_time instead.
  57. *
  58. * @deprecated
  59. * @param string $endTime
  60. */
  61. public function setEndTime($endTime)
  62. {
  63. $this->endTime = $endTime;
  64. }
  65. /**
  66. * @deprecated
  67. * @return string
  68. */
  69. public function getEndTime()
  70. {
  71. return $this->endTime;
  72. }
  73. /**
  74. * The time at which the operation failed or was completed successfully.
  75. *
  76. * @param string $finishTime
  77. */
  78. public function setFinishTime($finishTime)
  79. {
  80. $this->finishTime = $finishTime;
  81. }
  82. /**
  83. * @return string
  84. */
  85. public function getFinishTime()
  86. {
  87. return $this->finishTime;
  88. }
  89. /**
  90. * The name of the table being updated.
  91. *
  92. * @param string $name
  93. */
  94. public function setName($name)
  95. {
  96. $this->name = $name;
  97. }
  98. /**
  99. * @return string
  100. */
  101. public function getName()
  102. {
  103. return $this->name;
  104. }
  105. /**
  106. * The time at which the original request was received.
  107. *
  108. * @param string $requestTime
  109. */
  110. public function setRequestTime($requestTime)
  111. {
  112. $this->requestTime = $requestTime;
  113. }
  114. /**
  115. * @return string
  116. */
  117. public function getRequestTime()
  118. {
  119. return $this->requestTime;
  120. }
  121. /**
  122. * The time at which this operation started. DEPRECATED: Use request_time
  123. * instead.
  124. *
  125. * @deprecated
  126. * @param string $startTime
  127. */
  128. public function setStartTime($startTime)
  129. {
  130. $this->startTime = $startTime;
  131. }
  132. /**
  133. * @deprecated
  134. * @return string
  135. */
  136. public function getStartTime()
  137. {
  138. return $this->startTime;
  139. }
  140. }
  141. // Adding a class alias for backwards compatibility with the previous class name.
  142. class_alias(UpdateTableMetadata::class, 'Google_Service_BigtableAdmin_UpdateTableMetadata');