[e3d4e0a] | 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 | namespace Google\Service;
|
---|
| 19 |
|
---|
| 20 | use Google\Client;
|
---|
| 21 |
|
---|
| 22 | /**
|
---|
| 23 | * Service definition for Container (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | * Builds and manages container-based applications, powered by the open source
|
---|
| 27 | * Kubernetes technology.</p>
|
---|
| 28 | *
|
---|
| 29 | * <p>
|
---|
| 30 | * For more information about this service, see the API
|
---|
| 31 | * <a href="https://cloud.google.com/kubernetes-engine/docs/" target="_blank">Documentation</a>
|
---|
| 32 | * </p>
|
---|
| 33 | *
|
---|
| 34 | * @author Google, Inc.
|
---|
| 35 | */
|
---|
| 36 | class Container extends \Google\Service
|
---|
| 37 | {
|
---|
| 38 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
| 39 | const CLOUD_PLATFORM =
|
---|
| 40 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
| 41 |
|
---|
| 42 | public $projects_aggregated_usableSubnetworks;
|
---|
| 43 | public $projects_locations;
|
---|
| 44 | public $projects_locations_clusters;
|
---|
| 45 | public $projects_locations_clusters_nodePools;
|
---|
| 46 | public $projects_locations_clusters_well_known;
|
---|
| 47 | public $projects_locations_operations;
|
---|
| 48 | public $projects_zones;
|
---|
| 49 | public $projects_zones_clusters;
|
---|
| 50 | public $projects_zones_clusters_nodePools;
|
---|
| 51 | public $projects_zones_operations;
|
---|
| 52 | public $rootUrlTemplate;
|
---|
| 53 |
|
---|
| 54 | /**
|
---|
| 55 | * Constructs the internal representation of the Container service.
|
---|
| 56 | *
|
---|
| 57 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
| 58 | * config array to pass to a new Client instance.
|
---|
| 59 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
| 60 | */
|
---|
| 61 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
| 62 | {
|
---|
| 63 | parent::__construct($clientOrConfig);
|
---|
| 64 | $this->rootUrl = $rootUrl ?: 'https://container.googleapis.com/';
|
---|
| 65 | $this->rootUrlTemplate = $rootUrl ?: 'https://container.UNIVERSE_DOMAIN/';
|
---|
| 66 | $this->servicePath = '';
|
---|
| 67 | $this->batchPath = 'batch';
|
---|
| 68 | $this->version = 'v1';
|
---|
| 69 | $this->serviceName = 'container';
|
---|
| 70 |
|
---|
| 71 | $this->projects_aggregated_usableSubnetworks = new Container\Resource\ProjectsAggregatedUsableSubnetworks(
|
---|
| 72 | $this,
|
---|
| 73 | $this->serviceName,
|
---|
| 74 | 'usableSubnetworks',
|
---|
| 75 | [
|
---|
| 76 | 'methods' => [
|
---|
| 77 | 'list' => [
|
---|
| 78 | 'path' => 'v1/{+parent}/aggregated/usableSubnetworks',
|
---|
| 79 | 'httpMethod' => 'GET',
|
---|
| 80 | 'parameters' => [
|
---|
| 81 | 'parent' => [
|
---|
| 82 | 'location' => 'path',
|
---|
| 83 | 'type' => 'string',
|
---|
| 84 | 'required' => true,
|
---|
| 85 | ],
|
---|
| 86 | 'filter' => [
|
---|
| 87 | 'location' => 'query',
|
---|
| 88 | 'type' => 'string',
|
---|
| 89 | ],
|
---|
| 90 | 'pageSize' => [
|
---|
| 91 | 'location' => 'query',
|
---|
| 92 | 'type' => 'integer',
|
---|
| 93 | ],
|
---|
| 94 | 'pageToken' => [
|
---|
| 95 | 'location' => 'query',
|
---|
| 96 | 'type' => 'string',
|
---|
| 97 | ],
|
---|
| 98 | ],
|
---|
| 99 | ],
|
---|
| 100 | ]
|
---|
| 101 | ]
|
---|
| 102 | );
|
---|
| 103 | $this->projects_locations = new Container\Resource\ProjectsLocations(
|
---|
| 104 | $this,
|
---|
| 105 | $this->serviceName,
|
---|
| 106 | 'locations',
|
---|
| 107 | [
|
---|
| 108 | 'methods' => [
|
---|
| 109 | 'getServerConfig' => [
|
---|
| 110 | 'path' => 'v1/{+name}/serverConfig',
|
---|
| 111 | 'httpMethod' => 'GET',
|
---|
| 112 | 'parameters' => [
|
---|
| 113 | 'name' => [
|
---|
| 114 | 'location' => 'path',
|
---|
| 115 | 'type' => 'string',
|
---|
| 116 | 'required' => true,
|
---|
| 117 | ],
|
---|
| 118 | 'projectId' => [
|
---|
| 119 | 'location' => 'query',
|
---|
| 120 | 'type' => 'string',
|
---|
| 121 | ],
|
---|
| 122 | 'zone' => [
|
---|
| 123 | 'location' => 'query',
|
---|
| 124 | 'type' => 'string',
|
---|
| 125 | ],
|
---|
| 126 | ],
|
---|
| 127 | ],
|
---|
| 128 | ]
|
---|
| 129 | ]
|
---|
| 130 | );
|
---|
| 131 | $this->projects_locations_clusters = new Container\Resource\ProjectsLocationsClusters(
|
---|
| 132 | $this,
|
---|
| 133 | $this->serviceName,
|
---|
| 134 | 'clusters',
|
---|
| 135 | [
|
---|
| 136 | 'methods' => [
|
---|
| 137 | 'checkAutopilotCompatibility' => [
|
---|
| 138 | 'path' => 'v1/{+name}:checkAutopilotCompatibility',
|
---|
| 139 | 'httpMethod' => 'GET',
|
---|
| 140 | 'parameters' => [
|
---|
| 141 | 'name' => [
|
---|
| 142 | 'location' => 'path',
|
---|
| 143 | 'type' => 'string',
|
---|
| 144 | 'required' => true,
|
---|
| 145 | ],
|
---|
| 146 | ],
|
---|
| 147 | ],'completeIpRotation' => [
|
---|
| 148 | 'path' => 'v1/{+name}:completeIpRotation',
|
---|
| 149 | 'httpMethod' => 'POST',
|
---|
| 150 | 'parameters' => [
|
---|
| 151 | 'name' => [
|
---|
| 152 | 'location' => 'path',
|
---|
| 153 | 'type' => 'string',
|
---|
| 154 | 'required' => true,
|
---|
| 155 | ],
|
---|
| 156 | ],
|
---|
| 157 | ],'create' => [
|
---|
| 158 | 'path' => 'v1/{+parent}/clusters',
|
---|
| 159 | 'httpMethod' => 'POST',
|
---|
| 160 | 'parameters' => [
|
---|
| 161 | 'parent' => [
|
---|
| 162 | 'location' => 'path',
|
---|
| 163 | 'type' => 'string',
|
---|
| 164 | 'required' => true,
|
---|
| 165 | ],
|
---|
| 166 | ],
|
---|
| 167 | ],'delete' => [
|
---|
| 168 | 'path' => 'v1/{+name}',
|
---|
| 169 | 'httpMethod' => 'DELETE',
|
---|
| 170 | 'parameters' => [
|
---|
| 171 | 'name' => [
|
---|
| 172 | 'location' => 'path',
|
---|
| 173 | 'type' => 'string',
|
---|
| 174 | 'required' => true,
|
---|
| 175 | ],
|
---|
| 176 | 'clusterId' => [
|
---|
| 177 | 'location' => 'query',
|
---|
| 178 | 'type' => 'string',
|
---|
| 179 | ],
|
---|
| 180 | 'projectId' => [
|
---|
| 181 | 'location' => 'query',
|
---|
| 182 | 'type' => 'string',
|
---|
| 183 | ],
|
---|
| 184 | 'zone' => [
|
---|
| 185 | 'location' => 'query',
|
---|
| 186 | 'type' => 'string',
|
---|
| 187 | ],
|
---|
| 188 | ],
|
---|
| 189 | ],'get' => [
|
---|
| 190 | 'path' => 'v1/{+name}',
|
---|
| 191 | 'httpMethod' => 'GET',
|
---|
| 192 | 'parameters' => [
|
---|
| 193 | 'name' => [
|
---|
| 194 | 'location' => 'path',
|
---|
| 195 | 'type' => 'string',
|
---|
| 196 | 'required' => true,
|
---|
| 197 | ],
|
---|
| 198 | 'clusterId' => [
|
---|
| 199 | 'location' => 'query',
|
---|
| 200 | 'type' => 'string',
|
---|
| 201 | ],
|
---|
| 202 | 'projectId' => [
|
---|
| 203 | 'location' => 'query',
|
---|
| 204 | 'type' => 'string',
|
---|
| 205 | ],
|
---|
| 206 | 'zone' => [
|
---|
| 207 | 'location' => 'query',
|
---|
| 208 | 'type' => 'string',
|
---|
| 209 | ],
|
---|
| 210 | ],
|
---|
| 211 | ],'getJwks' => [
|
---|
| 212 | 'path' => 'v1/{+parent}/jwks',
|
---|
| 213 | 'httpMethod' => 'GET',
|
---|
| 214 | 'parameters' => [
|
---|
| 215 | 'parent' => [
|
---|
| 216 | 'location' => 'path',
|
---|
| 217 | 'type' => 'string',
|
---|
| 218 | 'required' => true,
|
---|
| 219 | ],
|
---|
| 220 | ],
|
---|
| 221 | ],'list' => [
|
---|
| 222 | 'path' => 'v1/{+parent}/clusters',
|
---|
| 223 | 'httpMethod' => 'GET',
|
---|
| 224 | 'parameters' => [
|
---|
| 225 | 'parent' => [
|
---|
| 226 | 'location' => 'path',
|
---|
| 227 | 'type' => 'string',
|
---|
| 228 | 'required' => true,
|
---|
| 229 | ],
|
---|
| 230 | 'projectId' => [
|
---|
| 231 | 'location' => 'query',
|
---|
| 232 | 'type' => 'string',
|
---|
| 233 | ],
|
---|
| 234 | 'zone' => [
|
---|
| 235 | 'location' => 'query',
|
---|
| 236 | 'type' => 'string',
|
---|
| 237 | ],
|
---|
| 238 | ],
|
---|
| 239 | ],'setAddons' => [
|
---|
| 240 | 'path' => 'v1/{+name}:setAddons',
|
---|
| 241 | 'httpMethod' => 'POST',
|
---|
| 242 | 'parameters' => [
|
---|
| 243 | 'name' => [
|
---|
| 244 | 'location' => 'path',
|
---|
| 245 | 'type' => 'string',
|
---|
| 246 | 'required' => true,
|
---|
| 247 | ],
|
---|
| 248 | ],
|
---|
| 249 | ],'setLegacyAbac' => [
|
---|
| 250 | 'path' => 'v1/{+name}:setLegacyAbac',
|
---|
| 251 | 'httpMethod' => 'POST',
|
---|
| 252 | 'parameters' => [
|
---|
| 253 | 'name' => [
|
---|
| 254 | 'location' => 'path',
|
---|
| 255 | 'type' => 'string',
|
---|
| 256 | 'required' => true,
|
---|
| 257 | ],
|
---|
| 258 | ],
|
---|
| 259 | ],'setLocations' => [
|
---|
| 260 | 'path' => 'v1/{+name}:setLocations',
|
---|
| 261 | 'httpMethod' => 'POST',
|
---|
| 262 | 'parameters' => [
|
---|
| 263 | 'name' => [
|
---|
| 264 | 'location' => 'path',
|
---|
| 265 | 'type' => 'string',
|
---|
| 266 | 'required' => true,
|
---|
| 267 | ],
|
---|
| 268 | ],
|
---|
| 269 | ],'setLogging' => [
|
---|
| 270 | 'path' => 'v1/{+name}:setLogging',
|
---|
| 271 | 'httpMethod' => 'POST',
|
---|
| 272 | 'parameters' => [
|
---|
| 273 | 'name' => [
|
---|
| 274 | 'location' => 'path',
|
---|
| 275 | 'type' => 'string',
|
---|
| 276 | 'required' => true,
|
---|
| 277 | ],
|
---|
| 278 | ],
|
---|
| 279 | ],'setMaintenancePolicy' => [
|
---|
| 280 | 'path' => 'v1/{+name}:setMaintenancePolicy',
|
---|
| 281 | 'httpMethod' => 'POST',
|
---|
| 282 | 'parameters' => [
|
---|
| 283 | 'name' => [
|
---|
| 284 | 'location' => 'path',
|
---|
| 285 | 'type' => 'string',
|
---|
| 286 | 'required' => true,
|
---|
| 287 | ],
|
---|
| 288 | ],
|
---|
| 289 | ],'setMasterAuth' => [
|
---|
| 290 | 'path' => 'v1/{+name}:setMasterAuth',
|
---|
| 291 | 'httpMethod' => 'POST',
|
---|
| 292 | 'parameters' => [
|
---|
| 293 | 'name' => [
|
---|
| 294 | 'location' => 'path',
|
---|
| 295 | 'type' => 'string',
|
---|
| 296 | 'required' => true,
|
---|
| 297 | ],
|
---|
| 298 | ],
|
---|
| 299 | ],'setMonitoring' => [
|
---|
| 300 | 'path' => 'v1/{+name}:setMonitoring',
|
---|
| 301 | 'httpMethod' => 'POST',
|
---|
| 302 | 'parameters' => [
|
---|
| 303 | 'name' => [
|
---|
| 304 | 'location' => 'path',
|
---|
| 305 | 'type' => 'string',
|
---|
| 306 | 'required' => true,
|
---|
| 307 | ],
|
---|
| 308 | ],
|
---|
| 309 | ],'setNetworkPolicy' => [
|
---|
| 310 | 'path' => 'v1/{+name}:setNetworkPolicy',
|
---|
| 311 | 'httpMethod' => 'POST',
|
---|
| 312 | 'parameters' => [
|
---|
| 313 | 'name' => [
|
---|
| 314 | 'location' => 'path',
|
---|
| 315 | 'type' => 'string',
|
---|
| 316 | 'required' => true,
|
---|
| 317 | ],
|
---|
| 318 | ],
|
---|
| 319 | ],'setResourceLabels' => [
|
---|
| 320 | 'path' => 'v1/{+name}:setResourceLabels',
|
---|
| 321 | 'httpMethod' => 'POST',
|
---|
| 322 | 'parameters' => [
|
---|
| 323 | 'name' => [
|
---|
| 324 | 'location' => 'path',
|
---|
| 325 | 'type' => 'string',
|
---|
| 326 | 'required' => true,
|
---|
| 327 | ],
|
---|
| 328 | ],
|
---|
| 329 | ],'startIpRotation' => [
|
---|
| 330 | 'path' => 'v1/{+name}:startIpRotation',
|
---|
| 331 | 'httpMethod' => 'POST',
|
---|
| 332 | 'parameters' => [
|
---|
| 333 | 'name' => [
|
---|
| 334 | 'location' => 'path',
|
---|
| 335 | 'type' => 'string',
|
---|
| 336 | 'required' => true,
|
---|
| 337 | ],
|
---|
| 338 | ],
|
---|
| 339 | ],'update' => [
|
---|
| 340 | 'path' => 'v1/{+name}',
|
---|
| 341 | 'httpMethod' => 'PUT',
|
---|
| 342 | 'parameters' => [
|
---|
| 343 | 'name' => [
|
---|
| 344 | 'location' => 'path',
|
---|
| 345 | 'type' => 'string',
|
---|
| 346 | 'required' => true,
|
---|
| 347 | ],
|
---|
| 348 | ],
|
---|
| 349 | ],'updateMaster' => [
|
---|
| 350 | 'path' => 'v1/{+name}:updateMaster',
|
---|
| 351 | 'httpMethod' => 'POST',
|
---|
| 352 | 'parameters' => [
|
---|
| 353 | 'name' => [
|
---|
| 354 | 'location' => 'path',
|
---|
| 355 | 'type' => 'string',
|
---|
| 356 | 'required' => true,
|
---|
| 357 | ],
|
---|
| 358 | ],
|
---|
| 359 | ],
|
---|
| 360 | ]
|
---|
| 361 | ]
|
---|
| 362 | );
|
---|
| 363 | $this->projects_locations_clusters_nodePools = new Container\Resource\ProjectsLocationsClustersNodePools(
|
---|
| 364 | $this,
|
---|
| 365 | $this->serviceName,
|
---|
| 366 | 'nodePools',
|
---|
| 367 | [
|
---|
| 368 | 'methods' => [
|
---|
| 369 | 'completeUpgrade' => [
|
---|
| 370 | 'path' => 'v1/{+name}:completeUpgrade',
|
---|
| 371 | 'httpMethod' => 'POST',
|
---|
| 372 | 'parameters' => [
|
---|
| 373 | 'name' => [
|
---|
| 374 | 'location' => 'path',
|
---|
| 375 | 'type' => 'string',
|
---|
| 376 | 'required' => true,
|
---|
| 377 | ],
|
---|
| 378 | ],
|
---|
| 379 | ],'create' => [
|
---|
| 380 | 'path' => 'v1/{+parent}/nodePools',
|
---|
| 381 | 'httpMethod' => 'POST',
|
---|
| 382 | 'parameters' => [
|
---|
| 383 | 'parent' => [
|
---|
| 384 | 'location' => 'path',
|
---|
| 385 | 'type' => 'string',
|
---|
| 386 | 'required' => true,
|
---|
| 387 | ],
|
---|
| 388 | ],
|
---|
| 389 | ],'delete' => [
|
---|
| 390 | 'path' => 'v1/{+name}',
|
---|
| 391 | 'httpMethod' => 'DELETE',
|
---|
| 392 | 'parameters' => [
|
---|
| 393 | 'name' => [
|
---|
| 394 | 'location' => 'path',
|
---|
| 395 | 'type' => 'string',
|
---|
| 396 | 'required' => true,
|
---|
| 397 | ],
|
---|
| 398 | 'clusterId' => [
|
---|
| 399 | 'location' => 'query',
|
---|
| 400 | 'type' => 'string',
|
---|
| 401 | ],
|
---|
| 402 | 'nodePoolId' => [
|
---|
| 403 | 'location' => 'query',
|
---|
| 404 | 'type' => 'string',
|
---|
| 405 | ],
|
---|
| 406 | 'projectId' => [
|
---|
| 407 | 'location' => 'query',
|
---|
| 408 | 'type' => 'string',
|
---|
| 409 | ],
|
---|
| 410 | 'zone' => [
|
---|
| 411 | 'location' => 'query',
|
---|
| 412 | 'type' => 'string',
|
---|
| 413 | ],
|
---|
| 414 | ],
|
---|
| 415 | ],'get' => [
|
---|
| 416 | 'path' => 'v1/{+name}',
|
---|
| 417 | 'httpMethod' => 'GET',
|
---|
| 418 | 'parameters' => [
|
---|
| 419 | 'name' => [
|
---|
| 420 | 'location' => 'path',
|
---|
| 421 | 'type' => 'string',
|
---|
| 422 | 'required' => true,
|
---|
| 423 | ],
|
---|
| 424 | 'clusterId' => [
|
---|
| 425 | 'location' => 'query',
|
---|
| 426 | 'type' => 'string',
|
---|
| 427 | ],
|
---|
| 428 | 'nodePoolId' => [
|
---|
| 429 | 'location' => 'query',
|
---|
| 430 | 'type' => 'string',
|
---|
| 431 | ],
|
---|
| 432 | 'projectId' => [
|
---|
| 433 | 'location' => 'query',
|
---|
| 434 | 'type' => 'string',
|
---|
| 435 | ],
|
---|
| 436 | 'zone' => [
|
---|
| 437 | 'location' => 'query',
|
---|
| 438 | 'type' => 'string',
|
---|
| 439 | ],
|
---|
| 440 | ],
|
---|
| 441 | ],'list' => [
|
---|
| 442 | 'path' => 'v1/{+parent}/nodePools',
|
---|
| 443 | 'httpMethod' => 'GET',
|
---|
| 444 | 'parameters' => [
|
---|
| 445 | 'parent' => [
|
---|
| 446 | 'location' => 'path',
|
---|
| 447 | 'type' => 'string',
|
---|
| 448 | 'required' => true,
|
---|
| 449 | ],
|
---|
| 450 | 'clusterId' => [
|
---|
| 451 | 'location' => 'query',
|
---|
| 452 | 'type' => 'string',
|
---|
| 453 | ],
|
---|
| 454 | 'projectId' => [
|
---|
| 455 | 'location' => 'query',
|
---|
| 456 | 'type' => 'string',
|
---|
| 457 | ],
|
---|
| 458 | 'zone' => [
|
---|
| 459 | 'location' => 'query',
|
---|
| 460 | 'type' => 'string',
|
---|
| 461 | ],
|
---|
| 462 | ],
|
---|
| 463 | ],'rollback' => [
|
---|
| 464 | 'path' => 'v1/{+name}:rollback',
|
---|
| 465 | 'httpMethod' => 'POST',
|
---|
| 466 | 'parameters' => [
|
---|
| 467 | 'name' => [
|
---|
| 468 | 'location' => 'path',
|
---|
| 469 | 'type' => 'string',
|
---|
| 470 | 'required' => true,
|
---|
| 471 | ],
|
---|
| 472 | ],
|
---|
| 473 | ],'setAutoscaling' => [
|
---|
| 474 | 'path' => 'v1/{+name}:setAutoscaling',
|
---|
| 475 | 'httpMethod' => 'POST',
|
---|
| 476 | 'parameters' => [
|
---|
| 477 | 'name' => [
|
---|
| 478 | 'location' => 'path',
|
---|
| 479 | 'type' => 'string',
|
---|
| 480 | 'required' => true,
|
---|
| 481 | ],
|
---|
| 482 | ],
|
---|
| 483 | ],'setManagement' => [
|
---|
| 484 | 'path' => 'v1/{+name}:setManagement',
|
---|
| 485 | 'httpMethod' => 'POST',
|
---|
| 486 | 'parameters' => [
|
---|
| 487 | 'name' => [
|
---|
| 488 | 'location' => 'path',
|
---|
| 489 | 'type' => 'string',
|
---|
| 490 | 'required' => true,
|
---|
| 491 | ],
|
---|
| 492 | ],
|
---|
| 493 | ],'setSize' => [
|
---|
| 494 | 'path' => 'v1/{+name}:setSize',
|
---|
| 495 | 'httpMethod' => 'POST',
|
---|
| 496 | 'parameters' => [
|
---|
| 497 | 'name' => [
|
---|
| 498 | 'location' => 'path',
|
---|
| 499 | 'type' => 'string',
|
---|
| 500 | 'required' => true,
|
---|
| 501 | ],
|
---|
| 502 | ],
|
---|
| 503 | ],'update' => [
|
---|
| 504 | 'path' => 'v1/{+name}',
|
---|
| 505 | 'httpMethod' => 'PUT',
|
---|
| 506 | 'parameters' => [
|
---|
| 507 | 'name' => [
|
---|
| 508 | 'location' => 'path',
|
---|
| 509 | 'type' => 'string',
|
---|
| 510 | 'required' => true,
|
---|
| 511 | ],
|
---|
| 512 | ],
|
---|
| 513 | ],
|
---|
| 514 | ]
|
---|
| 515 | ]
|
---|
| 516 | );
|
---|
| 517 | $this->projects_locations_clusters_well_known = new Container\Resource\ProjectsLocationsClustersWellKnown(
|
---|
| 518 | $this,
|
---|
| 519 | $this->serviceName,
|
---|
| 520 | 'well_known',
|
---|
| 521 | [
|
---|
| 522 | 'methods' => [
|
---|
| 523 | 'getOpenid-configuration' => [
|
---|
| 524 | 'path' => 'v1/{+parent}/.well-known/openid-configuration',
|
---|
| 525 | 'httpMethod' => 'GET',
|
---|
| 526 | 'parameters' => [
|
---|
| 527 | 'parent' => [
|
---|
| 528 | 'location' => 'path',
|
---|
| 529 | 'type' => 'string',
|
---|
| 530 | 'required' => true,
|
---|
| 531 | ],
|
---|
| 532 | ],
|
---|
| 533 | ],
|
---|
| 534 | ]
|
---|
| 535 | ]
|
---|
| 536 | );
|
---|
| 537 | $this->projects_locations_operations = new Container\Resource\ProjectsLocationsOperations(
|
---|
| 538 | $this,
|
---|
| 539 | $this->serviceName,
|
---|
| 540 | 'operations',
|
---|
| 541 | [
|
---|
| 542 | 'methods' => [
|
---|
| 543 | 'cancel' => [
|
---|
| 544 | 'path' => 'v1/{+name}:cancel',
|
---|
| 545 | 'httpMethod' => 'POST',
|
---|
| 546 | 'parameters' => [
|
---|
| 547 | 'name' => [
|
---|
| 548 | 'location' => 'path',
|
---|
| 549 | 'type' => 'string',
|
---|
| 550 | 'required' => true,
|
---|
| 551 | ],
|
---|
| 552 | ],
|
---|
| 553 | ],'get' => [
|
---|
| 554 | 'path' => 'v1/{+name}',
|
---|
| 555 | 'httpMethod' => 'GET',
|
---|
| 556 | 'parameters' => [
|
---|
| 557 | 'name' => [
|
---|
| 558 | 'location' => 'path',
|
---|
| 559 | 'type' => 'string',
|
---|
| 560 | 'required' => true,
|
---|
| 561 | ],
|
---|
| 562 | 'operationId' => [
|
---|
| 563 | 'location' => 'query',
|
---|
| 564 | 'type' => 'string',
|
---|
| 565 | ],
|
---|
| 566 | 'projectId' => [
|
---|
| 567 | 'location' => 'query',
|
---|
| 568 | 'type' => 'string',
|
---|
| 569 | ],
|
---|
| 570 | 'zone' => [
|
---|
| 571 | 'location' => 'query',
|
---|
| 572 | 'type' => 'string',
|
---|
| 573 | ],
|
---|
| 574 | ],
|
---|
| 575 | ],'list' => [
|
---|
| 576 | 'path' => 'v1/{+parent}/operations',
|
---|
| 577 | 'httpMethod' => 'GET',
|
---|
| 578 | 'parameters' => [
|
---|
| 579 | 'parent' => [
|
---|
| 580 | 'location' => 'path',
|
---|
| 581 | 'type' => 'string',
|
---|
| 582 | 'required' => true,
|
---|
| 583 | ],
|
---|
| 584 | 'projectId' => [
|
---|
| 585 | 'location' => 'query',
|
---|
| 586 | 'type' => 'string',
|
---|
| 587 | ],
|
---|
| 588 | 'zone' => [
|
---|
| 589 | 'location' => 'query',
|
---|
| 590 | 'type' => 'string',
|
---|
| 591 | ],
|
---|
| 592 | ],
|
---|
| 593 | ],
|
---|
| 594 | ]
|
---|
| 595 | ]
|
---|
| 596 | );
|
---|
| 597 | $this->projects_zones = new Container\Resource\ProjectsZones(
|
---|
| 598 | $this,
|
---|
| 599 | $this->serviceName,
|
---|
| 600 | 'zones',
|
---|
| 601 | [
|
---|
| 602 | 'methods' => [
|
---|
| 603 | 'getServerconfig' => [
|
---|
| 604 | 'path' => 'v1/projects/{projectId}/zones/{zone}/serverconfig',
|
---|
| 605 | 'httpMethod' => 'GET',
|
---|
| 606 | 'parameters' => [
|
---|
| 607 | 'projectId' => [
|
---|
| 608 | 'location' => 'path',
|
---|
| 609 | 'type' => 'string',
|
---|
| 610 | 'required' => true,
|
---|
| 611 | ],
|
---|
| 612 | 'zone' => [
|
---|
| 613 | 'location' => 'path',
|
---|
| 614 | 'type' => 'string',
|
---|
| 615 | 'required' => true,
|
---|
| 616 | ],
|
---|
| 617 | 'name' => [
|
---|
| 618 | 'location' => 'query',
|
---|
| 619 | 'type' => 'string',
|
---|
| 620 | ],
|
---|
| 621 | ],
|
---|
| 622 | ],
|
---|
| 623 | ]
|
---|
| 624 | ]
|
---|
| 625 | );
|
---|
| 626 | $this->projects_zones_clusters = new Container\Resource\ProjectsZonesClusters(
|
---|
| 627 | $this,
|
---|
| 628 | $this->serviceName,
|
---|
| 629 | 'clusters',
|
---|
| 630 | [
|
---|
| 631 | 'methods' => [
|
---|
| 632 | 'addons' => [
|
---|
| 633 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons',
|
---|
| 634 | 'httpMethod' => 'POST',
|
---|
| 635 | 'parameters' => [
|
---|
| 636 | 'projectId' => [
|
---|
| 637 | 'location' => 'path',
|
---|
| 638 | 'type' => 'string',
|
---|
| 639 | 'required' => true,
|
---|
| 640 | ],
|
---|
| 641 | 'zone' => [
|
---|
| 642 | 'location' => 'path',
|
---|
| 643 | 'type' => 'string',
|
---|
| 644 | 'required' => true,
|
---|
| 645 | ],
|
---|
| 646 | 'clusterId' => [
|
---|
| 647 | 'location' => 'path',
|
---|
| 648 | 'type' => 'string',
|
---|
| 649 | 'required' => true,
|
---|
| 650 | ],
|
---|
| 651 | ],
|
---|
| 652 | ],'completeIpRotation' => [
|
---|
| 653 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation',
|
---|
| 654 | 'httpMethod' => 'POST',
|
---|
| 655 | 'parameters' => [
|
---|
| 656 | 'projectId' => [
|
---|
| 657 | 'location' => 'path',
|
---|
| 658 | 'type' => 'string',
|
---|
| 659 | 'required' => true,
|
---|
| 660 | ],
|
---|
| 661 | 'zone' => [
|
---|
| 662 | 'location' => 'path',
|
---|
| 663 | 'type' => 'string',
|
---|
| 664 | 'required' => true,
|
---|
| 665 | ],
|
---|
| 666 | 'clusterId' => [
|
---|
| 667 | 'location' => 'path',
|
---|
| 668 | 'type' => 'string',
|
---|
| 669 | 'required' => true,
|
---|
| 670 | ],
|
---|
| 671 | ],
|
---|
| 672 | ],'create' => [
|
---|
| 673 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters',
|
---|
| 674 | 'httpMethod' => 'POST',
|
---|
| 675 | 'parameters' => [
|
---|
| 676 | 'projectId' => [
|
---|
| 677 | 'location' => 'path',
|
---|
| 678 | 'type' => 'string',
|
---|
| 679 | 'required' => true,
|
---|
| 680 | ],
|
---|
| 681 | 'zone' => [
|
---|
| 682 | 'location' => 'path',
|
---|
| 683 | 'type' => 'string',
|
---|
| 684 | 'required' => true,
|
---|
| 685 | ],
|
---|
| 686 | ],
|
---|
| 687 | ],'delete' => [
|
---|
| 688 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
|
---|
| 689 | 'httpMethod' => 'DELETE',
|
---|
| 690 | 'parameters' => [
|
---|
| 691 | 'projectId' => [
|
---|
| 692 | 'location' => 'path',
|
---|
| 693 | 'type' => 'string',
|
---|
| 694 | 'required' => true,
|
---|
| 695 | ],
|
---|
| 696 | 'zone' => [
|
---|
| 697 | 'location' => 'path',
|
---|
| 698 | 'type' => 'string',
|
---|
| 699 | 'required' => true,
|
---|
| 700 | ],
|
---|
| 701 | 'clusterId' => [
|
---|
| 702 | 'location' => 'path',
|
---|
| 703 | 'type' => 'string',
|
---|
| 704 | 'required' => true,
|
---|
| 705 | ],
|
---|
| 706 | 'name' => [
|
---|
| 707 | 'location' => 'query',
|
---|
| 708 | 'type' => 'string',
|
---|
| 709 | ],
|
---|
| 710 | ],
|
---|
| 711 | ],'get' => [
|
---|
| 712 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
|
---|
| 713 | 'httpMethod' => 'GET',
|
---|
| 714 | 'parameters' => [
|
---|
| 715 | 'projectId' => [
|
---|
| 716 | 'location' => 'path',
|
---|
| 717 | 'type' => 'string',
|
---|
| 718 | 'required' => true,
|
---|
| 719 | ],
|
---|
| 720 | 'zone' => [
|
---|
| 721 | 'location' => 'path',
|
---|
| 722 | 'type' => 'string',
|
---|
| 723 | 'required' => true,
|
---|
| 724 | ],
|
---|
| 725 | 'clusterId' => [
|
---|
| 726 | 'location' => 'path',
|
---|
| 727 | 'type' => 'string',
|
---|
| 728 | 'required' => true,
|
---|
| 729 | ],
|
---|
| 730 | 'name' => [
|
---|
| 731 | 'location' => 'query',
|
---|
| 732 | 'type' => 'string',
|
---|
| 733 | ],
|
---|
| 734 | ],
|
---|
| 735 | ],'legacyAbac' => [
|
---|
| 736 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac',
|
---|
| 737 | 'httpMethod' => 'POST',
|
---|
| 738 | 'parameters' => [
|
---|
| 739 | 'projectId' => [
|
---|
| 740 | 'location' => 'path',
|
---|
| 741 | 'type' => 'string',
|
---|
| 742 | 'required' => true,
|
---|
| 743 | ],
|
---|
| 744 | 'zone' => [
|
---|
| 745 | 'location' => 'path',
|
---|
| 746 | 'type' => 'string',
|
---|
| 747 | 'required' => true,
|
---|
| 748 | ],
|
---|
| 749 | 'clusterId' => [
|
---|
| 750 | 'location' => 'path',
|
---|
| 751 | 'type' => 'string',
|
---|
| 752 | 'required' => true,
|
---|
| 753 | ],
|
---|
| 754 | ],
|
---|
| 755 | ],'list' => [
|
---|
| 756 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters',
|
---|
| 757 | 'httpMethod' => 'GET',
|
---|
| 758 | 'parameters' => [
|
---|
| 759 | 'projectId' => [
|
---|
| 760 | 'location' => 'path',
|
---|
| 761 | 'type' => 'string',
|
---|
| 762 | 'required' => true,
|
---|
| 763 | ],
|
---|
| 764 | 'zone' => [
|
---|
| 765 | 'location' => 'path',
|
---|
| 766 | 'type' => 'string',
|
---|
| 767 | 'required' => true,
|
---|
| 768 | ],
|
---|
| 769 | 'parent' => [
|
---|
| 770 | 'location' => 'query',
|
---|
| 771 | 'type' => 'string',
|
---|
| 772 | ],
|
---|
| 773 | ],
|
---|
| 774 | ],'locations' => [
|
---|
| 775 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations',
|
---|
| 776 | 'httpMethod' => 'POST',
|
---|
| 777 | 'parameters' => [
|
---|
| 778 | 'projectId' => [
|
---|
| 779 | 'location' => 'path',
|
---|
| 780 | 'type' => 'string',
|
---|
| 781 | 'required' => true,
|
---|
| 782 | ],
|
---|
| 783 | 'zone' => [
|
---|
| 784 | 'location' => 'path',
|
---|
| 785 | 'type' => 'string',
|
---|
| 786 | 'required' => true,
|
---|
| 787 | ],
|
---|
| 788 | 'clusterId' => [
|
---|
| 789 | 'location' => 'path',
|
---|
| 790 | 'type' => 'string',
|
---|
| 791 | 'required' => true,
|
---|
| 792 | ],
|
---|
| 793 | ],
|
---|
| 794 | ],'logging' => [
|
---|
| 795 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging',
|
---|
| 796 | 'httpMethod' => 'POST',
|
---|
| 797 | 'parameters' => [
|
---|
| 798 | 'projectId' => [
|
---|
| 799 | 'location' => 'path',
|
---|
| 800 | 'type' => 'string',
|
---|
| 801 | 'required' => true,
|
---|
| 802 | ],
|
---|
| 803 | 'zone' => [
|
---|
| 804 | 'location' => 'path',
|
---|
| 805 | 'type' => 'string',
|
---|
| 806 | 'required' => true,
|
---|
| 807 | ],
|
---|
| 808 | 'clusterId' => [
|
---|
| 809 | 'location' => 'path',
|
---|
| 810 | 'type' => 'string',
|
---|
| 811 | 'required' => true,
|
---|
| 812 | ],
|
---|
| 813 | ],
|
---|
| 814 | ],'master' => [
|
---|
| 815 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master',
|
---|
| 816 | 'httpMethod' => 'POST',
|
---|
| 817 | 'parameters' => [
|
---|
| 818 | 'projectId' => [
|
---|
| 819 | 'location' => 'path',
|
---|
| 820 | 'type' => 'string',
|
---|
| 821 | 'required' => true,
|
---|
| 822 | ],
|
---|
| 823 | 'zone' => [
|
---|
| 824 | 'location' => 'path',
|
---|
| 825 | 'type' => 'string',
|
---|
| 826 | 'required' => true,
|
---|
| 827 | ],
|
---|
| 828 | 'clusterId' => [
|
---|
| 829 | 'location' => 'path',
|
---|
| 830 | 'type' => 'string',
|
---|
| 831 | 'required' => true,
|
---|
| 832 | ],
|
---|
| 833 | ],
|
---|
| 834 | ],'monitoring' => [
|
---|
| 835 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring',
|
---|
| 836 | 'httpMethod' => 'POST',
|
---|
| 837 | 'parameters' => [
|
---|
| 838 | 'projectId' => [
|
---|
| 839 | 'location' => 'path',
|
---|
| 840 | 'type' => 'string',
|
---|
| 841 | 'required' => true,
|
---|
| 842 | ],
|
---|
| 843 | 'zone' => [
|
---|
| 844 | 'location' => 'path',
|
---|
| 845 | 'type' => 'string',
|
---|
| 846 | 'required' => true,
|
---|
| 847 | ],
|
---|
| 848 | 'clusterId' => [
|
---|
| 849 | 'location' => 'path',
|
---|
| 850 | 'type' => 'string',
|
---|
| 851 | 'required' => true,
|
---|
| 852 | ],
|
---|
| 853 | ],
|
---|
| 854 | ],'resourceLabels' => [
|
---|
| 855 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels',
|
---|
| 856 | 'httpMethod' => 'POST',
|
---|
| 857 | 'parameters' => [
|
---|
| 858 | 'projectId' => [
|
---|
| 859 | 'location' => 'path',
|
---|
| 860 | 'type' => 'string',
|
---|
| 861 | 'required' => true,
|
---|
| 862 | ],
|
---|
| 863 | 'zone' => [
|
---|
| 864 | 'location' => 'path',
|
---|
| 865 | 'type' => 'string',
|
---|
| 866 | 'required' => true,
|
---|
| 867 | ],
|
---|
| 868 | 'clusterId' => [
|
---|
| 869 | 'location' => 'path',
|
---|
| 870 | 'type' => 'string',
|
---|
| 871 | 'required' => true,
|
---|
| 872 | ],
|
---|
| 873 | ],
|
---|
| 874 | ],'setMaintenancePolicy' => [
|
---|
| 875 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy',
|
---|
| 876 | 'httpMethod' => 'POST',
|
---|
| 877 | 'parameters' => [
|
---|
| 878 | 'projectId' => [
|
---|
| 879 | 'location' => 'path',
|
---|
| 880 | 'type' => 'string',
|
---|
| 881 | 'required' => true,
|
---|
| 882 | ],
|
---|
| 883 | 'zone' => [
|
---|
| 884 | 'location' => 'path',
|
---|
| 885 | 'type' => 'string',
|
---|
| 886 | 'required' => true,
|
---|
| 887 | ],
|
---|
| 888 | 'clusterId' => [
|
---|
| 889 | 'location' => 'path',
|
---|
| 890 | 'type' => 'string',
|
---|
| 891 | 'required' => true,
|
---|
| 892 | ],
|
---|
| 893 | ],
|
---|
| 894 | ],'setMasterAuth' => [
|
---|
| 895 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth',
|
---|
| 896 | 'httpMethod' => 'POST',
|
---|
| 897 | 'parameters' => [
|
---|
| 898 | 'projectId' => [
|
---|
| 899 | 'location' => 'path',
|
---|
| 900 | 'type' => 'string',
|
---|
| 901 | 'required' => true,
|
---|
| 902 | ],
|
---|
| 903 | 'zone' => [
|
---|
| 904 | 'location' => 'path',
|
---|
| 905 | 'type' => 'string',
|
---|
| 906 | 'required' => true,
|
---|
| 907 | ],
|
---|
| 908 | 'clusterId' => [
|
---|
| 909 | 'location' => 'path',
|
---|
| 910 | 'type' => 'string',
|
---|
| 911 | 'required' => true,
|
---|
| 912 | ],
|
---|
| 913 | ],
|
---|
| 914 | ],'setNetworkPolicy' => [
|
---|
| 915 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy',
|
---|
| 916 | 'httpMethod' => 'POST',
|
---|
| 917 | 'parameters' => [
|
---|
| 918 | 'projectId' => [
|
---|
| 919 | 'location' => 'path',
|
---|
| 920 | 'type' => 'string',
|
---|
| 921 | 'required' => true,
|
---|
| 922 | ],
|
---|
| 923 | 'zone' => [
|
---|
| 924 | 'location' => 'path',
|
---|
| 925 | 'type' => 'string',
|
---|
| 926 | 'required' => true,
|
---|
| 927 | ],
|
---|
| 928 | 'clusterId' => [
|
---|
| 929 | 'location' => 'path',
|
---|
| 930 | 'type' => 'string',
|
---|
| 931 | 'required' => true,
|
---|
| 932 | ],
|
---|
| 933 | ],
|
---|
| 934 | ],'startIpRotation' => [
|
---|
| 935 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation',
|
---|
| 936 | 'httpMethod' => 'POST',
|
---|
| 937 | 'parameters' => [
|
---|
| 938 | 'projectId' => [
|
---|
| 939 | 'location' => 'path',
|
---|
| 940 | 'type' => 'string',
|
---|
| 941 | 'required' => true,
|
---|
| 942 | ],
|
---|
| 943 | 'zone' => [
|
---|
| 944 | 'location' => 'path',
|
---|
| 945 | 'type' => 'string',
|
---|
| 946 | 'required' => true,
|
---|
| 947 | ],
|
---|
| 948 | 'clusterId' => [
|
---|
| 949 | 'location' => 'path',
|
---|
| 950 | 'type' => 'string',
|
---|
| 951 | 'required' => true,
|
---|
| 952 | ],
|
---|
| 953 | ],
|
---|
| 954 | ],'update' => [
|
---|
| 955 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}',
|
---|
| 956 | 'httpMethod' => 'PUT',
|
---|
| 957 | 'parameters' => [
|
---|
| 958 | 'projectId' => [
|
---|
| 959 | 'location' => 'path',
|
---|
| 960 | 'type' => 'string',
|
---|
| 961 | 'required' => true,
|
---|
| 962 | ],
|
---|
| 963 | 'zone' => [
|
---|
| 964 | 'location' => 'path',
|
---|
| 965 | 'type' => 'string',
|
---|
| 966 | 'required' => true,
|
---|
| 967 | ],
|
---|
| 968 | 'clusterId' => [
|
---|
| 969 | 'location' => 'path',
|
---|
| 970 | 'type' => 'string',
|
---|
| 971 | 'required' => true,
|
---|
| 972 | ],
|
---|
| 973 | ],
|
---|
| 974 | ],
|
---|
| 975 | ]
|
---|
| 976 | ]
|
---|
| 977 | );
|
---|
| 978 | $this->projects_zones_clusters_nodePools = new Container\Resource\ProjectsZonesClustersNodePools(
|
---|
| 979 | $this,
|
---|
| 980 | $this->serviceName,
|
---|
| 981 | 'nodePools',
|
---|
| 982 | [
|
---|
| 983 | 'methods' => [
|
---|
| 984 | 'autoscaling' => [
|
---|
| 985 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling',
|
---|
| 986 | 'httpMethod' => 'POST',
|
---|
| 987 | 'parameters' => [
|
---|
| 988 | 'projectId' => [
|
---|
| 989 | 'location' => 'path',
|
---|
| 990 | 'type' => 'string',
|
---|
| 991 | 'required' => true,
|
---|
| 992 | ],
|
---|
| 993 | 'zone' => [
|
---|
| 994 | 'location' => 'path',
|
---|
| 995 | 'type' => 'string',
|
---|
| 996 | 'required' => true,
|
---|
| 997 | ],
|
---|
| 998 | 'clusterId' => [
|
---|
| 999 | 'location' => 'path',
|
---|
| 1000 | 'type' => 'string',
|
---|
| 1001 | 'required' => true,
|
---|
| 1002 | ],
|
---|
| 1003 | 'nodePoolId' => [
|
---|
| 1004 | 'location' => 'path',
|
---|
| 1005 | 'type' => 'string',
|
---|
| 1006 | 'required' => true,
|
---|
| 1007 | ],
|
---|
| 1008 | ],
|
---|
| 1009 | ],'create' => [
|
---|
| 1010 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools',
|
---|
| 1011 | 'httpMethod' => 'POST',
|
---|
| 1012 | 'parameters' => [
|
---|
| 1013 | 'projectId' => [
|
---|
| 1014 | 'location' => 'path',
|
---|
| 1015 | 'type' => 'string',
|
---|
| 1016 | 'required' => true,
|
---|
| 1017 | ],
|
---|
| 1018 | 'zone' => [
|
---|
| 1019 | 'location' => 'path',
|
---|
| 1020 | 'type' => 'string',
|
---|
| 1021 | 'required' => true,
|
---|
| 1022 | ],
|
---|
| 1023 | 'clusterId' => [
|
---|
| 1024 | 'location' => 'path',
|
---|
| 1025 | 'type' => 'string',
|
---|
| 1026 | 'required' => true,
|
---|
| 1027 | ],
|
---|
| 1028 | ],
|
---|
| 1029 | ],'delete' => [
|
---|
| 1030 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}',
|
---|
| 1031 | 'httpMethod' => 'DELETE',
|
---|
| 1032 | 'parameters' => [
|
---|
| 1033 | 'projectId' => [
|
---|
| 1034 | 'location' => 'path',
|
---|
| 1035 | 'type' => 'string',
|
---|
| 1036 | 'required' => true,
|
---|
| 1037 | ],
|
---|
| 1038 | 'zone' => [
|
---|
| 1039 | 'location' => 'path',
|
---|
| 1040 | 'type' => 'string',
|
---|
| 1041 | 'required' => true,
|
---|
| 1042 | ],
|
---|
| 1043 | 'clusterId' => [
|
---|
| 1044 | 'location' => 'path',
|
---|
| 1045 | 'type' => 'string',
|
---|
| 1046 | 'required' => true,
|
---|
| 1047 | ],
|
---|
| 1048 | 'nodePoolId' => [
|
---|
| 1049 | 'location' => 'path',
|
---|
| 1050 | 'type' => 'string',
|
---|
| 1051 | 'required' => true,
|
---|
| 1052 | ],
|
---|
| 1053 | 'name' => [
|
---|
| 1054 | 'location' => 'query',
|
---|
| 1055 | 'type' => 'string',
|
---|
| 1056 | ],
|
---|
| 1057 | ],
|
---|
| 1058 | ],'get' => [
|
---|
| 1059 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}',
|
---|
| 1060 | 'httpMethod' => 'GET',
|
---|
| 1061 | 'parameters' => [
|
---|
| 1062 | 'projectId' => [
|
---|
| 1063 | 'location' => 'path',
|
---|
| 1064 | 'type' => 'string',
|
---|
| 1065 | 'required' => true,
|
---|
| 1066 | ],
|
---|
| 1067 | 'zone' => [
|
---|
| 1068 | 'location' => 'path',
|
---|
| 1069 | 'type' => 'string',
|
---|
| 1070 | 'required' => true,
|
---|
| 1071 | ],
|
---|
| 1072 | 'clusterId' => [
|
---|
| 1073 | 'location' => 'path',
|
---|
| 1074 | 'type' => 'string',
|
---|
| 1075 | 'required' => true,
|
---|
| 1076 | ],
|
---|
| 1077 | 'nodePoolId' => [
|
---|
| 1078 | 'location' => 'path',
|
---|
| 1079 | 'type' => 'string',
|
---|
| 1080 | 'required' => true,
|
---|
| 1081 | ],
|
---|
| 1082 | 'name' => [
|
---|
| 1083 | 'location' => 'query',
|
---|
| 1084 | 'type' => 'string',
|
---|
| 1085 | ],
|
---|
| 1086 | ],
|
---|
| 1087 | ],'list' => [
|
---|
| 1088 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools',
|
---|
| 1089 | 'httpMethod' => 'GET',
|
---|
| 1090 | 'parameters' => [
|
---|
| 1091 | 'projectId' => [
|
---|
| 1092 | 'location' => 'path',
|
---|
| 1093 | 'type' => 'string',
|
---|
| 1094 | 'required' => true,
|
---|
| 1095 | ],
|
---|
| 1096 | 'zone' => [
|
---|
| 1097 | 'location' => 'path',
|
---|
| 1098 | 'type' => 'string',
|
---|
| 1099 | 'required' => true,
|
---|
| 1100 | ],
|
---|
| 1101 | 'clusterId' => [
|
---|
| 1102 | 'location' => 'path',
|
---|
| 1103 | 'type' => 'string',
|
---|
| 1104 | 'required' => true,
|
---|
| 1105 | ],
|
---|
| 1106 | 'parent' => [
|
---|
| 1107 | 'location' => 'query',
|
---|
| 1108 | 'type' => 'string',
|
---|
| 1109 | ],
|
---|
| 1110 | ],
|
---|
| 1111 | ],'rollback' => [
|
---|
| 1112 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback',
|
---|
| 1113 | 'httpMethod' => 'POST',
|
---|
| 1114 | 'parameters' => [
|
---|
| 1115 | 'projectId' => [
|
---|
| 1116 | 'location' => 'path',
|
---|
| 1117 | 'type' => 'string',
|
---|
| 1118 | 'required' => true,
|
---|
| 1119 | ],
|
---|
| 1120 | 'zone' => [
|
---|
| 1121 | 'location' => 'path',
|
---|
| 1122 | 'type' => 'string',
|
---|
| 1123 | 'required' => true,
|
---|
| 1124 | ],
|
---|
| 1125 | 'clusterId' => [
|
---|
| 1126 | 'location' => 'path',
|
---|
| 1127 | 'type' => 'string',
|
---|
| 1128 | 'required' => true,
|
---|
| 1129 | ],
|
---|
| 1130 | 'nodePoolId' => [
|
---|
| 1131 | 'location' => 'path',
|
---|
| 1132 | 'type' => 'string',
|
---|
| 1133 | 'required' => true,
|
---|
| 1134 | ],
|
---|
| 1135 | ],
|
---|
| 1136 | ],'setManagement' => [
|
---|
| 1137 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement',
|
---|
| 1138 | 'httpMethod' => 'POST',
|
---|
| 1139 | 'parameters' => [
|
---|
| 1140 | 'projectId' => [
|
---|
| 1141 | 'location' => 'path',
|
---|
| 1142 | 'type' => 'string',
|
---|
| 1143 | 'required' => true,
|
---|
| 1144 | ],
|
---|
| 1145 | 'zone' => [
|
---|
| 1146 | 'location' => 'path',
|
---|
| 1147 | 'type' => 'string',
|
---|
| 1148 | 'required' => true,
|
---|
| 1149 | ],
|
---|
| 1150 | 'clusterId' => [
|
---|
| 1151 | 'location' => 'path',
|
---|
| 1152 | 'type' => 'string',
|
---|
| 1153 | 'required' => true,
|
---|
| 1154 | ],
|
---|
| 1155 | 'nodePoolId' => [
|
---|
| 1156 | 'location' => 'path',
|
---|
| 1157 | 'type' => 'string',
|
---|
| 1158 | 'required' => true,
|
---|
| 1159 | ],
|
---|
| 1160 | ],
|
---|
| 1161 | ],'setSize' => [
|
---|
| 1162 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize',
|
---|
| 1163 | 'httpMethod' => 'POST',
|
---|
| 1164 | 'parameters' => [
|
---|
| 1165 | 'projectId' => [
|
---|
| 1166 | 'location' => 'path',
|
---|
| 1167 | 'type' => 'string',
|
---|
| 1168 | 'required' => true,
|
---|
| 1169 | ],
|
---|
| 1170 | 'zone' => [
|
---|
| 1171 | 'location' => 'path',
|
---|
| 1172 | 'type' => 'string',
|
---|
| 1173 | 'required' => true,
|
---|
| 1174 | ],
|
---|
| 1175 | 'clusterId' => [
|
---|
| 1176 | 'location' => 'path',
|
---|
| 1177 | 'type' => 'string',
|
---|
| 1178 | 'required' => true,
|
---|
| 1179 | ],
|
---|
| 1180 | 'nodePoolId' => [
|
---|
| 1181 | 'location' => 'path',
|
---|
| 1182 | 'type' => 'string',
|
---|
| 1183 | 'required' => true,
|
---|
| 1184 | ],
|
---|
| 1185 | ],
|
---|
| 1186 | ],'update' => [
|
---|
| 1187 | 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update',
|
---|
| 1188 | 'httpMethod' => 'POST',
|
---|
| 1189 | 'parameters' => [
|
---|
| 1190 | 'projectId' => [
|
---|
| 1191 | 'location' => 'path',
|
---|
| 1192 | 'type' => 'string',
|
---|
| 1193 | 'required' => true,
|
---|
| 1194 | ],
|
---|
| 1195 | 'zone' => [
|
---|
| 1196 | 'location' => 'path',
|
---|
| 1197 | 'type' => 'string',
|
---|
| 1198 | 'required' => true,
|
---|
| 1199 | ],
|
---|
| 1200 | 'clusterId' => [
|
---|
| 1201 | 'location' => 'path',
|
---|
| 1202 | 'type' => 'string',
|
---|
| 1203 | 'required' => true,
|
---|
| 1204 | ],
|
---|
| 1205 | 'nodePoolId' => [
|
---|
| 1206 | 'location' => 'path',
|
---|
| 1207 | 'type' => 'string',
|
---|
| 1208 | 'required' => true,
|
---|
| 1209 | ],
|
---|
| 1210 | ],
|
---|
| 1211 | ],
|
---|
| 1212 | ]
|
---|
| 1213 | ]
|
---|
| 1214 | );
|
---|
| 1215 | $this->projects_zones_operations = new Container\Resource\ProjectsZonesOperations(
|
---|
| 1216 | $this,
|
---|
| 1217 | $this->serviceName,
|
---|
| 1218 | 'operations',
|
---|
| 1219 | [
|
---|
| 1220 | 'methods' => [
|
---|
| 1221 | 'cancel' => [
|
---|
| 1222 | 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel',
|
---|
| 1223 | 'httpMethod' => 'POST',
|
---|
| 1224 | 'parameters' => [
|
---|
| 1225 | 'projectId' => [
|
---|
| 1226 | 'location' => 'path',
|
---|
| 1227 | 'type' => 'string',
|
---|
| 1228 | 'required' => true,
|
---|
| 1229 | ],
|
---|
| 1230 | 'zone' => [
|
---|
| 1231 | 'location' => 'path',
|
---|
| 1232 | 'type' => 'string',
|
---|
| 1233 | 'required' => true,
|
---|
| 1234 | ],
|
---|
| 1235 | 'operationId' => [
|
---|
| 1236 | 'location' => 'path',
|
---|
| 1237 | 'type' => 'string',
|
---|
| 1238 | 'required' => true,
|
---|
| 1239 | ],
|
---|
| 1240 | ],
|
---|
| 1241 | ],'get' => [
|
---|
| 1242 | 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}',
|
---|
| 1243 | 'httpMethod' => 'GET',
|
---|
| 1244 | 'parameters' => [
|
---|
| 1245 | 'projectId' => [
|
---|
| 1246 | 'location' => 'path',
|
---|
| 1247 | 'type' => 'string',
|
---|
| 1248 | 'required' => true,
|
---|
| 1249 | ],
|
---|
| 1250 | 'zone' => [
|
---|
| 1251 | 'location' => 'path',
|
---|
| 1252 | 'type' => 'string',
|
---|
| 1253 | 'required' => true,
|
---|
| 1254 | ],
|
---|
| 1255 | 'operationId' => [
|
---|
| 1256 | 'location' => 'path',
|
---|
| 1257 | 'type' => 'string',
|
---|
| 1258 | 'required' => true,
|
---|
| 1259 | ],
|
---|
| 1260 | 'name' => [
|
---|
| 1261 | 'location' => 'query',
|
---|
| 1262 | 'type' => 'string',
|
---|
| 1263 | ],
|
---|
| 1264 | ],
|
---|
| 1265 | ],'list' => [
|
---|
| 1266 | 'path' => 'v1/projects/{projectId}/zones/{zone}/operations',
|
---|
| 1267 | 'httpMethod' => 'GET',
|
---|
| 1268 | 'parameters' => [
|
---|
| 1269 | 'projectId' => [
|
---|
| 1270 | 'location' => 'path',
|
---|
| 1271 | 'type' => 'string',
|
---|
| 1272 | 'required' => true,
|
---|
| 1273 | ],
|
---|
| 1274 | 'zone' => [
|
---|
| 1275 | 'location' => 'path',
|
---|
| 1276 | 'type' => 'string',
|
---|
| 1277 | 'required' => true,
|
---|
| 1278 | ],
|
---|
| 1279 | 'parent' => [
|
---|
| 1280 | 'location' => 'query',
|
---|
| 1281 | 'type' => 'string',
|
---|
| 1282 | ],
|
---|
| 1283 | ],
|
---|
| 1284 | ],
|
---|
| 1285 | ]
|
---|
| 1286 | ]
|
---|
| 1287 | );
|
---|
| 1288 | }
|
---|
| 1289 | }
|
---|
| 1290 |
|
---|
| 1291 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 1292 | class_alias(Container::class, 'Google_Service_Container');
|
---|