CreateBackupMetadata.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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 CreateBackupMetadata extends \Google\Model
  19. {
  20. /**
  21. * If set, the time at which this operation finished or was cancelled.
  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 backup being created.
  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 name of the table the backup is created from.
  48. *
  49. * @var string
  50. */
  51. public $sourceTable;
  52. /**
  53. * The time at which this operation started. DEPRECATED: Use request_time
  54. * instead.
  55. *
  56. * @deprecated
  57. * @var string
  58. */
  59. public $startTime;
  60. /**
  61. * If set, the time at which this operation finished or was cancelled.
  62. * DEPRECATED: Use finish_time instead.
  63. *
  64. * @deprecated
  65. * @param string $endTime
  66. */
  67. public function setEndTime($endTime)
  68. {
  69. $this->endTime = $endTime;
  70. }
  71. /**
  72. * @deprecated
  73. * @return string
  74. */
  75. public function getEndTime()
  76. {
  77. return $this->endTime;
  78. }
  79. /**
  80. * The time at which the operation failed or was completed successfully.
  81. *
  82. * @param string $finishTime
  83. */
  84. public function setFinishTime($finishTime)
  85. {
  86. $this->finishTime = $finishTime;
  87. }
  88. /**
  89. * @return string
  90. */
  91. public function getFinishTime()
  92. {
  93. return $this->finishTime;
  94. }
  95. /**
  96. * The name of the backup being created.
  97. *
  98. * @param string $name
  99. */
  100. public function setName($name)
  101. {
  102. $this->name = $name;
  103. }
  104. /**
  105. * @return string
  106. */
  107. public function getName()
  108. {
  109. return $this->name;
  110. }
  111. /**
  112. * The time at which the original request was received.
  113. *
  114. * @param string $requestTime
  115. */
  116. public function setRequestTime($requestTime)
  117. {
  118. $this->requestTime = $requestTime;
  119. }
  120. /**
  121. * @return string
  122. */
  123. public function getRequestTime()
  124. {
  125. return $this->requestTime;
  126. }
  127. /**
  128. * The name of the table the backup is created from.
  129. *
  130. * @param string $sourceTable
  131. */
  132. public function setSourceTable($sourceTable)
  133. {
  134. $this->sourceTable = $sourceTable;
  135. }
  136. /**
  137. * @return string
  138. */
  139. public function getSourceTable()
  140. {
  141. return $this->sourceTable;
  142. }
  143. /**
  144. * The time at which this operation started. DEPRECATED: Use request_time
  145. * instead.
  146. *
  147. * @deprecated
  148. * @param string $startTime
  149. */
  150. public function setStartTime($startTime)
  151. {
  152. $this->startTime = $startTime;
  153. }
  154. /**
  155. * @deprecated
  156. * @return string
  157. */
  158. public function getStartTime()
  159. {
  160. return $this->startTime;
  161. }
  162. }
  163. // Adding a class alias for backwards compatibility with the previous class name.
  164. class_alias(CreateBackupMetadata::class, 'Google_Service_BigtableAdmin_CreateBackupMetadata');