Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

   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 (v1beta4).
  20   *
  21   * <p>
  22   * API for Cloud SQL database instance management.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://cloud.google.com/sql/docs/reference/latest" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  #[AllowDynamicProperties]
  32  class Google_Service_SQLAdmin 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    /** Manage your Google SQL Service instances. */
  38    const SQLSERVICE_ADMIN =
  39        "https://www.googleapis.com/auth/sqlservice.admin";
  40  
  41    public $backupRuns;
  42    public $databases;
  43    public $flags;
  44    public $instances;
  45    public $operations;
  46    public $sslCerts;
  47    public $tiers;
  48    public $users;
  49    
  50  
  51    /**
  52     * Constructs the internal representation of the SQLAdmin service.
  53     *
  54     * @param Google_Client $client
  55     */
  56    public function __construct(Google_Client $client)
  57    {
  58      parent::__construct($client);
  59      $this->rootUrl = 'https://www.googleapis.com/';
  60      $this->servicePath = 'sql/v1beta4/';
  61      $this->version = 'v1beta4';
  62      $this->serviceName = 'sqladmin';
  63  
  64      $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource(
  65          $this,
  66          $this->serviceName,
  67          'backupRuns',
  68          array(
  69            'methods' => array(
  70              'delete' => array(
  71                'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}',
  72                'httpMethod' => 'DELETE',
  73                'parameters' => array(
  74                  'project' => array(
  75                    'location' => 'path',
  76                    'type' => 'string',
  77                    'required' => true,
  78                  ),
  79                  'instance' => array(
  80                    'location' => 'path',
  81                    'type' => 'string',
  82                    'required' => true,
  83                  ),
  84                  'id' => array(
  85                    'location' => 'path',
  86                    'type' => 'string',
  87                    'required' => true,
  88                  ),
  89                ),
  90              ),'get' => array(
  91                'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}',
  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                  'id' => array(
 105                    'location' => 'path',
 106                    'type' => 'string',
 107                    'required' => true,
 108                  ),
 109                ),
 110              ),'list' => array(
 111                'path' => 'projects/{project}/instances/{instance}/backupRuns',
 112                'httpMethod' => 'GET',
 113                'parameters' => array(
 114                  'project' => array(
 115                    'location' => 'path',
 116                    'type' => 'string',
 117                    'required' => true,
 118                  ),
 119                  'instance' => array(
 120                    'location' => 'path',
 121                    'type' => 'string',
 122                    'required' => true,
 123                  ),
 124                  'maxResults' => array(
 125                    'location' => 'query',
 126                    'type' => 'integer',
 127                  ),
 128                  'pageToken' => array(
 129                    'location' => 'query',
 130                    'type' => 'string',
 131                  ),
 132                ),
 133              ),
 134            )
 135          )
 136      );
 137      $this->databases = new Google_Service_SQLAdmin_Databases_Resource(
 138          $this,
 139          $this->serviceName,
 140          'databases',
 141          array(
 142            'methods' => array(
 143              'delete' => array(
 144                'path' => 'projects/{project}/instances/{instance}/databases/{database}',
 145                'httpMethod' => 'DELETE',
 146                'parameters' => array(
 147                  'project' => array(
 148                    'location' => 'path',
 149                    'type' => 'string',
 150                    'required' => true,
 151                  ),
 152                  'instance' => array(
 153                    'location' => 'path',
 154                    'type' => 'string',
 155                    'required' => true,
 156                  ),
 157                  'database' => array(
 158                    'location' => 'path',
 159                    'type' => 'string',
 160                    'required' => true,
 161                  ),
 162                ),
 163              ),'get' => array(
 164                'path' => 'projects/{project}/instances/{instance}/databases/{database}',
 165                'httpMethod' => 'GET',
 166                'parameters' => array(
 167                  'project' => array(
 168                    'location' => 'path',
 169                    'type' => 'string',
 170                    'required' => true,
 171                  ),
 172                  'instance' => array(
 173                    'location' => 'path',
 174                    'type' => 'string',
 175                    'required' => true,
 176                  ),
 177                  'database' => array(
 178                    'location' => 'path',
 179                    'type' => 'string',
 180                    'required' => true,
 181                  ),
 182                ),
 183              ),'insert' => array(
 184                'path' => 'projects/{project}/instances/{instance}/databases',
 185                'httpMethod' => 'POST',
 186                'parameters' => array(
 187                  'project' => array(
 188                    'location' => 'path',
 189                    'type' => 'string',
 190                    'required' => true,
 191                  ),
 192                  'instance' => array(
 193                    'location' => 'path',
 194                    'type' => 'string',
 195                    'required' => true,
 196                  ),
 197                ),
 198              ),'list' => array(
 199                'path' => 'projects/{project}/instances/{instance}/databases',
 200                'httpMethod' => 'GET',
 201                'parameters' => array(
 202                  'project' => array(
 203                    'location' => 'path',
 204                    'type' => 'string',
 205                    'required' => true,
 206                  ),
 207                  'instance' => array(
 208                    'location' => 'path',
 209                    'type' => 'string',
 210                    'required' => true,
 211                  ),
 212                ),
 213              ),'patch' => array(
 214                'path' => 'projects/{project}/instances/{instance}/databases/{database}',
 215                'httpMethod' => 'PATCH',
 216                'parameters' => array(
 217                  'project' => array(
 218                    'location' => 'path',
 219                    'type' => 'string',
 220                    'required' => true,
 221                  ),
 222                  'instance' => array(
 223                    'location' => 'path',
 224                    'type' => 'string',
 225                    'required' => true,
 226                  ),
 227                  'database' => array(
 228                    'location' => 'path',
 229                    'type' => 'string',
 230                    'required' => true,
 231                  ),
 232                ),
 233              ),'update' => array(
 234                'path' => 'projects/{project}/instances/{instance}/databases/{database}',
 235                'httpMethod' => 'PUT',
 236                'parameters' => array(
 237                  'project' => array(
 238                    'location' => 'path',
 239                    'type' => 'string',
 240                    'required' => true,
 241                  ),
 242                  'instance' => array(
 243                    'location' => 'path',
 244                    'type' => 'string',
 245                    'required' => true,
 246                  ),
 247                  'database' => array(
 248                    'location' => 'path',
 249                    'type' => 'string',
 250                    'required' => true,
 251                  ),
 252                ),
 253              ),
 254            )
 255          )
 256      );
 257      $this->flags = new Google_Service_SQLAdmin_Flags_Resource(
 258          $this,
 259          $this->serviceName,
 260          'flags',
 261          array(
 262            'methods' => array(
 263              'list' => array(
 264                'path' => 'flags',
 265                'httpMethod' => 'GET',
 266                'parameters' => array(),
 267              ),
 268            )
 269          )
 270      );
 271      $this->instances = new Google_Service_SQLAdmin_Instances_Resource(
 272          $this,
 273          $this->serviceName,
 274          'instances',
 275          array(
 276            'methods' => array(
 277              'clone' => array(
 278                'path' => 'projects/{project}/instances/{instance}/clone',
 279                'httpMethod' => 'POST',
 280                'parameters' => array(
 281                  'project' => array(
 282                    'location' => 'path',
 283                    'type' => 'string',
 284                    'required' => true,
 285                  ),
 286                  'instance' => array(
 287                    'location' => 'path',
 288                    'type' => 'string',
 289                    'required' => true,
 290                  ),
 291                ),
 292              ),'delete' => array(
 293                'path' => 'projects/{project}/instances/{instance}',
 294                'httpMethod' => 'DELETE',
 295                'parameters' => array(
 296                  'project' => array(
 297                    'location' => 'path',
 298                    'type' => 'string',
 299                    'required' => true,
 300                  ),
 301                  'instance' => array(
 302                    'location' => 'path',
 303                    'type' => 'string',
 304                    'required' => true,
 305                  ),
 306                ),
 307              ),'export' => array(
 308                'path' => 'projects/{project}/instances/{instance}/export',
 309                'httpMethod' => 'POST',
 310                'parameters' => array(
 311                  'project' => array(
 312                    'location' => 'path',
 313                    'type' => 'string',
 314                    'required' => true,
 315                  ),
 316                  'instance' => array(
 317                    'location' => 'path',
 318                    'type' => 'string',
 319                    'required' => true,
 320                  ),
 321                ),
 322              ),'failover' => array(
 323                'path' => 'projects/{project}/instances/{instance}/failover',
 324                'httpMethod' => 'POST',
 325                'parameters' => array(
 326                  'project' => array(
 327                    'location' => 'path',
 328                    'type' => 'string',
 329                    'required' => true,
 330                  ),
 331                  'instance' => array(
 332                    'location' => 'path',
 333                    'type' => 'string',
 334                    'required' => true,
 335                  ),
 336                ),
 337              ),'get' => array(
 338                'path' => 'projects/{project}/instances/{instance}',
 339                'httpMethod' => 'GET',
 340                'parameters' => array(
 341                  'project' => array(
 342                    'location' => 'path',
 343                    'type' => 'string',
 344                    'required' => true,
 345                  ),
 346                  'instance' => array(
 347                    'location' => 'path',
 348                    'type' => 'string',
 349                    'required' => true,
 350                  ),
 351                ),
 352              ),'import' => array(
 353                'path' => 'projects/{project}/instances/{instance}/import',
 354                'httpMethod' => 'POST',
 355                'parameters' => array(
 356                  'project' => array(
 357                    'location' => 'path',
 358                    'type' => 'string',
 359                    'required' => true,
 360                  ),
 361                  'instance' => array(
 362                    'location' => 'path',
 363                    'type' => 'string',
 364                    'required' => true,
 365                  ),
 366                ),
 367              ),'insert' => array(
 368                'path' => 'projects/{project}/instances',
 369                'httpMethod' => 'POST',
 370                'parameters' => array(
 371                  'project' => array(
 372                    'location' => 'path',
 373                    'type' => 'string',
 374                    'required' => true,
 375                  ),
 376                ),
 377              ),'list' => array(
 378                'path' => 'projects/{project}/instances',
 379                'httpMethod' => 'GET',
 380                'parameters' => array(
 381                  'project' => array(
 382                    'location' => 'path',
 383                    'type' => 'string',
 384                    'required' => true,
 385                  ),
 386                  'pageToken' => array(
 387                    'location' => 'query',
 388                    'type' => 'string',
 389                  ),
 390                  'maxResults' => array(
 391                    'location' => 'query',
 392                    'type' => 'integer',
 393                  ),
 394                ),
 395              ),'patch' => array(
 396                'path' => 'projects/{project}/instances/{instance}',
 397                'httpMethod' => 'PATCH',
 398                'parameters' => array(
 399                  'project' => array(
 400                    'location' => 'path',
 401                    'type' => 'string',
 402                    'required' => true,
 403                  ),
 404                  'instance' => array(
 405                    'location' => 'path',
 406                    'type' => 'string',
 407                    'required' => true,
 408                  ),
 409                ),
 410              ),'promoteReplica' => array(
 411                'path' => 'projects/{project}/instances/{instance}/promoteReplica',
 412                'httpMethod' => 'POST',
 413                'parameters' => array(
 414                  'project' => array(
 415                    'location' => 'path',
 416                    'type' => 'string',
 417                    'required' => true,
 418                  ),
 419                  'instance' => array(
 420                    'location' => 'path',
 421                    'type' => 'string',
 422                    'required' => true,
 423                  ),
 424                ),
 425              ),'resetSslConfig' => array(
 426                'path' => 'projects/{project}/instances/{instance}/resetSslConfig',
 427                'httpMethod' => 'POST',
 428                'parameters' => array(
 429                  'project' => array(
 430                    'location' => 'path',
 431                    'type' => 'string',
 432                    'required' => true,
 433                  ),
 434                  'instance' => array(
 435                    'location' => 'path',
 436                    'type' => 'string',
 437                    'required' => true,
 438                  ),
 439                ),
 440              ),'restart' => array(
 441                'path' => 'projects/{project}/instances/{instance}/restart',
 442                'httpMethod' => 'POST',
 443                'parameters' => array(
 444                  'project' => array(
 445                    'location' => 'path',
 446                    'type' => 'string',
 447                    'required' => true,
 448                  ),
 449                  'instance' => array(
 450                    'location' => 'path',
 451                    'type' => 'string',
 452                    'required' => true,
 453                  ),
 454                ),
 455              ),'restoreBackup' => array(
 456                'path' => 'projects/{project}/instances/{instance}/restoreBackup',
 457                'httpMethod' => 'POST',
 458                'parameters' => array(
 459                  'project' => array(
 460                    'location' => 'path',
 461                    'type' => 'string',
 462                    'required' => true,
 463                  ),
 464                  'instance' => array(
 465                    'location' => 'path',
 466                    'type' => 'string',
 467                    'required' => true,
 468                  ),
 469                ),
 470              ),'startReplica' => array(
 471                'path' => 'projects/{project}/instances/{instance}/startReplica',
 472                'httpMethod' => 'POST',
 473                'parameters' => array(
 474                  'project' => array(
 475                    'location' => 'path',
 476                    'type' => 'string',
 477                    'required' => true,
 478                  ),
 479                  'instance' => array(
 480                    'location' => 'path',
 481                    'type' => 'string',
 482                    'required' => true,
 483                  ),
 484                ),
 485              ),'stopReplica' => array(
 486                'path' => 'projects/{project}/instances/{instance}/stopReplica',
 487                'httpMethod' => 'POST',
 488                'parameters' => array(
 489                  'project' => array(
 490                    'location' => 'path',
 491                    'type' => 'string',
 492                    'required' => true,
 493                  ),
 494                  'instance' => array(
 495                    'location' => 'path',
 496                    'type' => 'string',
 497                    'required' => true,
 498                  ),
 499                ),
 500              ),'update' => array(
 501                'path' => 'projects/{project}/instances/{instance}',
 502                'httpMethod' => 'PUT',
 503                'parameters' => array(
 504                  'project' => array(
 505                    'location' => 'path',
 506                    'type' => 'string',
 507                    'required' => true,
 508                  ),
 509                  'instance' => array(
 510                    'location' => 'path',
 511                    'type' => 'string',
 512                    'required' => true,
 513                  ),
 514                ),
 515              ),
 516            )
 517          )
 518      );
 519      $this->operations = new Google_Service_SQLAdmin_Operations_Resource(
 520          $this,
 521          $this->serviceName,
 522          'operations',
 523          array(
 524            'methods' => array(
 525              'get' => array(
 526                'path' => 'projects/{project}/operations/{operation}',
 527                'httpMethod' => 'GET',
 528                'parameters' => array(
 529                  'project' => array(
 530                    'location' => 'path',
 531                    'type' => 'string',
 532                    'required' => true,
 533                  ),
 534                  'operation' => array(
 535                    'location' => 'path',
 536                    'type' => 'string',
 537                    'required' => true,
 538                  ),
 539                ),
 540              ),'list' => array(
 541                'path' => 'projects/{project}/operations',
 542                'httpMethod' => 'GET',
 543                'parameters' => array(
 544                  'project' => array(
 545                    'location' => 'path',
 546                    'type' => 'string',
 547                    'required' => true,
 548                  ),
 549                  'instance' => array(
 550                    'location' => 'query',
 551                    'type' => 'string',
 552                    'required' => true,
 553                  ),
 554                  'maxResults' => array(
 555                    'location' => 'query',
 556                    'type' => 'integer',
 557                  ),
 558                  'pageToken' => array(
 559                    'location' => 'query',
 560                    'type' => 'string',
 561                  ),
 562                ),
 563              ),
 564            )
 565          )
 566      );
 567      $this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource(
 568          $this,
 569          $this->serviceName,
 570          'sslCerts',
 571          array(
 572            'methods' => array(
 573              'createEphemeral' => array(
 574                'path' => 'projects/{project}/instances/{instance}/createEphemeral',
 575                'httpMethod' => 'POST',
 576                'parameters' => array(
 577                  'project' => array(
 578                    'location' => 'path',
 579                    'type' => 'string',
 580                    'required' => true,
 581                  ),
 582                  'instance' => array(
 583                    'location' => 'path',
 584                    'type' => 'string',
 585                    'required' => true,
 586                  ),
 587                ),
 588              ),'delete' => array(
 589                'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
 590                'httpMethod' => 'DELETE',
 591                'parameters' => array(
 592                  'project' => array(
 593                    'location' => 'path',
 594                    'type' => 'string',
 595                    'required' => true,
 596                  ),
 597                  'instance' => array(
 598                    'location' => 'path',
 599                    'type' => 'string',
 600                    'required' => true,
 601                  ),
 602                  'sha1Fingerprint' => array(
 603                    'location' => 'path',
 604                    'type' => 'string',
 605                    'required' => true,
 606                  ),
 607                ),
 608              ),'get' => array(
 609                'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
 610                'httpMethod' => 'GET',
 611                'parameters' => array(
 612                  'project' => array(
 613                    'location' => 'path',
 614                    'type' => 'string',
 615                    'required' => true,
 616                  ),
 617                  'instance' => array(
 618                    'location' => 'path',
 619                    'type' => 'string',
 620                    'required' => true,
 621                  ),
 622                  'sha1Fingerprint' => array(
 623                    'location' => 'path',
 624                    'type' => 'string',
 625                    'required' => true,
 626                  ),
 627                ),
 628              ),'insert' => array(
 629                'path' => 'projects/{project}/instances/{instance}/sslCerts',
 630                'httpMethod' => 'POST',
 631                'parameters' => array(
 632                  'project' => array(
 633                    'location' => 'path',
 634                    'type' => 'string',
 635                    'required' => true,
 636                  ),
 637                  'instance' => array(
 638                    'location' => 'path',
 639                    'type' => 'string',
 640                    'required' => true,
 641                  ),
 642                ),
 643              ),'list' => array(
 644                'path' => 'projects/{project}/instances/{instance}/sslCerts',
 645                'httpMethod' => 'GET',
 646                'parameters' => array(
 647                  'project' => array(
 648                    'location' => 'path',
 649                    'type' => 'string',
 650                    'required' => true,
 651                  ),
 652                  'instance' => array(
 653                    'location' => 'path',
 654                    'type' => 'string',
 655                    'required' => true,
 656                  ),
 657                ),
 658              ),
 659            )
 660          )
 661      );
 662      $this->tiers = new Google_Service_SQLAdmin_Tiers_Resource(
 663          $this,
 664          $this->serviceName,
 665          'tiers',
 666          array(
 667            'methods' => array(
 668              'list' => array(
 669                'path' => 'projects/{project}/tiers',
 670                'httpMethod' => 'GET',
 671                'parameters' => array(
 672                  'project' => array(
 673                    'location' => 'path',
 674                    'type' => 'string',
 675                    'required' => true,
 676                  ),
 677                ),
 678              ),
 679            )
 680          )
 681      );
 682      $this->users = new Google_Service_SQLAdmin_Users_Resource(
 683          $this,
 684          $this->serviceName,
 685          'users',
 686          array(
 687            'methods' => array(
 688              'delete' => array(
 689                'path' => 'projects/{project}/instances/{instance}/users',
 690                'httpMethod' => 'DELETE',
 691                'parameters' => array(
 692                  'project' => array(
 693                    'location' => 'path',
 694                    'type' => 'string',
 695                    'required' => true,
 696                  ),
 697                  'instance' => array(
 698                    'location' => 'path',
 699                    'type' => 'string',
 700                    'required' => true,
 701                  ),
 702                  'host' => array(
 703                    'location' => 'query',
 704                    'type' => 'string',
 705                    'required' => true,
 706                  ),
 707                  'name' => array(
 708                    'location' => 'query',
 709                    'type' => 'string',
 710                    'required' => true,
 711                  ),
 712                ),
 713              ),'insert' => array(
 714                'path' => 'projects/{project}/instances/{instance}/users',
 715                'httpMethod' => 'POST',
 716                'parameters' => array(
 717                  'project' => array(
 718                    'location' => 'path',
 719                    'type' => 'string',
 720                    'required' => true,
 721                  ),
 722                  'instance' => array(
 723                    'location' => 'path',
 724                    'type' => 'string',
 725                    'required' => true,
 726                  ),
 727                ),
 728              ),'list' => array(
 729                'path' => 'projects/{project}/instances/{instance}/users',
 730                'httpMethod' => 'GET',
 731                'parameters' => array(
 732                  'project' => array(
 733                    'location' => 'path',
 734                    'type' => 'string',
 735                    'required' => true,
 736                  ),
 737                  'instance' => array(
 738                    'location' => 'path',
 739                    'type' => 'string',
 740                    'required' => true,
 741                  ),
 742                ),
 743              ),'update' => array(
 744                'path' => 'projects/{project}/instances/{instance}/users',
 745                'httpMethod' => 'PUT',
 746                'parameters' => array(
 747                  'project' => array(
 748                    'location' => 'path',
 749                    'type' => 'string',
 750                    'required' => true,
 751                  ),
 752                  'instance' => array(
 753                    'location' => 'path',
 754                    'type' => 'string',
 755                    'required' => true,
 756                  ),
 757                  'host' => array(
 758                    'location' => 'query',
 759                    'type' => 'string',
 760                    'required' => true,
 761                  ),
 762                  'name' => array(
 763                    'location' => 'query',
 764                    'type' => 'string',
 765                    'required' => true,
 766                  ),
 767                ),
 768              ),
 769            )
 770          )
 771      );
 772    }
 773  }
 774  
 775  
 776  /**
 777   * The "backupRuns" collection of methods.
 778   * Typical usage is:
 779   *  <code>
 780   *   $sqladminService = new Google_Service_SQLAdmin(...);
 781   *   $backupRuns = $sqladminService->backupRuns;
 782   *  </code>
 783   */
 784  #[AllowDynamicProperties]
 785  class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resource
 786  {
 787  
 788    /**
 789     * Deletes the backup taken by a backup run. (backupRuns.delete)
 790     *
 791     * @param string $project Project ID of the project that contains the instance.
 792     * @param string $instance Cloud SQL instance ID. This does not include the
 793     * project ID.
 794     * @param string $id The ID of the Backup Run to delete. To find a Backup Run
 795     * ID, use the list method.
 796     * @param array $optParams Optional parameters.
 797     * @return Google_Service_SQLAdmin_Operation
 798     */
 799    public function delete($project, $instance, $id, $optParams = array())
 800    {
 801      $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
 802      $params = array_merge($params, $optParams);
 803      return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
 804    }
 805  
 806    /**
 807     * Retrieves a resource containing information about a backup run.
 808     * (backupRuns.get)
 809     *
 810     * @param string $project Project ID of the project that contains the instance.
 811     * @param string $instance Cloud SQL instance ID. This does not include the
 812     * project ID.
 813     * @param string $id The ID of this Backup Run.
 814     * @param array $optParams Optional parameters.
 815     * @return Google_Service_SQLAdmin_BackupRun
 816     */
 817    public function get($project, $instance, $id, $optParams = array())
 818    {
 819      $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
 820      $params = array_merge($params, $optParams);
 821      return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
 822    }
 823  
 824    /**
 825     * Lists all backup runs associated with a given instance and configuration in
 826     * the reverse chronological order of the enqueued time.
 827     * (backupRuns.listBackupRuns)
 828     *
 829     * @param string $project Project ID of the project that contains the instance.
 830     * @param string $instance Cloud SQL instance ID. This does not include the
 831     * project ID.
 832     * @param array $optParams Optional parameters.
 833     *
 834     * @opt_param int maxResults Maximum number of backup runs per response.
 835     * @opt_param string pageToken A previously-returned page token representing
 836     * part of the larger set of results to view.
 837     * @return Google_Service_SQLAdmin_BackupRunsListResponse
 838     */
 839    public function listBackupRuns($project, $instance, $optParams = array())
 840    {
 841      $params = array('project' => $project, 'instance' => $instance);
 842      $params = array_merge($params, $optParams);
 843      return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse");
 844    }
 845  }
 846  
 847  /**
 848   * The "databases" collection of methods.
 849   * Typical usage is:
 850   *  <code>
 851   *   $sqladminService = new Google_Service_SQLAdmin(...);
 852   *   $databases = $sqladminService->databases;
 853   *  </code>
 854   */
 855  #[AllowDynamicProperties]
 856  class Google_Service_SQLAdmin_Databases_Resource extends Google_Service_Resource
 857  {
 858  
 859    /**
 860     * Deletes a resource containing information about a database inside a Cloud SQL
 861     * instance. (databases.delete)
 862     *
 863     * @param string $project Project ID of the project that contains the instance.
 864     * @param string $instance Database instance ID. This does not include the
 865     * project ID.
 866     * @param string $database Name of the database to be deleted in the instance.
 867     * @param array $optParams Optional parameters.
 868     * @return Google_Service_SQLAdmin_Operation
 869     */
 870    public function delete($project, $instance, $database, $optParams = array())
 871    {
 872      $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
 873      $params = array_merge($params, $optParams);
 874      return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
 875    }
 876  
 877    /**
 878     * Retrieves a resource containing information about a database inside a Cloud
 879     * SQL instance. (databases.get)
 880     *
 881     * @param string $project Project ID of the project that contains the instance.
 882     * @param string $instance Database instance ID. This does not include the
 883     * project ID.
 884     * @param string $database Name of the database in the instance.
 885     * @param array $optParams Optional parameters.
 886     * @return Google_Service_SQLAdmin_Database
 887     */
 888    public function get($project, $instance, $database, $optParams = array())
 889    {
 890      $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
 891      $params = array_merge($params, $optParams);
 892      return $this->call('get', array($params), "Google_Service_SQLAdmin_Database");
 893    }
 894  
 895    /**
 896     * Inserts a resource containing information about a database inside a Cloud SQL
 897     * instance. (databases.insert)
 898     *
 899     * @param string $project Project ID of the project that contains the instance.
 900     * @param string $instance Database instance ID. This does not include the
 901     * project ID.
 902     * @param Google_Database $postBody
 903     * @param array $optParams Optional parameters.
 904     * @return Google_Service_SQLAdmin_Operation
 905     */
 906    public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
 907    {
 908      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
 909      $params = array_merge($params, $optParams);
 910      return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
 911    }
 912  
 913    /**
 914     * Lists databases in the specified Cloud SQL instance.
 915     * (databases.listDatabases)
 916     *
 917     * @param string $project Project ID of the project for which to list Cloud SQL
 918     * instances.
 919     * @param string $instance Cloud SQL instance ID. This does not include the
 920     * project ID.
 921     * @param array $optParams Optional parameters.
 922     * @return Google_Service_SQLAdmin_DatabasesListResponse
 923     */
 924    public function listDatabases($project, $instance, $optParams = array())
 925    {
 926      $params = array('project' => $project, 'instance' => $instance);
 927      $params = array_merge($params, $optParams);
 928      return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse");
 929    }
 930  
 931    /**
 932     * Updates a resource containing information about a database inside a Cloud SQL
 933     * instance. This method supports patch semantics. (databases.patch)
 934     *
 935     * @param string $project Project ID of the project that contains the instance.
 936     * @param string $instance Database instance ID. This does not include the
 937     * project ID.
 938     * @param string $database Name of the database to be updated in the instance.
 939     * @param Google_Database $postBody
 940     * @param array $optParams Optional parameters.
 941     * @return Google_Service_SQLAdmin_Operation
 942     */
 943    public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
 944    {
 945      $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
 946      $params = array_merge($params, $optParams);
 947      return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
 948    }
 949  
 950    /**
 951     * Updates a resource containing information about a database inside a Cloud SQL
 952     * instance. (databases.update)
 953     *
 954     * @param string $project Project ID of the project that contains the instance.
 955     * @param string $instance Database instance ID. This does not include the
 956     * project ID.
 957     * @param string $database Name of the database to be updated in the instance.
 958     * @param Google_Database $postBody
 959     * @param array $optParams Optional parameters.
 960     * @return Google_Service_SQLAdmin_Operation
 961     */
 962    public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
 963    {
 964      $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
 965      $params = array_merge($params, $optParams);
 966      return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
 967    }
 968  }
 969  
 970  /**
 971   * The "flags" collection of methods.
 972   * Typical usage is:
 973   *  <code>
 974   *   $sqladminService = new Google_Service_SQLAdmin(...);
 975   *   $flags = $sqladminService->flags;
 976   *  </code>
 977   */
 978  #[AllowDynamicProperties]
 979  class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
 980  {
 981  
 982    /**
 983     * List all available database flags for Google Cloud SQL instances.
 984     * (flags.listFlags)
 985     *
 986     * @param array $optParams Optional parameters.
 987     * @return Google_Service_SQLAdmin_FlagsListResponse
 988     */
 989    public function listFlags($optParams = array())
 990    {
 991      $params = array();
 992      $params = array_merge($params, $optParams);
 993      return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
 994    }
 995  }
 996  
 997  /**
 998   * The "instances" collection of methods.
 999   * Typical usage is:
1000   *  <code>
1001   *   $sqladminService = new Google_Service_SQLAdmin(...);
1002   *   $instances = $sqladminService->instances;
1003   *  </code>
1004   */
1005  #[AllowDynamicProperties]
1006  class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
1007  {
1008  
1009    /**
1010     * Creates a Cloud SQL instance as a clone of the source instance.
1011     * (instances.cloneInstances)
1012     *
1013     * @param string $project Project ID of the source as well as the clone Cloud
1014     * SQL instance.
1015     * @param string $instance The ID of the Cloud SQL instance to be cloned
1016     * (source). This does not include the project ID.
1017     * @param Google_InstancesCloneRequest $postBody
1018     * @param array $optParams Optional parameters.
1019     * @return Google_Service_SQLAdmin_Operation
1020     */
1021    public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
1022    {
1023      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1024      $params = array_merge($params, $optParams);
1025      return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation");
1026    }
1027  
1028    /**
1029     * Deletes a Cloud SQL instance. (instances.delete)
1030     *
1031     * @param string $project Project ID of the project that contains the instance
1032     * to be deleted.
1033     * @param string $instance Cloud SQL instance ID. This does not include the
1034     * project ID.
1035     * @param array $optParams Optional parameters.
1036     * @return Google_Service_SQLAdmin_Operation
1037     */
1038    public function delete($project, $instance, $optParams = array())
1039    {
1040      $params = array('project' => $project, 'instance' => $instance);
1041      $params = array_merge($params, $optParams);
1042      return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
1043    }
1044  
1045    /**
1046     * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
1047     * MySQL dump file. (instances.export)
1048     *
1049     * @param string $project Project ID of the project that contains the instance
1050     * to be exported.
1051     * @param string $instance Cloud SQL instance ID. This does not include the
1052     * project ID.
1053     * @param Google_InstancesExportRequest $postBody
1054     * @param array $optParams Optional parameters.
1055     * @return Google_Service_SQLAdmin_Operation
1056     */
1057    public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
1058    {
1059      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1060      $params = array_merge($params, $optParams);
1061      return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation");
1062    }
1063  
1064    /**
1065     * Failover the instance to its failover replica instance. (instances.failover)
1066     *
1067     * @param string $project ID of the project that contains the read replica.
1068     * @param string $instance Cloud SQL instance ID. This does not include the
1069     * project ID.
1070     * @param Google_InstancesFailoverRequest $postBody
1071     * @param array $optParams Optional parameters.
1072     * @return Google_Service_SQLAdmin_Operation
1073     */
1074    public function failover($project, $instance, Google_Service_SQLAdmin_InstancesFailoverRequest $postBody, $optParams = array())
1075    {
1076      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1077      $params = array_merge($params, $optParams);
1078      return $this->call('failover', array($params), "Google_Service_SQLAdmin_Operation");
1079    }
1080  
1081    /**
1082     * Retrieves a resource containing information about a Cloud SQL instance.
1083     * (instances.get)
1084     *
1085     * @param string $project Project ID of the project that contains the instance.
1086     * @param string $instance Database instance ID. This does not include the
1087     * project ID.
1088     * @param array $optParams Optional parameters.
1089     * @return Google_Service_SQLAdmin_DatabaseInstance
1090     */
1091    public function get($project, $instance, $optParams = array())
1092    {
1093      $params = array('project' => $project, 'instance' => $instance);
1094      $params = array_merge($params, $optParams);
1095      return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance");
1096    }
1097  
1098    /**
1099     * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
1100     * Storage. (instances.import)
1101     *
1102     * @param string $project Project ID of the project that contains the instance.
1103     * @param string $instance Cloud SQL instance ID. This does not include the
1104     * project ID.
1105     * @param Google_InstancesImportRequest $postBody
1106     * @param array $optParams Optional parameters.
1107     * @return Google_Service_SQLAdmin_Operation
1108     */
1109    public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
1110    {
1111      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1112      $params = array_merge($params, $optParams);
1113      return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation");
1114    }
1115  
1116    /**
1117     * Creates a new Cloud SQL instance. (instances.insert)
1118     *
1119     * @param string $project Project ID of the project to which the newly created
1120     * Cloud SQL instances should belong.
1121     * @param Google_DatabaseInstance $postBody
1122     * @param array $optParams Optional parameters.
1123     * @return Google_Service_SQLAdmin_Operation
1124     */
1125    public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
1126    {
1127      $params = array('project' => $project, 'postBody' => $postBody);
1128      $params = array_merge($params, $optParams);
1129      return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
1130    }
1131  
1132    /**
1133     * Lists instances under a given project in the alphabetical order of the
1134     * instance name. (instances.listInstances)
1135     *
1136     * @param string $project Project ID of the project for which to list Cloud SQL
1137     * instances.
1138     * @param array $optParams Optional parameters.
1139     *
1140     * @opt_param string pageToken A previously-returned page token representing
1141     * part of the larger set of results to view.
1142     * @opt_param string maxResults The maximum number of results to return per
1143     * response.
1144     * @return Google_Service_SQLAdmin_InstancesListResponse
1145     */
1146    public function listInstances($project, $optParams = array())
1147    {
1148      $params = array('project' => $project);
1149      $params = array_merge($params, $optParams);
1150      return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse");
1151    }
1152  
1153    /**
1154     * Updates settings of a Cloud SQL instance. Caution: This is not a partial
1155     * update, so you must include values for all the settings that you want to
1156     * retain. For partial updates, use patch.. This method supports patch
1157     * semantics. (instances.patch)
1158     *
1159     * @param string $project Project ID of the project that contains the instance.
1160     * @param string $instance Cloud SQL instance ID. This does not include the
1161     * project ID.
1162     * @param Google_DatabaseInstance $postBody
1163     * @param array $optParams Optional parameters.
1164     * @return Google_Service_SQLAdmin_Operation
1165     */
1166    public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
1167    {
1168      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1169      $params = array_merge($params, $optParams);
1170      return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
1171    }
1172  
1173    /**
1174     * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
1175     * (instances.promoteReplica)
1176     *
1177     * @param string $project ID of the project that contains the read replica.
1178     * @param string $instance Cloud SQL read replica instance name.
1179     * @param array $optParams Optional parameters.
1180     * @return Google_Service_SQLAdmin_Operation
1181     */
1182    public function promoteReplica($project, $instance, $optParams = array())
1183    {
1184      $params = array('project' => $project, 'instance' => $instance);
1185      $params = array_merge($params, $optParams);
1186      return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation");
1187    }
1188  
1189    /**
1190     * Deletes all client certificates and generates a new server SSL certificate
1191     * for the instance. The changes will not take effect until the instance is
1192     * restarted. Existing instances without a server certificate will need to call
1193     * this once to set a server certificate. (instances.resetSslConfig)
1194     *
1195     * @param string $project Project ID of the project that contains the instance.
1196     * @param string $instance Cloud SQL instance ID. This does not include the
1197     * project ID.
1198     * @param array $optParams Optional parameters.
1199     * @return Google_Service_SQLAdmin_Operation
1200     */
1201    public function resetSslConfig($project, $instance, $optParams = array())
1202    {
1203      $params = array('project' => $project, 'instance' => $instance);
1204      $params = array_merge($params, $optParams);
1205      return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation");
1206    }
1207  
1208    /**
1209     * Restarts a Cloud SQL instance. (instances.restart)
1210     *
1211     * @param string $project Project ID of the project that contains the instance
1212     * to be restarted.
1213     * @param string $instance Cloud SQL instance ID. This does not include the
1214     * project ID.
1215     * @param array $optParams Optional parameters.
1216     * @return Google_Service_SQLAdmin_Operation
1217     */
1218    public function restart($project, $instance, $optParams = array())
1219    {
1220      $params = array('project' => $project, 'instance' => $instance);
1221      $params = array_merge($params, $optParams);
1222      return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation");
1223    }
1224  
1225    /**
1226     * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
1227     *
1228     * @param string $project Project ID of the project that contains the instance.
1229     * @param string $instance Cloud SQL instance ID. This does not include the
1230     * project ID.
1231     * @param Google_InstancesRestoreBackupRequest $postBody
1232     * @param array $optParams Optional parameters.
1233     * @return Google_Service_SQLAdmin_Operation
1234     */
1235    public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array())
1236    {
1237      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1238      $params = array_merge($params, $optParams);
1239      return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation");
1240    }
1241  
1242    /**
1243     * Starts the replication in the read replica instance. (instances.startReplica)
1244     *
1245     * @param string $project ID of the project that contains the read replica.
1246     * @param string $instance Cloud SQL read replica instance name.
1247     * @param array $optParams Optional parameters.
1248     * @return Google_Service_SQLAdmin_Operation
1249     */
1250    public function startReplica($project, $instance, $optParams = array())
1251    {
1252      $params = array('project' => $project, 'instance' => $instance);
1253      $params = array_merge($params, $optParams);
1254      return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation");
1255    }
1256  
1257    /**
1258     * Stops the replication in the read replica instance. (instances.stopReplica)
1259     *
1260     * @param string $project ID of the project that contains the read replica.
1261     * @param string $instance Cloud SQL read replica instance name.
1262     * @param array $optParams Optional parameters.
1263     * @return Google_Service_SQLAdmin_Operation
1264     */
1265    public function stopReplica($project, $instance, $optParams = array())
1266    {
1267      $params = array('project' => $project, 'instance' => $instance);
1268      $params = array_merge($params, $optParams);
1269      return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation");
1270    }
1271  
1272    /**
1273     * Updates settings of a Cloud SQL instance. Caution: This is not a partial
1274     * update, so you must include values for all the settings that you want to
1275     * retain. For partial updates, use patch. (instances.update)
1276     *
1277     * @param string $project Project ID of the project that contains the instance.
1278     * @param string $instance Cloud SQL instance ID. This does not include the
1279     * project ID.
1280     * @param Google_DatabaseInstance $postBody
1281     * @param array $optParams Optional parameters.
1282     * @return Google_Service_SQLAdmin_Operation
1283     */
1284    public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
1285    {
1286      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1287      $params = array_merge($params, $optParams);
1288      return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
1289    }
1290  }
1291  
1292  /**
1293   * The "operations" collection of methods.
1294   * Typical usage is:
1295   *  <code>
1296   *   $sqladminService = new Google_Service_SQLAdmin(...);
1297   *   $operations = $sqladminService->operations;
1298   *  </code>
1299   */
1300  #[AllowDynamicProperties]
1301  class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resource
1302  {
1303  
1304    /**
1305     * Retrieves an instance operation that has been performed on an instance.
1306     * (operations.get)
1307     *
1308     * @param string $project Project ID of the project that contains the instance.
1309     * @param string $operation Instance operation ID.
1310     * @param array $optParams Optional parameters.
1311     * @return Google_Service_SQLAdmin_Operation
1312     */
1313    public function get($project, $operation, $optParams = array())
1314    {
1315      $params = array('project' => $project, 'operation' => $operation);
1316      $params = array_merge($params, $optParams);
1317      return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation");
1318    }
1319  
1320    /**
1321     * Lists all instance operations that have been performed on the given Cloud SQL
1322     * instance in the reverse chronological order of the start time.
1323     * (operations.listOperations)
1324     *
1325     * @param string $project Project ID of the project that contains the instance.
1326     * @param string $instance Cloud SQL instance ID. This does not include the
1327     * project ID.
1328     * @param array $optParams Optional parameters.
1329     *
1330     * @opt_param string maxResults Maximum number of operations per response.
1331     * @opt_param string pageToken A previously-returned page token representing
1332     * part of the larger set of results to view.
1333     * @return Google_Service_SQLAdmin_OperationsListResponse
1334     */
1335    public function listOperations($project, $instance, $optParams = array())
1336    {
1337      $params = array('project' => $project, 'instance' => $instance);
1338      $params = array_merge($params, $optParams);
1339      return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse");
1340    }
1341  }
1342  
1343  /**
1344   * The "sslCerts" collection of methods.
1345   * Typical usage is:
1346   *  <code>
1347   *   $sqladminService = new Google_Service_SQLAdmin(...);
1348   *   $sslCerts = $sqladminService->sslCerts;
1349   *  </code>
1350   */
1351  #[AllowDynamicProperties]
1352  class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
1353  {
1354  
1355    /**
1356     * Generates a short-lived X509 certificate containing the provided public key
1357     * and signed by a private key specific to the target instance. Users may use
1358     * the certificate to authenticate as themselves when connecting to the
1359     * database. (sslCerts.createEphemeral)
1360     *
1361     * @param string $project Project ID of the Cloud SQL project.
1362     * @param string $instance Cloud SQL instance ID. This does not include the
1363     * project ID.
1364     * @param Google_SslCertsCreateEphemeralRequest $postBody
1365     * @param array $optParams Optional parameters.
1366     * @return Google_Service_SQLAdmin_SslCert
1367     */
1368    public function createEphemeral($project, $instance, Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody, $optParams = array())
1369    {
1370      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1371      $params = array_merge($params, $optParams);
1372      return $this->call('createEphemeral', array($params), "Google_Service_SQLAdmin_SslCert");
1373    }
1374  
1375    /**
1376     * Deletes the SSL certificate. The change will not take effect until the
1377     * instance is restarted. (sslCerts.delete)
1378     *
1379     * @param string $project Project ID of the project that contains the instance
1380     * to be deleted.
1381     * @param string $instance Cloud SQL instance ID. This does not include the
1382     * project ID.
1383     * @param string $sha1Fingerprint Sha1 FingerPrint.
1384     * @param array $optParams Optional parameters.
1385     * @return Google_Service_SQLAdmin_Operation
1386     */
1387    public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
1388    {
1389      $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
1390      $params = array_merge($params, $optParams);
1391      return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
1392    }
1393  
1394    /**
1395     * Retrieves a particular SSL certificate. Does not include the private key
1396     * (required for usage). The private key must be saved from the response to
1397     * initial creation. (sslCerts.get)
1398     *
1399     * @param string $project Project ID of the project that contains the instance.
1400     * @param string $instance Cloud SQL instance ID. This does not include the
1401     * project ID.
1402     * @param string $sha1Fingerprint Sha1 FingerPrint.
1403     * @param array $optParams Optional parameters.
1404     * @return Google_Service_SQLAdmin_SslCert
1405     */
1406    public function get($project, $instance, $sha1Fingerprint, $optParams = array())
1407    {
1408      $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
1409      $params = array_merge($params, $optParams);
1410      return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert");
1411    }
1412  
1413    /**
1414     * Creates an SSL certificate and returns it along with the private key and
1415     * server certificate authority. The new certificate will not be usable until
1416     * the instance is restarted. (sslCerts.insert)
1417     *
1418     * @param string $project Project ID of the project to which the newly created
1419     * Cloud SQL instances should belong.
1420     * @param string $instance Cloud SQL instance ID. This does not include the
1421     * project ID.
1422     * @param Google_SslCertsInsertRequest $postBody
1423     * @param array $optParams Optional parameters.
1424     * @return Google_Service_SQLAdmin_SslCertsInsertResponse
1425     */
1426    public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
1427    {
1428      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1429      $params = array_merge($params, $optParams);
1430      return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse");
1431    }
1432  
1433    /**
1434     * Lists all of the current SSL certificates for the instance.
1435     * (sslCerts.listSslCerts)
1436     *
1437     * @param string $project Project ID of the project for which to list Cloud SQL
1438     * instances.
1439     * @param string $instance Cloud SQL instance ID. This does not include the
1440     * project ID.
1441     * @param array $optParams Optional parameters.
1442     * @return Google_Service_SQLAdmin_SslCertsListResponse
1443     */
1444    public function listSslCerts($project, $instance, $optParams = array())
1445    {
1446      $params = array('project' => $project, 'instance' => $instance);
1447      $params = array_merge($params, $optParams);
1448      return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse");
1449    }
1450  }
1451  
1452  /**
1453   * The "tiers" collection of methods.
1454   * Typical usage is:
1455   *  <code>
1456   *   $sqladminService = new Google_Service_SQLAdmin(...);
1457   *   $tiers = $sqladminService->tiers;
1458   *  </code>
1459   */
1460  #[AllowDynamicProperties]
1461  class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
1462  {
1463  
1464    /**
1465     * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
1466     * For related information, see Pricing. (tiers.listTiers)
1467     *
1468     * @param string $project Project ID of the project for which to list tiers.
1469     * @param array $optParams Optional parameters.
1470     * @return Google_Service_SQLAdmin_TiersListResponse
1471     */
1472    public function listTiers($project, $optParams = array())
1473    {
1474      $params = array('project' => $project);
1475      $params = array_merge($params, $optParams);
1476      return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse");
1477    }
1478  }
1479  
1480  /**
1481   * The "users" collection of methods.
1482   * Typical usage is:
1483   *  <code>
1484   *   $sqladminService = new Google_Service_SQLAdmin(...);
1485   *   $users = $sqladminService->users;
1486   *  </code>
1487   */
1488  #[AllowDynamicProperties]
1489  class Google_Service_SQLAdmin_Users_Resource extends Google_Service_Resource
1490  {
1491  
1492    /**
1493     * Deletes a user from a Cloud SQL instance. (users.delete)
1494     *
1495     * @param string $project Project ID of the project that contains the instance.
1496     * @param string $instance Database instance ID. This does not include the
1497     * project ID.
1498     * @param string $host Host of the user in the instance.
1499     * @param string $name Name of the user in the instance.
1500     * @param array $optParams Optional parameters.
1501     * @return Google_Service_SQLAdmin_Operation
1502     */
1503    public function delete($project, $instance, $host, $name, $optParams = array())
1504    {
1505      $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name);
1506      $params = array_merge($params, $optParams);
1507      return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
1508    }
1509  
1510    /**
1511     * Creates a new user in a Cloud SQL instance. (users.insert)
1512     *
1513     * @param string $project Project ID of the project that contains the instance.
1514     * @param string $instance Database instance ID. This does not include the
1515     * project ID.
1516     * @param Google_User $postBody
1517     * @param array $optParams Optional parameters.
1518     * @return Google_Service_SQLAdmin_Operation
1519     */
1520    public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array())
1521    {
1522      $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
1523      $params = array_merge($params, $optParams);
1524      return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
1525    }
1526  
1527    /**
1528     * Lists users in the specified Cloud SQL instance. (users.listUsers)
1529     *
1530     * @param string $project Project ID of the project that contains the instance.
1531     * @param string $instance Database instance ID. This does not include the
1532     * project ID.
1533     * @param array $optParams Optional parameters.
1534     * @return Google_Service_SQLAdmin_UsersListResponse
1535     */
1536    public function listUsers($project, $instance, $optParams = array())
1537    {
1538      $params = array('project' => $project, 'instance' => $instance);
1539      $params = array_merge($params, $optParams);
1540      return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse");
1541    }
1542  
1543    /**
1544     * Updates an existing user in a Cloud SQL instance. (users.update)
1545     *
1546     * @param string $project Project ID of the project that contains the instance.
1547     * @param string $instance Database instance ID. This does not include the
1548     * project ID.
1549     * @param string $host Host of the user in the instance.
1550     * @param string $name Name of the user in the instance.
1551     * @param Google_User $postBody
1552     * @param array $optParams Optional parameters.
1553     * @return Google_Service_SQLAdmin_Operation
1554     */
1555    public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array())
1556    {
1557      $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody);
1558      $params = array_merge($params, $optParams);
1559      return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
1560    }
1561  }
1562  
1563  
1564  
1565  
1566  #[AllowDynamicProperties]
1567  class Google_Service_SQLAdmin_AclEntry extends Google_Model
1568  {
1569    protected $internal_gapi_mappings = array(
1570    );
1571    public $expirationTime;
1572    public $kind;
1573    public $name;
1574    public $value;
1575  
1576  
1577    public function setExpirationTime($expirationTime)
1578    {
1579      $this->expirationTime = $expirationTime;
1580    }
1581    public function getExpirationTime()
1582    {
1583      return $this->expirationTime;
1584    }
1585    public function setKind($kind)
1586    {
1587      $this->kind = $kind;
1588    }
1589    public function getKind()
1590    {
1591      return $this->kind;
1592    }
1593    public function setName($name)
1594    {
1595      $this->name = $name;
1596    }
1597    public function getName()
1598    {
1599      return $this->name;
1600    }
1601    public function setValue($value)
1602    {
1603      $this->value = $value;
1604    }
1605    public function getValue()
1606    {
1607      return $this->value;
1608    }
1609  }
1610  
1611  #[AllowDynamicProperties]
1612  class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
1613  {
1614    protected $internal_gapi_mappings = array(
1615    );
1616    public $binaryLogEnabled;
1617    public $enabled;
1618    public $kind;
1619    public $startTime;
1620  
1621  
1622    public function setBinaryLogEnabled($binaryLogEnabled)
1623    {
1624      $this->binaryLogEnabled = $binaryLogEnabled;
1625    }
1626    public function getBinaryLogEnabled()
1627    {
1628      return $this->binaryLogEnabled;
1629    }
1630    public function setEnabled($enabled)
1631    {
1632      $this->enabled = $enabled;
1633    }
1634    public function getEnabled()
1635    {
1636      return $this->enabled;
1637    }
1638    public function setKind($kind)
1639    {
1640      $this->kind = $kind;
1641    }
1642    public function getKind()
1643    {
1644      return $this->kind;
1645    }
1646    public function setStartTime($startTime)
1647    {
1648      $this->startTime = $startTime;
1649    }
1650    public function getStartTime()
1651    {
1652      return $this->startTime;
1653    }
1654  }
1655  
1656  #[AllowDynamicProperties]
1657  class Google_Service_SQLAdmin_BackupRun extends Google_Model
1658  {
1659    protected $internal_gapi_mappings = array(
1660    );
1661    public $endTime;
1662    public $enqueuedTime;
1663    protected $errorType = 'Google_Service_SQLAdmin_OperationError';
1664    protected $errorDataType = '';
1665    public $id;
1666    public $instance;
1667    public $kind;
1668    public $selfLink;
1669    public $startTime;
1670    public $status;
1671    public $windowStartTime;
1672  
1673  
1674    public function setEndTime($endTime)
1675    {
1676      $this->endTime = $endTime;
1677    }
1678    public function getEndTime()
1679    {
1680      return $this->endTime;
1681    }
1682    public function setEnqueuedTime($enqueuedTime)
1683    {
1684      $this->enqueuedTime = $enqueuedTime;
1685    }
1686    public function getEnqueuedTime()
1687    {
1688      return $this->enqueuedTime;
1689    }
1690    public function setError(Google_Service_SQLAdmin_OperationError $error)
1691    {
1692      $this->error = $error;
1693    }
1694    public function getError()
1695    {
1696      return $this->error;
1697    }
1698    public function setId($id)
1699    {
1700      $this->id = $id;
1701    }
1702    public function getId()
1703    {
1704      return $this->id;
1705    }
1706    public function setInstance($instance)
1707    {
1708      $this->instance = $instance;
1709    }
1710    public function getInstance()
1711    {
1712      return $this->instance;
1713    }
1714    public function setKind($kind)
1715    {
1716      $this->kind = $kind;
1717    }
1718    public function getKind()
1719    {
1720      return $this->kind;
1721    }
1722    public function setSelfLink($selfLink)
1723    {
1724      $this->selfLink = $selfLink;
1725    }
1726    public function getSelfLink()
1727    {
1728      return $this->selfLink;
1729    }
1730    public function setStartTime($startTime)
1731    {
1732      $this->startTime = $startTime;
1733    }
1734    public function getStartTime()
1735    {
1736      return $this->startTime;
1737    }
1738    public function setStatus($status)
1739    {
1740      $this->status = $status;
1741    }
1742    public function getStatus()
1743    {
1744      return $this->status;
1745    }
1746    public function setWindowStartTime($windowStartTime)
1747    {
1748      $this->windowStartTime = $windowStartTime;
1749    }
1750    public function getWindowStartTime()
1751    {
1752      return $this->windowStartTime;
1753    }
1754  }
1755  
1756  #[AllowDynamicProperties]
1757  class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
1758  {
1759    protected $collection_key = 'items';
1760    protected $internal_gapi_mappings = array(
1761    );
1762    protected $itemsType = 'Google_Service_SQLAdmin_BackupRun';
1763    protected $itemsDataType = 'array';
1764    public $kind;
1765    public $nextPageToken;
1766  
1767  
1768    public function setItems($items)
1769    {
1770      $this->items = $items;
1771    }
1772    public function getItems()
1773    {
1774      return $this->items;
1775    }
1776    public function setKind($kind)
1777    {
1778      $this->kind = $kind;
1779    }
1780    public function getKind()
1781    {
1782      return $this->kind;
1783    }
1784    public function setNextPageToken($nextPageToken)
1785    {
1786      $this->nextPageToken = $nextPageToken;
1787    }
1788    public function getNextPageToken()
1789    {
1790      return $this->nextPageToken;
1791    }
1792  }
1793  
1794  #[AllowDynamicProperties]
1795  class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
1796  {
1797    protected $internal_gapi_mappings = array(
1798    );
1799    public $binLogFileName;
1800    public $binLogPosition;
1801    public $kind;
1802  
1803  
1804    public function setBinLogFileName($binLogFileName)
1805    {
1806      $this->binLogFileName = $binLogFileName;
1807    }
1808    public function getBinLogFileName()
1809    {
1810      return $this->binLogFileName;
1811    }
1812    public function setBinLogPosition($binLogPosition)
1813    {
1814      $this->binLogPosition = $binLogPosition;
1815    }
1816    public function getBinLogPosition()
1817    {
1818      return $this->binLogPosition;
1819    }
1820    public function setKind($kind)
1821    {
1822      $this->kind = $kind;
1823    }
1824    public function getKind()
1825    {
1826      return $this->kind;
1827    }
1828  }
1829  
1830  #[AllowDynamicProperties]
1831  class Google_Service_SQLAdmin_CloneContext extends Google_Model
1832  {
1833    protected $internal_gapi_mappings = array(
1834    );
1835    protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
1836    protected $binLogCoordinatesDataType = '';
1837    public $destinationInstanceName;
1838    public $kind;
1839  
1840  
1841    public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
1842    {
1843      $this->binLogCoordinates = $binLogCoordinates;
1844    }
1845    public function getBinLogCoordinates()
1846    {
1847      return $this->binLogCoordinates;
1848    }
1849    public function setDestinationInstanceName($destinationInstanceName)
1850    {
1851      $this->destinationInstanceName = $destinationInstanceName;
1852    }
1853    public function getDestinationInstanceName()
1854    {
1855      return $this->destinationInstanceName;
1856    }
1857    public function setKind($kind)
1858    {
1859      $this->kind = $kind;
1860    }
1861    public function getKind()
1862    {
1863      return $this->kind;
1864    }
1865  }
1866  
1867  #[AllowDynamicProperties]
1868  class Google_Service_SQLAdmin_Database extends Google_Model
1869  {
1870    protected $internal_gapi_mappings = array(
1871    );
1872    public $charset;
1873    public $collation;
1874    public $etag;
1875    public $instance;
1876    public $kind;
1877    public $name;
1878    public $project;
1879    public $selfLink;
1880  
1881  
1882    public function setCharset($charset)
1883    {
1884      $this->charset = $charset;
1885    }
1886    public function getCharset()
1887    {
1888      return $this->charset;
1889    }
1890    public function setCollation($collation)
1891    {
1892      $this->collation = $collation;
1893    }
1894    public function getCollation()
1895    {
1896      return $this->collation;
1897    }
1898    public function setEtag($etag)
1899    {
1900      $this->etag = $etag;
1901    }
1902    public function getEtag()
1903    {
1904      return $this->etag;
1905    }
1906    public function setInstance($instance)
1907    {
1908      $this->instance = $instance;
1909    }
1910    public function getInstance()
1911    {
1912      return $this->instance;
1913    }
1914    public function setKind($kind)
1915    {
1916      $this->kind = $kind;
1917    }
1918    public function getKind()
1919    {
1920      return $this->kind;
1921    }
1922    public function setName($name)
1923    {
1924      $this->name = $name;
1925    }
1926    public function getName()
1927    {
1928      return $this->name;
1929    }
1930    public function setProject($project)
1931    {
1932      $this->project = $project;
1933    }
1934    public function getProject()
1935    {
1936      return $this->project;
1937    }
1938    public function setSelfLink($selfLink)
1939    {
1940      $this->selfLink = $selfLink;
1941    }
1942    public function getSelfLink()
1943    {
1944      return $this->selfLink;
1945    }
1946  }
1947  
1948  #[AllowDynamicProperties]
1949  class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
1950  {
1951    protected $internal_gapi_mappings = array(
1952    );
1953    public $name;
1954    public $value;
1955  
1956  
1957    public function setName($name)
1958    {
1959      $this->name = $name;
1960    }
1961    public function getName()
1962    {
1963      return $this->name;
1964    }
1965    public function setValue($value)
1966    {
1967      $this->value = $value;
1968    }
1969    public function getValue()
1970    {
1971      return $this->value;
1972    }
1973  }
1974  
1975  #[AllowDynamicProperties]
1976  class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
1977  {
1978    protected $collection_key = 'replicaNames';
1979    protected $internal_gapi_mappings = array(
1980    );
1981    public $currentDiskSize;
1982    public $databaseVersion;
1983    public $etag;
1984    public $instanceType;
1985    protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
1986    protected $ipAddressesDataType = 'array';
1987    public $ipv6Address;
1988    public $kind;
1989    public $masterInstanceName;
1990    public $maxDiskSize;
1991    public $name;
1992    protected $onPremisesConfigurationType = 'Google_Service_SQLAdmin_OnPremisesConfiguration';
1993    protected $onPremisesConfigurationDataType = '';
1994    public $project;
1995    public $region;
1996    protected $replicaConfigurationType = 'Google_Service_SQLAdmin_ReplicaConfiguration';
1997    protected $replicaConfigurationDataType = '';
1998    public $replicaNames;
1999    public $selfLink;
2000    protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
2001    protected $serverCaCertDataType = '';
2002    public $serviceAccountEmailAddress;
2003    protected $settingsType = 'Google_Service_SQLAdmin_Settings';
2004    protected $settingsDataType = '';
2005    public $state;
2006  
2007  
2008    public function setCurrentDiskSize($currentDiskSize)
2009    {
2010      $this->currentDiskSize = $currentDiskSize;
2011    }
2012    public function getCurrentDiskSize()
2013    {
2014      return $this->currentDiskSize;
2015    }
2016    public function setDatabaseVersion($databaseVersion)
2017    {
2018      $this->databaseVersion = $databaseVersion;
2019    }
2020    public function getDatabaseVersion()
2021    {
2022      return $this->databaseVersion;
2023    }
2024    public function setEtag($etag)
2025    {
2026      $this->etag = $etag;
2027    }
2028    public function getEtag()
2029    {
2030      return $this->etag;
2031    }
2032    public function setInstanceType($instanceType)
2033    {
2034      $this->instanceType = $instanceType;
2035    }
2036    public function getInstanceType()
2037    {
2038      return $this->instanceType;
2039    }
2040    public function setIpAddresses($ipAddresses)
2041    {
2042      $this->ipAddresses = $ipAddresses;
2043    }
2044    public function getIpAddresses()
2045    {
2046      return $this->ipAddresses;
2047    }
2048    public function setIpv6Address($ipv6Address)
2049    {
2050      $this->ipv6Address = $ipv6Address;
2051    }
2052    public function getIpv6Address()
2053    {
2054      return $this->ipv6Address;
2055    }
2056    public function setKind($kind)
2057    {
2058      $this->kind = $kind;
2059    }
2060    public function getKind()
2061    {
2062      return $this->kind;
2063    }
2064    public function setMasterInstanceName($masterInstanceName)
2065    {
2066      $this->masterInstanceName = $masterInstanceName;
2067    }
2068    public function getMasterInstanceName()
2069    {
2070      return $this->masterInstanceName;
2071    }
2072    public function setMaxDiskSize($maxDiskSize)
2073    {
2074      $this->maxDiskSize = $maxDiskSize;
2075    }
2076    public function getMaxDiskSize()
2077    {
2078      return $this->maxDiskSize;
2079    }
2080    public function setName($name)
2081    {
2082      $this->name = $name;
2083    }
2084    public function getName()
2085    {
2086      return $this->name;
2087    }
2088    public function setOnPremisesConfiguration(Google_Service_SQLAdmin_OnPremisesConfiguration $onPremisesConfiguration)
2089    {
2090      $this->onPremisesConfiguration = $onPremisesConfiguration;
2091    }
2092    public function getOnPremisesConfiguration()
2093    {
2094      return $this->onPremisesConfiguration;
2095    }
2096    public function setProject($project)
2097    {
2098      $this->project = $project;
2099    }
2100    public function getProject()
2101    {
2102      return $this->project;
2103    }
2104    public function setRegion($region)
2105    {
2106      $this->region = $region;
2107    }
2108    public function getRegion()
2109    {
2110      return $this->region;
2111    }
2112    public function setReplicaConfiguration(Google_Service_SQLAdmin_ReplicaConfiguration $replicaConfiguration)
2113    {
2114      $this->replicaConfiguration = $replicaConfiguration;
2115    }
2116    public function getReplicaConfiguration()
2117    {
2118      return $this->replicaConfiguration;
2119    }
2120    public function setReplicaNames($replicaNames)
2121    {
2122      $this->replicaNames = $replicaNames;
2123    }
2124    public function getReplicaNames()
2125    {
2126      return $this->replicaNames;
2127    }
2128    public function setSelfLink($selfLink)
2129    {
2130      $this->selfLink = $selfLink;
2131    }
2132    public function getSelfLink()
2133    {
2134      return $this->selfLink;
2135    }
2136    public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
2137    {
2138      $this->serverCaCert = $serverCaCert;
2139    }
2140    public function getServerCaCert()
2141    {
2142      return $this->serverCaCert;
2143    }
2144    public function setServiceAccountEmailAddress($serviceAccountEmailAddress)
2145    {
2146      $this->serviceAccountEmailAddress = $serviceAccountEmailAddress;
2147    }
2148    public function getServiceAccountEmailAddress()
2149    {
2150      return $this->serviceAccountEmailAddress;
2151    }
2152    public function setSettings(Google_Service_SQLAdmin_Settings $settings)
2153    {
2154      $this->settings = $settings;
2155    }
2156    public function getSettings()
2157    {
2158      return $this->settings;
2159    }
2160    public function setState($state)
2161    {
2162      $this->state = $state;
2163    }
2164    public function getState()
2165    {
2166      return $this->state;
2167    }
2168  }
2169  
2170  #[AllowDynamicProperties]
2171  class Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection
2172  {
2173    protected $collection_key = 'items';
2174    protected $internal_gapi_mappings = array(
2175    );
2176    protected $itemsType = 'Google_Service_SQLAdmin_Database';
2177    protected $itemsDataType = 'array';
2178    public $kind;
2179  
2180  
2181    public function setItems($items)
2182    {
2183      $this->items = $items;
2184    }
2185    public function getItems()
2186    {
2187      return $this->items;
2188    }
2189    public function setKind($kind)
2190    {
2191      $this->kind = $kind;
2192    }
2193    public function getKind()
2194    {
2195      return $this->kind;
2196    }
2197  }
2198  
2199  #[AllowDynamicProperties]
2200  class Google_Service_SQLAdmin_ExportContext extends Google_Collection
2201  {
2202    protected $collection_key = 'databases';
2203    protected $internal_gapi_mappings = array(
2204    );
2205    protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions';
2206    protected $csvExportOptionsDataType = '';
2207    public $databases;
2208    public $fileType;
2209    public $kind;
2210    protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions';
2211    protected $sqlExportOptionsDataType = '';
2212    public $uri;
2213  
2214  
2215    public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions)
2216    {
2217      $this->csvExportOptions = $csvExportOptions;
2218    }
2219    public function getCsvExportOptions()
2220    {
2221      return $this->csvExportOptions;
2222    }
2223    public function setDatabases($databases)
2224    {
2225      $this->databases = $databases;
2226    }
2227    public function getDatabases()
2228    {
2229      return $this->databases;
2230    }
2231    public function setFileType($fileType)
2232    {
2233      $this->fileType = $fileType;
2234    }
2235    public function getFileType()
2236    {
2237      return $this->fileType;
2238    }
2239    public function setKind($kind)
2240    {
2241      $this->kind = $kind;
2242    }
2243    public function getKind()
2244    {
2245      return $this->kind;
2246    }
2247    public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions)
2248    {
2249      $this->sqlExportOptions = $sqlExportOptions;
2250    }
2251    public function getSqlExportOptions()
2252    {
2253      return $this->sqlExportOptions;
2254    }
2255    public function setUri($uri)
2256    {
2257      $this->uri = $uri;
2258    }
2259    public function getUri()
2260    {
2261      return $this->uri;
2262    }
2263  }
2264  
2265  #[AllowDynamicProperties]
2266  class Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model
2267  {
2268    protected $internal_gapi_mappings = array(
2269    );
2270    public $selectQuery;
2271  
2272  
2273    public function setSelectQuery($selectQuery)
2274    {
2275      $this->selectQuery = $selectQuery;
2276    }
2277    public function getSelectQuery()
2278    {
2279      return $this->selectQuery;
2280    }
2281  }
2282  
2283  #[AllowDynamicProperties]
2284  class Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection
2285  {
2286    protected $collection_key = 'tables';
2287    protected $internal_gapi_mappings = array(
2288    );
2289    public $schemaOnly;
2290    public $tables;
2291  
2292  
2293    public function setSchemaOnly($schemaOnly)
2294    {
2295      $this->schemaOnly = $schemaOnly;
2296    }
2297    public function getSchemaOnly()
2298    {
2299      return $this->schemaOnly;
2300    }
2301    public function setTables($tables)
2302    {
2303      $this->tables = $tables;
2304    }
2305    public function getTables()
2306    {
2307      return $this->tables;
2308    }
2309  }
2310  
2311  #[AllowDynamicProperties]
2312  class Google_Service_SQLAdmin_FailoverContext extends Google_Model
2313  {
2314    protected $internal_gapi_mappings = array(
2315    );
2316    public $kind;
2317    public $settingsVersion;
2318  
2319  
2320    public function setKind($kind)
2321    {
2322      $this->kind = $kind;
2323    }
2324    public function getKind()
2325    {
2326      return $this->kind;
2327    }
2328    public function setSettingsVersion($settingsVersion)
2329    {
2330      $this->settingsVersion = $settingsVersion;
2331    }
2332    public function getSettingsVersion()
2333    {
2334      return $this->settingsVersion;
2335    }
2336  }
2337  
2338  #[AllowDynamicProperties]
2339  class Google_Service_SQLAdmin_Flag extends Google_Collection
2340  {
2341    protected $collection_key = 'appliesTo';
2342    protected $internal_gapi_mappings = array(
2343    );
2344    public $allowedStringValues;
2345    public $appliesTo;
2346    public $kind;
2347    public $maxValue;
2348    public $minValue;
2349    public $name;
2350    public $type;
2351  
2352  
2353    public function setAllowedStringValues($allowedStringValues)
2354    {
2355      $this->allowedStringValues = $allowedStringValues;
2356    }
2357    public function getAllowedStringValues()
2358    {
2359      return $this->allowedStringValues;
2360    }
2361    public function setAppliesTo($appliesTo)
2362    {
2363      $this->appliesTo = $appliesTo;
2364    }
2365    public function getAppliesTo()
2366    {
2367      return $this->appliesTo;
2368    }
2369    public function setKind($kind)
2370    {
2371      $this->kind = $kind;
2372    }
2373    public function getKind()
2374    {
2375      return $this->kind;
2376    }
2377    public function setMaxValue($maxValue)
2378    {
2379      $this->maxValue = $maxValue;
2380    }
2381    public function getMaxValue()
2382    {
2383      return $this->maxValue;
2384    }
2385    public function setMinValue($minValue)
2386    {
2387      $this->minValue = $minValue;
2388    }
2389    public function getMinValue()
2390    {
2391      return $this->minValue;
2392    }
2393    public function setName($name)
2394    {
2395      $this->name = $name;
2396    }
2397    public function getName()
2398    {
2399      return $this->name;
2400    }
2401    public function setType($type)
2402    {
2403      $this->type = $type;
2404    }
2405    public function getType()
2406    {
2407      return $this->type;
2408    }
2409  }
2410  
2411  #[AllowDynamicProperties]
2412  class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
2413  {
2414    protected $collection_key = 'items';
2415    protected $internal_gapi_mappings = array(
2416    );
2417    protected $itemsType = 'Google_Service_SQLAdmin_Flag';
2418    protected $itemsDataType = 'array';
2419    public $kind;
2420  
2421  
2422    public function setItems($items)
2423    {
2424      $this->items = $items;
2425    }
2426    public function getItems()
2427    {
2428      return $this->items;
2429    }
2430    public function setKind($kind)
2431    {
2432      $this->kind = $kind;
2433    }
2434    public function getKind()
2435    {
2436      return $this->kind;
2437    }
2438  }
2439  
2440  #[AllowDynamicProperties]
2441  class Google_Service_SQLAdmin_ImportContext extends Google_Model
2442  {
2443    protected $internal_gapi_mappings = array(
2444    );
2445    protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
2446    protected $csvImportOptionsDataType = '';
2447    public $database;
2448    public $fileType;
2449    public $kind;
2450    public $uri;
2451  
2452  
2453    public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
2454    {
2455      $this->csvImportOptions = $csvImportOptions;
2456    }
2457    public function getCsvImportOptions()
2458    {
2459      return $this->csvImportOptions;
2460    }
2461    public function setDatabase($database)
2462    {
2463      $this->database = $database;
2464    }
2465    public function getDatabase()
2466    {
2467      return $this->database;
2468    }
2469    public function setFileType($fileType)
2470    {
2471      $this->fileType = $fileType;
2472    }
2473    public function getFileType()
2474    {
2475      return $this->fileType;
2476    }
2477    public function setKind($kind)
2478    {
2479      $this->kind = $kind;
2480    }
2481    public function getKind()
2482    {
2483      return $this->kind;
2484    }
2485    public function setUri($uri)
2486    {
2487      $this->uri = $uri;
2488    }
2489    public function getUri()
2490    {
2491      return $this->uri;
2492    }
2493  }
2494  
2495  #[AllowDynamicProperties]
2496  class Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection
2497  {
2498    protected $collection_key = 'columns';
2499    protected $internal_gapi_mappings = array(
2500    );
2501    public $columns;
2502    public $table;
2503  
2504  
2505    public function setColumns($columns)
2506    {
2507      $this->columns = $columns;
2508    }
2509    public function getColumns()
2510    {
2511      return $this->columns;
2512    }
2513    public function setTable($table)
2514    {
2515      $this->table = $table;
2516    }
2517    public function getTable()
2518    {
2519      return $this->table;
2520    }
2521  }
2522  
2523  #[AllowDynamicProperties]
2524  class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
2525  {
2526    protected $internal_gapi_mappings = array(
2527    );
2528    protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
2529    protected $cloneContextDataType = '';
2530  
2531  
2532    public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
2533    {
2534      $this->cloneContext = $cloneContext;
2535    }
2536    public function getCloneContext()
2537    {
2538      return $this->cloneContext;
2539    }
2540  }
2541  
2542  #[AllowDynamicProperties]
2543  class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
2544  {
2545    protected $internal_gapi_mappings = array(
2546    );
2547    protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
2548    protected $exportContextDataType = '';
2549  
2550  
2551    public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
2552    {
2553      $this->exportContext = $exportContext;
2554    }
2555    public function getExportContext()
2556    {
2557      return $this->exportContext;
2558    }
2559  }
2560  
2561  #[AllowDynamicProperties]
2562  class Google_Service_SQLAdmin_InstancesFailoverRequest extends Google_Model
2563  {
2564    protected $internal_gapi_mappings = array(
2565    );
2566    protected $failoverContextType = 'Google_Service_SQLAdmin_FailoverContext';
2567    protected $failoverContextDataType = '';
2568  
2569  
2570    public function setFailoverContext(Google_Service_SQLAdmin_FailoverContext $failoverContext)
2571    {
2572      $this->failoverContext = $failoverContext;
2573    }
2574    public function getFailoverContext()
2575    {
2576      return $this->failoverContext;
2577    }
2578  }
2579  
2580  #[AllowDynamicProperties]
2581  class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
2582  {
2583    protected $internal_gapi_mappings = array(
2584    );
2585    protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
2586    protected $importContextDataType = '';
2587  
2588  
2589    public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
2590    {
2591      $this->importContext = $importContext;
2592    }
2593    public function getImportContext()
2594    {
2595      return $this->importContext;
2596    }
2597  }
2598  
2599  #[AllowDynamicProperties]
2600  class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
2601  {
2602    protected $collection_key = 'items';
2603    protected $internal_gapi_mappings = array(
2604    );
2605    protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
2606    protected $itemsDataType = 'array';
2607    public $kind;
2608    public $nextPageToken;
2609  
2610  
2611    public function setItems($items)
2612    {
2613      $this->items = $items;
2614    }
2615    public function getItems()
2616    {
2617      return $this->items;
2618    }
2619    public function setKind($kind)
2620    {
2621      $this->kind = $kind;
2622    }
2623    public function getKind()
2624    {
2625      return $this->kind;
2626    }
2627    public function setNextPageToken($nextPageToken)
2628    {
2629      $this->nextPageToken = $nextPageToken;
2630    }
2631    public function getNextPageToken()
2632    {
2633      return $this->nextPageToken;
2634    }
2635  }
2636  
2637  #[AllowDynamicProperties]
2638  class Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model
2639  {
2640    protected $internal_gapi_mappings = array(
2641    );
2642    protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext';
2643    protected $restoreBackupContextDataType = '';
2644  
2645  
2646    public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext)
2647    {
2648      $this->restoreBackupContext = $restoreBackupContext;
2649    }
2650    public function getRestoreBackupContext()
2651    {
2652      return $this->restoreBackupContext;
2653    }
2654  }
2655  
2656  #[AllowDynamicProperties]
2657  class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
2658  {
2659    protected $collection_key = 'authorizedNetworks';
2660    protected $internal_gapi_mappings = array(
2661    );
2662    protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry';
2663    protected $authorizedNetworksDataType = 'array';
2664    public $ipv4Enabled;
2665    public $requireSsl;
2666  
2667  
2668    public function setAuthorizedNetworks($authorizedNetworks)
2669    {
2670      $this->authorizedNetworks = $authorizedNetworks;
2671    }
2672    public function getAuthorizedNetworks()
2673    {
2674      return $this->authorizedNetworks;
2675    }
2676    public function setIpv4Enabled($ipv4Enabled)
2677    {
2678      $this->ipv4Enabled = $ipv4Enabled;
2679    }
2680    public function getIpv4Enabled()
2681    {
2682      return $this->ipv4Enabled;
2683    }
2684    public function setRequireSsl($requireSsl)
2685    {
2686      $this->requireSsl = $requireSsl;
2687    }
2688    public function getRequireSsl()
2689    {
2690      return $this->requireSsl;
2691    }
2692  }
2693  
2694  #[AllowDynamicProperties]
2695  class Google_Service_SQLAdmin_IpMapping extends Google_Model
2696  {
2697    protected $internal_gapi_mappings = array(
2698    );
2699    public $ipAddress;
2700    public $timeToRetire;
2701  
2702  
2703    public function setIpAddress($ipAddress)
2704    {
2705      $this->ipAddress = $ipAddress;
2706    }
2707    public function getIpAddress()
2708    {
2709      return $this->ipAddress;
2710    }
2711    public function setTimeToRetire($timeToRetire)
2712    {
2713      $this->timeToRetire = $timeToRetire;
2714    }
2715    public function getTimeToRetire()
2716    {
2717      return $this->timeToRetire;
2718    }
2719  }
2720  
2721  #[AllowDynamicProperties]
2722  class Google_Service_SQLAdmin_LocationPreference extends Google_Model
2723  {
2724    protected $internal_gapi_mappings = array(
2725    );
2726    public $followGaeApplication;
2727    public $kind;
2728    public $zone;
2729  
2730  
2731    public function setFollowGaeApplication($followGaeApplication)
2732    {
2733      $this->followGaeApplication = $followGaeApplication;
2734    }
2735    public function getFollowGaeApplication()
2736    {
2737      return $this->followGaeApplication;
2738    }
2739    public function setKind($kind)
2740    {
2741      $this->kind = $kind;
2742    }
2743    public function getKind()
2744    {
2745      return $this->kind;
2746    }
2747    public function setZone($zone)
2748    {
2749      $this->zone = $zone;
2750    }
2751    public function getZone()
2752    {
2753      return $this->zone;
2754    }
2755  }
2756  
2757  #[AllowDynamicProperties]
2758  class Google_Service_SQLAdmin_MySqlReplicaConfiguration extends Google_Model
2759  {
2760    protected $internal_gapi_mappings = array(
2761    );
2762    public $caCertificate;
2763    public $clientCertificate;
2764    public $clientKey;
2765    public $connectRetryInterval;
2766    public $dumpFilePath;
2767    public $kind;
2768    public $masterHeartbeatPeriod;
2769    public $password;
2770    public $sslCipher;
2771    public $username;
2772    public $verifyServerCertificate;
2773  
2774  
2775    public function setCaCertificate($caCertificate)
2776    {
2777      $this->caCertificate = $caCertificate;
2778    }
2779    public function getCaCertificate()
2780    {
2781      return $this->caCertificate;
2782    }
2783    public function setClientCertificate($clientCertificate)
2784    {
2785      $this->clientCertificate = $clientCertificate;
2786    }
2787    public function getClientCertificate()
2788    {
2789      return $this->clientCertificate;
2790    }
2791    public function setClientKey($clientKey)
2792    {
2793      $this->clientKey = $clientKey;
2794    }
2795    public function getClientKey()
2796    {
2797      return $this->clientKey;
2798    }
2799    public function setConnectRetryInterval($connectRetryInterval)
2800    {
2801      $this->connectRetryInterval = $connectRetryInterval;
2802    }
2803    public function getConnectRetryInterval()
2804    {
2805      return $this->connectRetryInterval;
2806    }
2807    public function setDumpFilePath($dumpFilePath)
2808    {
2809      $this->dumpFilePath = $dumpFilePath;
2810    }
2811    public function getDumpFilePath()
2812    {
2813      return $this->dumpFilePath;
2814    }
2815    public function setKind($kind)
2816    {
2817      $this->kind = $kind;
2818    }
2819    public function getKind()
2820    {
2821      return $this->kind;
2822    }
2823    public function setMasterHeartbeatPeriod($masterHeartbeatPeriod)
2824    {
2825      $this->masterHeartbeatPeriod = $masterHeartbeatPeriod;
2826    }
2827    public function getMasterHeartbeatPeriod()
2828    {
2829      return $this->masterHeartbeatPeriod;
2830    }
2831    public function setPassword($password)
2832    {
2833      $this->password = $password;
2834    }
2835    public function getPassword()
2836    {
2837      return $this->password;
2838    }
2839    public function setSslCipher($sslCipher)
2840    {
2841      $this->sslCipher = $sslCipher;
2842    }
2843    public function getSslCipher()
2844    {
2845      return $this->sslCipher;
2846    }
2847    public function setUsername($username)
2848    {
2849      $this->username = $username;
2850    }
2851    public function getUsername()
2852    {
2853      return $this->username;
2854    }
2855    public function setVerifyServerCertificate($verifyServerCertificate)
2856    {
2857      $this->verifyServerCertificate = $verifyServerCertificate;
2858    }
2859    public function getVerifyServerCertificate()
2860    {
2861      return $this->verifyServerCertificate;
2862    }
2863  }
2864  
2865  #[AllowDynamicProperties]
2866  class Google_Service_SQLAdmin_OnPremisesConfiguration extends Google_Model
2867  {
2868    protected $internal_gapi_mappings = array(
2869    );
2870    public $hostPort;
2871    public $kind;
2872  
2873  
2874    public function setHostPort($hostPort)
2875    {
2876      $this->hostPort = $hostPort;
2877    }
2878    public function getHostPort()
2879    {
2880      return $this->hostPort;
2881    }
2882    public function setKind($kind)
2883    {
2884      $this->kind = $kind;
2885    }
2886    public function getKind()
2887    {
2888      return $this->kind;
2889    }
2890  }
2891  
2892  #[AllowDynamicProperties]
2893  class Google_Service_SQLAdmin_Operation extends Google_Model
2894  {
2895    protected $internal_gapi_mappings = array(
2896    );
2897    public $endTime;
2898    protected $errorType = 'Google_Service_SQLAdmin_OperationErrors';
2899    protected $errorDataType = '';
2900    protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
2901    protected $exportContextDataType = '';
2902    protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
2903    protected $importContextDataType = '';
2904    public $insertTime;
2905    public $kind;
2906    public $name;
2907    public $operationType;
2908    public $selfLink;
2909    public $startTime;
2910    public $status;
2911    public $targetId;
2912    public $targetLink;
2913    public $targetProject;
2914    public $user;
2915  
2916  
2917    public function setEndTime($endTime)
2918    {
2919      $this->endTime = $endTime;
2920    }
2921    public function getEndTime()
2922    {
2923      return $this->endTime;
2924    }
2925    public function setError(Google_Service_SQLAdmin_OperationErrors $error)
2926    {
2927      $this->error = $error;
2928    }
2929    public function getError()
2930    {
2931      return $this->error;
2932    }
2933    public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
2934    {
2935      $this->exportContext = $exportContext;
2936    }
2937    public function getExportContext()
2938    {
2939      return $this->exportContext;
2940    }
2941    public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
2942    {
2943      $this->importContext = $importContext;
2944    }
2945    public function getImportContext()
2946    {
2947      return $this->importContext;
2948    }
2949    public function setInsertTime($insertTime)
2950    {
2951      $this->insertTime = $insertTime;
2952    }
2953    public function getInsertTime()
2954    {
2955      return $this->insertTime;
2956    }
2957    public function setKind($kind)
2958    {
2959      $this->kind = $kind;
2960    }
2961    public function getKind()
2962    {
2963      return $this->kind;
2964    }
2965    public function setName($name)
2966    {
2967      $this->name = $name;
2968    }
2969    public function getName()
2970    {
2971      return $this->name;
2972    }
2973    public function setOperationType($operationType)
2974    {
2975      $this->operationType = $operationType;
2976    }
2977    public function getOperationType()
2978    {
2979      return $this->operationType;
2980    }
2981    public function setSelfLink($selfLink)
2982    {
2983      $this->selfLink = $selfLink;
2984    }
2985    public function getSelfLink()
2986    {
2987      return $this->selfLink;
2988    }
2989    public function setStartTime($startTime)
2990    {
2991      $this->startTime = $startTime;
2992    }
2993    public function getStartTime()
2994    {
2995      return $this->startTime;
2996    }
2997    public function setStatus($status)
2998    {
2999      $this->status = $status;
3000    }
3001    public function getStatus()
3002    {
3003      return $this->status;
3004    }
3005    public function setTargetId($targetId)
3006    {
3007      $this->targetId = $targetId;
3008    }
3009    public function getTargetId()
3010    {
3011      return $this->targetId;
3012    }
3013    public function setTargetLink($targetLink)
3014    {
3015      $this->targetLink = $targetLink;
3016    }
3017    public function getTargetLink()
3018    {
3019      return $this->targetLink;
3020    }
3021    public function setTargetProject($targetProject)
3022    {
3023      $this->targetProject = $targetProject;
3024    }
3025    public function getTargetProject()
3026    {
3027      return $this->targetProject;
3028    }
3029    public function setUser($user)
3030    {
3031      $this->user = $user;
3032    }
3033    public function getUser()
3034    {
3035      return $this->user;
3036    }
3037  }
3038  
3039  #[AllowDynamicProperties]
3040  class Google_Service_SQLAdmin_OperationError extends Google_Model
3041  {
3042    protected $internal_gapi_mappings = array(
3043    );
3044    public $code;
3045    public $kind;
3046    public $message;
3047  
3048  
3049    public function setCode($code)
3050    {
3051      $this->code = $code;
3052    }
3053    public function getCode()
3054    {
3055      return $this->code;
3056    }
3057    public function setKind($kind)
3058    {
3059      $this->kind = $kind;
3060    }
3061    public function getKind()
3062    {
3063      return $this->kind;
3064    }
3065    public function setMessage($message)
3066    {
3067      $this->message = $message;
3068    }
3069    public function getMessage()
3070    {
3071      return $this->message;
3072    }
3073  }
3074  
3075  #[AllowDynamicProperties]
3076  class Google_Service_SQLAdmin_OperationErrors extends Google_Collection
3077  {
3078    protected $collection_key = 'errors';
3079    protected $internal_gapi_mappings = array(
3080    );
3081    protected $errorsType = 'Google_Service_SQLAdmin_OperationError';
3082    protected $errorsDataType = 'array';
3083    public $kind;
3084  
3085  
3086    public function setErrors($errors)
3087    {
3088      $this->errors = $errors;
3089    }
3090    public function getErrors()
3091    {
3092      return $this->errors;
3093    }
3094    public function setKind($kind)
3095    {
3096      $this->kind = $kind;
3097    }
3098    public function getKind()
3099    {
3100      return $this->kind;
3101    }
3102  }
3103  
3104  #[AllowDynamicProperties]
3105  class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
3106  {
3107    protected $collection_key = 'items';
3108    protected $internal_gapi_mappings = array(
3109    );
3110    protected $itemsType = 'Google_Service_SQLAdmin_Operation';
3111    protected $itemsDataType = 'array';
3112    public $kind;
3113    public $nextPageToken;
3114  
3115  
3116    public function setItems($items)
3117    {
3118      $this->items = $items;
3119    }
3120    public function getItems()
3121    {
3122      return $this->items;
3123    }
3124    public function setKind($kind)
3125    {
3126      $this->kind = $kind;
3127    }
3128    public function getKind()
3129    {
3130      return $this->kind;
3131    }
3132    public function setNextPageToken($nextPageToken)
3133    {
3134      $this->nextPageToken = $nextPageToken;
3135    }
3136    public function getNextPageToken()
3137    {
3138      return $this->nextPageToken;
3139    }
3140  }
3141  
3142  #[AllowDynamicProperties]
3143  class Google_Service_SQLAdmin_ReplicaConfiguration extends Google_Model
3144  {
3145    protected $internal_gapi_mappings = array(
3146    );
3147    public $failoverTarget;
3148    public $kind;
3149    protected $mysqlReplicaConfigurationType = 'Google_Service_SQLAdmin_MySqlReplicaConfiguration';
3150    protected $mysqlReplicaConfigurationDataType = '';
3151  
3152  
3153    public function setFailoverTarget($failoverTarget)
3154    {
3155      $this->failoverTarget = $failoverTarget;
3156    }
3157    public function getFailoverTarget()
3158    {
3159      return $this->failoverTarget;
3160    }
3161    public function setKind($kind)
3162    {
3163      $this->kind = $kind;
3164    }
3165    public function getKind()
3166    {
3167      return $this->kind;
3168    }
3169    public function setMysqlReplicaConfiguration(Google_Service_SQLAdmin_MySqlReplicaConfiguration $mysqlReplicaConfiguration)
3170    {
3171      $this->mysqlReplicaConfiguration = $mysqlReplicaConfiguration;
3172    }
3173    public function getMysqlReplicaConfiguration()
3174    {
3175      return $this->mysqlReplicaConfiguration;
3176    }
3177  }
3178  
3179  #[AllowDynamicProperties]
3180  class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
3181  {
3182    protected $internal_gapi_mappings = array(
3183    );
3184    public $backupRunId;
3185    public $instanceId;
3186    public $kind;
3187  
3188  
3189    public function setBackupRunId($backupRunId)
3190    {
3191      $this->backupRunId = $backupRunId;
3192    }
3193    public function getBackupRunId()
3194    {
3195      return $this->backupRunId;
3196    }
3197    public function setInstanceId($instanceId)
3198    {
3199      $this->instanceId = $instanceId;
3200    }
3201    public function getInstanceId()
3202    {
3203      return $this->instanceId;
3204    }
3205    public function setKind($kind)
3206    {
3207      $this->kind = $kind;
3208    }
3209    public function getKind()
3210    {
3211      return $this->kind;
3212    }
3213  }
3214  
3215  #[AllowDynamicProperties]
3216  class Google_Service_SQLAdmin_Settings extends Google_Collection
3217  {
3218    protected $collection_key = 'databaseFlags';
3219    protected $internal_gapi_mappings = array(
3220    );
3221    public $activationPolicy;
3222    public $authorizedGaeApplications;
3223    protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
3224    protected $backupConfigurationDataType = '';
3225    public $crashSafeReplicationEnabled;
3226    public $dataDiskSizeGb;
3227    protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
3228    protected $databaseFlagsDataType = 'array';
3229    public $databaseReplicationEnabled;
3230    protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
3231    protected $ipConfigurationDataType = '';
3232    public $kind;
3233    protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference';
3234    protected $locationPreferenceDataType = '';
3235    public $pricingPlan;
3236    public $replicationType;
3237    public $settingsVersion;
3238    public $tier;
3239  
3240  
3241    public function setActivationPolicy($activationPolicy)
3242    {
3243      $this->activationPolicy = $activationPolicy;
3244    }
3245    public function getActivationPolicy()
3246    {
3247      return $this->activationPolicy;
3248    }
3249    public function setAuthorizedGaeApplications($authorizedGaeApplications)
3250    {
3251      $this->authorizedGaeApplications = $authorizedGaeApplications;
3252    }
3253    public function getAuthorizedGaeApplications()
3254    {
3255      return $this->authorizedGaeApplications;
3256    }
3257    public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration)
3258    {
3259      $this->backupConfiguration = $backupConfiguration;
3260    }
3261    public function getBackupConfiguration()
3262    {
3263      return $this->backupConfiguration;
3264    }
3265    public function setCrashSafeReplicationEnabled($crashSafeReplicationEnabled)
3266    {
3267      $this->crashSafeReplicationEnabled = $crashSafeReplicationEnabled;
3268    }
3269    public function getCrashSafeReplicationEnabled()
3270    {
3271      return $this->crashSafeReplicationEnabled;
3272    }
3273    public function setDataDiskSizeGb($dataDiskSizeGb)
3274    {
3275      $this->dataDiskSizeGb = $dataDiskSizeGb;
3276    }
3277    public function getDataDiskSizeGb()
3278    {
3279      return $this->dataDiskSizeGb;
3280    }
3281    public function setDatabaseFlags($databaseFlags)
3282    {
3283      $this->databaseFlags = $databaseFlags;
3284    }
3285    public function getDatabaseFlags()
3286    {
3287      return $this->databaseFlags;
3288    }
3289    public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
3290    {
3291      $this->databaseReplicationEnabled = $databaseReplicationEnabled;
3292    }
3293    public function getDatabaseReplicationEnabled()
3294    {
3295      return $this->databaseReplicationEnabled;
3296    }
3297    public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
3298    {
3299      $this->ipConfiguration = $ipConfiguration;
3300    }
3301    public function getIpConfiguration()
3302    {
3303      return $this->ipConfiguration;
3304    }
3305    public function setKind($kind)
3306    {
3307      $this->kind = $kind;
3308    }
3309    public function getKind()
3310    {
3311      return $this->kind;
3312    }
3313    public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference)
3314    {
3315      $this->locationPreference = $locationPreference;
3316    }
3317    public function getLocationPreference()
3318    {
3319      return $this->locationPreference;
3320    }
3321    public function setPricingPlan($pricingPlan)
3322    {
3323      $this->pricingPlan = $pricingPlan;
3324    }
3325    public function getPricingPlan()
3326    {
3327      return $this->pricingPlan;
3328    }
3329    public function setReplicationType($replicationType)
3330    {
3331      $this->replicationType = $replicationType;
3332    }
3333    public function getReplicationType()
3334    {
3335      return $this->replicationType;
3336    }
3337    public function setSettingsVersion($settingsVersion)
3338    {
3339      $this->settingsVersion = $settingsVersion;
3340    }
3341    public function getSettingsVersion()
3342    {
3343      return $this->settingsVersion;
3344    }
3345    public function setTier($tier)
3346    {
3347      $this->tier = $tier;
3348    }
3349    public function getTier()
3350    {
3351      return $this->tier;
3352    }
3353  }
3354  
3355  #[AllowDynamicProperties]
3356  class Google_Service_SQLAdmin_SslCert extends Google_Model
3357  {
3358    protected $internal_gapi_mappings = array(
3359    );
3360    public $cert;
3361    public $certSerialNumber;
3362    public $commonName;
3363    public $createTime;
3364    public $expirationTime;
3365    public $instance;
3366    public $kind;
3367    public $selfLink;
3368    public $sha1Fingerprint;
3369  
3370  
3371    public function setCert($cert)
3372    {
3373      $this->cert = $cert;
3374    }
3375    public function getCert()
3376    {
3377      return $this->cert;
3378    }
3379    public function setCertSerialNumber($certSerialNumber)
3380    {
3381      $this->certSerialNumber = $certSerialNumber;
3382    }
3383    public function getCertSerialNumber()
3384    {
3385      return $this->certSerialNumber;
3386    }
3387    public function setCommonName($commonName)
3388    {
3389      $this->commonName = $commonName;
3390    }
3391    public function getCommonName()
3392    {
3393      return $this->commonName;
3394    }
3395    public function setCreateTime($createTime)
3396    {
3397      $this->createTime = $createTime;
3398    }
3399    public function getCreateTime()
3400    {
3401      return $this->createTime;
3402    }
3403    public function setExpirationTime($expirationTime)
3404    {
3405      $this->expirationTime = $expirationTime;
3406    }
3407    public function getExpirationTime()
3408    {
3409      return $this->expirationTime;
3410    }
3411    public function setInstance($instance)
3412    {
3413      $this->instance = $instance;
3414    }
3415    public function getInstance()
3416    {
3417      return $this->instance;
3418    }
3419    public function setKind($kind)
3420    {
3421      $this->kind = $kind;
3422    }
3423    public function getKind()
3424    {
3425      return $this->kind;
3426    }
3427    public function setSelfLink($selfLink)
3428    {
3429      $this->selfLink = $selfLink;
3430    }
3431    public function getSelfLink()
3432    {
3433      return $this->selfLink;
3434    }
3435    public function setSha1Fingerprint($sha1Fingerprint)
3436    {
3437      $this->sha1Fingerprint = $sha1Fingerprint;
3438    }
3439    public function getSha1Fingerprint()
3440    {
3441      return $this->sha1Fingerprint;
3442    }
3443  }
3444  
3445  #[AllowDynamicProperties]
3446  class Google_Service_SQLAdmin_SslCertDetail extends Google_Model
3447  {
3448    protected $internal_gapi_mappings = array(
3449    );
3450    protected $certInfoType = 'Google_Service_SQLAdmin_SslCert';
3451    protected $certInfoDataType = '';
3452    public $certPrivateKey;
3453  
3454  
3455    public function setCertInfo(Google_Service_SQLAdmin_SslCert $certInfo)
3456    {
3457      $this->certInfo = $certInfo;
3458    }
3459    public function getCertInfo()
3460    {
3461      return $this->certInfo;
3462    }
3463    public function setCertPrivateKey($certPrivateKey)
3464    {
3465      $this->certPrivateKey = $certPrivateKey;
3466    }
3467    public function getCertPrivateKey()
3468    {
3469      return $this->certPrivateKey;
3470    }
3471  }
3472  
3473  #[AllowDynamicProperties]
3474  class Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest extends Google_Model
3475  {
3476    protected $internal_gapi_mappings = array(
3477          "publicKey" => "public_key",
3478    );
3479    public $publicKey;
3480  
3481  
3482    public function setPublicKey($publicKey)
3483    {
3484      $this->publicKey = $publicKey;
3485    }
3486    public function getPublicKey()
3487    {
3488      return $this->publicKey;
3489    }
3490  }
3491  
3492  #[AllowDynamicProperties]
3493  class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
3494  {
3495    protected $internal_gapi_mappings = array(
3496    );
3497    public $commonName;
3498  
3499  
3500    public function setCommonName($commonName)
3501    {
3502      $this->commonName = $commonName;
3503    }
3504    public function getCommonName()
3505    {
3506      return $this->commonName;
3507    }
3508  }
3509  
3510  #[AllowDynamicProperties]
3511  class Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model
3512  {
3513    protected $internal_gapi_mappings = array(
3514    );
3515    protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail';
3516    protected $clientCertDataType = '';
3517    public $kind;
3518    protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
3519    protected $serverCaCertDataType = '';
3520  
3521  
3522    public function setClientCert(Google_Service_SQLAdmin_SslCertDetail $clientCert)
3523    {
3524      $this->clientCert = $clientCert;
3525    }
3526    public function getClientCert()
3527    {
3528      return $this->clientCert;
3529    }
3530    public function setKind($kind)
3531    {
3532      $this->kind = $kind;
3533    }
3534    public function getKind()
3535    {
3536      return $this->kind;
3537    }
3538    public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
3539    {
3540      $this->serverCaCert = $serverCaCert;
3541    }
3542    public function getServerCaCert()
3543    {
3544      return $this->serverCaCert;
3545    }
3546  }
3547  
3548  #[AllowDynamicProperties]
3549  class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
3550  {
3551    protected $collection_key = 'items';
3552    protected $internal_gapi_mappings = array(
3553    );
3554    protected $itemsType = 'Google_Service_SQLAdmin_SslCert';
3555    protected $itemsDataType = 'array';
3556    public $kind;
3557  
3558  
3559    public function setItems($items)
3560    {
3561      $this->items = $items;
3562    }
3563    public function getItems()
3564    {
3565      return $this->items;
3566    }
3567    public function setKind($kind)
3568    {
3569      $this->kind = $kind;
3570    }
3571    public function getKind()
3572    {
3573      return $this->kind;
3574    }
3575  }
3576  
3577  #[AllowDynamicProperties]
3578  class Google_Service_SQLAdmin_Tier extends Google_Collection
3579  {
3580    protected $collection_key = 'region';
3581    protected $internal_gapi_mappings = array(
3582          "diskQuota" => "DiskQuota",
3583          "rAM" => "RAM",
3584    );
3585    public $diskQuota;
3586    public $rAM;
3587    public $kind;
3588    public $region;
3589    public $tier;
3590  
3591  
3592    public function setDiskQuota($diskQuota)
3593    {
3594      $this->diskQuota = $diskQuota;
3595    }
3596    public function getDiskQuota()
3597    {
3598      return $this->diskQuota;
3599    }
3600    public function setRAM($rAM)
3601    {
3602      $this->rAM = $rAM;
3603    }
3604    public function getRAM()
3605    {
3606      return $this->rAM;
3607    }
3608    public function setKind($kind)
3609    {
3610      $this->kind = $kind;
3611    }
3612    public function getKind()
3613    {
3614      return $this->kind;
3615    }
3616    public function setRegion($region)
3617    {
3618      $this->region = $region;
3619    }
3620    public function getRegion()
3621    {
3622      return $this->region;
3623    }
3624    public function setTier($tier)
3625    {
3626      $this->tier = $tier;
3627    }
3628    public function getTier()
3629    {
3630      return $this->tier;
3631    }
3632  }
3633  
3634  #[AllowDynamicProperties]
3635  class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
3636  {
3637    protected $collection_key = 'items';
3638    protected $internal_gapi_mappings = array(
3639    );
3640    protected $itemsType = 'Google_Service_SQLAdmin_Tier';
3641    protected $itemsDataType = 'array';
3642    public $kind;
3643  
3644  
3645    public function setItems($items)
3646    {
3647      $this->items = $items;
3648    }
3649    public function getItems()
3650    {
3651      return $this->items;
3652    }
3653    public function setKind($kind)
3654    {
3655      $this->kind = $kind;
3656    }
3657    public function getKind()
3658    {
3659      return $this->kind;
3660    }
3661  }
3662  
3663  #[AllowDynamicProperties]
3664  class Google_Service_SQLAdmin_User extends Google_Model
3665  {
3666    protected $internal_gapi_mappings = array(
3667    );
3668    public $etag;
3669    public $host;
3670    public $instance;
3671    public $kind;
3672    public $name;
3673    public $password;
3674    public $project;
3675  
3676  
3677    public function setEtag($etag)
3678    {
3679      $this->etag = $etag;
3680    }
3681    public function getEtag()
3682    {
3683      return $this->etag;
3684    }
3685    public function setHost($host)
3686    {
3687      $this->host = $host;
3688    }
3689    public function getHost()
3690    {
3691      return $this->host;
3692    }
3693    public function setInstance($instance)
3694    {
3695      $this->instance = $instance;
3696    }
3697    public function getInstance()
3698    {
3699      return $this->instance;
3700    }
3701    public function setKind($kind)
3702    {
3703      $this->kind = $kind;
3704    }
3705    public function getKind()
3706    {
3707      return $this->kind;
3708    }
3709    public function setName($name)
3710    {
3711      $this->name = $name;
3712    }
3713    public function getName()
3714    {
3715      return $this->name;
3716    }
3717    public function setPassword($password)
3718    {
3719      $this->password = $password;
3720    }
3721    public function getPassword()
3722    {
3723      return $this->password;
3724    }
3725    public function setProject($project)
3726    {
3727      $this->project = $project;
3728    }
3729    public function getProject()
3730    {
3731      return $this->project;
3732    }
3733  }
3734  
3735  #[AllowDynamicProperties]
3736  class Google_Service_SQLAdmin_UsersListResponse extends Google_Collection
3737  {
3738    protected $collection_key = 'items';
3739    protected $internal_gapi_mappings = array(
3740    );
3741    protected $itemsType = 'Google_Service_SQLAdmin_User';
3742    protected $itemsDataType = 'array';
3743    public $kind;
3744    public $nextPageToken;
3745  
3746  
3747    public function setItems($items)
3748    {
3749      $this->items = $items;
3750    }
3751    public function getItems()
3752    {
3753      return $this->items;
3754    }
3755    public function setKind($kind)
3756    {
3757      $this->kind = $kind;
3758    }
3759    public function getKind()
3760    {
3761      return $this->kind;
3762    }
3763    public function setNextPageToken($nextPageToken)
3764    {
3765      $this->nextPageToken = $nextPageToken;
3766    }
3767    public function getNextPageToken()
3768    {
3769      return $this->nextPageToken;
3770    }
3771  }