Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

   1  <?php
   2  /*
   3   * Copyright 2010 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  /**
  19   * Service definition for DeploymentManager (v2).
  20   *
  21   * <p>
  22   * The Deployment Manager API allows users to declaratively configure, deploy
  23   * and run complex solutions on the Google Cloud Platform.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://cloud.google.com/deployment-manager/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_DeploymentManager extends Google_Service
  33  {
  34    /** View and manage your data across Google Cloud Platform services. */
  35    const CLOUD_PLATFORM =
  36        "https://www.googleapis.com/auth/cloud-platform";
  37    /** View your data across Google Cloud Platform services. */
  38    const CLOUD_PLATFORM_READ_ONLY =
  39        "https://www.googleapis.com/auth/cloud-platform.read-only";
  40    /** View and manage your Google Cloud Platform management resources and deployment status information. */
  41    const NDEV_CLOUDMAN =
  42        "https://www.googleapis.com/auth/ndev.cloudman";
  43    /** View your Google Cloud Platform management resources and deployment status information. */
  44    const NDEV_CLOUDMAN_READONLY =
  45        "https://www.googleapis.com/auth/ndev.cloudman.readonly";
  46  
  47    public $deployments;
  48    public $manifests;
  49    public $operations;
  50    public $resources;
  51    public $types;
  52    
  53  
  54    /**
  55     * Constructs the internal representation of the DeploymentManager service.
  56     *
  57     * @param Google_Client $client
  58     */
  59    public function __construct(Google_Client $client)
  60    {
  61      parent::__construct($client);
  62      $this->rootUrl = 'https://www.googleapis.com/';
  63      $this->servicePath = 'deploymentmanager/v2/projects/';
  64      $this->version = 'v2';
  65      $this->serviceName = 'deploymentmanager';
  66  
  67      $this->deployments = new Google_Service_DeploymentManager_Deployments_Resource(
  68          $this,
  69          $this->serviceName,
  70          'deployments',
  71          array(
  72            'methods' => array(
  73              'cancelPreview' => array(
  74                'path' => '{project}/global/deployments/{deployment}/cancelPreview',
  75                'httpMethod' => 'POST',
  76                'parameters' => array(
  77                  'project' => array(
  78                    'location' => 'path',
  79                    'type' => 'string',
  80                    'required' => true,
  81                  ),
  82                  'deployment' => array(
  83                    'location' => 'path',
  84                    'type' => 'string',
  85                    'required' => true,
  86                  ),
  87                ),
  88              ),'delete' => array(
  89                'path' => '{project}/global/deployments/{deployment}',
  90                'httpMethod' => 'DELETE',
  91                'parameters' => array(
  92                  'project' => array(
  93                    'location' => 'path',
  94                    'type' => 'string',
  95                    'required' => true,
  96                  ),
  97                  'deployment' => array(
  98                    'location' => 'path',
  99                    'type' => 'string',
 100                    'required' => true,
 101                  ),
 102                ),
 103              ),'get' => array(
 104                'path' => '{project}/global/deployments/{deployment}',
 105                'httpMethod' => 'GET',
 106                'parameters' => array(
 107                  'project' => array(
 108                    'location' => 'path',
 109                    'type' => 'string',
 110                    'required' => true,
 111                  ),
 112                  'deployment' => array(
 113                    'location' => 'path',
 114                    'type' => 'string',
 115                    'required' => true,
 116                  ),
 117                ),
 118              ),'insert' => array(
 119                'path' => '{project}/global/deployments',
 120                'httpMethod' => 'POST',
 121                'parameters' => array(
 122                  'project' => array(
 123                    'location' => 'path',
 124                    'type' => 'string',
 125                    'required' => true,
 126                  ),
 127                  'preview' => array(
 128                    'location' => 'query',
 129                    'type' => 'boolean',
 130                  ),
 131                ),
 132              ),'list' => array(
 133                'path' => '{project}/global/deployments',
 134                'httpMethod' => 'GET',
 135                'parameters' => array(
 136                  'project' => array(
 137                    'location' => 'path',
 138                    'type' => 'string',
 139                    'required' => true,
 140                  ),
 141                  'filter' => array(
 142                    'location' => 'query',
 143                    'type' => 'string',
 144                  ),
 145                  'pageToken' => array(
 146                    'location' => 'query',
 147                    'type' => 'string',
 148                  ),
 149                  'maxResults' => array(
 150                    'location' => 'query',
 151                    'type' => 'integer',
 152                  ),
 153                ),
 154              ),'patch' => array(
 155                'path' => '{project}/global/deployments/{deployment}',
 156                'httpMethod' => 'PATCH',
 157                'parameters' => array(
 158                  'project' => array(
 159                    'location' => 'path',
 160                    'type' => 'string',
 161                    'required' => true,
 162                  ),
 163                  'deployment' => array(
 164                    'location' => 'path',
 165                    'type' => 'string',
 166                    'required' => true,
 167                  ),
 168                  'preview' => array(
 169                    'location' => 'query',
 170                    'type' => 'boolean',
 171                  ),
 172                  'deletePolicy' => array(
 173                    'location' => 'query',
 174                    'type' => 'string',
 175                  ),
 176                  'createPolicy' => array(
 177                    'location' => 'query',
 178                    'type' => 'string',
 179                  ),
 180                ),
 181              ),'stop' => array(
 182                'path' => '{project}/global/deployments/{deployment}/stop',
 183                'httpMethod' => 'POST',
 184                'parameters' => array(
 185                  'project' => array(
 186                    'location' => 'path',
 187                    'type' => 'string',
 188                    'required' => true,
 189                  ),
 190                  'deployment' => array(
 191                    'location' => 'path',
 192                    'type' => 'string',
 193                    'required' => true,
 194                  ),
 195                ),
 196              ),'update' => array(
 197                'path' => '{project}/global/deployments/{deployment}',
 198                'httpMethod' => 'PUT',
 199                'parameters' => array(
 200                  'project' => array(
 201                    'location' => 'path',
 202                    'type' => 'string',
 203                    'required' => true,
 204                  ),
 205                  'deployment' => array(
 206                    'location' => 'path',
 207                    'type' => 'string',
 208                    'required' => true,
 209                  ),
 210                  'preview' => array(
 211                    'location' => 'query',
 212                    'type' => 'boolean',
 213                  ),
 214                  'deletePolicy' => array(
 215                    'location' => 'query',
 216                    'type' => 'string',
 217                  ),
 218                  'createPolicy' => array(
 219                    'location' => 'query',
 220                    'type' => 'string',
 221                  ),
 222                ),
 223              ),
 224            )
 225          )
 226      );
 227      $this->manifests = new Google_Service_DeploymentManager_Manifests_Resource(
 228          $this,
 229          $this->serviceName,
 230          'manifests',
 231          array(
 232            'methods' => array(
 233              'get' => array(
 234                'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}',
 235                'httpMethod' => 'GET',
 236                'parameters' => array(
 237                  'project' => array(
 238                    'location' => 'path',
 239                    'type' => 'string',
 240                    'required' => true,
 241                  ),
 242                  'deployment' => array(
 243                    'location' => 'path',
 244                    'type' => 'string',
 245                    'required' => true,
 246                  ),
 247                  'manifest' => array(
 248                    'location' => 'path',
 249                    'type' => 'string',
 250                    'required' => true,
 251                  ),
 252                ),
 253              ),'list' => array(
 254                'path' => '{project}/global/deployments/{deployment}/manifests',
 255                'httpMethod' => 'GET',
 256                'parameters' => array(
 257                  'project' => array(
 258                    'location' => 'path',
 259                    'type' => 'string',
 260                    'required' => true,
 261                  ),
 262                  'deployment' => array(
 263                    'location' => 'path',
 264                    'type' => 'string',
 265                    'required' => true,
 266                  ),
 267                  'filter' => array(
 268                    'location' => 'query',
 269                    'type' => 'string',
 270                  ),
 271                  'pageToken' => array(
 272                    'location' => 'query',
 273                    'type' => 'string',
 274                  ),
 275                  'maxResults' => array(
 276                    'location' => 'query',
 277                    'type' => 'integer',
 278                  ),
 279                ),
 280              ),
 281            )
 282          )
 283      );
 284      $this->operations = new Google_Service_DeploymentManager_Operations_Resource(
 285          $this,
 286          $this->serviceName,
 287          'operations',
 288          array(
 289            'methods' => array(
 290              'get' => array(
 291                'path' => '{project}/global/operations/{operation}',
 292                'httpMethod' => 'GET',
 293                'parameters' => array(
 294                  'project' => array(
 295                    'location' => 'path',
 296                    'type' => 'string',
 297                    'required' => true,
 298                  ),
 299                  'operation' => array(
 300                    'location' => 'path',
 301                    'type' => 'string',
 302                    'required' => true,
 303                  ),
 304                ),
 305              ),'list' => array(
 306                'path' => '{project}/global/operations',
 307                'httpMethod' => 'GET',
 308                'parameters' => array(
 309                  'project' => array(
 310                    'location' => 'path',
 311                    'type' => 'string',
 312                    'required' => true,
 313                  ),
 314                  'filter' => array(
 315                    'location' => 'query',
 316                    'type' => 'string',
 317                  ),
 318                  'pageToken' => array(
 319                    'location' => 'query',
 320                    'type' => 'string',
 321                  ),
 322                  'maxResults' => array(
 323                    'location' => 'query',
 324                    'type' => 'integer',
 325                  ),
 326                ),
 327              ),
 328            )
 329          )
 330      );
 331      $this->resources = new Google_Service_DeploymentManager_Resources_Resource(
 332          $this,
 333          $this->serviceName,
 334          'resources',
 335          array(
 336            'methods' => array(
 337              'get' => array(
 338                'path' => '{project}/global/deployments/{deployment}/resources/{resource}',
 339                'httpMethod' => 'GET',
 340                'parameters' => array(
 341                  'project' => array(
 342                    'location' => 'path',
 343                    'type' => 'string',
 344                    'required' => true,
 345                  ),
 346                  'deployment' => array(
 347                    'location' => 'path',
 348                    'type' => 'string',
 349                    'required' => true,
 350                  ),
 351                  'resource' => array(
 352                    'location' => 'path',
 353                    'type' => 'string',
 354                    'required' => true,
 355                  ),
 356                ),
 357              ),'list' => array(
 358                'path' => '{project}/global/deployments/{deployment}/resources',
 359                'httpMethod' => 'GET',
 360                'parameters' => array(
 361                  'project' => array(
 362                    'location' => 'path',
 363                    'type' => 'string',
 364                    'required' => true,
 365                  ),
 366                  'deployment' => array(
 367                    'location' => 'path',
 368                    'type' => 'string',
 369                    'required' => true,
 370                  ),
 371                  'filter' => array(
 372                    'location' => 'query',
 373                    'type' => 'string',
 374                  ),
 375                  'pageToken' => array(
 376                    'location' => 'query',
 377                    'type' => 'string',
 378                  ),
 379                  'maxResults' => array(
 380                    'location' => 'query',
 381                    'type' => 'integer',
 382                  ),
 383                ),
 384              ),
 385            )
 386          )
 387      );
 388      $this->types = new Google_Service_DeploymentManager_Types_Resource(
 389          $this,
 390          $this->serviceName,
 391          'types',
 392          array(
 393            'methods' => array(
 394              'list' => array(
 395                'path' => '{project}/global/types',
 396                'httpMethod' => 'GET',
 397                'parameters' => array(
 398                  'project' => array(
 399                    'location' => 'path',
 400                    'type' => 'string',
 401                    'required' => true,
 402                  ),
 403                  'filter' => array(
 404                    'location' => 'query',
 405                    'type' => 'string',
 406                  ),
 407                  'pageToken' => array(
 408                    'location' => 'query',
 409                    'type' => 'string',
 410                  ),
 411                  'maxResults' => array(
 412                    'location' => 'query',
 413                    'type' => 'integer',
 414                  ),
 415                ),
 416              ),
 417            )
 418          )
 419      );
 420    }
 421  }
 422  
 423  
 424  /**
 425   * The "deployments" collection of methods.
 426   * Typical usage is:
 427   *  <code>
 428   *   $deploymentmanagerService = new Google_Service_DeploymentManager(...);
 429   *   $deployments = $deploymentmanagerService->deployments;
 430   *  </code>
 431   */
 432  class Google_Service_DeploymentManager_Deployments_Resource extends Google_Service_Resource
 433  {
 434  
 435    /**
 436     * Cancels and removes the preview currently associated with the deployment.
 437     * (deployments.cancelPreview)
 438     *
 439     * @param string $project The project ID for this request.
 440     * @param string $deployment The name of the deployment for this request.
 441     * @param Google_DeploymentsCancelPreviewRequest $postBody
 442     * @param array $optParams Optional parameters.
 443     * @return Google_Service_DeploymentManager_Operation
 444     */
 445    public function cancelPreview($project, $deployment, Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody, $optParams = array())
 446    {
 447      $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
 448      $params = array_merge($params, $optParams);
 449      return $this->call('cancelPreview', array($params), "Google_Service_DeploymentManager_Operation");
 450    }
 451  
 452    /**
 453     * Deletes a deployment and all of the resources in the deployment.
 454     * (deployments.delete)
 455     *
 456     * @param string $project The project ID for this request.
 457     * @param string $deployment The name of the deployment for this request.
 458     * @param array $optParams Optional parameters.
 459     * @return Google_Service_DeploymentManager_Operation
 460     */
 461    public function delete($project, $deployment, $optParams = array())
 462    {
 463      $params = array('project' => $project, 'deployment' => $deployment);
 464      $params = array_merge($params, $optParams);
 465      return $this->call('delete', array($params), "Google_Service_DeploymentManager_Operation");
 466    }
 467  
 468    /**
 469     * Gets information about a specific deployment. (deployments.get)
 470     *
 471     * @param string $project The project ID for this request.
 472     * @param string $deployment The name of the deployment for this request.
 473     * @param array $optParams Optional parameters.
 474     * @return Google_Service_DeploymentManager_Deployment
 475     */
 476    public function get($project, $deployment, $optParams = array())
 477    {
 478      $params = array('project' => $project, 'deployment' => $deployment);
 479      $params = array_merge($params, $optParams);
 480      return $this->call('get', array($params), "Google_Service_DeploymentManager_Deployment");
 481    }
 482  
 483    /**
 484     * Creates a deployment and all of the resources described by the deployment
 485     * manifest. (deployments.insert)
 486     *
 487     * @param string $project The project ID for this request.
 488     * @param Google_Deployment $postBody
 489     * @param array $optParams Optional parameters.
 490     *
 491     * @opt_param bool preview If set to true, creates a deployment and creates
 492     * "shell" resources but does not actually instantiate these resources. This
 493     * allows you to preview what your deployment looks like. After previewing a
 494     * deployment, you can deploy your resources by making a request with the
 495     * update() method or you can use the cancelPreview() method to cancel the
 496     * preview altogether. Note that the deployment will still exist after you
 497     * cancel the preview and you must separately delete this deployment if you want
 498     * to remove it.
 499     * @return Google_Service_DeploymentManager_Operation
 500     */
 501    public function insert($project, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
 502    {
 503      $params = array('project' => $project, 'postBody' => $postBody);
 504      $params = array_merge($params, $optParams);
 505      return $this->call('insert', array($params), "Google_Service_DeploymentManager_Operation");
 506    }
 507  
 508    /**
 509     * Lists all deployments for a given project. (deployments.listDeployments)
 510     *
 511     * @param string $project The project ID for this request.
 512     * @param array $optParams Optional parameters.
 513     *
 514     * @opt_param string filter Sets a filter expression for filtering listed
 515     * resources, in the form filter={expression}. Your {expression} must be in the
 516     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 517     *
 518     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 519     * field types are supported (string, number, boolean). The COMPARISON_STRING
 520     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 521     * string value to filter to. The literal value must be valid for the type of
 522     * field (string, number, boolean). For string fields, the literal value is
 523     * interpreted as a regular expression using RE2 syntax. The literal value must
 524     * match the entire field.
 525     *
 526     * For example, filter=name ne example-instance.
 527     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 528     * if you want to list the next page of results. Set pageToken to the
 529     * nextPageToken returned by a previous list request.
 530     * @opt_param string maxResults Maximum count of results to be returned.
 531     * @return Google_Service_DeploymentManager_DeploymentsListResponse
 532     */
 533    public function listDeployments($project, $optParams = array())
 534    {
 535      $params = array('project' => $project);
 536      $params = array_merge($params, $optParams);
 537      return $this->call('list', array($params), "Google_Service_DeploymentManager_DeploymentsListResponse");
 538    }
 539  
 540    /**
 541     * Updates a deployment and all of the resources described by the deployment
 542     * manifest. This method supports patch semantics. (deployments.patch)
 543     *
 544     * @param string $project The project ID for this request.
 545     * @param string $deployment The name of the deployment for this request.
 546     * @param Google_Deployment $postBody
 547     * @param array $optParams Optional parameters.
 548     *
 549     * @opt_param bool preview If set to true, updates the deployment and creates
 550     * and updates the "shell" resources but does not actually alter or instantiate
 551     * these resources. This allows you to preview what your deployment looks like.
 552     * You can use this intent to preview how an update would affect your
 553     * deployment. You must provide a target.config with a configuration if this is
 554     * set to true. After previewing a deployment, you can deploy your resources by
 555     * making a request with the update() or you can cancelPreview() to remove the
 556     * preview altogether. Note that the deployment will still exist after you
 557     * cancel the preview and you must separately delete this deployment if you want
 558     * to remove it.
 559     * @opt_param string deletePolicy Sets the policy to use for deleting resources.
 560     * @opt_param string createPolicy Sets the policy to use for creating new
 561     * resources.
 562     * @return Google_Service_DeploymentManager_Operation
 563     */
 564    public function patch($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
 565    {
 566      $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
 567      $params = array_merge($params, $optParams);
 568      return $this->call('patch', array($params), "Google_Service_DeploymentManager_Operation");
 569    }
 570  
 571    /**
 572     * Stops an ongoing operation. This does not roll back any work that has already
 573     * been completed, but prevents any new work from being started.
 574     * (deployments.stop)
 575     *
 576     * @param string $project The project ID for this request.
 577     * @param string $deployment The name of the deployment for this request.
 578     * @param Google_DeploymentsStopRequest $postBody
 579     * @param array $optParams Optional parameters.
 580     * @return Google_Service_DeploymentManager_Operation
 581     */
 582    public function stop($project, $deployment, Google_Service_DeploymentManager_DeploymentsStopRequest $postBody, $optParams = array())
 583    {
 584      $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
 585      $params = array_merge($params, $optParams);
 586      return $this->call('stop', array($params), "Google_Service_DeploymentManager_Operation");
 587    }
 588  
 589    /**
 590     * Updates a deployment and all of the resources described by the deployment
 591     * manifest. (deployments.update)
 592     *
 593     * @param string $project The project ID for this request.
 594     * @param string $deployment The name of the deployment for this request.
 595     * @param Google_Deployment $postBody
 596     * @param array $optParams Optional parameters.
 597     *
 598     * @opt_param bool preview If set to true, updates the deployment and creates
 599     * and updates the "shell" resources but does not actually alter or instantiate
 600     * these resources. This allows you to preview what your deployment looks like.
 601     * You can use this intent to preview how an update would affect your
 602     * deployment. You must provide a target.config with a configuration if this is
 603     * set to true. After previewing a deployment, you can deploy your resources by
 604     * making a request with the update() or you can cancelPreview() to remove the
 605     * preview altogether. Note that the deployment will still exist after you
 606     * cancel the preview and you must separately delete this deployment if you want
 607     * to remove it.
 608     * @opt_param string deletePolicy Sets the policy to use for deleting resources.
 609     * @opt_param string createPolicy Sets the policy to use for creating new
 610     * resources.
 611     * @return Google_Service_DeploymentManager_Operation
 612     */
 613    public function update($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
 614    {
 615      $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
 616      $params = array_merge($params, $optParams);
 617      return $this->call('update', array($params), "Google_Service_DeploymentManager_Operation");
 618    }
 619  }
 620  
 621  /**
 622   * The "manifests" collection of methods.
 623   * Typical usage is:
 624   *  <code>
 625   *   $deploymentmanagerService = new Google_Service_DeploymentManager(...);
 626   *   $manifests = $deploymentmanagerService->manifests;
 627   *  </code>
 628   */
 629  class Google_Service_DeploymentManager_Manifests_Resource extends Google_Service_Resource
 630  {
 631  
 632    /**
 633     * Gets information about a specific manifest. (manifests.get)
 634     *
 635     * @param string $project The project ID for this request.
 636     * @param string $deployment The name of the deployment for this request.
 637     * @param string $manifest The name of the manifest for this request.
 638     * @param array $optParams Optional parameters.
 639     * @return Google_Service_DeploymentManager_Manifest
 640     */
 641    public function get($project, $deployment, $manifest, $optParams = array())
 642    {
 643      $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest);
 644      $params = array_merge($params, $optParams);
 645      return $this->call('get', array($params), "Google_Service_DeploymentManager_Manifest");
 646    }
 647  
 648    /**
 649     * Lists all manifests for a given deployment. (manifests.listManifests)
 650     *
 651     * @param string $project The project ID for this request.
 652     * @param string $deployment The name of the deployment for this request.
 653     * @param array $optParams Optional parameters.
 654     *
 655     * @opt_param string filter Sets a filter expression for filtering listed
 656     * resources, in the form filter={expression}. Your {expression} must be in the
 657     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 658     *
 659     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 660     * field types are supported (string, number, boolean). The COMPARISON_STRING
 661     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 662     * string value to filter to. The literal value must be valid for the type of
 663     * field (string, number, boolean). For string fields, the literal value is
 664     * interpreted as a regular expression using RE2 syntax. The literal value must
 665     * match the entire field.
 666     *
 667     * For example, filter=name ne example-instance.
 668     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 669     * if you want to list the next page of results. Set pageToken to the
 670     * nextPageToken returned by a previous list request.
 671     * @opt_param string maxResults Maximum count of results to be returned.
 672     * @return Google_Service_DeploymentManager_ManifestsListResponse
 673     */
 674    public function listManifests($project, $deployment, $optParams = array())
 675    {
 676      $params = array('project' => $project, 'deployment' => $deployment);
 677      $params = array_merge($params, $optParams);
 678      return $this->call('list', array($params), "Google_Service_DeploymentManager_ManifestsListResponse");
 679    }
 680  }
 681  
 682  /**
 683   * The "operations" collection of methods.
 684   * Typical usage is:
 685   *  <code>
 686   *   $deploymentmanagerService = new Google_Service_DeploymentManager(...);
 687   *   $operations = $deploymentmanagerService->operations;
 688   *  </code>
 689   */
 690  class Google_Service_DeploymentManager_Operations_Resource extends Google_Service_Resource
 691  {
 692  
 693    /**
 694     * Gets information about a specific operation. (operations.get)
 695     *
 696     * @param string $project The project ID for this request.
 697     * @param string $operation The name of the operation for this request.
 698     * @param array $optParams Optional parameters.
 699     * @return Google_Service_DeploymentManager_Operation
 700     */
 701    public function get($project, $operation, $optParams = array())
 702    {
 703      $params = array('project' => $project, 'operation' => $operation);
 704      $params = array_merge($params, $optParams);
 705      return $this->call('get', array($params), "Google_Service_DeploymentManager_Operation");
 706    }
 707  
 708    /**
 709     * Lists all operations for a project. (operations.listOperations)
 710     *
 711     * @param string $project The project ID for this request.
 712     * @param array $optParams Optional parameters.
 713     *
 714     * @opt_param string filter Sets a filter expression for filtering listed
 715     * resources, in the form filter={expression}. Your {expression} must be in the
 716     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 717     *
 718     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 719     * field types are supported (string, number, boolean). The COMPARISON_STRING
 720     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 721     * string value to filter to. The literal value must be valid for the type of
 722     * field (string, number, boolean). For string fields, the literal value is
 723     * interpreted as a regular expression using RE2 syntax. The literal value must
 724     * match the entire field.
 725     *
 726     * For example, filter=name ne example-instance.
 727     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 728     * if you want to list the next page of results. Set pageToken to the
 729     * nextPageToken returned by a previous list request.
 730     * @opt_param string maxResults Maximum count of results to be returned.
 731     * @return Google_Service_DeploymentManager_OperationsListResponse
 732     */
 733    public function listOperations($project, $optParams = array())
 734    {
 735      $params = array('project' => $project);
 736      $params = array_merge($params, $optParams);
 737      return $this->call('list', array($params), "Google_Service_DeploymentManager_OperationsListResponse");
 738    }
 739  }
 740  
 741  /**
 742   * The "resources" collection of methods.
 743   * Typical usage is:
 744   *  <code>
 745   *   $deploymentmanagerService = new Google_Service_DeploymentManager(...);
 746   *   $resources = $deploymentmanagerService->resources;
 747   *  </code>
 748   */
 749  class Google_Service_DeploymentManager_Resources_Resource extends Google_Service_Resource
 750  {
 751  
 752    /**
 753     * Gets information about a single resource. (resources.get)
 754     *
 755     * @param string $project The project ID for this request.
 756     * @param string $deployment The name of the deployment for this request.
 757     * @param string $resource The name of the resource for this request.
 758     * @param array $optParams Optional parameters.
 759     * @return Google_Service_DeploymentManager_DeploymentmanagerResource
 760     */
 761    public function get($project, $deployment, $resource, $optParams = array())
 762    {
 763      $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource);
 764      $params = array_merge($params, $optParams);
 765      return $this->call('get', array($params), "Google_Service_DeploymentManager_DeploymentmanagerResource");
 766    }
 767  
 768    /**
 769     * Lists all resources in a given deployment. (resources.listResources)
 770     *
 771     * @param string $project The project ID for this request.
 772     * @param string $deployment The name of the deployment for this request.
 773     * @param array $optParams Optional parameters.
 774     *
 775     * @opt_param string filter Sets a filter expression for filtering listed
 776     * resources, in the form filter={expression}. Your {expression} must be in the
 777     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 778     *
 779     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 780     * field types are supported (string, number, boolean). The COMPARISON_STRING
 781     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 782     * string value to filter to. The literal value must be valid for the type of
 783     * field (string, number, boolean). For string fields, the literal value is
 784     * interpreted as a regular expression using RE2 syntax. The literal value must
 785     * match the entire field.
 786     *
 787     * For example, filter=name ne example-instance.
 788     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 789     * if you want to list the next page of results. Set pageToken to the
 790     * nextPageToken returned by a previous list request.
 791     * @opt_param string maxResults Maximum count of results to be returned.
 792     * @return Google_Service_DeploymentManager_ResourcesListResponse
 793     */
 794    public function listResources($project, $deployment, $optParams = array())
 795    {
 796      $params = array('project' => $project, 'deployment' => $deployment);
 797      $params = array_merge($params, $optParams);
 798      return $this->call('list', array($params), "Google_Service_DeploymentManager_ResourcesListResponse");
 799    }
 800  }
 801  
 802  /**
 803   * The "types" collection of methods.
 804   * Typical usage is:
 805   *  <code>
 806   *   $deploymentmanagerService = new Google_Service_DeploymentManager(...);
 807   *   $types = $deploymentmanagerService->types;
 808   *  </code>
 809   */
 810  class Google_Service_DeploymentManager_Types_Resource extends Google_Service_Resource
 811  {
 812  
 813    /**
 814     * Lists all resource types for Deployment Manager. (types.listTypes)
 815     *
 816     * @param string $project The project ID for this request.
 817     * @param array $optParams Optional parameters.
 818     *
 819     * @opt_param string filter Sets a filter expression for filtering listed
 820     * resources, in the form filter={expression}. Your {expression} must be in the
 821     * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
 822     *
 823     * The FIELD_NAME is the name of the field you want to compare. Only atomic
 824     * field types are supported (string, number, boolean). The COMPARISON_STRING
 825     * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the
 826     * string value to filter to. The literal value must be valid for the type of
 827     * field (string, number, boolean). For string fields, the literal value is
 828     * interpreted as a regular expression using RE2 syntax. The literal value must
 829     * match the entire field.
 830     *
 831     * For example, filter=name ne example-instance.
 832     * @opt_param string pageToken Specifies a page token to use. Use this parameter
 833     * if you want to list the next page of results. Set pageToken to the
 834     * nextPageToken returned by a previous list request.
 835     * @opt_param string maxResults Maximum count of results to be returned.
 836     * @return Google_Service_DeploymentManager_TypesListResponse
 837     */
 838    public function listTypes($project, $optParams = array())
 839    {
 840      $params = array('project' => $project);
 841      $params = array_merge($params, $optParams);
 842      return $this->call('list', array($params), "Google_Service_DeploymentManager_TypesListResponse");
 843    }
 844  }
 845  
 846  
 847  
 848  
 849  class Google_Service_DeploymentManager_ConfigFile extends Google_Model
 850  {
 851    protected $internal_gapi_mappings = array(
 852    );
 853    public $content;
 854  
 855  
 856    public function setContent($content)
 857    {
 858      $this->content = $content;
 859    }
 860    public function getContent()
 861    {
 862      return $this->content;
 863    }
 864  }
 865  
 866  class Google_Service_DeploymentManager_Deployment extends Google_Model
 867  {
 868    protected $internal_gapi_mappings = array(
 869    );
 870    public $description;
 871    public $fingerprint;
 872    public $id;
 873    public $insertTime;
 874    public $manifest;
 875    public $name;
 876    protected $operationType = 'Google_Service_DeploymentManager_Operation';
 877    protected $operationDataType = '';
 878    protected $targetType = 'Google_Service_DeploymentManager_TargetConfiguration';
 879    protected $targetDataType = '';
 880    protected $updateType = 'Google_Service_DeploymentManager_DeploymentUpdate';
 881    protected $updateDataType = '';
 882  
 883  
 884    public function setDescription($description)
 885    {
 886      $this->description = $description;
 887    }
 888    public function getDescription()
 889    {
 890      return $this->description;
 891    }
 892    public function setFingerprint($fingerprint)
 893    {
 894      $this->fingerprint = $fingerprint;
 895    }
 896    public function getFingerprint()
 897    {
 898      return $this->fingerprint;
 899    }
 900    public function setId($id)
 901    {
 902      $this->id = $id;
 903    }
 904    public function getId()
 905    {
 906      return $this->id;
 907    }
 908    public function setInsertTime($insertTime)
 909    {
 910      $this->insertTime = $insertTime;
 911    }
 912    public function getInsertTime()
 913    {
 914      return $this->insertTime;
 915    }
 916    public function setManifest($manifest)
 917    {
 918      $this->manifest = $manifest;
 919    }
 920    public function getManifest()
 921    {
 922      return $this->manifest;
 923    }
 924    public function setName($name)
 925    {
 926      $this->name = $name;
 927    }
 928    public function getName()
 929    {
 930      return $this->name;
 931    }
 932    public function setOperation(Google_Service_DeploymentManager_Operation $operation)
 933    {
 934      $this->operation = $operation;
 935    }
 936    public function getOperation()
 937    {
 938      return $this->operation;
 939    }
 940    public function setTarget(Google_Service_DeploymentManager_TargetConfiguration $target)
 941    {
 942      $this->target = $target;
 943    }
 944    public function getTarget()
 945    {
 946      return $this->target;
 947    }
 948    public function setUpdate(Google_Service_DeploymentManager_DeploymentUpdate $update)
 949    {
 950      $this->update = $update;
 951    }
 952    public function getUpdate()
 953    {
 954      return $this->update;
 955    }
 956  }
 957  
 958  class Google_Service_DeploymentManager_DeploymentUpdate extends Google_Model
 959  {
 960    protected $internal_gapi_mappings = array(
 961    );
 962    public $manifest;
 963  
 964  
 965    public function setManifest($manifest)
 966    {
 967      $this->manifest = $manifest;
 968    }
 969    public function getManifest()
 970    {
 971      return $this->manifest;
 972    }
 973  }
 974  
 975  class Google_Service_DeploymentManager_DeploymentmanagerResource extends Google_Collection
 976  {
 977    protected $collection_key = 'warnings';
 978    protected $internal_gapi_mappings = array(
 979    );
 980    public $finalProperties;
 981    public $id;
 982    public $insertTime;
 983    public $manifest;
 984    public $name;
 985    public $properties;
 986    public $type;
 987    protected $updateType = 'Google_Service_DeploymentManager_ResourceUpdate';
 988    protected $updateDataType = '';
 989    public $updateTime;
 990    public $url;
 991    protected $warningsType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings';
 992    protected $warningsDataType = 'array';
 993  
 994  
 995    public function setFinalProperties($finalProperties)
 996    {
 997      $this->finalProperties = $finalProperties;
 998    }
 999    public function getFinalProperties()
1000    {
1001      return $this->finalProperties;
1002    }
1003    public function setId($id)
1004    {
1005      $this->id = $id;
1006    }
1007    public function getId()
1008    {
1009      return $this->id;
1010    }
1011    public function setInsertTime($insertTime)
1012    {
1013      $this->insertTime = $insertTime;
1014    }
1015    public function getInsertTime()
1016    {
1017      return $this->insertTime;
1018    }
1019    public function setManifest($manifest)
1020    {
1021      $this->manifest = $manifest;
1022    }
1023    public function getManifest()
1024    {
1025      return $this->manifest;
1026    }
1027    public function setName($name)
1028    {
1029      $this->name = $name;
1030    }
1031    public function getName()
1032    {
1033      return $this->name;
1034    }
1035    public function setProperties($properties)
1036    {
1037      $this->properties = $properties;
1038    }
1039    public function getProperties()
1040    {
1041      return $this->properties;
1042    }
1043    public function setType($type)
1044    {
1045      $this->type = $type;
1046    }
1047    public function getType()
1048    {
1049      return $this->type;
1050    }
1051    public function setUpdate(Google_Service_DeploymentManager_ResourceUpdate $update)
1052    {
1053      $this->update = $update;
1054    }
1055    public function getUpdate()
1056    {
1057      return $this->update;
1058    }
1059    public function setUpdateTime($updateTime)
1060    {
1061      $this->updateTime = $updateTime;
1062    }
1063    public function getUpdateTime()
1064    {
1065      return $this->updateTime;
1066    }
1067    public function setUrl($url)
1068    {
1069      $this->url = $url;
1070    }
1071    public function getUrl()
1072    {
1073      return $this->url;
1074    }
1075    public function setWarnings($warnings)
1076    {
1077      $this->warnings = $warnings;
1078    }
1079    public function getWarnings()
1080    {
1081      return $this->warnings;
1082    }
1083  }
1084  
1085  class Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings extends Google_Collection
1086  {
1087    protected $collection_key = 'data';
1088    protected $internal_gapi_mappings = array(
1089    );
1090    public $code;
1091    protected $dataType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData';
1092    protected $dataDataType = 'array';
1093    public $message;
1094  
1095  
1096    public function setCode($code)
1097    {
1098      $this->code = $code;
1099    }
1100    public function getCode()
1101    {
1102      return $this->code;
1103    }
1104    public function setData($data)
1105    {
1106      $this->data = $data;
1107    }
1108    public function getData()
1109    {
1110      return $this->data;
1111    }
1112    public function setMessage($message)
1113    {
1114      $this->message = $message;
1115    }
1116    public function getMessage()
1117    {
1118      return $this->message;
1119    }
1120  }
1121  
1122  class Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData extends Google_Model
1123  {
1124    protected $internal_gapi_mappings = array(
1125    );
1126    public $key;
1127    public $value;
1128  
1129  
1130    public function setKey($key)
1131    {
1132      $this->key = $key;
1133    }
1134    public function getKey()
1135    {
1136      return $this->key;
1137    }
1138    public function setValue($value)
1139    {
1140      $this->value = $value;
1141    }
1142    public function getValue()
1143    {
1144      return $this->value;
1145    }
1146  }
1147  
1148  class Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest extends Google_Model
1149  {
1150    protected $internal_gapi_mappings = array(
1151    );
1152    public $fingerprint;
1153  
1154  
1155    public function setFingerprint($fingerprint)
1156    {
1157      $this->fingerprint = $fingerprint;
1158    }
1159    public function getFingerprint()
1160    {
1161      return $this->fingerprint;
1162    }
1163  }
1164  
1165  class Google_Service_DeploymentManager_DeploymentsListResponse extends Google_Collection
1166  {
1167    protected $collection_key = 'deployments';
1168    protected $internal_gapi_mappings = array(
1169    );
1170    protected $deploymentsType = 'Google_Service_DeploymentManager_Deployment';
1171    protected $deploymentsDataType = 'array';
1172    public $nextPageToken;
1173  
1174  
1175    public function setDeployments($deployments)
1176    {
1177      $this->deployments = $deployments;
1178    }
1179    public function getDeployments()
1180    {
1181      return $this->deployments;
1182    }
1183    public function setNextPageToken($nextPageToken)
1184    {
1185      $this->nextPageToken = $nextPageToken;
1186    }
1187    public function getNextPageToken()
1188    {
1189      return $this->nextPageToken;
1190    }
1191  }
1192  
1193  class Google_Service_DeploymentManager_DeploymentsStopRequest extends Google_Model
1194  {
1195    protected $internal_gapi_mappings = array(
1196    );
1197    public $fingerprint;
1198  
1199  
1200    public function setFingerprint($fingerprint)
1201    {
1202      $this->fingerprint = $fingerprint;
1203    }
1204    public function getFingerprint()
1205    {
1206      return $this->fingerprint;
1207    }
1208  }
1209  
1210  class Google_Service_DeploymentManager_ImportFile extends Google_Model
1211  {
1212    protected $internal_gapi_mappings = array(
1213    );
1214    public $content;
1215    public $name;
1216  
1217  
1218    public function setContent($content)
1219    {
1220      $this->content = $content;
1221    }
1222    public function getContent()
1223    {
1224      return $this->content;
1225    }
1226    public function setName($name)
1227    {
1228      $this->name = $name;
1229    }
1230    public function getName()
1231    {
1232      return $this->name;
1233    }
1234  }
1235  
1236  class Google_Service_DeploymentManager_Manifest extends Google_Collection
1237  {
1238    protected $collection_key = 'imports';
1239    protected $internal_gapi_mappings = array(
1240    );
1241    protected $configType = 'Google_Service_DeploymentManager_ConfigFile';
1242    protected $configDataType = '';
1243    public $expandedConfig;
1244    public $id;
1245    protected $importsType = 'Google_Service_DeploymentManager_ImportFile';
1246    protected $importsDataType = 'array';
1247    public $insertTime;
1248    public $layout;
1249    public $name;
1250    public $selfLink;
1251  
1252  
1253    public function setConfig(Google_Service_DeploymentManager_ConfigFile $config)
1254    {
1255      $this->config = $config;
1256    }
1257    public function getConfig()
1258    {
1259      return $this->config;
1260    }
1261    public function setExpandedConfig($expandedConfig)
1262    {
1263      $this->expandedConfig = $expandedConfig;
1264    }
1265    public function getExpandedConfig()
1266    {
1267      return $this->expandedConfig;
1268    }
1269    public function setId($id)
1270    {
1271      $this->id = $id;
1272    }
1273    public function getId()
1274    {
1275      return $this->id;
1276    }
1277    public function setImports($imports)
1278    {
1279      $this->imports = $imports;
1280    }
1281    public function getImports()
1282    {
1283      return $this->imports;
1284    }
1285    public function setInsertTime($insertTime)
1286    {
1287      $this->insertTime = $insertTime;
1288    }
1289    public function getInsertTime()
1290    {
1291      return $this->insertTime;
1292    }
1293    public function setLayout($layout)
1294    {
1295      $this->layout = $layout;
1296    }
1297    public function getLayout()
1298    {
1299      return $this->layout;
1300    }
1301    public function setName($name)
1302    {
1303      $this->name = $name;
1304    }
1305    public function getName()
1306    {
1307      return $this->name;
1308    }
1309    public function setSelfLink($selfLink)
1310    {
1311      $this->selfLink = $selfLink;
1312    }
1313    public function getSelfLink()
1314    {
1315      return $this->selfLink;
1316    }
1317  }
1318  
1319  class Google_Service_DeploymentManager_ManifestsListResponse extends Google_Collection
1320  {
1321    protected $collection_key = 'manifests';
1322    protected $internal_gapi_mappings = array(
1323    );
1324    protected $manifestsType = 'Google_Service_DeploymentManager_Manifest';
1325    protected $manifestsDataType = 'array';
1326    public $nextPageToken;
1327  
1328  
1329    public function setManifests($manifests)
1330    {
1331      $this->manifests = $manifests;
1332    }
1333    public function getManifests()
1334    {
1335      return $this->manifests;
1336    }
1337    public function setNextPageToken($nextPageToken)
1338    {
1339      $this->nextPageToken = $nextPageToken;
1340    }
1341    public function getNextPageToken()
1342    {
1343      return $this->nextPageToken;
1344    }
1345  }
1346  
1347  class Google_Service_DeploymentManager_Operation extends Google_Collection
1348  {
1349    protected $collection_key = 'warnings';
1350    protected $internal_gapi_mappings = array(
1351    );
1352    public $clientOperationId;
1353    public $creationTimestamp;
1354    public $endTime;
1355    protected $errorType = 'Google_Service_DeploymentManager_OperationError';
1356    protected $errorDataType = '';
1357    public $httpErrorMessage;
1358    public $httpErrorStatusCode;
1359    public $id;
1360    public $insertTime;
1361    public $kind;
1362    public $name;
1363    public $operationType;
1364    public $progress;
1365    public $region;
1366    public $selfLink;
1367    public $startTime;
1368    public $status;
1369    public $statusMessage;
1370    public $targetId;
1371    public $targetLink;
1372    public $user;
1373    protected $warningsType = 'Google_Service_DeploymentManager_OperationWarnings';
1374    protected $warningsDataType = 'array';
1375    public $zone;
1376  
1377  
1378    public function setClientOperationId($clientOperationId)
1379    {
1380      $this->clientOperationId = $clientOperationId;
1381    }
1382    public function getClientOperationId()
1383    {
1384      return $this->clientOperationId;
1385    }
1386    public function setCreationTimestamp($creationTimestamp)
1387    {
1388      $this->creationTimestamp = $creationTimestamp;
1389    }
1390    public function getCreationTimestamp()
1391    {
1392      return $this->creationTimestamp;
1393    }
1394    public function setEndTime($endTime)
1395    {
1396      $this->endTime = $endTime;
1397    }
1398    public function getEndTime()
1399    {
1400      return $this->endTime;
1401    }
1402    public function setError(Google_Service_DeploymentManager_OperationError $error)
1403    {
1404      $this->error = $error;
1405    }
1406    public function getError()
1407    {
1408      return $this->error;
1409    }
1410    public function setHttpErrorMessage($httpErrorMessage)
1411    {
1412      $this->httpErrorMessage = $httpErrorMessage;
1413    }
1414    public function getHttpErrorMessage()
1415    {
1416      return $this->httpErrorMessage;
1417    }
1418    public function setHttpErrorStatusCode($httpErrorStatusCode)
1419    {
1420      $this->httpErrorStatusCode = $httpErrorStatusCode;
1421    }
1422    public function getHttpErrorStatusCode()
1423    {
1424      return $this->httpErrorStatusCode;
1425    }
1426    public function setId($id)
1427    {
1428      $this->id = $id;
1429    }
1430    public function getId()
1431    {
1432      return $this->id;
1433    }
1434    public function setInsertTime($insertTime)
1435    {
1436      $this->insertTime = $insertTime;
1437    }
1438    public function getInsertTime()
1439    {
1440      return $this->insertTime;
1441    }
1442    public function setKind($kind)
1443    {
1444      $this->kind = $kind;
1445    }
1446    public function getKind()
1447    {
1448      return $this->kind;
1449    }
1450    public function setName($name)
1451    {
1452      $this->name = $name;
1453    }
1454    public function getName()
1455    {
1456      return $this->name;
1457    }
1458    public function setOperationType($operationType)
1459    {
1460      $this->operationType = $operationType;
1461    }
1462    public function getOperationType()
1463    {
1464      return $this->operationType;
1465    }
1466    public function setProgress($progress)
1467    {
1468      $this->progress = $progress;
1469    }
1470    public function getProgress()
1471    {
1472      return $this->progress;
1473    }
1474    public function setRegion($region)
1475    {
1476      $this->region = $region;
1477    }
1478    public function getRegion()
1479    {
1480      return $this->region;
1481    }
1482    public function setSelfLink($selfLink)
1483    {
1484      $this->selfLink = $selfLink;
1485    }
1486    public function getSelfLink()
1487    {
1488      return $this->selfLink;
1489    }
1490    public function setStartTime($startTime)
1491    {
1492      $this->startTime = $startTime;
1493    }
1494    public function getStartTime()
1495    {
1496      return $this->startTime;
1497    }
1498    public function setStatus($status)
1499    {
1500      $this->status = $status;
1501    }
1502    public function getStatus()
1503    {
1504      return $this->status;
1505    }
1506    public function setStatusMessage($statusMessage)
1507    {
1508      $this->statusMessage = $statusMessage;
1509    }
1510    public function getStatusMessage()
1511    {
1512      return $this->statusMessage;
1513    }
1514    public function setTargetId($targetId)
1515    {
1516      $this->targetId = $targetId;
1517    }
1518    public function getTargetId()
1519    {
1520      return $this->targetId;
1521    }
1522    public function setTargetLink($targetLink)
1523    {
1524      $this->targetLink = $targetLink;
1525    }
1526    public function getTargetLink()
1527    {
1528      return $this->targetLink;
1529    }
1530    public function setUser($user)
1531    {
1532      $this->user = $user;
1533    }
1534    public function getUser()
1535    {
1536      return $this->user;
1537    }
1538    public function setWarnings($warnings)
1539    {
1540      $this->warnings = $warnings;
1541    }
1542    public function getWarnings()
1543    {
1544      return $this->warnings;
1545    }
1546    public function setZone($zone)
1547    {
1548      $this->zone = $zone;
1549    }
1550    public function getZone()
1551    {
1552      return $this->zone;
1553    }
1554  }
1555  
1556  class Google_Service_DeploymentManager_OperationError extends Google_Collection
1557  {
1558    protected $collection_key = 'errors';
1559    protected $internal_gapi_mappings = array(
1560    );
1561    protected $errorsType = 'Google_Service_DeploymentManager_OperationErrorErrors';
1562    protected $errorsDataType = 'array';
1563  
1564  
1565    public function setErrors($errors)
1566    {
1567      $this->errors = $errors;
1568    }
1569    public function getErrors()
1570    {
1571      return $this->errors;
1572    }
1573  }
1574  
1575  class Google_Service_DeploymentManager_OperationErrorErrors extends Google_Model
1576  {
1577    protected $internal_gapi_mappings = array(
1578    );
1579    public $code;
1580    public $location;
1581    public $message;
1582  
1583  
1584    public function setCode($code)
1585    {
1586      $this->code = $code;
1587    }
1588    public function getCode()
1589    {
1590      return $this->code;
1591    }
1592    public function setLocation($location)
1593    {
1594      $this->location = $location;
1595    }
1596    public function getLocation()
1597    {
1598      return $this->location;
1599    }
1600    public function setMessage($message)
1601    {
1602      $this->message = $message;
1603    }
1604    public function getMessage()
1605    {
1606      return $this->message;
1607    }
1608  }
1609  
1610  class Google_Service_DeploymentManager_OperationWarnings extends Google_Collection
1611  {
1612    protected $collection_key = 'data';
1613    protected $internal_gapi_mappings = array(
1614    );
1615    public $code;
1616    protected $dataType = 'Google_Service_DeploymentManager_OperationWarningsData';
1617    protected $dataDataType = 'array';
1618    public $message;
1619  
1620  
1621    public function setCode($code)
1622    {
1623      $this->code = $code;
1624    }
1625    public function getCode()
1626    {
1627      return $this->code;
1628    }
1629    public function setData($data)
1630    {
1631      $this->data = $data;
1632    }
1633    public function getData()
1634    {
1635      return $this->data;
1636    }
1637    public function setMessage($message)
1638    {
1639      $this->message = $message;
1640    }
1641    public function getMessage()
1642    {
1643      return $this->message;
1644    }
1645  }
1646  
1647  class Google_Service_DeploymentManager_OperationWarningsData extends Google_Model
1648  {
1649    protected $internal_gapi_mappings = array(
1650    );
1651    public $key;
1652    public $value;
1653  
1654  
1655    public function setKey($key)
1656    {
1657      $this->key = $key;
1658    }
1659    public function getKey()
1660    {
1661      return $this->key;
1662    }
1663    public function setValue($value)
1664    {
1665      $this->value = $value;
1666    }
1667    public function getValue()
1668    {
1669      return $this->value;
1670    }
1671  }
1672  
1673  class Google_Service_DeploymentManager_OperationsListResponse extends Google_Collection
1674  {
1675    protected $collection_key = 'operations';
1676    protected $internal_gapi_mappings = array(
1677    );
1678    public $nextPageToken;
1679    protected $operationsType = 'Google_Service_DeploymentManager_Operation';
1680    protected $operationsDataType = 'array';
1681  
1682  
1683    public function setNextPageToken($nextPageToken)
1684    {
1685      $this->nextPageToken = $nextPageToken;
1686    }
1687    public function getNextPageToken()
1688    {
1689      return $this->nextPageToken;
1690    }
1691    public function setOperations($operations)
1692    {
1693      $this->operations = $operations;
1694    }
1695    public function getOperations()
1696    {
1697      return $this->operations;
1698    }
1699  }
1700  
1701  class Google_Service_DeploymentManager_ResourceUpdate extends Google_Collection
1702  {
1703    protected $collection_key = 'warnings';
1704    protected $internal_gapi_mappings = array(
1705    );
1706    protected $errorType = 'Google_Service_DeploymentManager_ResourceUpdateError';
1707    protected $errorDataType = '';
1708    public $finalProperties;
1709    public $intent;
1710    public $manifest;
1711    public $properties;
1712    public $state;
1713    protected $warningsType = 'Google_Service_DeploymentManager_ResourceUpdateWarnings';
1714    protected $warningsDataType = 'array';
1715  
1716  
1717    public function setError(Google_Service_DeploymentManager_ResourceUpdateError $error)
1718    {
1719      $this->error = $error;
1720    }
1721    public function getError()
1722    {
1723      return $this->error;
1724    }
1725    public function setFinalProperties($finalProperties)
1726    {
1727      $this->finalProperties = $finalProperties;
1728    }
1729    public function getFinalProperties()
1730    {
1731      return $this->finalProperties;
1732    }
1733    public function setIntent($intent)
1734    {
1735      $this->intent = $intent;
1736    }
1737    public function getIntent()
1738    {
1739      return $this->intent;
1740    }
1741    public function setManifest($manifest)
1742    {
1743      $this->manifest = $manifest;
1744    }
1745    public function getManifest()
1746    {
1747      return $this->manifest;
1748    }
1749    public function setProperties($properties)
1750    {
1751      $this->properties = $properties;
1752    }
1753    public function getProperties()
1754    {
1755      return $this->properties;
1756    }
1757    public function setState($state)
1758    {
1759      $this->state = $state;
1760    }
1761    public function getState()
1762    {
1763      return $this->state;
1764    }
1765    public function setWarnings($warnings)
1766    {
1767      $this->warnings = $warnings;
1768    }
1769    public function getWarnings()
1770    {
1771      return $this->warnings;
1772    }
1773  }
1774  
1775  class Google_Service_DeploymentManager_ResourceUpdateError extends Google_Collection
1776  {
1777    protected $collection_key = 'errors';
1778    protected $internal_gapi_mappings = array(
1779    );
1780    protected $errorsType = 'Google_Service_DeploymentManager_ResourceUpdateErrorErrors';
1781    protected $errorsDataType = 'array';
1782  
1783  
1784    public function setErrors($errors)
1785    {
1786      $this->errors = $errors;
1787    }
1788    public function getErrors()
1789    {
1790      return $this->errors;
1791    }
1792  }
1793  
1794  class Google_Service_DeploymentManager_ResourceUpdateErrorErrors extends Google_Model
1795  {
1796    protected $internal_gapi_mappings = array(
1797    );
1798    public $code;
1799    public $location;
1800    public $message;
1801  
1802  
1803    public function setCode($code)
1804    {
1805      $this->code = $code;
1806    }
1807    public function getCode()
1808    {
1809      return $this->code;
1810    }
1811    public function setLocation($location)
1812    {
1813      $this->location = $location;
1814    }
1815    public function getLocation()
1816    {
1817      return $this->location;
1818    }
1819    public function setMessage($message)
1820    {
1821      $this->message = $message;
1822    }
1823    public function getMessage()
1824    {
1825      return $this->message;
1826    }
1827  }
1828  
1829  class Google_Service_DeploymentManager_ResourceUpdateWarnings extends Google_Collection
1830  {
1831    protected $collection_key = 'data';
1832    protected $internal_gapi_mappings = array(
1833    );
1834    public $code;
1835    protected $dataType = 'Google_Service_DeploymentManager_ResourceUpdateWarningsData';
1836    protected $dataDataType = 'array';
1837    public $message;
1838  
1839  
1840    public function setCode($code)
1841    {
1842      $this->code = $code;
1843    }
1844    public function getCode()
1845    {
1846      return $this->code;
1847    }
1848    public function setData($data)
1849    {
1850      $this->data = $data;
1851    }
1852    public function getData()
1853    {
1854      return $this->data;
1855    }
1856    public function setMessage($message)
1857    {
1858      $this->message = $message;
1859    }
1860    public function getMessage()
1861    {
1862      return $this->message;
1863    }
1864  }
1865  
1866  class Google_Service_DeploymentManager_ResourceUpdateWarningsData extends Google_Model
1867  {
1868    protected $internal_gapi_mappings = array(
1869    );
1870    public $key;
1871    public $value;
1872  
1873  
1874    public function setKey($key)
1875    {
1876      $this->key = $key;
1877    }
1878    public function getKey()
1879    {
1880      return $this->key;
1881    }
1882    public function setValue($value)
1883    {
1884      $this->value = $value;
1885    }
1886    public function getValue()
1887    {
1888      return $this->value;
1889    }
1890  }
1891  
1892  class Google_Service_DeploymentManager_ResourcesListResponse extends Google_Collection
1893  {
1894    protected $collection_key = 'resources';
1895    protected $internal_gapi_mappings = array(
1896    );
1897    public $nextPageToken;
1898    protected $resourcesType = 'Google_Service_DeploymentManager_DeploymentmanagerResource';
1899    protected $resourcesDataType = 'array';
1900  
1901  
1902    public function setNextPageToken($nextPageToken)
1903    {
1904      $this->nextPageToken = $nextPageToken;
1905    }
1906    public function getNextPageToken()
1907    {
1908      return $this->nextPageToken;
1909    }
1910    public function setResources($resources)
1911    {
1912      $this->resources = $resources;
1913    }
1914    public function getResources()
1915    {
1916      return $this->resources;
1917    }
1918  }
1919  
1920  class Google_Service_DeploymentManager_TargetConfiguration extends Google_Collection
1921  {
1922    protected $collection_key = 'imports';
1923    protected $internal_gapi_mappings = array(
1924    );
1925    protected $configType = 'Google_Service_DeploymentManager_ConfigFile';
1926    protected $configDataType = '';
1927    protected $importsType = 'Google_Service_DeploymentManager_ImportFile';
1928    protected $importsDataType = 'array';
1929  
1930  
1931    public function setConfig(Google_Service_DeploymentManager_ConfigFile $config)
1932    {
1933      $this->config = $config;
1934    }
1935    public function getConfig()
1936    {
1937      return $this->config;
1938    }
1939    public function setImports($imports)
1940    {
1941      $this->imports = $imports;
1942    }
1943    public function getImports()
1944    {
1945      return $this->imports;
1946    }
1947  }
1948  
1949  class Google_Service_DeploymentManager_Type extends Google_Model
1950  {
1951    protected $internal_gapi_mappings = array(
1952    );
1953    public $id;
1954    public $insertTime;
1955    public $name;
1956    public $selfLink;
1957  
1958  
1959    public function setId($id)
1960    {
1961      $this->id = $id;
1962    }
1963    public function getId()
1964    {
1965      return $this->id;
1966    }
1967    public function setInsertTime($insertTime)
1968    {
1969      $this->insertTime = $insertTime;
1970    }
1971    public function getInsertTime()
1972    {
1973      return $this->insertTime;
1974    }
1975    public function setName($name)
1976    {
1977      $this->name = $name;
1978    }
1979    public function getName()
1980    {
1981      return $this->name;
1982    }
1983    public function setSelfLink($selfLink)
1984    {
1985      $this->selfLink = $selfLink;
1986    }
1987    public function getSelfLink()
1988    {
1989      return $this->selfLink;
1990    }
1991  }
1992  
1993  class Google_Service_DeploymentManager_TypesListResponse extends Google_Collection
1994  {
1995    protected $collection_key = 'types';
1996    protected $internal_gapi_mappings = array(
1997    );
1998    public $nextPageToken;
1999    protected $typesType = 'Google_Service_DeploymentManager_Type';
2000    protected $typesDataType = 'array';
2001  
2002  
2003    public function setNextPageToken($nextPageToken)
2004    {
2005      $this->nextPageToken = $nextPageToken;
2006    }
2007    public function getNextPageToken()
2008    {
2009      return $this->nextPageToken;
2010    }
2011    public function setTypes($types)
2012    {
2013      $this->types = $types;
2014    }
2015    public function getTypes()
2016    {
2017      return $this->types;
2018    }
2019  }