Nenhuma descrição

CloudRuntimeConfig.php 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. /**
  18. * Service definition for CloudRuntimeConfig (v1).
  19. *
  20. * <p>
  21. * The Runtime Configurator allows you to dynamically configure and expose
  22. * variables through Google Cloud Platform. In addition, you can also set
  23. * Watchers and Waiters that will watch for changes to your data and return
  24. * based on certain conditions.</p>
  25. *
  26. * <p>
  27. * For more information about this service, see the API
  28. * <a href="https://cloud.google.com/deployment-manager/runtime-configurator/" target="_blank">Documentation</a>
  29. * </p>
  30. *
  31. * @author Google, Inc.
  32. */
  33. class Google_Service_CloudRuntimeConfig extends Google_Service
  34. {
  35. /** View and manage your data across Google Cloud Platform services. */
  36. const CLOUD_PLATFORM =
  37. "https://www.googleapis.com/auth/cloud-platform";
  38. /** Manage your Google Cloud Platform services' runtime configuration. */
  39. const CLOUDRUNTIMECONFIG =
  40. "https://www.googleapis.com/auth/cloudruntimeconfig";
  41. public $operations;
  42. /**
  43. * Constructs the internal representation of the CloudRuntimeConfig service.
  44. *
  45. * @param Google_Client $client
  46. */
  47. public function __construct(Google_Client $client)
  48. {
  49. parent::__construct($client);
  50. $this->rootUrl = 'https://runtimeconfig.googleapis.com/';
  51. $this->servicePath = '';
  52. $this->version = 'v1';
  53. $this->serviceName = 'runtimeconfig';
  54. $this->operations = new Google_Service_CloudRuntimeConfig_Resource_Operations(
  55. $this,
  56. $this->serviceName,
  57. 'operations',
  58. array(
  59. 'methods' => array(
  60. 'cancel' => array(
  61. 'path' => 'v1/{+name}:cancel',
  62. 'httpMethod' => 'POST',
  63. 'parameters' => array(
  64. 'name' => array(
  65. 'location' => 'path',
  66. 'type' => 'string',
  67. 'required' => true,
  68. ),
  69. ),
  70. ),'delete' => array(
  71. 'path' => 'v1/{+name}',
  72. 'httpMethod' => 'DELETE',
  73. 'parameters' => array(
  74. 'name' => array(
  75. 'location' => 'path',
  76. 'type' => 'string',
  77. 'required' => true,
  78. ),
  79. ),
  80. ),'list' => array(
  81. 'path' => 'v1/{+name}',
  82. 'httpMethod' => 'GET',
  83. 'parameters' => array(
  84. 'name' => array(
  85. 'location' => 'path',
  86. 'type' => 'string',
  87. 'required' => true,
  88. ),
  89. 'pageSize' => array(
  90. 'location' => 'query',
  91. 'type' => 'integer',
  92. ),
  93. 'filter' => array(
  94. 'location' => 'query',
  95. 'type' => 'string',
  96. ),
  97. 'pageToken' => array(
  98. 'location' => 'query',
  99. 'type' => 'string',
  100. ),
  101. ),
  102. ),
  103. )
  104. )
  105. );
  106. }
  107. }