PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / Dns.php

Dns.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/Dns.php

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