Google_Service_Container

Service definition for Container (v1).

Defined (2)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Container.php  
  1. class Google_Service_Container extends Google_Service 
  2. /** View and manage your data across Google Cloud Platform services. */ 
  3. const CLOUD_PLATFORM = 
  4. "https://www.googleapis.com/auth/cloud-platform"; 
  5.  
  6. public $projects_clusters; 
  7. public $projects_operations; 
  8. public $projects_zones_clusters; 
  9. public $projects_zones_operations; 
  10.  
  11.  
  12. /** 
  13. * Constructs the internal representation of the Container service. 
  14. * @param Google_Client $client 
  15. */ 
  16. public function __construct(Google_Client $client) 
  17. parent::__construct($client); 
  18. $this->servicePath = 'container/v1beta1/projects/'; 
  19. $this->version = 'v1beta1'; 
  20. $this->serviceName = 'container'; 
  21.  
  22. $this->projects_clusters = new Google_Service_Container_ProjectsClusters_Resource( 
  23. $this,  
  24. $this->serviceName,  
  25. 'clusters',  
  26. array( 
  27. 'methods' => array( 
  28. 'list' => array( 
  29. 'path' => '{projectId}/clusters',  
  30. 'httpMethod' => 'GET',  
  31. 'parameters' => array( 
  32. 'projectId' => array( 
  33. 'location' => 'path',  
  34. 'type' => 'string',  
  35. 'required' => true,  
  36. ),  
  37. ),  
  38. ),  
  39. ); 
  40. $this->projects_operations = new Google_Service_Container_ProjectsOperations_Resource( 
  41. $this,  
  42. $this->serviceName,  
  43. 'operations',  
  44. array( 
  45. 'methods' => array( 
  46. 'list' => array( 
  47. 'path' => '{projectId}/operations',  
  48. 'httpMethod' => 'GET',  
  49. 'parameters' => array( 
  50. 'projectId' => array( 
  51. 'location' => 'path',  
  52. 'type' => 'string',  
  53. 'required' => true,  
  54. ),  
  55. ),  
  56. ),  
  57. ); 
  58. $this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource( 
  59. $this,  
  60. $this->serviceName,  
  61. 'clusters',  
  62. array( 
  63. 'methods' => array( 
  64. 'create' => array( 
  65. 'path' => '{projectId}/zones/{zoneId}/clusters',  
  66. 'httpMethod' => 'POST',  
  67. 'parameters' => array( 
  68. 'projectId' => array( 
  69. 'location' => 'path',  
  70. 'type' => 'string',  
  71. 'required' => true,  
  72. ),  
  73. 'zoneId' => array( 
  74. 'location' => 'path',  
  75. 'type' => 'string',  
  76. 'required' => true,  
  77. ),  
  78. ),  
  79. ), 'delete' => array( 
  80. 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',  
  81. 'httpMethod' => 'DELETE',  
  82. 'parameters' => array( 
  83. 'projectId' => array( 
  84. 'location' => 'path',  
  85. 'type' => 'string',  
  86. 'required' => true,  
  87. ),  
  88. 'zoneId' => array( 
  89. 'location' => 'path',  
  90. 'type' => 'string',  
  91. 'required' => true,  
  92. ),  
  93. 'clusterId' => array( 
  94. 'location' => 'path',  
  95. 'type' => 'string',  
  96. 'required' => true,  
  97. ),  
  98. ),  
  99. ), 'get' => array( 
  100. 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',  
  101. 'httpMethod' => 'GET',  
  102. 'parameters' => array( 
  103. 'projectId' => array( 
  104. 'location' => 'path',  
  105. 'type' => 'string',  
  106. 'required' => true,  
  107. ),  
  108. 'zoneId' => array( 
  109. 'location' => 'path',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. 'clusterId' => array( 
  114. 'location' => 'path',  
  115. 'type' => 'string',  
  116. 'required' => true,  
  117. ),  
  118. ),  
  119. ), 'list' => array( 
  120. 'path' => '{projectId}/zones/{zoneId}/clusters',  
  121. 'httpMethod' => 'GET',  
  122. 'parameters' => array( 
  123. 'projectId' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. 'zoneId' => array( 
  129. 'location' => 'path',  
  130. 'type' => 'string',  
  131. 'required' => true,  
  132. ),  
  133. ),  
  134. ),  
  135. ); 
  136. $this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource( 
  137. $this,  
  138. $this->serviceName,  
  139. 'operations',  
  140. array( 
  141. 'methods' => array( 
  142. 'get' => array( 
  143. 'path' => '{projectId}/zones/{zoneId}/operations/{operationId}',  
  144. 'httpMethod' => 'GET',  
  145. 'parameters' => array( 
  146. 'projectId' => array( 
  147. 'location' => 'path',  
  148. 'type' => 'string',  
  149. 'required' => true,  
  150. ),  
  151. 'zoneId' => array( 
  152. 'location' => 'path',  
  153. 'type' => 'string',  
  154. 'required' => true,  
  155. ),  
  156. 'operationId' => array( 
  157. 'location' => 'path',  
  158. 'type' => 'string',  
  159. 'required' => true,  
  160. ),  
  161. ),  
  162. ), 'list' => array( 
  163. 'path' => '{projectId}/zones/{zoneId}/operations',  
  164. 'httpMethod' => 'GET',  
  165. 'parameters' => array( 
  166. 'projectId' => array( 
  167. 'location' => 'path',  
  168. 'type' => 'string',  
  169. 'required' => true,  
  170. ),  
  171. 'zoneId' => array( 
  172. 'location' => 'path',  
  173. 'type' => 'string',  
  174. 'required' => true,  
  175. ),  
  176. ),  
  177. ),  
  178. ); 
  1. class Google_Service_Container extends Google_Service 
  2. /** View and manage your data across Google Cloud Platform services. */ 
  3. const CLOUD_PLATFORM = 
  4. "https://www.googleapis.com/auth/cloud-platform"; 
  5.  
  6. public $projects_clusters; 
  7. public $projects_operations; 
  8. public $projects_zones_clusters; 
  9. public $projects_zones_operations; 
  10.  
  11.  
  12. /** 
  13. * Constructs the internal representation of the Container service. 
  14. * @param Google_Client $client 
  15. */ 
  16. public function __construct(Google_Client $client) 
  17. parent::__construct($client); 
  18. $this->servicePath = 'container/v1beta1/projects/'; 
  19. $this->version = 'v1beta1'; 
  20. $this->serviceName = 'container'; 
  21.  
  22. $this->projects_clusters = new Google_Service_Container_ProjectsClusters_Resource( 
  23. $this,  
  24. $this->serviceName,  
  25. 'clusters',  
  26. array( 
  27. 'methods' => array( 
  28. 'list' => array( 
  29. 'path' => '{projectId}/clusters',  
  30. 'httpMethod' => 'GET',  
  31. 'parameters' => array( 
  32. 'projectId' => array( 
  33. 'location' => 'path',  
  34. 'type' => 'string',  
  35. 'required' => true,  
  36. ),  
  37. ),  
  38. ),  
  39. ); 
  40. $this->projects_operations = new Google_Service_Container_ProjectsOperations_Resource( 
  41. $this,  
  42. $this->serviceName,  
  43. 'operations',  
  44. array( 
  45. 'methods' => array( 
  46. 'list' => array( 
  47. 'path' => '{projectId}/operations',  
  48. 'httpMethod' => 'GET',  
  49. 'parameters' => array( 
  50. 'projectId' => array( 
  51. 'location' => 'path',  
  52. 'type' => 'string',  
  53. 'required' => true,  
  54. ),  
  55. ),  
  56. ),  
  57. ); 
  58. $this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource( 
  59. $this,  
  60. $this->serviceName,  
  61. 'clusters',  
  62. array( 
  63. 'methods' => array( 
  64. 'create' => array( 
  65. 'path' => '{projectId}/zones/{zoneId}/clusters',  
  66. 'httpMethod' => 'POST',  
  67. 'parameters' => array( 
  68. 'projectId' => array( 
  69. 'location' => 'path',  
  70. 'type' => 'string',  
  71. 'required' => true,  
  72. ),  
  73. 'zoneId' => array( 
  74. 'location' => 'path',  
  75. 'type' => 'string',  
  76. 'required' => true,  
  77. ),  
  78. ),  
  79. ), 'delete' => array( 
  80. 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',  
  81. 'httpMethod' => 'DELETE',  
  82. 'parameters' => array( 
  83. 'projectId' => array( 
  84. 'location' => 'path',  
  85. 'type' => 'string',  
  86. 'required' => true,  
  87. ),  
  88. 'zoneId' => array( 
  89. 'location' => 'path',  
  90. 'type' => 'string',  
  91. 'required' => true,  
  92. ),  
  93. 'clusterId' => array( 
  94. 'location' => 'path',  
  95. 'type' => 'string',  
  96. 'required' => true,  
  97. ),  
  98. ),  
  99. ), 'get' => array( 
  100. 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',  
  101. 'httpMethod' => 'GET',  
  102. 'parameters' => array( 
  103. 'projectId' => array( 
  104. 'location' => 'path',  
  105. 'type' => 'string',  
  106. 'required' => true,  
  107. ),  
  108. 'zoneId' => array( 
  109. 'location' => 'path',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. 'clusterId' => array( 
  114. 'location' => 'path',  
  115. 'type' => 'string',  
  116. 'required' => true,  
  117. ),  
  118. ),  
  119. ), 'list' => array( 
  120. 'path' => '{projectId}/zones/{zoneId}/clusters',  
  121. 'httpMethod' => 'GET',  
  122. 'parameters' => array( 
  123. 'projectId' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. 'zoneId' => array( 
  129. 'location' => 'path',  
  130. 'type' => 'string',  
  131. 'required' => true,  
  132. ),  
  133. ),  
  134. ),  
  135. ); 
  136. $this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource( 
  137. $this,  
  138. $this->serviceName,  
  139. 'operations',  
  140. array( 
  141. 'methods' => array( 
  142. 'get' => array( 
  143. 'path' => '{projectId}/zones/{zoneId}/operations/{operationId}',  
  144. 'httpMethod' => 'GET',  
  145. 'parameters' => array( 
  146. 'projectId' => array( 
  147. 'location' => 'path',  
  148. 'type' => 'string',  
  149. 'required' => true,  
  150. ),  
  151. 'zoneId' => array( 
  152. 'location' => 'path',  
  153. 'type' => 'string',  
  154. 'required' => true,  
  155. ),  
  156. 'operationId' => array( 
  157. 'location' => 'path',  
  158. 'type' => 'string',  
  159. 'required' => true,  
  160. ),  
  161. ),  
  162. ), 'list' => array( 
  163. 'path' => '{projectId}/zones/{zoneId}/operations',  
  164. 'httpMethod' => 'GET',  
  165. 'parameters' => array( 
  166. 'projectId' => array( 
  167. 'location' => 'path',  
  168. 'type' => 'string',  
  169. 'required' => true,  
  170. ),  
  171. 'zoneId' => array( 
  172. 'location' => 'path',  
  173. 'type' => 'string',  
  174. 'required' => true,  
  175. ),  
  176. ),  
  177. ),  
  178. );