source: vendor/google/apiclient-services/src/Dns.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 32.8 KB
Line 
1<?php
2/*
3 * Copyright 2014 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
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for Dns (v1).
24 *
25 * <p>
26</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/dns/docs" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Dns extends \Google\Service
36{
37 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38 const CLOUD_PLATFORM =
39 "https://www.googleapis.com/auth/cloud-platform";
40 /** View your data across Google Cloud services and see the email address of your Google Account. */
41 const CLOUD_PLATFORM_READ_ONLY =
42 "https://www.googleapis.com/auth/cloud-platform.read-only";
43 /** View your DNS records hosted by Google Cloud DNS. */
44 const NDEV_CLOUDDNS_READONLY =
45 "https://www.googleapis.com/auth/ndev.clouddns.readonly";
46 /** View and manage your DNS records hosted by Google Cloud DNS. */
47 const NDEV_CLOUDDNS_READWRITE =
48 "https://www.googleapis.com/auth/ndev.clouddns.readwrite";
49
50 public $changes;
51 public $dnsKeys;
52 public $managedZoneOperations;
53 public $managedZones;
54 public $policies;
55 public $projects;
56 public $resourceRecordSets;
57 public $responsePolicies;
58 public $responsePolicyRules;
59 public $rootUrlTemplate;
60
61 /**
62 * Constructs the internal representation of the Dns service.
63 *
64 * @param Client|array $clientOrConfig The client used to deliver requests, or a
65 * config array to pass to a new Client instance.
66 * @param string $rootUrl The root URL used for requests to the service.
67 */
68 public function __construct($clientOrConfig = [], $rootUrl = null)
69 {
70 parent::__construct($clientOrConfig);
71 $this->rootUrl = $rootUrl ?: 'https://dns.googleapis.com/';
72 $this->rootUrlTemplate = $rootUrl ?: 'https://dns.UNIVERSE_DOMAIN/';
73 $this->servicePath = '';
74 $this->batchPath = 'batch';
75 $this->version = 'v1';
76 $this->serviceName = 'dns';
77
78 $this->changes = new Dns\Resource\Changes(
79 $this,
80 $this->serviceName,
81 'changes',
82 [
83 'methods' => [
84 'create' => [
85 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/changes',
86 'httpMethod' => 'POST',
87 'parameters' => [
88 'project' => [
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ],
93 'managedZone' => [
94 'location' => 'path',
95 'type' => 'string',
96 'required' => true,
97 ],
98 'clientOperationId' => [
99 'location' => 'query',
100 'type' => 'string',
101 ],
102 ],
103 ],'get' => [
104 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/changes/{changeId}',
105 'httpMethod' => 'GET',
106 'parameters' => [
107 'project' => [
108 'location' => 'path',
109 'type' => 'string',
110 'required' => true,
111 ],
112 'managedZone' => [
113 'location' => 'path',
114 'type' => 'string',
115 'required' => true,
116 ],
117 'changeId' => [
118 'location' => 'path',
119 'type' => 'string',
120 'required' => true,
121 ],
122 'clientOperationId' => [
123 'location' => 'query',
124 'type' => 'string',
125 ],
126 ],
127 ],'list' => [
128 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/changes',
129 'httpMethod' => 'GET',
130 'parameters' => [
131 'project' => [
132 'location' => 'path',
133 'type' => 'string',
134 'required' => true,
135 ],
136 'managedZone' => [
137 'location' => 'path',
138 'type' => 'string',
139 'required' => true,
140 ],
141 'maxResults' => [
142 'location' => 'query',
143 'type' => 'integer',
144 ],
145 'pageToken' => [
146 'location' => 'query',
147 'type' => 'string',
148 ],
149 'sortBy' => [
150 'location' => 'query',
151 'type' => 'string',
152 ],
153 'sortOrder' => [
154 'location' => 'query',
155 'type' => 'string',
156 ],
157 ],
158 ],
159 ]
160 ]
161 );
162 $this->dnsKeys = new Dns\Resource\DnsKeys(
163 $this,
164 $this->serviceName,
165 'dnsKeys',
166 [
167 'methods' => [
168 'get' => [
169 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}',
170 'httpMethod' => 'GET',
171 'parameters' => [
172 'project' => [
173 'location' => 'path',
174 'type' => 'string',
175 'required' => true,
176 ],
177 'managedZone' => [
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ],
182 'dnsKeyId' => [
183 'location' => 'path',
184 'type' => 'string',
185 'required' => true,
186 ],
187 'clientOperationId' => [
188 'location' => 'query',
189 'type' => 'string',
190 ],
191 'digestType' => [
192 'location' => 'query',
193 'type' => 'string',
194 ],
195 ],
196 ],'list' => [
197 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys',
198 'httpMethod' => 'GET',
199 'parameters' => [
200 'project' => [
201 'location' => 'path',
202 'type' => 'string',
203 'required' => true,
204 ],
205 'managedZone' => [
206 'location' => 'path',
207 'type' => 'string',
208 'required' => true,
209 ],
210 'digestType' => [
211 'location' => 'query',
212 'type' => 'string',
213 ],
214 'maxResults' => [
215 'location' => 'query',
216 'type' => 'integer',
217 ],
218 'pageToken' => [
219 'location' => 'query',
220 'type' => 'string',
221 ],
222 ],
223 ],
224 ]
225 ]
226 );
227 $this->managedZoneOperations = new Dns\Resource\ManagedZoneOperations(
228 $this,
229 $this->serviceName,
230 'managedZoneOperations',
231 [
232 'methods' => [
233 'get' => [
234 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/operations/{operation}',
235 'httpMethod' => 'GET',
236 'parameters' => [
237 'project' => [
238 'location' => 'path',
239 'type' => 'string',
240 'required' => true,
241 ],
242 'managedZone' => [
243 'location' => 'path',
244 'type' => 'string',
245 'required' => true,
246 ],
247 'operation' => [
248 'location' => 'path',
249 'type' => 'string',
250 'required' => true,
251 ],
252 'clientOperationId' => [
253 'location' => 'query',
254 'type' => 'string',
255 ],
256 ],
257 ],'list' => [
258 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/operations',
259 'httpMethod' => 'GET',
260 'parameters' => [
261 'project' => [
262 'location' => 'path',
263 'type' => 'string',
264 'required' => true,
265 ],
266 'managedZone' => [
267 'location' => 'path',
268 'type' => 'string',
269 'required' => true,
270 ],
271 'maxResults' => [
272 'location' => 'query',
273 'type' => 'integer',
274 ],
275 'pageToken' => [
276 'location' => 'query',
277 'type' => 'string',
278 ],
279 'sortBy' => [
280 'location' => 'query',
281 'type' => 'string',
282 ],
283 ],
284 ],
285 ]
286 ]
287 );
288 $this->managedZones = new Dns\Resource\ManagedZones(
289 $this,
290 $this->serviceName,
291 'managedZones',
292 [
293 'methods' => [
294 'create' => [
295 'path' => 'dns/v1/projects/{project}/managedZones',
296 'httpMethod' => 'POST',
297 'parameters' => [
298 'project' => [
299 'location' => 'path',
300 'type' => 'string',
301 'required' => true,
302 ],
303 'clientOperationId' => [
304 'location' => 'query',
305 'type' => 'string',
306 ],
307 ],
308 ],'delete' => [
309 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}',
310 'httpMethod' => 'DELETE',
311 'parameters' => [
312 'project' => [
313 'location' => 'path',
314 'type' => 'string',
315 'required' => true,
316 ],
317 'managedZone' => [
318 'location' => 'path',
319 'type' => 'string',
320 'required' => true,
321 ],
322 'clientOperationId' => [
323 'location' => 'query',
324 'type' => 'string',
325 ],
326 ],
327 ],'get' => [
328 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}',
329 'httpMethod' => 'GET',
330 'parameters' => [
331 'project' => [
332 'location' => 'path',
333 'type' => 'string',
334 'required' => true,
335 ],
336 'managedZone' => [
337 'location' => 'path',
338 'type' => 'string',
339 'required' => true,
340 ],
341 'clientOperationId' => [
342 'location' => 'query',
343 'type' => 'string',
344 ],
345 ],
346 ],'getIamPolicy' => [
347 'path' => 'dns/v1/{+resource}:getIamPolicy',
348 'httpMethod' => 'POST',
349 'parameters' => [
350 'resource' => [
351 'location' => 'path',
352 'type' => 'string',
353 'required' => true,
354 ],
355 ],
356 ],'list' => [
357 'path' => 'dns/v1/projects/{project}/managedZones',
358 'httpMethod' => 'GET',
359 'parameters' => [
360 'project' => [
361 'location' => 'path',
362 'type' => 'string',
363 'required' => true,
364 ],
365 'dnsName' => [
366 'location' => 'query',
367 'type' => 'string',
368 ],
369 'maxResults' => [
370 'location' => 'query',
371 'type' => 'integer',
372 ],
373 'pageToken' => [
374 'location' => 'query',
375 'type' => 'string',
376 ],
377 ],
378 ],'patch' => [
379 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}',
380 'httpMethod' => 'PATCH',
381 'parameters' => [
382 'project' => [
383 'location' => 'path',
384 'type' => 'string',
385 'required' => true,
386 ],
387 'managedZone' => [
388 'location' => 'path',
389 'type' => 'string',
390 'required' => true,
391 ],
392 'clientOperationId' => [
393 'location' => 'query',
394 'type' => 'string',
395 ],
396 ],
397 ],'setIamPolicy' => [
398 'path' => 'dns/v1/{+resource}:setIamPolicy',
399 'httpMethod' => 'POST',
400 'parameters' => [
401 'resource' => [
402 'location' => 'path',
403 'type' => 'string',
404 'required' => true,
405 ],
406 ],
407 ],'testIamPermissions' => [
408 'path' => 'dns/v1/{+resource}:testIamPermissions',
409 'httpMethod' => 'POST',
410 'parameters' => [
411 'resource' => [
412 'location' => 'path',
413 'type' => 'string',
414 'required' => true,
415 ],
416 ],
417 ],'update' => [
418 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}',
419 'httpMethod' => 'PUT',
420 'parameters' => [
421 'project' => [
422 'location' => 'path',
423 'type' => 'string',
424 'required' => true,
425 ],
426 'managedZone' => [
427 'location' => 'path',
428 'type' => 'string',
429 'required' => true,
430 ],
431 'clientOperationId' => [
432 'location' => 'query',
433 'type' => 'string',
434 ],
435 ],
436 ],
437 ]
438 ]
439 );
440 $this->policies = new Dns\Resource\Policies(
441 $this,
442 $this->serviceName,
443 'policies',
444 [
445 'methods' => [
446 'create' => [
447 'path' => 'dns/v1/projects/{project}/policies',
448 'httpMethod' => 'POST',
449 'parameters' => [
450 'project' => [
451 'location' => 'path',
452 'type' => 'string',
453 'required' => true,
454 ],
455 'clientOperationId' => [
456 'location' => 'query',
457 'type' => 'string',
458 ],
459 ],
460 ],'delete' => [
461 'path' => 'dns/v1/projects/{project}/policies/{policy}',
462 'httpMethod' => 'DELETE',
463 'parameters' => [
464 'project' => [
465 'location' => 'path',
466 'type' => 'string',
467 'required' => true,
468 ],
469 'policy' => [
470 'location' => 'path',
471 'type' => 'string',
472 'required' => true,
473 ],
474 'clientOperationId' => [
475 'location' => 'query',
476 'type' => 'string',
477 ],
478 ],
479 ],'get' => [
480 'path' => 'dns/v1/projects/{project}/policies/{policy}',
481 'httpMethod' => 'GET',
482 'parameters' => [
483 'project' => [
484 'location' => 'path',
485 'type' => 'string',
486 'required' => true,
487 ],
488 'policy' => [
489 'location' => 'path',
490 'type' => 'string',
491 'required' => true,
492 ],
493 'clientOperationId' => [
494 'location' => 'query',
495 'type' => 'string',
496 ],
497 ],
498 ],'list' => [
499 'path' => 'dns/v1/projects/{project}/policies',
500 'httpMethod' => 'GET',
501 'parameters' => [
502 'project' => [
503 'location' => 'path',
504 'type' => 'string',
505 'required' => true,
506 ],
507 'maxResults' => [
508 'location' => 'query',
509 'type' => 'integer',
510 ],
511 'pageToken' => [
512 'location' => 'query',
513 'type' => 'string',
514 ],
515 ],
516 ],'patch' => [
517 'path' => 'dns/v1/projects/{project}/policies/{policy}',
518 'httpMethod' => 'PATCH',
519 'parameters' => [
520 'project' => [
521 'location' => 'path',
522 'type' => 'string',
523 'required' => true,
524 ],
525 'policy' => [
526 'location' => 'path',
527 'type' => 'string',
528 'required' => true,
529 ],
530 'clientOperationId' => [
531 'location' => 'query',
532 'type' => 'string',
533 ],
534 ],
535 ],'update' => [
536 'path' => 'dns/v1/projects/{project}/policies/{policy}',
537 'httpMethod' => 'PUT',
538 'parameters' => [
539 'project' => [
540 'location' => 'path',
541 'type' => 'string',
542 'required' => true,
543 ],
544 'policy' => [
545 'location' => 'path',
546 'type' => 'string',
547 'required' => true,
548 ],
549 'clientOperationId' => [
550 'location' => 'query',
551 'type' => 'string',
552 ],
553 ],
554 ],
555 ]
556 ]
557 );
558 $this->projects = new Dns\Resource\Projects(
559 $this,
560 $this->serviceName,
561 'projects',
562 [
563 'methods' => [
564 'get' => [
565 'path' => 'dns/v1/projects/{project}',
566 'httpMethod' => 'GET',
567 'parameters' => [
568 'project' => [
569 'location' => 'path',
570 'type' => 'string',
571 'required' => true,
572 ],
573 'clientOperationId' => [
574 'location' => 'query',
575 'type' => 'string',
576 ],
577 ],
578 ],
579 ]
580 ]
581 );
582 $this->resourceRecordSets = new Dns\Resource\ResourceRecordSets(
583 $this,
584 $this->serviceName,
585 'resourceRecordSets',
586 [
587 'methods' => [
588 'create' => [
589 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets',
590 'httpMethod' => 'POST',
591 'parameters' => [
592 'project' => [
593 'location' => 'path',
594 'type' => 'string',
595 'required' => true,
596 ],
597 'managedZone' => [
598 'location' => 'path',
599 'type' => 'string',
600 'required' => true,
601 ],
602 'clientOperationId' => [
603 'location' => 'query',
604 'type' => 'string',
605 ],
606 ],
607 ],'delete' => [
608 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}',
609 'httpMethod' => 'DELETE',
610 'parameters' => [
611 'project' => [
612 'location' => 'path',
613 'type' => 'string',
614 'required' => true,
615 ],
616 'managedZone' => [
617 'location' => 'path',
618 'type' => 'string',
619 'required' => true,
620 ],
621 'name' => [
622 'location' => 'path',
623 'type' => 'string',
624 'required' => true,
625 ],
626 'type' => [
627 'location' => 'path',
628 'type' => 'string',
629 'required' => true,
630 ],
631 'clientOperationId' => [
632 'location' => 'query',
633 'type' => 'string',
634 ],
635 ],
636 ],'get' => [
637 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}',
638 'httpMethod' => 'GET',
639 'parameters' => [
640 'project' => [
641 'location' => 'path',
642 'type' => 'string',
643 'required' => true,
644 ],
645 'managedZone' => [
646 'location' => 'path',
647 'type' => 'string',
648 'required' => true,
649 ],
650 'name' => [
651 'location' => 'path',
652 'type' => 'string',
653 'required' => true,
654 ],
655 'type' => [
656 'location' => 'path',
657 'type' => 'string',
658 'required' => true,
659 ],
660 'clientOperationId' => [
661 'location' => 'query',
662 'type' => 'string',
663 ],
664 ],
665 ],'list' => [
666 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets',
667 'httpMethod' => 'GET',
668 'parameters' => [
669 'project' => [
670 'location' => 'path',
671 'type' => 'string',
672 'required' => true,
673 ],
674 'managedZone' => [
675 'location' => 'path',
676 'type' => 'string',
677 'required' => true,
678 ],
679 'maxResults' => [
680 'location' => 'query',
681 'type' => 'integer',
682 ],
683 'name' => [
684 'location' => 'query',
685 'type' => 'string',
686 ],
687 'pageToken' => [
688 'location' => 'query',
689 'type' => 'string',
690 ],
691 'type' => [
692 'location' => 'query',
693 'type' => 'string',
694 ],
695 ],
696 ],'patch' => [
697 'path' => 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}',
698 'httpMethod' => 'PATCH',
699 'parameters' => [
700 'project' => [
701 'location' => 'path',
702 'type' => 'string',
703 'required' => true,
704 ],
705 'managedZone' => [
706 'location' => 'path',
707 'type' => 'string',
708 'required' => true,
709 ],
710 'name' => [
711 'location' => 'path',
712 'type' => 'string',
713 'required' => true,
714 ],
715 'type' => [
716 'location' => 'path',
717 'type' => 'string',
718 'required' => true,
719 ],
720 'clientOperationId' => [
721 'location' => 'query',
722 'type' => 'string',
723 ],
724 ],
725 ],
726 ]
727 ]
728 );
729 $this->responsePolicies = new Dns\Resource\ResponsePolicies(
730 $this,
731 $this->serviceName,
732 'responsePolicies',
733 [
734 'methods' => [
735 'create' => [
736 'path' => 'dns/v1/projects/{project}/responsePolicies',
737 'httpMethod' => 'POST',
738 'parameters' => [
739 'project' => [
740 'location' => 'path',
741 'type' => 'string',
742 'required' => true,
743 ],
744 'clientOperationId' => [
745 'location' => 'query',
746 'type' => 'string',
747 ],
748 ],
749 ],'delete' => [
750 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}',
751 'httpMethod' => 'DELETE',
752 'parameters' => [
753 'project' => [
754 'location' => 'path',
755 'type' => 'string',
756 'required' => true,
757 ],
758 'responsePolicy' => [
759 'location' => 'path',
760 'type' => 'string',
761 'required' => true,
762 ],
763 'clientOperationId' => [
764 'location' => 'query',
765 'type' => 'string',
766 ],
767 ],
768 ],'get' => [
769 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}',
770 'httpMethod' => 'GET',
771 'parameters' => [
772 'project' => [
773 'location' => 'path',
774 'type' => 'string',
775 'required' => true,
776 ],
777 'responsePolicy' => [
778 'location' => 'path',
779 'type' => 'string',
780 'required' => true,
781 ],
782 'clientOperationId' => [
783 'location' => 'query',
784 'type' => 'string',
785 ],
786 ],
787 ],'list' => [
788 'path' => 'dns/v1/projects/{project}/responsePolicies',
789 'httpMethod' => 'GET',
790 'parameters' => [
791 'project' => [
792 'location' => 'path',
793 'type' => 'string',
794 'required' => true,
795 ],
796 'maxResults' => [
797 'location' => 'query',
798 'type' => 'integer',
799 ],
800 'pageToken' => [
801 'location' => 'query',
802 'type' => 'string',
803 ],
804 ],
805 ],'patch' => [
806 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}',
807 'httpMethod' => 'PATCH',
808 'parameters' => [
809 'project' => [
810 'location' => 'path',
811 'type' => 'string',
812 'required' => true,
813 ],
814 'responsePolicy' => [
815 'location' => 'path',
816 'type' => 'string',
817 'required' => true,
818 ],
819 'clientOperationId' => [
820 'location' => 'query',
821 'type' => 'string',
822 ],
823 ],
824 ],'update' => [
825 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}',
826 'httpMethod' => 'PUT',
827 'parameters' => [
828 'project' => [
829 'location' => 'path',
830 'type' => 'string',
831 'required' => true,
832 ],
833 'responsePolicy' => [
834 'location' => 'path',
835 'type' => 'string',
836 'required' => true,
837 ],
838 'clientOperationId' => [
839 'location' => 'query',
840 'type' => 'string',
841 ],
842 ],
843 ],
844 ]
845 ]
846 );
847 $this->responsePolicyRules = new Dns\Resource\ResponsePolicyRules(
848 $this,
849 $this->serviceName,
850 'responsePolicyRules',
851 [
852 'methods' => [
853 'create' => [
854 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules',
855 'httpMethod' => 'POST',
856 'parameters' => [
857 'project' => [
858 'location' => 'path',
859 'type' => 'string',
860 'required' => true,
861 ],
862 'responsePolicy' => [
863 'location' => 'path',
864 'type' => 'string',
865 'required' => true,
866 ],
867 'clientOperationId' => [
868 'location' => 'query',
869 'type' => 'string',
870 ],
871 ],
872 ],'delete' => [
873 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}',
874 'httpMethod' => 'DELETE',
875 'parameters' => [
876 'project' => [
877 'location' => 'path',
878 'type' => 'string',
879 'required' => true,
880 ],
881 'responsePolicy' => [
882 'location' => 'path',
883 'type' => 'string',
884 'required' => true,
885 ],
886 'responsePolicyRule' => [
887 'location' => 'path',
888 'type' => 'string',
889 'required' => true,
890 ],
891 'clientOperationId' => [
892 'location' => 'query',
893 'type' => 'string',
894 ],
895 ],
896 ],'get' => [
897 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}',
898 'httpMethod' => 'GET',
899 'parameters' => [
900 'project' => [
901 'location' => 'path',
902 'type' => 'string',
903 'required' => true,
904 ],
905 'responsePolicy' => [
906 'location' => 'path',
907 'type' => 'string',
908 'required' => true,
909 ],
910 'responsePolicyRule' => [
911 'location' => 'path',
912 'type' => 'string',
913 'required' => true,
914 ],
915 'clientOperationId' => [
916 'location' => 'query',
917 'type' => 'string',
918 ],
919 ],
920 ],'list' => [
921 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules',
922 'httpMethod' => 'GET',
923 'parameters' => [
924 'project' => [
925 'location' => 'path',
926 'type' => 'string',
927 'required' => true,
928 ],
929 'responsePolicy' => [
930 'location' => 'path',
931 'type' => 'string',
932 'required' => true,
933 ],
934 'maxResults' => [
935 'location' => 'query',
936 'type' => 'integer',
937 ],
938 'pageToken' => [
939 'location' => 'query',
940 'type' => 'string',
941 ],
942 ],
943 ],'patch' => [
944 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}',
945 'httpMethod' => 'PATCH',
946 'parameters' => [
947 'project' => [
948 'location' => 'path',
949 'type' => 'string',
950 'required' => true,
951 ],
952 'responsePolicy' => [
953 'location' => 'path',
954 'type' => 'string',
955 'required' => true,
956 ],
957 'responsePolicyRule' => [
958 'location' => 'path',
959 'type' => 'string',
960 'required' => true,
961 ],
962 'clientOperationId' => [
963 'location' => 'query',
964 'type' => 'string',
965 ],
966 ],
967 ],'update' => [
968 'path' => 'dns/v1/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}',
969 'httpMethod' => 'PUT',
970 'parameters' => [
971 'project' => [
972 'location' => 'path',
973 'type' => 'string',
974 'required' => true,
975 ],
976 'responsePolicy' => [
977 'location' => 'path',
978 'type' => 'string',
979 'required' => true,
980 ],
981 'responsePolicyRule' => [
982 'location' => 'path',
983 'type' => 'string',
984 'required' => true,
985 ],
986 'clientOperationId' => [
987 'location' => 'query',
988 'type' => 'string',
989 ],
990 ],
991 ],
992 ]
993 ]
994 );
995 }
996}
997
998// Adding a class alias for backwards compatibility with the previous class name.
999class_alias(Dns::class, 'Google_Service_Dns');
Note: See TracBrowser for help on using the repository browser.