Search moodle.org's
Developer Documentation

See Release Notes

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

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

   1  <?php
   2  /*
   3   * Copyright 2010 Google Inc.
   4   *
   5   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   6   * use this file except in compliance with the License. You may obtain a copy of
   7   * the License at
   8   *
   9   * http://www.apache.org/licenses/LICENSE-2.0
  10   *
  11   * Unless required by applicable law or agreed to in writing, software
  12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14   * License for the specific language governing permissions and limitations under
  15   * the License.
  16   */
  17  
  18  /**
  19   * Service definition for Dns (v1).
  20   *
  21   * <p>
  22   * The Google Cloud DNS API provides services for configuring and serving
  23   * authoritative DNS records.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/cloud-dns" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  #[AllowDynamicProperties]
  33  class Google_Service_Dns extends Google_Service
  34  {
  35    /** View and manage your data across Google Cloud Platform services. */
  36    const CLOUD_PLATFORM =
  37        "https://www.googleapis.com/auth/cloud-platform";
  38    /** View your data across Google Cloud Platform services. */
  39    const CLOUD_PLATFORM_READ_ONLY =
  40        "https://www.googleapis.com/auth/cloud-platform.read-only";
  41    /** View your DNS records hosted by Google Cloud DNS. */
  42    const NDEV_CLOUDDNS_READONLY =
  43        "https://www.googleapis.com/auth/ndev.clouddns.readonly";
  44    /** View and manage your DNS records hosted by Google Cloud DNS. */
  45    const NDEV_CLOUDDNS_READWRITE =
  46        "https://www.googleapis.com/auth/ndev.clouddns.readwrite";
  47  
  48    public $changes;
  49    public $managedZones;
  50    public $projects;
  51    public $resourceRecordSets;
  52    
  53  
  54    /**
  55     * Constructs the internal representation of the Dns service.
  56     *
  57     * @param Google_Client $client
  58     */
  59    public function __construct(Google_Client $client)
  60    {
  61      parent::__construct($client);
  62      $this->rootUrl = 'https://www.googleapis.com/';
  63      $this->servicePath = 'dns/v1/projects/';
  64      $this->version = 'v1';
  65      $this->serviceName = 'dns';
  66  
  67      $this->changes = new Google_Service_Dns_Changes_Resource(
  68          $this,
  69          $this->serviceName,
  70          'changes',
  71          array(
  72            'methods' => array(
  73              'create' => array(
  74                'path' => '{project}/managedZones/{managedZone}/changes',
  75                'httpMethod' => 'POST',
  76                'parameters' => array(
  77                  'project' => array(
  78                    'location' => 'path',
  79                    'type' => 'string',
  80                    'required' => true,
  81                  ),
  82                  'managedZone' => array(
  83                    'location' => 'path',
  84                    'type' => 'string',
  85                    'required' => true,
  86                  ),
  87                ),
  88              ),'get' => array(
  89                'path' => '{project}/managedZones/{managedZone}/changes/{changeId}',
  90                'httpMethod' => 'GET',
  91                'parameters' => array(
  92                  'project' => array(
  93                    'location' => 'path',
  94                    'type' => 'string',
  95                    'required' => true,
  96                  ),
  97                  'managedZone' => array(
  98                    'location' => 'path',
  99                    'type' => 'string',
 100                    'required' => true,
 101                  ),
 102                  'changeId' => array(
 103                    'location' => 'path',
 104                    'type' => 'string',
 105                    'required' => true,
 106                  ),
 107                ),
 108              ),'list' => array(
 109                'path' => '{project}/managedZones/{managedZone}/changes',
 110                'httpMethod' => 'GET',
 111                'parameters' => array(
 112                  'project' => array(
 113                    'location' => 'path',
 114                    'type' => 'string',
 115                    'required' => true,
 116                  ),
 117                  'managedZone' => array(
 118                    'location' => 'path',
 119                    'type' => 'string',
 120                    'required' => true,
 121                  ),
 122                  'maxResults' => array(
 123                    'location' => 'query',
 124                    'type' => 'integer',
 125                  ),
 126                  'pageToken' => array(
 127                    'location' => 'query',
 128                    'type' => 'string',
 129                  ),
 130                  'sortBy' => array(
 131                    'location' => 'query',
 132                    'type' => 'string',
 133                  ),
 134                  'sortOrder' => array(
 135                    'location' => 'query',
 136                    'type' => 'string',
 137                  ),
 138                ),
 139              ),
 140            )
 141          )
 142      );
 143      $this->managedZones = new Google_Service_Dns_ManagedZones_Resource(
 144          $this,
 145          $this->serviceName,
 146          'managedZones',
 147          array(
 148            'methods' => array(
 149              'create' => array(
 150                'path' => '{project}/managedZones',
 151                'httpMethod' => 'POST',
 152                'parameters' => array(
 153                  'project' => array(
 154                    'location' => 'path',
 155                    'type' => 'string',
 156                    'required' => true,
 157                  ),
 158                ),
 159              ),'delete' => array(
 160                'path' => '{project}/managedZones/{managedZone}',
 161                'httpMethod' => 'DELETE',
 162                'parameters' => array(
 163                  'project' => array(
 164                    'location' => 'path',
 165                    'type' => 'string',
 166                    'required' => true,
 167                  ),
 168                  'managedZone' => array(
 169                    'location' => 'path',
 170                    'type' => 'string',
 171                    'required' => true,
 172                  ),
 173                ),
 174              ),'get' => array(
 175                'path' => '{project}/managedZones/{managedZone}',
 176                'httpMethod' => 'GET',
 177                'parameters' => array(
 178                  'project' => array(
 179                    'location' => 'path',
 180                    'type' => 'string',
 181                    'required' => true,
 182                  ),
 183                  'managedZone' => array(
 184                    'location' => 'path',
 185                    'type' => 'string',
 186                    'required' => true,
 187                  ),
 188                ),
 189              ),'list' => array(
 190                'path' => '{project}/managedZones',
 191                'httpMethod' => 'GET',
 192                'parameters' => array(
 193                  'project' => array(
 194                    'location' => 'path',
 195                    'type' => 'string',
 196                    'required' => true,
 197                  ),
 198                  'pageToken' => array(
 199                    'location' => 'query',
 200                    'type' => 'string',
 201                  ),
 202                  'dnsName' => array(
 203                    'location' => 'query',
 204                    'type' => 'string',
 205                  ),
 206                  'maxResults' => array(
 207                    'location' => 'query',
 208                    'type' => 'integer',
 209                  ),
 210                ),
 211              ),
 212            )
 213          )
 214      );
 215      $this->projects = new Google_Service_Dns_Projects_Resource(
 216          $this,
 217          $this->serviceName,
 218          'projects',
 219          array(
 220            'methods' => array(
 221              'get' => array(
 222                'path' => '{project}',
 223                'httpMethod' => 'GET',
 224                'parameters' => array(
 225                  'project' => array(
 226                    'location' => 'path',
 227                    'type' => 'string',
 228                    'required' => true,
 229                  ),
 230                ),
 231              ),
 232            )
 233          )
 234      );
 235      $this->resourceRecordSets = new Google_Service_Dns_ResourceRecordSets_Resource(
 236          $this,
 237          $this->serviceName,
 238          'resourceRecordSets',
 239          array(
 240            'methods' => array(
 241              'list' => array(
 242                'path' => '{project}/managedZones/{managedZone}/rrsets',
 243                'httpMethod' => 'GET',
 244                'parameters' => array(
 245                  'project' => array(
 246                    'location' => 'path',
 247                    'type' => 'string',
 248                    'required' => true,
 249                  ),
 250                  'managedZone' => array(
 251                    'location' => 'path',
 252                    'type' => 'string',
 253                    'required' => true,
 254                  ),
 255                  'name' => array(
 256                    'location' => 'query',
 257                    'type' => 'string',
 258                  ),
 259                  'maxResults' => array(
 260                    'location' => 'query',
 261                    'type' => 'integer',
 262                  ),
 263                  'pageToken' => array(
 264                    'location' => 'query',
 265                    'type' => 'string',
 266                  ),
 267                  'type' => array(
 268                    'location' => 'query',
 269                    'type' => 'string',
 270                  ),
 271                ),
 272              ),
 273            )
 274          )
 275      );
 276    }
 277  }
 278  
 279  
 280  /**
 281   * The "changes" collection of methods.
 282   * Typical usage is:
 283   *  <code>
 284   *   $dnsService = new Google_Service_Dns(...);
 285   *   $changes = $dnsService->changes;
 286   *  </code>
 287   */
 288  #[AllowDynamicProperties]
 289  class Google_Service_Dns_Changes_Resource extends Google_Service_Resource
 290  {
 291  
 292    /**
 293     * Atomically update the ResourceRecordSet collection. (changes.create)
 294     *
 295     * @param string $project Identifies the project addressed by this request.
 296     * @param string $managedZone Identifies the managed zone addressed by this
 297     * request. Can be the managed zone name or id.
 298     * @param Google_Change $postBody
 299     * @param array $optParams Optional parameters.
 300     * @return Google_Service_Dns_Change
 301     */
 302    public function create($project, $managedZone, Google_Service_Dns_Change $postBody, $optParams = array())
 303    {
 304      $params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody);
 305      $params = array_merge($params, $optParams);
 306      return $this->call('create', array($params), "Google_Service_Dns_Change");
 307    }
 308  
 309    /**
 310     * Fetch the representation of an existing Change. (changes.get)
 311     *
 312     * @param string $project Identifies the project addressed by this request.
 313     * @param string $managedZone Identifies the managed zone addressed by this
 314     * request. Can be the managed zone name or id.
 315     * @param string $changeId The identifier of the requested change, from a
 316     * previous ResourceRecordSetsChangeResponse.
 317     * @param array $optParams Optional parameters.
 318     * @return Google_Service_Dns_Change
 319     */
 320    public function get($project, $managedZone, $changeId, $optParams = array())
 321    {
 322      $params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId);
 323      $params = array_merge($params, $optParams);
 324      return $this->call('get', array($params), "Google_Service_Dns_Change");
 325    }
 326  
 327    /**
 328     * Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges)
 329     *
 330     * @param string $project Identifies the project addressed by this request.
 331     * @param string $managedZone Identifies the managed zone addressed by this
 332     * request. Can be the managed zone name or id.
 333     * @param array $optParams Optional parameters.
 334     *
 335     * @opt_param int maxResults Optional. Maximum number of results to be returned.
 336     * If unspecified, the server will decide how many results to return.
 337     * @opt_param string pageToken Optional. A tag returned by a previous list
 338     * request that was truncated. Use this parameter to continue a previous list
 339     * request.
 340     * @opt_param string sortBy Sorting criterion. The only supported value is
 341     * change sequence.
 342     * @opt_param string sortOrder Sorting order direction: 'ascending' or
 343     * 'descending'.
 344     * @return Google_Service_Dns_ChangesListResponse
 345     */
 346    public function listChanges($project, $managedZone, $optParams = array())
 347    {
 348      $params = array('project' => $project, 'managedZone' => $managedZone);
 349      $params = array_merge($params, $optParams);
 350      return $this->call('list', array($params), "Google_Service_Dns_ChangesListResponse");
 351    }
 352  }
 353  
 354  /**
 355   * The "managedZones" collection of methods.
 356   * Typical usage is:
 357   *  <code>
 358   *   $dnsService = new Google_Service_Dns(...);
 359   *   $managedZones = $dnsService->managedZones;
 360   *  </code>
 361   */
 362  #[AllowDynamicProperties]
 363  class Google_Service_Dns_ManagedZones_Resource extends Google_Service_Resource
 364  {
 365  
 366    /**
 367     * Create a new ManagedZone. (managedZones.create)
 368     *
 369     * @param string $project Identifies the project addressed by this request.
 370     * @param Google_ManagedZone $postBody
 371     * @param array $optParams Optional parameters.
 372     * @return Google_Service_Dns_ManagedZone
 373     */
 374    public function create($project, Google_Service_Dns_ManagedZone $postBody, $optParams = array())
 375    {
 376      $params = array('project' => $project, 'postBody' => $postBody);
 377      $params = array_merge($params, $optParams);
 378      return $this->call('create', array($params), "Google_Service_Dns_ManagedZone");
 379    }
 380  
 381    /**
 382     * Delete a previously created ManagedZone. (managedZones.delete)
 383     *
 384     * @param string $project Identifies the project addressed by this request.
 385     * @param string $managedZone Identifies the managed zone addressed by this
 386     * request. Can be the managed zone name or id.
 387     * @param array $optParams Optional parameters.
 388     */
 389    public function delete($project, $managedZone, $optParams = array())
 390    {
 391      $params = array('project' => $project, 'managedZone' => $managedZone);
 392      $params = array_merge($params, $optParams);
 393      return $this->call('delete', array($params));
 394    }
 395  
 396    /**
 397     * Fetch the representation of an existing ManagedZone. (managedZones.get)
 398     *
 399     * @param string $project Identifies the project addressed by this request.
 400     * @param string $managedZone Identifies the managed zone addressed by this
 401     * request. Can be the managed zone name or id.
 402     * @param array $optParams Optional parameters.
 403     * @return Google_Service_Dns_ManagedZone
 404     */
 405    public function get($project, $managedZone, $optParams = array())
 406    {
 407      $params = array('project' => $project, 'managedZone' => $managedZone);
 408      $params = array_merge($params, $optParams);
 409      return $this->call('get', array($params), "Google_Service_Dns_ManagedZone");
 410    }
 411  
 412    /**
 413     * Enumerate ManagedZones that have been created but not yet deleted.
 414     * (managedZones.listManagedZones)
 415     *
 416     * @param string $project Identifies the project addressed by this request.
 417     * @param array $optParams Optional parameters.
 418     *
 419     * @opt_param string pageToken Optional. A tag returned by a previous list
 420     * request that was truncated. Use this parameter to continue a previous list
 421     * request.
 422     * @opt_param string dnsName Restricts the list to return only zones with this
 423     * domain name.
 424     * @opt_param int maxResults Optional. Maximum number of results to be returned.
 425     * If unspecified, the server will decide how many results to return.
 426     * @return Google_Service_Dns_ManagedZonesListResponse
 427     */
 428    public function listManagedZones($project, $optParams = array())
 429    {
 430      $params = array('project' => $project);
 431      $params = array_merge($params, $optParams);
 432      return $this->call('list', array($params), "Google_Service_Dns_ManagedZonesListResponse");
 433    }
 434  }
 435  
 436  /**
 437   * The "projects" collection of methods.
 438   * Typical usage is:
 439   *  <code>
 440   *   $dnsService = new Google_Service_Dns(...);
 441   *   $projects = $dnsService->projects;
 442   *  </code>
 443   */
 444  #[AllowDynamicProperties]
 445  class Google_Service_Dns_Projects_Resource extends Google_Service_Resource
 446  {
 447  
 448    /**
 449     * Fetch the representation of an existing Project. (projects.get)
 450     *
 451     * @param string $project Identifies the project addressed by this request.
 452     * @param array $optParams Optional parameters.
 453     * @return Google_Service_Dns_Project
 454     */
 455    public function get($project, $optParams = array())
 456    {
 457      $params = array('project' => $project);
 458      $params = array_merge($params, $optParams);
 459      return $this->call('get', array($params), "Google_Service_Dns_Project");
 460    }
 461  }
 462  
 463  /**
 464   * The "resourceRecordSets" collection of methods.
 465   * Typical usage is:
 466   *  <code>
 467   *   $dnsService = new Google_Service_Dns(...);
 468   *   $resourceRecordSets = $dnsService->resourceRecordSets;
 469   *  </code>
 470   */
 471  #[AllowDynamicProperties]
 472  class Google_Service_Dns_ResourceRecordSets_Resource extends Google_Service_Resource
 473  {
 474  
 475    /**
 476     * Enumerate ResourceRecordSets that have been created but not yet deleted.
 477     * (resourceRecordSets.listResourceRecordSets)
 478     *
 479     * @param string $project Identifies the project addressed by this request.
 480     * @param string $managedZone Identifies the managed zone addressed by this
 481     * request. Can be the managed zone name or id.
 482     * @param array $optParams Optional parameters.
 483     *
 484     * @opt_param string name Restricts the list to return only records with this
 485     * fully qualified domain name.
 486     * @opt_param int maxResults Optional. Maximum number of results to be returned.
 487     * If unspecified, the server will decide how many results to return.
 488     * @opt_param string pageToken Optional. A tag returned by a previous list
 489     * request that was truncated. Use this parameter to continue a previous list
 490     * request.
 491     * @opt_param string type Restricts the list to return only records of this
 492     * type. If present, the "name" parameter must also be present.
 493     * @return Google_Service_Dns_ResourceRecordSetsListResponse
 494     */
 495    public function listResourceRecordSets($project, $managedZone, $optParams = array())
 496    {
 497      $params = array('project' => $project, 'managedZone' => $managedZone);
 498      $params = array_merge($params, $optParams);
 499      return $this->call('list', array($params), "Google_Service_Dns_ResourceRecordSetsListResponse");
 500    }
 501  }
 502  
 503  
 504  
 505  
 506  #[AllowDynamicProperties]
 507  class Google_Service_Dns_Change extends Google_Collection
 508  {
 509    protected $collection_key = 'deletions';
 510    protected $internal_gapi_mappings = array(
 511    );
 512    protected $additionsType = 'Google_Service_Dns_ResourceRecordSet';
 513    protected $additionsDataType = 'array';
 514    protected $deletionsType = 'Google_Service_Dns_ResourceRecordSet';
 515    protected $deletionsDataType = 'array';
 516    public $id;
 517    public $kind;
 518    public $startTime;
 519    public $status;
 520  
 521  
 522    public function setAdditions($additions)
 523    {
 524      $this->additions = $additions;
 525    }
 526    public function getAdditions()
 527    {
 528      return $this->additions;
 529    }
 530    public function setDeletions($deletions)
 531    {
 532      $this->deletions = $deletions;
 533    }
 534    public function getDeletions()
 535    {
 536      return $this->deletions;
 537    }
 538    public function setId($id)
 539    {
 540      $this->id = $id;
 541    }
 542    public function getId()
 543    {
 544      return $this->id;
 545    }
 546    public function setKind($kind)
 547    {
 548      $this->kind = $kind;
 549    }
 550    public function getKind()
 551    {
 552      return $this->kind;
 553    }
 554    public function setStartTime($startTime)
 555    {
 556      $this->startTime = $startTime;
 557    }
 558    public function getStartTime()
 559    {
 560      return $this->startTime;
 561    }
 562    public function setStatus($status)
 563    {
 564      $this->status = $status;
 565    }
 566    public function getStatus()
 567    {
 568      return $this->status;
 569    }
 570  }
 571  
 572  #[AllowDynamicProperties]
 573  class Google_Service_Dns_ChangesListResponse extends Google_Collection
 574  {
 575    protected $collection_key = 'changes';
 576    protected $internal_gapi_mappings = array(
 577    );
 578    protected $changesType = 'Google_Service_Dns_Change';
 579    protected $changesDataType = 'array';
 580    public $kind;
 581    public $nextPageToken;
 582  
 583  
 584    public function setChanges($changes)
 585    {
 586      $this->changes = $changes;
 587    }
 588    public function getChanges()
 589    {
 590      return $this->changes;
 591    }
 592    public function setKind($kind)
 593    {
 594      $this->kind = $kind;
 595    }
 596    public function getKind()
 597    {
 598      return $this->kind;
 599    }
 600    public function setNextPageToken($nextPageToken)
 601    {
 602      $this->nextPageToken = $nextPageToken;
 603    }
 604    public function getNextPageToken()
 605    {
 606      return $this->nextPageToken;
 607    }
 608  }
 609  
 610  #[AllowDynamicProperties]
 611  class Google_Service_Dns_ManagedZone extends Google_Collection
 612  {
 613    protected $collection_key = 'nameServers';
 614    protected $internal_gapi_mappings = array(
 615    );
 616    public $creationTime;
 617    public $description;
 618    public $dnsName;
 619    public $id;
 620    public $kind;
 621    public $name;
 622    public $nameServerSet;
 623    public $nameServers;
 624  
 625  
 626    public function setCreationTime($creationTime)
 627    {
 628      $this->creationTime = $creationTime;
 629    }
 630    public function getCreationTime()
 631    {
 632      return $this->creationTime;
 633    }
 634    public function setDescription($description)
 635    {
 636      $this->description = $description;
 637    }
 638    public function getDescription()
 639    {
 640      return $this->description;
 641    }
 642    public function setDnsName($dnsName)
 643    {
 644      $this->dnsName = $dnsName;
 645    }
 646    public function getDnsName()
 647    {
 648      return $this->dnsName;
 649    }
 650    public function setId($id)
 651    {
 652      $this->id = $id;
 653    }
 654    public function getId()
 655    {
 656      return $this->id;
 657    }
 658    public function setKind($kind)
 659    {
 660      $this->kind = $kind;
 661    }
 662    public function getKind()
 663    {
 664      return $this->kind;
 665    }
 666    public function setName($name)
 667    {
 668      $this->name = $name;
 669    }
 670    public function getName()
 671    {
 672      return $this->name;
 673    }
 674    public function setNameServerSet($nameServerSet)
 675    {
 676      $this->nameServerSet = $nameServerSet;
 677    }
 678    public function getNameServerSet()
 679    {
 680      return $this->nameServerSet;
 681    }
 682    public function setNameServers($nameServers)
 683    {
 684      $this->nameServers = $nameServers;
 685    }
 686    public function getNameServers()
 687    {
 688      return $this->nameServers;
 689    }
 690  }
 691  
 692  #[AllowDynamicProperties]
 693  class Google_Service_Dns_ManagedZonesListResponse extends Google_Collection
 694  {
 695    protected $collection_key = 'managedZones';
 696    protected $internal_gapi_mappings = array(
 697    );
 698    public $kind;
 699    protected $managedZonesType = 'Google_Service_Dns_ManagedZone';
 700    protected $managedZonesDataType = 'array';
 701    public $nextPageToken;
 702  
 703  
 704    public function setKind($kind)
 705    {
 706      $this->kind = $kind;
 707    }
 708    public function getKind()
 709    {
 710      return $this->kind;
 711    }
 712    public function setManagedZones($managedZones)
 713    {
 714      $this->managedZones = $managedZones;
 715    }
 716    public function getManagedZones()
 717    {
 718      return $this->managedZones;
 719    }
 720    public function setNextPageToken($nextPageToken)
 721    {
 722      $this->nextPageToken = $nextPageToken;
 723    }
 724    public function getNextPageToken()
 725    {
 726      return $this->nextPageToken;
 727    }
 728  }
 729  
 730  #[AllowDynamicProperties]
 731  class Google_Service_Dns_Project extends Google_Model
 732  {
 733    protected $internal_gapi_mappings = array(
 734    );
 735    public $id;
 736    public $kind;
 737    public $number;
 738    protected $quotaType = 'Google_Service_Dns_Quota';
 739    protected $quotaDataType = '';
 740  
 741  
 742    public function setId($id)
 743    {
 744      $this->id = $id;
 745    }
 746    public function getId()
 747    {
 748      return $this->id;
 749    }
 750    public function setKind($kind)
 751    {
 752      $this->kind = $kind;
 753    }
 754    public function getKind()
 755    {
 756      return $this->kind;
 757    }
 758    public function setNumber($number)
 759    {
 760      $this->number = $number;
 761    }
 762    public function getNumber()
 763    {
 764      return $this->number;
 765    }
 766    public function setQuota(Google_Service_Dns_Quota $quota)
 767    {
 768      $this->quota = $quota;
 769    }
 770    public function getQuota()
 771    {
 772      return $this->quota;
 773    }
 774  }
 775  
 776  #[AllowDynamicProperties]
 777  class Google_Service_Dns_Quota extends Google_Model
 778  {
 779    protected $internal_gapi_mappings = array(
 780    );
 781    public $kind;
 782    public $managedZones;
 783    public $resourceRecordsPerRrset;
 784    public $rrsetAdditionsPerChange;
 785    public $rrsetDeletionsPerChange;
 786    public $rrsetsPerManagedZone;
 787    public $totalRrdataSizePerChange;
 788  
 789  
 790    public function setKind($kind)
 791    {
 792      $this->kind = $kind;
 793    }
 794    public function getKind()
 795    {
 796      return $this->kind;
 797    }
 798    public function setManagedZones($managedZones)
 799    {
 800      $this->managedZones = $managedZones;
 801    }
 802    public function getManagedZones()
 803    {
 804      return $this->managedZones;
 805    }
 806    public function setResourceRecordsPerRrset($resourceRecordsPerRrset)
 807    {
 808      $this->resourceRecordsPerRrset = $resourceRecordsPerRrset;
 809    }
 810    public function getResourceRecordsPerRrset()
 811    {
 812      return $this->resourceRecordsPerRrset;
 813    }
 814    public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange)
 815    {
 816      $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange;
 817    }
 818    public function getRrsetAdditionsPerChange()
 819    {
 820      return $this->rrsetAdditionsPerChange;
 821    }
 822    public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange)
 823    {
 824      $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange;
 825    }
 826    public function getRrsetDeletionsPerChange()
 827    {
 828      return $this->rrsetDeletionsPerChange;
 829    }
 830    public function setRrsetsPerManagedZone($rrsetsPerManagedZone)
 831    {
 832      $this->rrsetsPerManagedZone = $rrsetsPerManagedZone;
 833    }
 834    public function getRrsetsPerManagedZone()
 835    {
 836      return $this->rrsetsPerManagedZone;
 837    }
 838    public function setTotalRrdataSizePerChange($totalRrdataSizePerChange)
 839    {
 840      $this->totalRrdataSizePerChange = $totalRrdataSizePerChange;
 841    }
 842    public function getTotalRrdataSizePerChange()
 843    {
 844      return $this->totalRrdataSizePerChange;
 845    }
 846  }
 847  
 848  #[AllowDynamicProperties]
 849  class Google_Service_Dns_ResourceRecordSet extends Google_Collection
 850  {
 851    protected $collection_key = 'rrdatas';
 852    protected $internal_gapi_mappings = array(
 853    );
 854    public $kind;
 855    public $name;
 856    public $rrdatas;
 857    public $ttl;
 858    public $type;
 859  
 860  
 861    public function setKind($kind)
 862    {
 863      $this->kind = $kind;
 864    }
 865    public function getKind()
 866    {
 867      return $this->kind;
 868    }
 869    public function setName($name)
 870    {
 871      $this->name = $name;
 872    }
 873    public function getName()
 874    {
 875      return $this->name;
 876    }
 877    public function setRrdatas($rrdatas)
 878    {
 879      $this->rrdatas = $rrdatas;
 880    }
 881    public function getRrdatas()
 882    {
 883      return $this->rrdatas;
 884    }
 885    public function setTtl($ttl)
 886    {
 887      $this->ttl = $ttl;
 888    }
 889    public function getTtl()
 890    {
 891      return $this->ttl;
 892    }
 893    public function setType($type)
 894    {
 895      $this->type = $type;
 896    }
 897    public function getType()
 898    {
 899      return $this->type;
 900    }
 901  }
 902  
 903  #[AllowDynamicProperties]
 904  class Google_Service_Dns_ResourceRecordSetsListResponse extends Google_Collection
 905  {
 906    protected $collection_key = 'rrsets';
 907    protected $internal_gapi_mappings = array(
 908    );
 909    public $kind;
 910    public $nextPageToken;
 911    protected $rrsetsType = 'Google_Service_Dns_ResourceRecordSet';
 912    protected $rrsetsDataType = 'array';
 913  
 914  
 915    public function setKind($kind)
 916    {
 917      $this->kind = $kind;
 918    }
 919    public function getKind()
 920    {
 921      return $this->kind;
 922    }
 923    public function setNextPageToken($nextPageToken)
 924    {
 925      $this->nextPageToken = $nextPageToken;
 926    }
 927    public function getNextPageToken()
 928    {
 929      return $this->nextPageToken;
 930    }
 931    public function setRrsets($rrsets)
 932    {
 933      $this->rrsets = $rrsets;
 934    }
 935    public function getRrsets()
 936    {
 937      return $this->rrsets;
 938    }
 939  }