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