Без опису

ManagedInstance.php 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_Compute_ManagedInstance extends Google_Model
  18. {
  19. public $currentAction;
  20. public $id;
  21. public $instance;
  22. public $instanceStatus;
  23. protected $lastAttemptType = 'Google_Service_Compute_ManagedInstanceLastAttempt';
  24. protected $lastAttemptDataType = '';
  25. public function setCurrentAction($currentAction)
  26. {
  27. $this->currentAction = $currentAction;
  28. }
  29. public function getCurrentAction()
  30. {
  31. return $this->currentAction;
  32. }
  33. public function setId($id)
  34. {
  35. $this->id = $id;
  36. }
  37. public function getId()
  38. {
  39. return $this->id;
  40. }
  41. public function setInstance($instance)
  42. {
  43. $this->instance = $instance;
  44. }
  45. public function getInstance()
  46. {
  47. return $this->instance;
  48. }
  49. public function setInstanceStatus($instanceStatus)
  50. {
  51. $this->instanceStatus = $instanceStatus;
  52. }
  53. public function getInstanceStatus()
  54. {
  55. return $this->instanceStatus;
  56. }
  57. /**
  58. * @param Google_Service_Compute_ManagedInstanceLastAttempt
  59. */
  60. public function setLastAttempt(Google_Service_Compute_ManagedInstanceLastAttempt $lastAttempt)
  61. {
  62. $this->lastAttempt = $lastAttempt;
  63. }
  64. /**
  65. * @return Google_Service_Compute_ManagedInstanceLastAttempt
  66. */
  67. public function getLastAttempt()
  68. {
  69. return $this->lastAttempt;
  70. }
  71. }