[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> SQLAdmin.php (source)

   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 SQLAdmin (v1beta3).
  20   *
  21   * <p>
  22   * API for Cloud SQL database instance management.
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/cloud-sql/docs/admin-api/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_SQLAdmin extends Google_Service
  33  {
  34    /** View and manage your data across Google Cloud Platform services. */
  35    const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
  36    /** Manage your Google SQL Service instances. */
  37    const SQLSERVICE_ADMIN = "https://www.googleapis.com/auth/sqlservice.admin";
  38  
  39    public $backupRuns;
  40    public $flags;
  41    public $instances;
  42    public $operations;
  43    public $sslCerts;
  44    public $tiers;
  45    
  46  
  47    /**
  48     * Constructs the internal representation of the SQLAdmin service.
  49     *
  50     * @param Google_Client $client
  51     */
  52    public function __construct(Google_Client $client)
  53    {
  54      parent::__construct($client);
  55      $this->servicePath = 'sql/v1beta3/';
  56      $this->version = 'v1beta3';
  57      $this->serviceName = 'sqladmin';
  58  
  59      $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource(
  60          $this,
  61          $this->serviceName,
  62          'backupRuns',
  63          array(
  64            'methods' => array(
  65              'get' => array(
  66                'path' => 'projects/{project}/instances/{instance}/backupRuns/{backupConfiguration}',
  67                'httpMethod' => 'GET',
  68                'parameters' => array(
  69                  'project' => array(
  70                    'location' => 'path',
  71                    'type' => 'string',
  72                    'required' => true,
  73                  ),
  74                  'instance' => array(
  75                    'location' => 'path',
  76                    'type' => 'string',
  77                    'required' => true,
  78                  ),
  79                  'backupConfiguration' => array(
  80                    'location' => 'path',
  81                    'type' => 'string',
  82                    'required' => true,
  83                  ),
  84                  'dueTime' => array(
  85                    'location' => 'query',
  86                    'type' => 'string',
  87                    'required' => true,
  88                  ),
  89                ),
  90              ),'list' => array(
  91                'path' => 'projects/{project}/instances/{instance}/backupRuns',
  92                'httpMethod' => 'GET',
  93                'parameters' => array(
  94                  'project' => array(
  95                    'location' => 'path',
  96                    'type' => 'string',
  97                    'required' => true,
  98                  ),
  99                  'instance' => array(
 100                    'location' => 'path',
 101                    'type' => 'string',
 102                    'required' => true,
 103                  ),
 104                  'backupConfiguration' => array(
 105                    'location' => 'query',
 106                    'type' => 'string',
 107                    'required' => true,
 108                  ),
 109                  'pageToken' => array(
 110                    'location' => 'query',
 111                    'type' => 'string',
 112                  ),
 113                  'maxResults' => array(
 114                    'location' => 'query',
 115                    'type' => 'integer',
 116                  ),
 117                ),
 118              ),
 119            )
 120          )
 121      );
 122      $this->flags = new Google_Service_SQLAdmin_Flags_Resource(
 123          $this,
 124          $this->serviceName,
 125          'flags',
 126          array(
 127            'methods' => array(
 128              'list' => array(
 129                'path' => 'flags',
 130                'httpMethod' => 'GET',
 131                'parameters' => array(),
 132              ),
 133            )
 134          )
 135      );
 136      $this->instances = new Google_Service_SQLAdmin_Instances_Resource(
 137          $this,
 138          $this->serviceName,
 139          'instances',
 140          array(
 141            'methods' => array(
 142              'clone' => array(
 143                'path' => 'projects/{project}/instances/clone',
 144                'httpMethod' => 'POST',
 145                'parameters' => array(
 146                  'project' => array(
 147                    'location' => 'path',
 148                    'type' => 'string',
 149                    'required' => true,
 150                  ),
 151                ),
 152              ),'delete' => array(
 153                'path' => 'projects/{project}/instances/{instance}',
 154                'httpMethod' => 'DELETE',
 155                'parameters' => array(
 156                  'project' => array(
 157                    'location' => 'path',
 158                    'type' => 'string',
 159                    'required' => true,
 160                  ),
 161                  'instance' => array(
 162                    'location' => 'path',
 163                    'type' => 'string',
 164                    'required' => true,
 165                  ),
 166                ),
 167              ),'export' => array(
 168                'path' => 'projects/{project}/instances/{instance}/export',
 169                'httpMethod' => 'POST',
 170                'parameters' => array(
 171                  'project' => array(
 172                    'location' => 'path',
 173                    'type' => 'string',
 174                    'required' => true,
 175                  ),
 176                  'instance' => array(
 177                    'location' => 'path',
 178                    'type' => 'string',
 179                    'required' => true,
 180                  ),
 181                ),
 182              ),'get' => array(
 183                'path' => 'projects/{project}/instances/{instance}',
 184                'httpMethod' => 'GET',
 185                'parameters' => array(
 186                  'project' => array(
 187                    'location' => 'path',
 188                    'type' => 'string',
 189                    'required' => true,
 190                  ),
 191                  'instance' => array(
 192                    'location' => 'path',
 193                    'type' => 'string',
 194                    'required' => true,
 195                  ),
 196                ),
 197              ),'import' => array(
 198                'path' => 'projects/{project}/instances/{instance}/import',
 199                'httpMethod' => 'POST',
 200                'parameters' => array(
 201                  'project' => array(
 202                    'location' => 'path',
 203                    'type' => 'string',
 204                    'required' => true,
 205                  ),
 206                  'instance' => array(
 207                    'location' => 'path',
 208                    'type' => 'string',
 209                    'required' => true,
 210                  ),
 211                ),
 212              ),'insert' => array(
 213                'path' => 'projects/{project}/instances',
 214                'httpMethod' => 'POST',
 215                'parameters' => array(
 216                  'project' => array(
 217                    'location' => 'path',
 218                    'type' => 'string',
 219                    'required' => true,
 220                  ),
 221                ),
 222              ),'list' => array(
 223                'path' => 'projects/{project}/instances',
 224                'httpMethod' => 'GET',
 225                'parameters' => array(
 226                  'project' => array(
 227                    'location' => 'path',
 228                    'type' => 'string',
 229                    'required' => true,
 230                  ),
 231                  'pageToken' => array(
 232                    'location' => 'query',
 233                    'type' => 'string',
 234                  ),
 235                  'maxResults' => array(
 236                    'location' => 'query',
 237                    'type' => 'integer',
 238                  ),
 239                ),
 240              ),'patch' => array(
 241                'path' => 'projects/{project}/instances/{instance}',
 242                'httpMethod' => 'PATCH',
 243                'parameters' => array(
 244                  'project' => array(
 245                    'location' => 'path',
 246                    'type' => 'string',
 247                    'required' => true,
 248                  ),
 249                  'instance' => array(
 250                    'location' => 'path',
 251                    'type' => 'string',
 252                    'required' => true,
 253                  ),
 254                ),
 255              ),'promoteReplica' => array(
 256                'path' => 'projects/{project}/instances/{instance}/promoteReplica',
 257                'httpMethod' => 'POST',
 258                'parameters' => array(
 259                  'project' => array(
 260                    'location' => 'path',
 261                    'type' => 'string',
 262                    'required' => true,
 263                  ),
 264                  'instance' => array(
 265                    'location' => 'path',
 266                    'type' => 'string',
 267                    'required' => true,
 268                  ),
 269                ),
 270              ),'resetSslConfig' => array(
 271                'path' => 'projects/{project}/instances/{instance}/resetSslConfig',
 272                'httpMethod' => 'POST',
 273                'parameters' => array(
 274                  'project' => array(
 275                    'location' => 'path',
 276                    'type' => 'string',
 277                    'required' => true,
 278                  ),
 279                  'instance' => array(
 280                    'location' => 'path',
 281                    'type' => 'string',
 282                    'required' => true,
 283                  ),
 284                ),
 285              ),'restart' => array(
 286                'path' => 'projects/{project}/instances/{instance}/restart',
 287                'httpMethod' => 'POST',
 288                'parameters' => array(
 289                  'project' => array(
 290                    'location' => 'path',
 291                    'type' => 'string',
 292                    'required' => true,
 293                  ),
 294                  'instance' => array(
 295                    'location' => 'path',
 296                    'type' => 'string',
 297                    'required' => true,
 298                  ),
 299                ),
 300              ),'restoreBackup' => array(
 301                'path' => 'projects/{project}/instances/{instance}/restoreBackup',
 302                'httpMethod' => 'POST',
 303                'parameters' => array(
 304                  'project' => array(
 305                    'location' => 'path',
 306                    'type' => 'string',
 307                    'required' => true,
 308                  ),
 309                  'instance' => array(
 310                    'location' => 'path',
 311                    'type' => 'string',
 312                    'required' => true,
 313                  ),
 314                  'backupConfiguration' => array(
 315                    'location' => 'query',
 316                    'type' => 'string',
 317                    'required' => true,
 318                  ),
 319                  'dueTime' => array(
 320                    'location' => 'query',
 321                    'type' => 'string',
 322                    'required' => true,
 323                  ),
 324                ),
 325              ),'setRootPassword' => array(
 326                'path' => 'projects/{project}/instances/{instance}/setRootPassword',
 327                'httpMethod' => 'POST',
 328                'parameters' => array(
 329                  'project' => array(
 330                    'location' => 'path',
 331                    'type' => 'string',
 332                    'required' => true,
 333                  ),
 334                  'instance' => array(
 335                    'location' => 'path',
 336                    'type' => 'string',
 337                    'required' => true,
 338                  ),
 339                ),
 340              ),'update' => array(
 341                'path' => 'projects/{project}/instances/{instance}',
 342                'httpMethod' => 'PUT',
 343                'parameters' => array(
 344                  'project' => array(
 345                    'location' => 'path',
 346                    'type' => 'string',
 347                    'required' => true,
 348                  ),
 349                  'instance' => array(
 350                    'location' => 'path',
 351                    'type' => 'string',
 352                    'required' => true,
 353                  ),
 354                ),
 355              ),
 356            )
 357          )
 358      );
 359      $this->operations = new Google_Service_SQLAdmin_Operations_Resource(
 360          $this,
 361          $this->serviceName,
 362          'operations',
 363          array(
 364            'methods' => array(
 365              'get' => array(
 366                'path' => 'projects/{project}/instances/{instance}/operations/{operation}',
 367                'httpMethod' => 'GET',
 368                'parameters' => array(
 369                  'project' => array(
 370                    'location' => 'path',
 371                    'type' => 'string',
 372                    'required' => true,
 373                  ),
 374                  'instance' => array(
 375                    'location' => 'path',
 376                    'type' => 'string',
 377                    'required' => true,
 378                  ),
 379                  'operation' => array(
 380                    'location' => 'path',
 381                    'type' => 'string',
 382                    'required' => true,
 383                  ),
 384                ),
 385              ),'list' => array(
 386                'path' => 'projects/{project}/instances/{instance}/operations',
 387                'httpMethod' => 'GET',
 388                'parameters' => array(
 389                  'project' => array(
 390                    'location' => 'path',
 391                    'type' => 'string',
 392                    'required' => true,
 393                  ),
 394                  'instance' => array(
 395                    'location' => 'path',
 396                    'type' => 'string',
 397                    'required' => true,
 398                  ),
 399                  'maxResults' => array(
 400                    'location' => 'query',
 401                    'type' => 'integer',
 402                  ),
 403                  'pageToken' => array(
 404                    'location' => 'query',
 405                    'type' => 'string',
 406                  ),
 407                ),
 408              ),
 409            )
 410          )
 411      );
 412      $this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource(
 413          $this,
 414          $this->serviceName,
 415          'sslCerts',
 416          array(
 417            'methods' => array(
 418              'delete' => array(
 419                'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
 420                'httpMethod' => 'DELETE',
 421                'parameters' => array(
 422                  'project' => array(
 423                    'location' => 'path',
 424                    'type' => 'string',
 425                    'required' => true,
 426                  ),
 427                  'instance' => array(
 428                    'location' => 'path',
 429                    'type' => 'string',
 430                    'required' => true,
 431                  ),
 432                  'sha1Fingerprint' => array(
 433                    'location' => 'path',
 434                    'type' => 'string',
 435                    'required' => true,
 436                  ),
 437                ),
 438              ),'get' => array(
 439                'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
 440                'httpMethod' => 'GET',
 441                'parameters' => array(
 442                  'project' => array(
 443                    'location' => 'path',
 444                    'type' => 'string',
 445                    'required' => true,
 446                  ),
 447                  'instance' => array(
 448                    'location' => 'path',
 449                    'type' => 'string',
 450                    'required' => true,
 451                  ),
 452                  'sha1Fingerprint' => array(
 453                    'location' => 'path',
 454                    'type' => 'string',
 455                    'required' => true,
 456                  ),
 457                ),
 458              ),'insert' => array(
 459                'path' => 'projects/{project}/instances/{instance}/sslCerts',
 460                'httpMethod' => 'POST',
 461                'parameters' => array(
 462                  'project' => array(
 463                    'location' => 'path',
 464                    'type' => 'string',
 465                    'required' => true,
 466                  ),
 467                  'instance' => array(
 468                    'location' => 'path',
 469                    'type' => 'string',
 470                    'required' => true,
 471                  ),
 472                ),
 473              ),'list' => array(
 474                'path' => 'projects/{project}/instances/{instance}/sslCerts',
 475                'httpMethod' => 'GET',
 476                'parameters' => array(
 477                  'project' => array(
 478                    'location' => 'path',
 479                    'type' => 'string',
 480                    'required' => true,
 481                  ),
 482                  'instance' => array(
 483                    'location' => 'path',
 484                    'type' => 'string',
 485                    'required' => true,
 486                  ),
 487                ),
 488              ),
 489            )
 490          )
 491      );
 492      $this->tiers = new Google_Service_SQLAdmin_Tiers_Resource(
 493          $this,
 494          $this->serviceName,
 495          'tiers',
 496          array(
 497            'methods' => array(
 498              'list' => array(
 499                'path' => 'projects/{project}/tiers',
 500                'httpMethod' => 'GET',
 501                'parameters' => array(
 502                  'project' => array(
 503                    'location' => 'path',
 504                    'type' => 'string',
 505                    'required' => true,
 506                  ),
 507                ),
 508              ),
 509            )
 510          )
 511      );
 512    }
 513  }
 514  
 515  
 516  /**
 517   * The "backupRuns" collection of methods.
 518   * Typical usage is:
 519   *  <code>
 520   *   $sqladminService = new Google_Service_SQLAdmin(...);
 521   *   $backupRuns = $sqladminService->backupRuns;
 522   *  </code>
 523   */
 524  class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resource
 525  {
 526  
 527    /**
 528     * Retrieves information about a specified backup run for a Cloud SQL instance.
 529     * (backupRuns.get)
 530     *
 531     * @param string $project
 532     * Project ID of the project that contains the instance.
 533     * @param string $instance
 534     * Cloud SQL instance ID. This does not include the project ID.
 535     * @param string $backupConfiguration
 536     * Identifier for the backup configuration. This gets generated automatically when a backup
 537      * configuration is created.
 538     * @param string $dueTime
 539     * The time when this run is due to start in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
 540     * @param array $optParams Optional parameters.
 541     * @return Google_Service_SQLAdmin_BackupRun
 542     */
 543    public function get($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
 544    {
 545      $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
 546      $params = array_merge($params, $optParams);
 547      return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
 548    }
 549    /**
 550     * Lists all backup runs associated with a Cloud SQL instance.
 551     * (backupRuns.listBackupRuns)
 552     *
 553     * @param string $project
 554     * Project ID of the project that contains the instance.
 555     * @param string $instance
 556     * Cloud SQL instance ID. This does not include the project ID.
 557     * @param string $backupConfiguration
 558     * Identifier for the backup configuration. This gets generated automatically when a backup
 559      * configuration is created.
 560     * @param array $optParams Optional parameters.
 561     *
 562     * @opt_param string pageToken
 563     * A previously-returned page token representing part of the larger set of results to view.
 564     * @opt_param int maxResults
 565     * Maximum number of backup runs per response.
 566     * @return Google_Service_SQLAdmin_BackupRunsListResponse
 567     */
 568    public function listBackupRuns($project, $instance, $backupConfiguration, $optParams = array())
 569    {
 570      $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration);
 571      $params = array_merge($params, $optParams);
 572      return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse");
 573    }
 574  }
 575  
 576  /**
 577   * The "flags" collection of methods.
 578   * Typical usage is:
 579   *  <code>
 580   *   $sqladminService = new Google_Service_SQLAdmin(...);
 581   *   $flags = $sqladminService->flags;
 582   *  </code>
 583   */
 584  class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
 585  {
 586  
 587    /**
 588     * Lists all database flags that can be set for Google Cloud SQL instances.
 589     * (flags.listFlags)
 590     *
 591     * @param array $optParams Optional parameters.
 592     * @return Google_Service_SQLAdmin_FlagsListResponse
 593     */
 594    public function listFlags($optParams = array())
 595    {
 596      $params = array();
 597      $params = array_merge($params, $optParams);
 598      return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
 599    }
 600  }
 601  
 602  /**
 603   * The "instances" collection of methods.
 604   * Typical usage is:
 605   *  <code>
 606   *   $sqladminService = new Google_Service_SQLAdmin(...);
 607   *   $instances = $sqladminService->instances;
 608   *  </code>
 609   */
 610  class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
 611  {
 612  
 613    /**
 614     * Creates a Cloud SQL instance as a clone of a source instance.
 615     * (instances.cloneInstances)
 616     *
 617     * @param string $project
 618     * Project ID of the source as well as the clone Cloud SQL instance.
 619     * @param Google_InstancesCloneRequest $postBody
 620     * @param array $optParams Optional parameters.
 621     * @return Google_Service_SQLAdmin_InstancesCloneResponse
 622     */
 623    public function cloneInstances($project, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
 624    {
 625      $params = array('project' => $project, 'postBody' => $postBody);
 626      $params = array_merge($params, $optParams);
 627      return $this->call('clone', array($params), "Google_Service_SQLAdmin_InstancesCloneResponse");
 628    }
 629    /**
 630     * Deletes a Cloud SQL instance. (instances.delete)
 631     *
 632     * @param string $project
 633     * Project ID of the project that contains the instance to be deleted.
 634     * @param string $instance
 635     * Cloud SQL instance ID. This does not include the project ID.
 636     * @param array $optParams Optional parameters.
 637     * @return Google_Service_SQLAdmin_InstancesDeleteResponse
 638     */
 639    public function delete($project, $instance, $optParams = array())
 640    {
 641      $params = array('project' => $project, 'instance' => $instance);
 642      $params = array_merge($params, $optParams);
 643      return $this->call('delete', array($params), "Google_Service_SQLAdmin_InstancesDeleteResponse");
 644    }
 645    /**
 646     * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
 647     * MySQL dump file. (instances.export)
 648     *
 649     * @param string $project
 650     * Project ID of the project that contains the instance to be exported.
 651     * @param string $instance
 652     * Cloud SQL instance ID. This does not include the project ID.
 653     * @param Google_InstancesExportRequest $postBody
 654     * @param array $optParams Optional parameters.
 655     * @return Google_Service_SQLAdmin_InstancesExportResponse
 656     */
 657    public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
 658    {
 659      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 660      $params = array_merge($params, $optParams);
 661      return $this->call('export', array($params), "Google_Service_SQLAdmin_InstancesExportResponse");
 662    }
 663    /**
 664     * Retrieves information about a Cloud SQL instance. (instances.get)
 665     *
 666     * @param string $project
 667     * Project ID of the project that contains the instance.
 668     * @param string $instance
 669     * Database instance ID. This does not include the project ID.
 670     * @param array $optParams Optional parameters.
 671     * @return Google_Service_SQLAdmin_DatabaseInstance
 672     */
 673    public function get($project, $instance, $optParams = array())
 674    {
 675      $params = array('project' => $project, 'instance' => $instance);
 676      $params = array_merge($params, $optParams);
 677      return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance");
 678    }
 679    /**
 680     * Imports data into a Cloud SQL instance from a MySQL dump file stored in a
 681     * Google Cloud Storage bucket. (instances.import)
 682     *
 683     * @param string $project
 684     * Project ID of the project that contains the instance.
 685     * @param string $instance
 686     * Cloud SQL instance ID. This does not include the project ID.
 687     * @param Google_InstancesImportRequest $postBody
 688     * @param array $optParams Optional parameters.
 689     * @return Google_Service_SQLAdmin_InstancesImportResponse
 690     */
 691    public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
 692    {
 693      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 694      $params = array_merge($params, $optParams);
 695      return $this->call('import', array($params), "Google_Service_SQLAdmin_InstancesImportResponse");
 696    }
 697    /**
 698     * Creates a new Cloud SQL instance. (instances.insert)
 699     *
 700     * @param string $project
 701     * Project ID of the project to which the newly created Cloud SQL instances should belong.
 702     * @param Google_DatabaseInstance $postBody
 703     * @param array $optParams Optional parameters.
 704     * @return Google_Service_SQLAdmin_InstancesInsertResponse
 705     */
 706    public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
 707    {
 708      $params = array('project' => $project, 'postBody' => $postBody);
 709      $params = array_merge($params, $optParams);
 710      return $this->call('insert', array($params), "Google_Service_SQLAdmin_InstancesInsertResponse");
 711    }
 712    /**
 713     * Lists instances for a given project, in alphabetical order by instance name.
 714     * (instances.listInstances)
 715     *
 716     * @param string $project
 717     * Project ID of the project for which to list Cloud SQL instances.
 718     * @param array $optParams Optional parameters.
 719     *
 720     * @opt_param string pageToken
 721     * A previously-returned page token representing part of the larger set of results to view.
 722     * @opt_param string maxResults
 723     * The maximum number of results to return per response.
 724     * @return Google_Service_SQLAdmin_InstancesListResponse
 725     */
 726    public function listInstances($project, $optParams = array())
 727    {
 728      $params = array('project' => $project);
 729      $params = array_merge($params, $optParams);
 730      return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse");
 731    }
 732    /**
 733     * Updates the settings of a Cloud SQL instance. This method supports patch
 734     * semantics. (instances.patch)
 735     *
 736     * @param string $project
 737     * Project ID of the project that contains the instance.
 738     * @param string $instance
 739     * Cloud SQL instance ID. This does not include the project ID.
 740     * @param Google_DatabaseInstance $postBody
 741     * @param array $optParams Optional parameters.
 742     * @return Google_Service_SQLAdmin_InstancesUpdateResponse
 743     */
 744    public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
 745    {
 746      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 747      $params = array_merge($params, $optParams);
 748      return $this->call('patch', array($params), "Google_Service_SQLAdmin_InstancesUpdateResponse");
 749    }
 750    /**
 751     * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
 752     * (instances.promoteReplica)
 753     *
 754     * @param string $project
 755     * ID of the project that contains the read replica.
 756     * @param string $instance
 757     * Cloud SQL read replica instance name.
 758     * @param array $optParams Optional parameters.
 759     * @return Google_Service_SQLAdmin_InstancesPromoteReplicaResponse
 760     */
 761    public function promoteReplica($project, $instance, $optParams = array())
 762    {
 763      $params = array('project' => $project, 'instance' => $instance);
 764      $params = array_merge($params, $optParams);
 765      return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_InstancesPromoteReplicaResponse");
 766    }
 767    /**
 768     * Deletes all client certificates and generates a new server SSL certificate
 769     * for a Cloud SQL instance. (instances.resetSslConfig)
 770     *
 771     * @param string $project
 772     * Project ID of the project that contains the instance.
 773     * @param string $instance
 774     * Cloud SQL instance ID. This does not include the project ID.
 775     * @param array $optParams Optional parameters.
 776     * @return Google_Service_SQLAdmin_InstancesResetSslConfigResponse
 777     */
 778    public function resetSslConfig($project, $instance, $optParams = array())
 779    {
 780      $params = array('project' => $project, 'instance' => $instance);
 781      $params = array_merge($params, $optParams);
 782      return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_InstancesResetSslConfigResponse");
 783    }
 784    /**
 785     * Restarts a Cloud SQL instance. (instances.restart)
 786     *
 787     * @param string $project
 788     * Project ID of the project that contains the instance to be restarted.
 789     * @param string $instance
 790     * Cloud SQL instance ID. This does not include the project ID.
 791     * @param array $optParams Optional parameters.
 792     * @return Google_Service_SQLAdmin_InstancesRestartResponse
 793     */
 794    public function restart($project, $instance, $optParams = array())
 795    {
 796      $params = array('project' => $project, 'instance' => $instance);
 797      $params = array_merge($params, $optParams);
 798      return $this->call('restart', array($params), "Google_Service_SQLAdmin_InstancesRestartResponse");
 799    }
 800    /**
 801     * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
 802     *
 803     * @param string $project
 804     * Project ID of the project that contains the instance.
 805     * @param string $instance
 806     * Cloud SQL instance ID. This does not include the project ID.
 807     * @param string $backupConfiguration
 808     * The identifier of the backup configuration. This gets generated automatically when a backup
 809      * configuration is created.
 810     * @param string $dueTime
 811     * The time when this run is due to start in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
 812     * @param array $optParams Optional parameters.
 813     * @return Google_Service_SQLAdmin_InstancesRestoreBackupResponse
 814     */
 815    public function restoreBackup($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
 816    {
 817      $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
 818      $params = array_merge($params, $optParams);
 819      return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_InstancesRestoreBackupResponse");
 820    }
 821    /**
 822     * Sets the password for the root user of the specified Cloud SQL instance.
 823     * (instances.setRootPassword)
 824     *
 825     * @param string $project
 826     * Project ID of the project that contains the instance.
 827     * @param string $instance
 828     * Cloud SQL instance ID. This does not include the project ID.
 829     * @param Google_InstanceSetRootPasswordRequest $postBody
 830     * @param array $optParams Optional parameters.
 831     * @return Google_Service_SQLAdmin_InstancesSetRootPasswordResponse
 832     */
 833    public function setRootPassword($project, $instance, Google_Service_SQLAdmin_InstanceSetRootPasswordRequest $postBody, $optParams = array())
 834    {
 835      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 836      $params = array_merge($params, $optParams);
 837      return $this->call('setRootPassword', array($params), "Google_Service_SQLAdmin_InstancesSetRootPasswordResponse");
 838    }
 839    /**
 840     * Updates the settings of a Cloud SQL instance. (instances.update)
 841     *
 842     * @param string $project
 843     * Project ID of the project that contains the instance.
 844     * @param string $instance
 845     * Cloud SQL instance ID. This does not include the project ID.
 846     * @param Google_DatabaseInstance $postBody
 847     * @param array $optParams Optional parameters.
 848     * @return Google_Service_SQLAdmin_InstancesUpdateResponse
 849     */
 850    public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
 851    {
 852      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 853      $params = array_merge($params, $optParams);
 854      return $this->call('update', array($params), "Google_Service_SQLAdmin_InstancesUpdateResponse");
 855    }
 856  }
 857  
 858  /**
 859   * The "operations" collection of methods.
 860   * Typical usage is:
 861   *  <code>
 862   *   $sqladminService = new Google_Service_SQLAdmin(...);
 863   *   $operations = $sqladminService->operations;
 864   *  </code>
 865   */
 866  class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resource
 867  {
 868  
 869    /**
 870     * Retrieves information about a specific operation that was performed on a
 871     * Cloud SQL instance. (operations.get)
 872     *
 873     * @param string $project
 874     * Project ID of the project that contains the instance.
 875     * @param string $instance
 876     * Cloud SQL instance ID. This does not include the project ID.
 877     * @param string $operation
 878     * Instance operation ID.
 879     * @param array $optParams Optional parameters.
 880     * @return Google_Service_SQLAdmin_InstanceOperation
 881     */
 882    public function get($project, $instance, $operation, $optParams = array())
 883    {
 884      $params = array('project' => $project, 'instance' => $instance, 'operation' => $operation);
 885      $params = array_merge($params, $optParams);
 886      return $this->call('get', array($params), "Google_Service_SQLAdmin_InstanceOperation");
 887    }
 888    /**
 889     * Lists all operations that have been performed on a Cloud SQL instance.
 890     * (operations.listOperations)
 891     *
 892     * @param string $project
 893     * Project ID of the project that contains the instance.
 894     * @param string $instance
 895     * Cloud SQL instance ID. This does not include the project ID.
 896     * @param array $optParams Optional parameters.
 897     *
 898     * @opt_param string maxResults
 899     * Maximum number of operations per response.
 900     * @opt_param string pageToken
 901     * A previously-returned page token representing part of the larger set of results to view.
 902     * @return Google_Service_SQLAdmin_OperationsListResponse
 903     */
 904    public function listOperations($project, $instance, $optParams = array())
 905    {
 906      $params = array('project' => $project, 'instance' => $instance);
 907      $params = array_merge($params, $optParams);
 908      return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse");
 909    }
 910  }
 911  
 912  /**
 913   * The "sslCerts" collection of methods.
 914   * Typical usage is:
 915   *  <code>
 916   *   $sqladminService = new Google_Service_SQLAdmin(...);
 917   *   $sslCerts = $sqladminService->sslCerts;
 918   *  </code>
 919   */
 920  class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
 921  {
 922  
 923    /**
 924     * Deletes an SSL certificate from a Cloud SQL instance. (sslCerts.delete)
 925     *
 926     * @param string $project
 927     * Project ID of the project that contains the instance to be deleted.
 928     * @param string $instance
 929     * Cloud SQL instance ID. This does not include the project ID.
 930     * @param string $sha1Fingerprint
 931     * Sha1 FingerPrint.
 932     * @param array $optParams Optional parameters.
 933     * @return Google_Service_SQLAdmin_SslCertsDeleteResponse
 934     */
 935    public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
 936    {
 937      $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
 938      $params = array_merge($params, $optParams);
 939      return $this->call('delete', array($params), "Google_Service_SQLAdmin_SslCertsDeleteResponse");
 940    }
 941    /**
 942     * Retrieves an SSL certificate as specified by its SHA-1 fingerprint.
 943     * (sslCerts.get)
 944     *
 945     * @param string $project
 946     * Project ID of the project that contains the instance.
 947     * @param string $instance
 948     * Cloud SQL instance ID. This does not include the project ID.
 949     * @param string $sha1Fingerprint
 950     * Sha1 FingerPrint.
 951     * @param array $optParams Optional parameters.
 952     * @return Google_Service_SQLAdmin_SslCert
 953     */
 954    public function get($project, $instance, $sha1Fingerprint, $optParams = array())
 955    {
 956      $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
 957      $params = array_merge($params, $optParams);
 958      return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert");
 959    }
 960    /**
 961     * Creates an SSL certificate and returns the certificate, the associated
 962     * private key, and the server certificate authority. (sslCerts.insert)
 963     *
 964     * @param string $project
 965     * Project ID of the project to which the newly created Cloud SQL instances should belong.
 966     * @param string $instance
 967     * Cloud SQL instance ID. This does not include the project ID.
 968     * @param Google_SslCertsInsertRequest $postBody
 969     * @param array $optParams Optional parameters.
 970     * @return Google_Service_SQLAdmin_SslCertsInsertResponse
 971     */
 972    public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
 973    {
 974      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 975      $params = array_merge($params, $optParams);
 976      return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse");
 977    }
 978    /**
 979     * Lists all of the current SSL certificates defined for a Cloud SQL instance.
 980     * (sslCerts.listSslCerts)
 981     *
 982     * @param string $project
 983     * Project ID of the project for which to list Cloud SQL instances.
 984     * @param string $instance
 985     * Cloud SQL instance ID. This does not include the project ID.
 986     * @param array $optParams Optional parameters.
 987     * @return Google_Service_SQLAdmin_SslCertsListResponse
 988     */
 989    public function listSslCerts($project, $instance, $optParams = array())
 990    {
 991      $params = array('project' => $project, 'instance' => $instance);
 992      $params = array_merge($params, $optParams);
 993      return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse");
 994    }
 995  }
 996  
 997  /**
 998   * The "tiers" collection of methods.
 999   * Typical usage is:
1000   *  <code>
1001   *   $sqladminService = new Google_Service_SQLAdmin(...);
1002   *   $tiers = $sqladminService->tiers;
1003   *  </code>
1004   */
1005  class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
1006  {
1007  
1008    /**
1009     * Lists service tiers that can be used to create Google Cloud SQL instances.
1010     * (tiers.listTiers)
1011     *
1012     * @param string $project
1013     * Project ID of the project for which to list tiers.
1014     * @param array $optParams Optional parameters.
1015     * @return Google_Service_SQLAdmin_TiersListResponse
1016     */
1017    public function listTiers($project, $optParams = array())
1018    {
1019      $params = array('project' => $project);
1020      $params = array_merge($params, $optParams);
1021      return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse");
1022    }
1023  }
1024  
1025  
1026  
1027  
1028  class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
1029  {
1030    public $binaryLogEnabled;
1031    public $enabled;
1032    public $id;
1033    public $kind;
1034    public $startTime;
1035  
1036    public function setBinaryLogEnabled($binaryLogEnabled)
1037    {
1038      $this->binaryLogEnabled = $binaryLogEnabled;
1039    }
1040  
1041    public function getBinaryLogEnabled()
1042    {
1043      return $this->binaryLogEnabled;
1044    }
1045  
1046    public function setEnabled($enabled)
1047    {
1048      $this->enabled = $enabled;
1049    }
1050  
1051    public function getEnabled()
1052    {
1053      return $this->enabled;
1054    }
1055  
1056    public function setId($id)
1057    {
1058      $this->id = $id;
1059    }
1060  
1061    public function getId()
1062    {
1063      return $this->id;
1064    }
1065  
1066    public function setKind($kind)
1067    {
1068      $this->kind = $kind;
1069    }
1070  
1071    public function getKind()
1072    {
1073      return $this->kind;
1074    }
1075  
1076    public function setStartTime($startTime)
1077    {
1078      $this->startTime = $startTime;
1079    }
1080  
1081    public function getStartTime()
1082    {
1083      return $this->startTime;
1084    }
1085  }
1086  
1087  class Google_Service_SQLAdmin_BackupRun extends Google_Model
1088  {
1089    public $backupConfiguration;
1090    public $dueTime;
1091    public $endTime;
1092    public $enqueuedTime;
1093    protected $errorType = 'Google_Service_SQLAdmin_OperationError';
1094    protected $errorDataType = '';
1095    public $instance;
1096    public $kind;
1097    public $startTime;
1098    public $status;
1099  
1100    public function setBackupConfiguration($backupConfiguration)
1101    {
1102      $this->backupConfiguration = $backupConfiguration;
1103    }
1104  
1105    public function getBackupConfiguration()
1106    {
1107      return $this->backupConfiguration;
1108    }
1109  
1110    public function setDueTime($dueTime)
1111    {
1112      $this->dueTime = $dueTime;
1113    }
1114  
1115    public function getDueTime()
1116    {
1117      return $this->dueTime;
1118    }
1119  
1120    public function setEndTime($endTime)
1121    {
1122      $this->endTime = $endTime;
1123    }
1124  
1125    public function getEndTime()
1126    {
1127      return $this->endTime;
1128    }
1129  
1130    public function setEnqueuedTime($enqueuedTime)
1131    {
1132      $this->enqueuedTime = $enqueuedTime;
1133    }
1134  
1135    public function getEnqueuedTime()
1136    {
1137      return $this->enqueuedTime;
1138    }
1139  
1140    public function setError(Google_Service_SQLAdmin_OperationError $error)
1141    {
1142      $this->error = $error;
1143    }
1144  
1145    public function getError()
1146    {
1147      return $this->error;
1148    }
1149  
1150    public function setInstance($instance)
1151    {
1152      $this->instance = $instance;
1153    }
1154  
1155    public function getInstance()
1156    {
1157      return $this->instance;
1158    }
1159  
1160    public function setKind($kind)
1161    {
1162      $this->kind = $kind;
1163    }
1164  
1165    public function getKind()
1166    {
1167      return $this->kind;
1168    }
1169  
1170    public function setStartTime($startTime)
1171    {
1172      $this->startTime = $startTime;
1173    }
1174  
1175    public function getStartTime()
1176    {
1177      return $this->startTime;
1178    }
1179  
1180    public function setStatus($status)
1181    {
1182      $this->status = $status;
1183    }
1184  
1185    public function getStatus()
1186    {
1187      return $this->status;
1188    }
1189  }
1190  
1191  class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
1192  {
1193    protected $collection_key = 'items';
1194    protected $itemsType = 'Google_Service_SQLAdmin_BackupRun';
1195    protected $itemsDataType = 'array';
1196    public $kind;
1197    public $nextPageToken;
1198  
1199    public function setItems($items)
1200    {
1201      $this->items = $items;
1202    }
1203  
1204    public function getItems()
1205    {
1206      return $this->items;
1207    }
1208  
1209    public function setKind($kind)
1210    {
1211      $this->kind = $kind;
1212    }
1213  
1214    public function getKind()
1215    {
1216      return $this->kind;
1217    }
1218  
1219    public function setNextPageToken($nextPageToken)
1220    {
1221      $this->nextPageToken = $nextPageToken;
1222    }
1223  
1224    public function getNextPageToken()
1225    {
1226      return $this->nextPageToken;
1227    }
1228  }
1229  
1230  class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
1231  {
1232    public $binLogFileName;
1233    public $binLogPosition;
1234    public $kind;
1235  
1236    public function setBinLogFileName($binLogFileName)
1237    {
1238      $this->binLogFileName = $binLogFileName;
1239    }
1240  
1241    public function getBinLogFileName()
1242    {
1243      return $this->binLogFileName;
1244    }
1245  
1246    public function setBinLogPosition($binLogPosition)
1247    {
1248      $this->binLogPosition = $binLogPosition;
1249    }
1250  
1251    public function getBinLogPosition()
1252    {
1253      return $this->binLogPosition;
1254    }
1255  
1256    public function setKind($kind)
1257    {
1258      $this->kind = $kind;
1259    }
1260  
1261    public function getKind()
1262    {
1263      return $this->kind;
1264    }
1265  }
1266  
1267  class Google_Service_SQLAdmin_CloneContext extends Google_Model
1268  {
1269    protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
1270    protected $binLogCoordinatesDataType = '';
1271    public $destinationInstanceName;
1272    public $kind;
1273    public $sourceInstanceName;
1274  
1275    public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
1276    {
1277      $this->binLogCoordinates = $binLogCoordinates;
1278    }
1279  
1280    public function getBinLogCoordinates()
1281    {
1282      return $this->binLogCoordinates;
1283    }
1284  
1285    public function setDestinationInstanceName($destinationInstanceName)
1286    {
1287      $this->destinationInstanceName = $destinationInstanceName;
1288    }
1289  
1290    public function getDestinationInstanceName()
1291    {
1292      return $this->destinationInstanceName;
1293    }
1294  
1295    public function setKind($kind)
1296    {
1297      $this->kind = $kind;
1298    }
1299  
1300    public function getKind()
1301    {
1302      return $this->kind;
1303    }
1304  
1305    public function setSourceInstanceName($sourceInstanceName)
1306    {
1307      $this->sourceInstanceName = $sourceInstanceName;
1308    }
1309  
1310    public function getSourceInstanceName()
1311    {
1312      return $this->sourceInstanceName;
1313    }
1314  }
1315  
1316  class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
1317  {
1318    public $name;
1319    public $value;
1320  
1321    public function setName($name)
1322    {
1323      $this->name = $name;
1324    }
1325  
1326    public function getName()
1327    {
1328      return $this->name;
1329    }
1330  
1331    public function setValue($value)
1332    {
1333      $this->value = $value;
1334    }
1335  
1336    public function getValue()
1337    {
1338      return $this->value;
1339    }
1340  }
1341  
1342  class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
1343  {
1344    protected $collection_key = 'replicaNames';
1345    public $currentDiskSize;
1346    public $databaseVersion;
1347    public $etag;
1348    public $instance;
1349    public $instanceType;
1350    protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
1351    protected $ipAddressesDataType = 'array';
1352    public $kind;
1353    public $masterInstanceName;
1354    public $maxDiskSize;
1355    public $project;
1356    public $region;
1357    public $replicaNames;
1358    protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
1359    protected $serverCaCertDataType = '';
1360    protected $settingsType = 'Google_Service_SQLAdmin_Settings';
1361    protected $settingsDataType = '';
1362    public $state;
1363  
1364    public function setCurrentDiskSize($currentDiskSize)
1365    {
1366      $this->currentDiskSize = $currentDiskSize;
1367    }
1368  
1369    public function getCurrentDiskSize()
1370    {
1371      return $this->currentDiskSize;
1372    }
1373  
1374    public function setDatabaseVersion($databaseVersion)
1375    {
1376      $this->databaseVersion = $databaseVersion;
1377    }
1378  
1379    public function getDatabaseVersion()
1380    {
1381      return $this->databaseVersion;
1382    }
1383  
1384    public function setEtag($etag)
1385    {
1386      $this->etag = $etag;
1387    }
1388  
1389    public function getEtag()
1390    {
1391      return $this->etag;
1392    }
1393  
1394    public function setInstance($instance)
1395    {
1396      $this->instance = $instance;
1397    }
1398  
1399    public function getInstance()
1400    {
1401      return $this->instance;
1402    }
1403  
1404    public function setInstanceType($instanceType)
1405    {
1406      $this->instanceType = $instanceType;
1407    }
1408  
1409    public function getInstanceType()
1410    {
1411      return $this->instanceType;
1412    }
1413  
1414    public function setIpAddresses($ipAddresses)
1415    {
1416      $this->ipAddresses = $ipAddresses;
1417    }
1418  
1419    public function getIpAddresses()
1420    {
1421      return $this->ipAddresses;
1422    }
1423  
1424    public function setKind($kind)
1425    {
1426      $this->kind = $kind;
1427    }
1428  
1429    public function getKind()
1430    {
1431      return $this->kind;
1432    }
1433  
1434    public function setMasterInstanceName($masterInstanceName)
1435    {
1436      $this->masterInstanceName = $masterInstanceName;
1437    }
1438  
1439    public function getMasterInstanceName()
1440    {
1441      return $this->masterInstanceName;
1442    }
1443  
1444    public function setMaxDiskSize($maxDiskSize)
1445    {
1446      $this->maxDiskSize = $maxDiskSize;
1447    }
1448  
1449    public function getMaxDiskSize()
1450    {
1451      return $this->maxDiskSize;
1452    }
1453  
1454    public function setProject($project)
1455    {
1456      $this->project = $project;
1457    }
1458  
1459    public function getProject()
1460    {
1461      return $this->project;
1462    }
1463  
1464    public function setRegion($region)
1465    {
1466      $this->region = $region;
1467    }
1468  
1469    public function getRegion()
1470    {
1471      return $this->region;
1472    }
1473  
1474    public function setReplicaNames($replicaNames)
1475    {
1476      $this->replicaNames = $replicaNames;
1477    }
1478  
1479    public function getReplicaNames()
1480    {
1481      return $this->replicaNames;
1482    }
1483  
1484    public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
1485    {
1486      $this->serverCaCert = $serverCaCert;
1487    }
1488  
1489    public function getServerCaCert()
1490    {
1491      return $this->serverCaCert;
1492    }
1493  
1494    public function setSettings(Google_Service_SQLAdmin_Settings $settings)
1495    {
1496      $this->settings = $settings;
1497    }
1498  
1499    public function getSettings()
1500    {
1501      return $this->settings;
1502    }
1503  
1504    public function setState($state)
1505    {
1506      $this->state = $state;
1507    }
1508  
1509    public function getState()
1510    {
1511      return $this->state;
1512    }
1513  }
1514  
1515  class Google_Service_SQLAdmin_ExportContext extends Google_Collection
1516  {
1517    protected $collection_key = 'table';
1518    public $database;
1519    public $kind;
1520    public $table;
1521    public $uri;
1522  
1523    public function setDatabase($database)
1524    {
1525      $this->database = $database;
1526    }
1527  
1528    public function getDatabase()
1529    {
1530      return $this->database;
1531    }
1532  
1533    public function setKind($kind)
1534    {
1535      $this->kind = $kind;
1536    }
1537  
1538    public function getKind()
1539    {
1540      return $this->kind;
1541    }
1542  
1543    public function setTable($table)
1544    {
1545      $this->table = $table;
1546    }
1547  
1548    public function getTable()
1549    {
1550      return $this->table;
1551    }
1552  
1553    public function setUri($uri)
1554    {
1555      $this->uri = $uri;
1556    }
1557  
1558    public function getUri()
1559    {
1560      return $this->uri;
1561    }
1562  }
1563  
1564  class Google_Service_SQLAdmin_Flag extends Google_Collection
1565  {
1566    protected $collection_key = 'appliesTo';
1567    public $allowedStringValues;
1568    public $appliesTo;
1569    public $kind;
1570    public $maxValue;
1571    public $minValue;
1572    public $name;
1573    public $type;
1574  
1575    public function setAllowedStringValues($allowedStringValues)
1576    {
1577      $this->allowedStringValues = $allowedStringValues;
1578    }
1579  
1580    public function getAllowedStringValues()
1581    {
1582      return $this->allowedStringValues;
1583    }
1584  
1585    public function setAppliesTo($appliesTo)
1586    {
1587      $this->appliesTo = $appliesTo;
1588    }
1589  
1590    public function getAppliesTo()
1591    {
1592      return $this->appliesTo;
1593    }
1594  
1595    public function setKind($kind)
1596    {
1597      $this->kind = $kind;
1598    }
1599  
1600    public function getKind()
1601    {
1602      return $this->kind;
1603    }
1604  
1605    public function setMaxValue($maxValue)
1606    {
1607      $this->maxValue = $maxValue;
1608    }
1609  
1610    public function getMaxValue()
1611    {
1612      return $this->maxValue;
1613    }
1614  
1615    public function setMinValue($minValue)
1616    {
1617      $this->minValue = $minValue;
1618    }
1619  
1620    public function getMinValue()
1621    {
1622      return $this->minValue;
1623    }
1624  
1625    public function setName($name)
1626    {
1627      $this->name = $name;
1628    }
1629  
1630    public function getName()
1631    {
1632      return $this->name;
1633    }
1634  
1635    public function setType($type)
1636    {
1637      $this->type = $type;
1638    }
1639  
1640    public function getType()
1641    {
1642      return $this->type;
1643    }
1644  }
1645  
1646  class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
1647  {
1648    protected $collection_key = 'items';
1649    protected $itemsType = 'Google_Service_SQLAdmin_Flag';
1650    protected $itemsDataType = 'array';
1651    public $kind;
1652  
1653    public function setItems($items)
1654    {
1655      $this->items = $items;
1656    }
1657  
1658    public function getItems()
1659    {
1660      return $this->items;
1661    }
1662  
1663    public function setKind($kind)
1664    {
1665      $this->kind = $kind;
1666    }
1667  
1668    public function getKind()
1669    {
1670      return $this->kind;
1671    }
1672  }
1673  
1674  class Google_Service_SQLAdmin_ImportContext extends Google_Collection
1675  {
1676    protected $collection_key = 'uri';
1677    public $database;
1678    public $kind;
1679    public $uri;
1680  
1681    public function setDatabase($database)
1682    {
1683      $this->database = $database;
1684    }
1685  
1686    public function getDatabase()
1687    {
1688      return $this->database;
1689    }
1690  
1691    public function setKind($kind)
1692    {
1693      $this->kind = $kind;
1694    }
1695  
1696    public function getKind()
1697    {
1698      return $this->kind;
1699    }
1700  
1701    public function setUri($uri)
1702    {
1703      $this->uri = $uri;
1704    }
1705  
1706    public function getUri()
1707    {
1708      return $this->uri;
1709    }
1710  }
1711  
1712  class Google_Service_SQLAdmin_InstanceOperation extends Google_Collection
1713  {
1714    protected $collection_key = 'error';
1715    public $endTime;
1716    public $enqueuedTime;
1717    protected $errorType = 'Google_Service_SQLAdmin_OperationError';
1718    protected $errorDataType = 'array';
1719    protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
1720    protected $exportContextDataType = '';
1721    protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
1722    protected $importContextDataType = '';
1723    public $instance;
1724    public $kind;
1725    public $operation;
1726    public $operationType;
1727    public $startTime;
1728    public $state;
1729    public $userEmailAddress;
1730  
1731    public function setEndTime($endTime)
1732    {
1733      $this->endTime = $endTime;
1734    }
1735  
1736    public function getEndTime()
1737    {
1738      return $this->endTime;
1739    }
1740  
1741    public function setEnqueuedTime($enqueuedTime)
1742    {
1743      $this->enqueuedTime = $enqueuedTime;
1744    }
1745  
1746    public function getEnqueuedTime()
1747    {
1748      return $this->enqueuedTime;
1749    }
1750  
1751    public function setError($error)
1752    {
1753      $this->error = $error;
1754    }
1755  
1756    public function getError()
1757    {
1758      return $this->error;
1759    }
1760  
1761    public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
1762    {
1763      $this->exportContext = $exportContext;
1764    }
1765  
1766    public function getExportContext()
1767    {
1768      return $this->exportContext;
1769    }
1770  
1771    public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
1772    {
1773      $this->importContext = $importContext;
1774    }
1775  
1776    public function getImportContext()
1777    {
1778      return $this->importContext;
1779    }
1780  
1781    public function setInstance($instance)
1782    {
1783      $this->instance = $instance;
1784    }
1785  
1786    public function getInstance()
1787    {
1788      return $this->instance;
1789    }
1790  
1791    public function setKind($kind)
1792    {
1793      $this->kind = $kind;
1794    }
1795  
1796    public function getKind()
1797    {
1798      return $this->kind;
1799    }
1800  
1801    public function setOperation($operation)
1802    {
1803      $this->operation = $operation;
1804    }
1805  
1806    public function getOperation()
1807    {
1808      return $this->operation;
1809    }
1810  
1811    public function setOperationType($operationType)
1812    {
1813      $this->operationType = $operationType;
1814    }
1815  
1816    public function getOperationType()
1817    {
1818      return $this->operationType;
1819    }
1820  
1821    public function setStartTime($startTime)
1822    {
1823      $this->startTime = $startTime;
1824    }
1825  
1826    public function getStartTime()
1827    {
1828      return $this->startTime;
1829    }
1830  
1831    public function setState($state)
1832    {
1833      $this->state = $state;
1834    }
1835  
1836    public function getState()
1837    {
1838      return $this->state;
1839    }
1840  
1841    public function setUserEmailAddress($userEmailAddress)
1842    {
1843      $this->userEmailAddress = $userEmailAddress;
1844    }
1845  
1846    public function getUserEmailAddress()
1847    {
1848      return $this->userEmailAddress;
1849    }
1850  }
1851  
1852  class Google_Service_SQLAdmin_InstanceSetRootPasswordRequest extends Google_Model
1853  {
1854    protected $setRootPasswordContextType = 'Google_Service_SQLAdmin_SetRootPasswordContext';
1855    protected $setRootPasswordContextDataType = '';
1856  
1857    public function setSetRootPasswordContext(Google_Service_SQLAdmin_SetRootPasswordContext $setRootPasswordContext)
1858    {
1859      $this->setRootPasswordContext = $setRootPasswordContext;
1860    }
1861  
1862    public function getSetRootPasswordContext()
1863    {
1864      return $this->setRootPasswordContext;
1865    }
1866  }
1867  
1868  class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
1869  {
1870    protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
1871    protected $cloneContextDataType = '';
1872  
1873    public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
1874    {
1875      $this->cloneContext = $cloneContext;
1876    }
1877  
1878    public function getCloneContext()
1879    {
1880      return $this->cloneContext;
1881    }
1882  }
1883  
1884  class Google_Service_SQLAdmin_InstancesCloneResponse extends Google_Model
1885  {
1886    public $kind;
1887    public $operation;
1888  
1889    public function setKind($kind)
1890    {
1891      $this->kind = $kind;
1892    }
1893  
1894    public function getKind()
1895    {
1896      return $this->kind;
1897    }
1898  
1899    public function setOperation($operation)
1900    {
1901      $this->operation = $operation;
1902    }
1903  
1904    public function getOperation()
1905    {
1906      return $this->operation;
1907    }
1908  }
1909  
1910  class Google_Service_SQLAdmin_InstancesDeleteResponse extends Google_Model
1911  {
1912    public $kind;
1913    public $operation;
1914  
1915    public function setKind($kind)
1916    {
1917      $this->kind = $kind;
1918    }
1919  
1920    public function getKind()
1921    {
1922      return $this->kind;
1923    }
1924  
1925    public function setOperation($operation)
1926    {
1927      $this->operation = $operation;
1928    }
1929  
1930    public function getOperation()
1931    {
1932      return $this->operation;
1933    }
1934  }
1935  
1936  class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
1937  {
1938    protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
1939    protected $exportContextDataType = '';
1940  
1941    public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
1942    {
1943      $this->exportContext = $exportContext;
1944    }
1945  
1946    public function getExportContext()
1947    {
1948      return $this->exportContext;
1949    }
1950  }
1951  
1952  class Google_Service_SQLAdmin_InstancesExportResponse extends Google_Model
1953  {
1954    public $kind;
1955    public $operation;
1956  
1957    public function setKind($kind)
1958    {
1959      $this->kind = $kind;
1960    }
1961  
1962    public function getKind()
1963    {
1964      return $this->kind;
1965    }
1966  
1967    public function setOperation($operation)
1968    {
1969      $this->operation = $operation;
1970    }
1971  
1972    public function getOperation()
1973    {
1974      return $this->operation;
1975    }
1976  }
1977  
1978  class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
1979  {
1980    protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
1981    protected $importContextDataType = '';
1982  
1983    public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
1984    {
1985      $this->importContext = $importContext;
1986    }
1987  
1988    public function getImportContext()
1989    {
1990      return $this->importContext;
1991    }
1992  }
1993  
1994  class Google_Service_SQLAdmin_InstancesImportResponse extends Google_Model
1995  {
1996    public $kind;
1997    public $operation;
1998  
1999    public function setKind($kind)
2000    {
2001      $this->kind = $kind;
2002    }
2003  
2004    public function getKind()
2005    {
2006      return $this->kind;
2007    }
2008  
2009    public function setOperation($operation)
2010    {
2011      $this->operation = $operation;
2012    }
2013  
2014    public function getOperation()
2015    {
2016      return $this->operation;
2017    }
2018  }
2019  
2020  class Google_Service_SQLAdmin_InstancesInsertResponse extends Google_Model
2021  {
2022    public $kind;
2023    public $operation;
2024  
2025    public function setKind($kind)
2026    {
2027      $this->kind = $kind;
2028    }
2029  
2030    public function getKind()
2031    {
2032      return $this->kind;
2033    }
2034  
2035    public function setOperation($operation)
2036    {
2037      $this->operation = $operation;
2038    }
2039  
2040    public function getOperation()
2041    {
2042      return $this->operation;
2043    }
2044  }
2045  
2046  class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
2047  {
2048    protected $collection_key = 'items';
2049    protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
2050    protected $itemsDataType = 'array';
2051    public $kind;
2052    public $nextPageToken;
2053  
2054    public function setItems($items)
2055    {
2056      $this->items = $items;
2057    }
2058  
2059    public function getItems()
2060    {
2061      return $this->items;
2062    }
2063  
2064    public function setKind($kind)
2065    {
2066      $this->kind = $kind;
2067    }
2068  
2069    public function getKind()
2070    {
2071      return $this->kind;
2072    }
2073  
2074    public function setNextPageToken($nextPageToken)
2075    {
2076      $this->nextPageToken = $nextPageToken;
2077    }
2078  
2079    public function getNextPageToken()
2080    {
2081      return $this->nextPageToken;
2082    }
2083  }
2084  
2085  class Google_Service_SQLAdmin_InstancesPromoteReplicaResponse extends Google_Model
2086  {
2087    public $kind;
2088    public $operation;
2089  
2090    public function setKind($kind)
2091    {
2092      $this->kind = $kind;
2093    }
2094  
2095    public function getKind()
2096    {
2097      return $this->kind;
2098    }
2099  
2100    public function setOperation($operation)
2101    {
2102      $this->operation = $operation;
2103    }
2104  
2105    public function getOperation()
2106    {
2107      return $this->operation;
2108    }
2109  }
2110  
2111  class Google_Service_SQLAdmin_InstancesResetSslConfigResponse extends Google_Model
2112  {
2113    public $kind;
2114    public $operation;
2115  
2116    public function setKind($kind)
2117    {
2118      $this->kind = $kind;
2119    }
2120  
2121    public function getKind()
2122    {
2123      return $this->kind;
2124    }
2125  
2126    public function setOperation($operation)
2127    {
2128      $this->operation = $operation;
2129    }
2130  
2131    public function getOperation()
2132    {
2133      return $this->operation;
2134    }
2135  }
2136  
2137  class Google_Service_SQLAdmin_InstancesRestartResponse extends Google_Model
2138  {
2139    public $kind;
2140    public $operation;
2141  
2142    public function setKind($kind)
2143    {
2144      $this->kind = $kind;
2145    }
2146  
2147    public function getKind()
2148    {
2149      return $this->kind;
2150    }
2151  
2152    public function setOperation($operation)
2153    {
2154      $this->operation = $operation;
2155    }
2156  
2157    public function getOperation()
2158    {
2159      return $this->operation;
2160    }
2161  }
2162  
2163  class Google_Service_SQLAdmin_InstancesRestoreBackupResponse extends Google_Model
2164  {
2165    public $kind;
2166    public $operation;
2167  
2168    public function setKind($kind)
2169    {
2170      $this->kind = $kind;
2171    }
2172  
2173    public function getKind()
2174    {
2175      return $this->kind;
2176    }
2177  
2178    public function setOperation($operation)
2179    {
2180      $this->operation = $operation;
2181    }
2182  
2183    public function getOperation()
2184    {
2185      return $this->operation;
2186    }
2187  }
2188  
2189  class Google_Service_SQLAdmin_InstancesSetRootPasswordResponse extends Google_Model
2190  {
2191    public $kind;
2192    public $operation;
2193  
2194    public function setKind($kind)
2195    {
2196      $this->kind = $kind;
2197    }
2198  
2199    public function getKind()
2200    {
2201      return $this->kind;
2202    }
2203  
2204    public function setOperation($operation)
2205    {
2206      $this->operation = $operation;
2207    }
2208  
2209    public function getOperation()
2210    {
2211      return $this->operation;
2212    }
2213  }
2214  
2215  class Google_Service_SQLAdmin_InstancesUpdateResponse extends Google_Model
2216  {
2217    public $kind;
2218    public $operation;
2219  
2220    public function setKind($kind)
2221    {
2222      $this->kind = $kind;
2223    }
2224  
2225    public function getKind()
2226    {
2227      return $this->kind;
2228    }
2229  
2230    public function setOperation($operation)
2231    {
2232      $this->operation = $operation;
2233    }
2234  
2235    public function getOperation()
2236    {
2237      return $this->operation;
2238    }
2239  }
2240  
2241  class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
2242  {
2243    protected $collection_key = 'authorizedNetworks';
2244    public $authorizedNetworks;
2245    public $enabled;
2246    public $requireSsl;
2247  
2248    public function setAuthorizedNetworks($authorizedNetworks)
2249    {
2250      $this->authorizedNetworks = $authorizedNetworks;
2251    }
2252  
2253    public function getAuthorizedNetworks()
2254    {
2255      return $this->authorizedNetworks;
2256    }
2257  
2258    public function setEnabled($enabled)
2259    {
2260      $this->enabled = $enabled;
2261    }
2262  
2263    public function getEnabled()
2264    {
2265      return $this->enabled;
2266    }
2267  
2268    public function setRequireSsl($requireSsl)
2269    {
2270      $this->requireSsl = $requireSsl;
2271    }
2272  
2273    public function getRequireSsl()
2274    {
2275      return $this->requireSsl;
2276    }
2277  }
2278  
2279  class Google_Service_SQLAdmin_IpMapping extends Google_Model
2280  {
2281    public $ipAddress;
2282    public $timeToRetire;
2283  
2284    public function setIpAddress($ipAddress)
2285    {
2286      $this->ipAddress = $ipAddress;
2287    }
2288  
2289    public function getIpAddress()
2290    {
2291      return $this->ipAddress;
2292    }
2293  
2294    public function setTimeToRetire($timeToRetire)
2295    {
2296      $this->timeToRetire = $timeToRetire;
2297    }
2298  
2299    public function getTimeToRetire()
2300    {
2301      return $this->timeToRetire;
2302    }
2303  }
2304  
2305  class Google_Service_SQLAdmin_LocationPreference extends Google_Model
2306  {
2307    public $followGaeApplication;
2308    public $kind;
2309    public $zone;
2310  
2311    public function setFollowGaeApplication($followGaeApplication)
2312    {
2313      $this->followGaeApplication = $followGaeApplication;
2314    }
2315  
2316    public function getFollowGaeApplication()
2317    {
2318      return $this->followGaeApplication;
2319    }
2320  
2321    public function setKind($kind)
2322    {
2323      $this->kind = $kind;
2324    }
2325  
2326    public function getKind()
2327    {
2328      return $this->kind;
2329    }
2330  
2331    public function setZone($zone)
2332    {
2333      $this->zone = $zone;
2334    }
2335  
2336    public function getZone()
2337    {
2338      return $this->zone;
2339    }
2340  }
2341  
2342  class Google_Service_SQLAdmin_OperationError extends Google_Model
2343  {
2344    public $code;
2345    public $kind;
2346  
2347    public function setCode($code)
2348    {
2349      $this->code = $code;
2350    }
2351  
2352    public function getCode()
2353    {
2354      return $this->code;
2355    }
2356  
2357    public function setKind($kind)
2358    {
2359      $this->kind = $kind;
2360    }
2361  
2362    public function getKind()
2363    {
2364      return $this->kind;
2365    }
2366  }
2367  
2368  class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
2369  {
2370    protected $collection_key = 'items';
2371    protected $itemsType = 'Google_Service_SQLAdmin_InstanceOperation';
2372    protected $itemsDataType = 'array';
2373    public $kind;
2374    public $nextPageToken;
2375  
2376    public function setItems($items)
2377    {
2378      $this->items = $items;
2379    }
2380  
2381    public function getItems()
2382    {
2383      return $this->items;
2384    }
2385  
2386    public function setKind($kind)
2387    {
2388      $this->kind = $kind;
2389    }
2390  
2391    public function getKind()
2392    {
2393      return $this->kind;
2394    }
2395  
2396    public function setNextPageToken($nextPageToken)
2397    {
2398      $this->nextPageToken = $nextPageToken;
2399    }
2400  
2401    public function getNextPageToken()
2402    {
2403      return $this->nextPageToken;
2404    }
2405  }
2406  
2407  class Google_Service_SQLAdmin_SetRootPasswordContext extends Google_Model
2408  {
2409    public $kind;
2410    public $password;
2411  
2412    public function setKind($kind)
2413    {
2414      $this->kind = $kind;
2415    }
2416  
2417    public function getKind()
2418    {
2419      return $this->kind;
2420    }
2421  
2422    public function setPassword($password)
2423    {
2424      $this->password = $password;
2425    }
2426  
2427    public function getPassword()
2428    {
2429      return $this->password;
2430    }
2431  }
2432  
2433  class Google_Service_SQLAdmin_Settings extends Google_Collection
2434  {
2435    protected $collection_key = 'databaseFlags';
2436    public $activationPolicy;
2437    public $authorizedGaeApplications;
2438    protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
2439    protected $backupConfigurationDataType = 'array';
2440    protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
2441    protected $databaseFlagsDataType = 'array';
2442    public $databaseReplicationEnabled;
2443    protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
2444    protected $ipConfigurationDataType = '';
2445    public $kind;
2446    protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference';
2447    protected $locationPreferenceDataType = '';
2448    public $pricingPlan;
2449    public $replicationType;
2450    public $settingsVersion;
2451    public $tier;
2452  
2453    public function setActivationPolicy($activationPolicy)
2454    {
2455      $this->activationPolicy = $activationPolicy;
2456    }
2457  
2458    public function getActivationPolicy()
2459    {
2460      return $this->activationPolicy;
2461    }
2462  
2463    public function setAuthorizedGaeApplications($authorizedGaeApplications)
2464    {
2465      $this->authorizedGaeApplications = $authorizedGaeApplications;
2466    }
2467  
2468    public function getAuthorizedGaeApplications()
2469    {
2470      return $this->authorizedGaeApplications;
2471    }
2472  
2473    public function setBackupConfiguration($backupConfiguration)
2474    {
2475      $this->backupConfiguration = $backupConfiguration;
2476    }
2477  
2478    public function getBackupConfiguration()
2479    {
2480      return $this->backupConfiguration;
2481    }
2482  
2483    public function setDatabaseFlags($databaseFlags)
2484    {
2485      $this->databaseFlags = $databaseFlags;
2486    }
2487  
2488    public function getDatabaseFlags()
2489    {
2490      return $this->databaseFlags;
2491    }
2492  
2493    public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
2494    {
2495      $this->databaseReplicationEnabled = $databaseReplicationEnabled;
2496    }
2497  
2498    public function getDatabaseReplicationEnabled()
2499    {
2500      return $this->databaseReplicationEnabled;
2501    }
2502  
2503    public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
2504    {
2505      $this->ipConfiguration = $ipConfiguration;
2506    }
2507  
2508    public function getIpConfiguration()
2509    {
2510      return $this->ipConfiguration;
2511    }
2512  
2513    public function setKind($kind)
2514    {
2515      $this->kind = $kind;
2516    }
2517  
2518    public function getKind()
2519    {
2520      return $this->kind;
2521    }
2522  
2523    public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference)
2524    {
2525      $this->locationPreference = $locationPreference;
2526    }
2527  
2528    public function getLocationPreference()
2529    {
2530      return $this->locationPreference;
2531    }
2532  
2533    public function setPricingPlan($pricingPlan)
2534    {
2535      $this->pricingPlan = $pricingPlan;
2536    }
2537  
2538    public function getPricingPlan()
2539    {
2540      return $this->pricingPlan;
2541    }
2542  
2543    public function setReplicationType($replicationType)
2544    {
2545      $this->replicationType = $replicationType;
2546    }
2547  
2548    public function getReplicationType()
2549    {
2550      return $this->replicationType;
2551    }
2552  
2553    public function setSettingsVersion($settingsVersion)
2554    {
2555      $this->settingsVersion = $settingsVersion;
2556    }
2557  
2558    public function getSettingsVersion()
2559    {
2560      return $this->settingsVersion;
2561    }
2562  
2563    public function setTier($tier)
2564    {
2565      $this->tier = $tier;
2566    }
2567  
2568    public function getTier()
2569    {
2570      return $this->tier;
2571    }
2572  }
2573  
2574  class Google_Service_SQLAdmin_SslCert extends Google_Model
2575  {
2576    public $cert;
2577    public $certSerialNumber;
2578    public $commonName;
2579    public $createTime;
2580    public $expirationTime;
2581    public $instance;
2582    public $kind;
2583    public $sha1Fingerprint;
2584  
2585    public function setCert($cert)
2586    {
2587      $this->cert = $cert;
2588    }
2589  
2590    public function getCert()
2591    {
2592      return $this->cert;
2593    }
2594  
2595    public function setCertSerialNumber($certSerialNumber)
2596    {
2597      $this->certSerialNumber = $certSerialNumber;
2598    }
2599  
2600    public function getCertSerialNumber()
2601    {
2602      return $this->certSerialNumber;
2603    }
2604  
2605    public function setCommonName($commonName)
2606    {
2607      $this->commonName = $commonName;
2608    }
2609  
2610    public function getCommonName()
2611    {
2612      return $this->commonName;
2613    }
2614  
2615    public function setCreateTime($createTime)
2616    {
2617      $this->createTime = $createTime;
2618    }
2619  
2620    public function getCreateTime()
2621    {
2622      return $this->createTime;
2623    }
2624  
2625    public function setExpirationTime($expirationTime)
2626    {
2627      $this->expirationTime = $expirationTime;
2628    }
2629  
2630    public function getExpirationTime()
2631    {
2632      return $this->expirationTime;
2633    }
2634  
2635    public function setInstance($instance)
2636    {
2637      $this->instance = $instance;
2638    }
2639  
2640    public function getInstance()
2641    {
2642      return $this->instance;
2643    }
2644  
2645    public function setKind($kind)
2646    {
2647      $this->kind = $kind;
2648    }
2649  
2650    public function getKind()
2651    {
2652      return $this->kind;
2653    }
2654  
2655    public function setSha1Fingerprint($sha1Fingerprint)
2656    {
2657      $this->sha1Fingerprint = $sha1Fingerprint;
2658    }
2659  
2660    public function getSha1Fingerprint()
2661    {
2662      return $this->sha1Fingerprint;
2663    }
2664  }
2665  
2666  class Google_Service_SQLAdmin_SslCertDetail extends Google_Model
2667  {
2668    protected $certInfoType = 'Google_Service_SQLAdmin_SslCert';
2669    protected $certInfoDataType = '';
2670    public $certPrivateKey;
2671  
2672    public function setCertInfo(Google_Service_SQLAdmin_SslCert $certInfo)
2673    {
2674      $this->certInfo = $certInfo;
2675    }
2676  
2677    public function getCertInfo()
2678    {
2679      return $this->certInfo;
2680    }
2681  
2682    public function setCertPrivateKey($certPrivateKey)
2683    {
2684      $this->certPrivateKey = $certPrivateKey;
2685    }
2686  
2687    public function getCertPrivateKey()
2688    {
2689      return $this->certPrivateKey;
2690    }
2691  }
2692  
2693  class Google_Service_SQLAdmin_SslCertsDeleteResponse extends Google_Model
2694  {
2695    public $kind;
2696    public $operation;
2697  
2698    public function setKind($kind)
2699    {
2700      $this->kind = $kind;
2701    }
2702  
2703    public function getKind()
2704    {
2705      return $this->kind;
2706    }
2707  
2708    public function setOperation($operation)
2709    {
2710      $this->operation = $operation;
2711    }
2712  
2713    public function getOperation()
2714    {
2715      return $this->operation;
2716    }
2717  }
2718  
2719  class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
2720  {
2721    public $commonName;
2722  
2723    public function setCommonName($commonName)
2724    {
2725      $this->commonName = $commonName;
2726    }
2727  
2728    public function getCommonName()
2729    {
2730      return $this->commonName;
2731    }
2732  }
2733  
2734  class Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model
2735  {
2736    protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail';
2737    protected $clientCertDataType = '';
2738    public $kind;
2739    protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
2740    protected $serverCaCertDataType = '';
2741  
2742    public function setClientCert(Google_Service_SQLAdmin_SslCertDetail $clientCert)
2743    {
2744      $this->clientCert = $clientCert;
2745    }
2746  
2747    public function getClientCert()
2748    {
2749      return $this->clientCert;
2750    }
2751  
2752    public function setKind($kind)
2753    {
2754      $this->kind = $kind;
2755    }
2756  
2757    public function getKind()
2758    {
2759      return $this->kind;
2760    }
2761  
2762    public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
2763    {
2764      $this->serverCaCert = $serverCaCert;
2765    }
2766  
2767    public function getServerCaCert()
2768    {
2769      return $this->serverCaCert;
2770    }
2771  }
2772  
2773  class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
2774  {
2775    protected $collection_key = 'items';
2776    protected $itemsType = 'Google_Service_SQLAdmin_SslCert';
2777    protected $itemsDataType = 'array';
2778    public $kind;
2779  
2780    public function setItems($items)
2781    {
2782      $this->items = $items;
2783    }
2784  
2785    public function getItems()
2786    {
2787      return $this->items;
2788    }
2789  
2790    public function setKind($kind)
2791    {
2792      $this->kind = $kind;
2793    }
2794  
2795    public function getKind()
2796    {
2797      return $this->kind;
2798    }
2799  }
2800  
2801  class Google_Service_SQLAdmin_Tier extends Google_Collection
2802  {
2803    protected $collection_key = 'region';
2804    public $diskQuota;
2805    public $rAM;
2806    public $kind;
2807    public $region;
2808    public $tier;
2809  
2810    public function setDiskQuota($diskQuota)
2811    {
2812      $this->diskQuota = $diskQuota;
2813    }
2814  
2815    public function getDiskQuota()
2816    {
2817      return $this->diskQuota;
2818    }
2819  
2820    public function setRAM($rAM)
2821    {
2822      $this->rAM = $rAM;
2823    }
2824  
2825    public function getRAM()
2826    {
2827      return $this->rAM;
2828    }
2829  
2830    public function setKind($kind)
2831    {
2832      $this->kind = $kind;
2833    }
2834  
2835    public function getKind()
2836    {
2837      return $this->kind;
2838    }
2839  
2840    public function setRegion($region)
2841    {
2842      $this->region = $region;
2843    }
2844  
2845    public function getRegion()
2846    {
2847      return $this->region;
2848    }
2849  
2850    public function setTier($tier)
2851    {
2852      $this->tier = $tier;
2853    }
2854  
2855    public function getTier()
2856    {
2857      return $this->tier;
2858    }
2859  }
2860  
2861  class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
2862  {
2863    protected $collection_key = 'items';
2864    protected $itemsType = 'Google_Service_SQLAdmin_Tier';
2865    protected $itemsDataType = 'array';
2866    public $kind;
2867  
2868    public function setItems($items)
2869    {
2870      $this->items = $items;
2871    }
2872  
2873    public function getItems()
2874    {
2875      return $this->items;
2876    }
2877  
2878    public function setKind($kind)
2879    {
2880      $this->kind = $kind;
2881    }
2882  
2883    public function getKind()
2884    {
2885      return $this->kind;
2886    }
2887  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1