RemoveVirtualMachineExadbVmClusterRequest.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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\OracleDatabase;
  18. class RemoveVirtualMachineExadbVmClusterRequest extends \Google\Collection
  19. {
  20. protected $collection_key = 'hostnames';
  21. /**
  22. * Required. The list of host names of db nodes to be removed from the
  23. * ExadbVmCluster.
  24. *
  25. * @var string[]
  26. */
  27. public $hostnames;
  28. /**
  29. * Optional. An optional ID to identify the request. This value is used to
  30. * identify duplicate requests. If you make a request with the same request ID
  31. * and the original request is still in progress or completed, the server
  32. * ignores the second request. This prevents clients from accidentally
  33. * creating duplicate commitments. The request ID must be a valid UUID with
  34. * the exception that zero UUID is not supported
  35. * (00000000-0000-0000-0000-000000000000).
  36. *
  37. * @var string
  38. */
  39. public $requestId;
  40. /**
  41. * Required. The list of host names of db nodes to be removed from the
  42. * ExadbVmCluster.
  43. *
  44. * @param string[] $hostnames
  45. */
  46. public function setHostnames($hostnames)
  47. {
  48. $this->hostnames = $hostnames;
  49. }
  50. /**
  51. * @return string[]
  52. */
  53. public function getHostnames()
  54. {
  55. return $this->hostnames;
  56. }
  57. /**
  58. * Optional. An optional ID to identify the request. This value is used to
  59. * identify duplicate requests. If you make a request with the same request ID
  60. * and the original request is still in progress or completed, the server
  61. * ignores the second request. This prevents clients from accidentally
  62. * creating duplicate commitments. The request ID must be a valid UUID with
  63. * the exception that zero UUID is not supported
  64. * (00000000-0000-0000-0000-000000000000).
  65. *
  66. * @param string $requestId
  67. */
  68. public function setRequestId($requestId)
  69. {
  70. $this->requestId = $requestId;
  71. }
  72. /**
  73. * @return string
  74. */
  75. public function getRequestId()
  76. {
  77. return $this->requestId;
  78. }
  79. }
  80. // Adding a class alias for backwards compatibility with the previous class name.
  81. class_alias(RemoveVirtualMachineExadbVmClusterRequest::class, 'Google_Service_OracleDatabase_RemoveVirtualMachineExadbVmClusterRequest');