source: vendor/google/apiclient-services/src/Logging.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: 129.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 Logging (v2).
24 *
25 * <p>
26 * Writes log entries and manages your Cloud Logging configuration.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/logging/docs/" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Logging 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 /** Administrate log data for your projects. */
44 const LOGGING_ADMIN =
45 "https://www.googleapis.com/auth/logging.admin";
46 /** View log data for your projects. */
47 const LOGGING_READ =
48 "https://www.googleapis.com/auth/logging.read";
49 /** Submit log data for your projects. */
50 const LOGGING_WRITE =
51 "https://www.googleapis.com/auth/logging.write";
52
53 public $billingAccounts;
54 public $billingAccounts_exclusions;
55 public $billingAccounts_locations;
56 public $billingAccounts_locations_buckets;
57 public $billingAccounts_locations_buckets_links;
58 public $billingAccounts_locations_buckets_views;
59 public $billingAccounts_locations_buckets_views_logs;
60 public $billingAccounts_locations_operations;
61 public $billingAccounts_locations_recentQueries;
62 public $billingAccounts_locations_savedQueries;
63 public $billingAccounts_logs;
64 public $billingAccounts_sinks;
65 public $entries;
66 public $exclusions;
67 public $folders;
68 public $folders_exclusions;
69 public $folders_locations;
70 public $folders_locations_buckets;
71 public $folders_locations_buckets_links;
72 public $folders_locations_buckets_views;
73 public $folders_locations_buckets_views_logs;
74 public $folders_locations_logScopes;
75 public $folders_locations_operations;
76 public $folders_locations_recentQueries;
77 public $folders_locations_savedQueries;
78 public $folders_logs;
79 public $folders_sinks;
80 public $locations;
81 public $locations_buckets;
82 public $locations_buckets_links;
83 public $locations_buckets_views;
84 public $locations_operations;
85 public $logs;
86 public $monitoredResourceDescriptors;
87 public $organizations;
88 public $organizations_exclusions;
89 public $organizations_locations;
90 public $organizations_locations_buckets;
91 public $organizations_locations_buckets_links;
92 public $organizations_locations_buckets_views;
93 public $organizations_locations_buckets_views_logs;
94 public $organizations_locations_logScopes;
95 public $organizations_locations_operations;
96 public $organizations_locations_recentQueries;
97 public $organizations_locations_savedQueries;
98 public $organizations_logs;
99 public $organizations_sinks;
100 public $projects;
101 public $projects_exclusions;
102 public $projects_locations;
103 public $projects_locations_buckets;
104 public $projects_locations_buckets_links;
105 public $projects_locations_buckets_views;
106 public $projects_locations_buckets_views_logs;
107 public $projects_locations_logScopes;
108 public $projects_locations_operations;
109 public $projects_locations_recentQueries;
110 public $projects_locations_savedQueries;
111 public $projects_logs;
112 public $projects_metrics;
113 public $projects_sinks;
114 public $sinks;
115 public $v2;
116 public $rootUrlTemplate;
117
118 /**
119 * Constructs the internal representation of the Logging service.
120 *
121 * @param Client|array $clientOrConfig The client used to deliver requests, or a
122 * config array to pass to a new Client instance.
123 * @param string $rootUrl The root URL used for requests to the service.
124 */
125 public function __construct($clientOrConfig = [], $rootUrl = null)
126 {
127 parent::__construct($clientOrConfig);
128 $this->rootUrl = $rootUrl ?: 'https://logging.googleapis.com/';
129 $this->rootUrlTemplate = $rootUrl ?: 'https://logging.UNIVERSE_DOMAIN/';
130 $this->servicePath = '';
131 $this->batchPath = 'batch';
132 $this->version = 'v2';
133 $this->serviceName = 'logging';
134
135 $this->billingAccounts = new Logging\Resource\BillingAccounts(
136 $this,
137 $this->serviceName,
138 'billingAccounts',
139 [
140 'methods' => [
141 'getCmekSettings' => [
142 'path' => 'v2/{+name}/cmekSettings',
143 'httpMethod' => 'GET',
144 'parameters' => [
145 'name' => [
146 'location' => 'path',
147 'type' => 'string',
148 'required' => true,
149 ],
150 ],
151 ],'getSettings' => [
152 'path' => 'v2/{+name}/settings',
153 'httpMethod' => 'GET',
154 'parameters' => [
155 'name' => [
156 'location' => 'path',
157 'type' => 'string',
158 'required' => true,
159 ],
160 ],
161 ],
162 ]
163 ]
164 );
165 $this->billingAccounts_exclusions = new Logging\Resource\BillingAccountsExclusions(
166 $this,
167 $this->serviceName,
168 'exclusions',
169 [
170 'methods' => [
171 'create' => [
172 'path' => 'v2/{+parent}/exclusions',
173 'httpMethod' => 'POST',
174 'parameters' => [
175 'parent' => [
176 'location' => 'path',
177 'type' => 'string',
178 'required' => true,
179 ],
180 ],
181 ],'delete' => [
182 'path' => 'v2/{+name}',
183 'httpMethod' => 'DELETE',
184 'parameters' => [
185 'name' => [
186 'location' => 'path',
187 'type' => 'string',
188 'required' => true,
189 ],
190 ],
191 ],'get' => [
192 'path' => 'v2/{+name}',
193 'httpMethod' => 'GET',
194 'parameters' => [
195 'name' => [
196 'location' => 'path',
197 'type' => 'string',
198 'required' => true,
199 ],
200 ],
201 ],'list' => [
202 'path' => 'v2/{+parent}/exclusions',
203 'httpMethod' => 'GET',
204 'parameters' => [
205 'parent' => [
206 'location' => 'path',
207 'type' => 'string',
208 'required' => true,
209 ],
210 'pageSize' => [
211 'location' => 'query',
212 'type' => 'integer',
213 ],
214 'pageToken' => [
215 'location' => 'query',
216 'type' => 'string',
217 ],
218 ],
219 ],'patch' => [
220 'path' => 'v2/{+name}',
221 'httpMethod' => 'PATCH',
222 'parameters' => [
223 'name' => [
224 'location' => 'path',
225 'type' => 'string',
226 'required' => true,
227 ],
228 'updateMask' => [
229 'location' => 'query',
230 'type' => 'string',
231 ],
232 ],
233 ],
234 ]
235 ]
236 );
237 $this->billingAccounts_locations = new Logging\Resource\BillingAccountsLocations(
238 $this,
239 $this->serviceName,
240 'locations',
241 [
242 'methods' => [
243 'get' => [
244 'path' => 'v2/{+name}',
245 'httpMethod' => 'GET',
246 'parameters' => [
247 'name' => [
248 'location' => 'path',
249 'type' => 'string',
250 'required' => true,
251 ],
252 ],
253 ],'list' => [
254 'path' => 'v2/{+name}/locations',
255 'httpMethod' => 'GET',
256 'parameters' => [
257 'name' => [
258 'location' => 'path',
259 'type' => 'string',
260 'required' => true,
261 ],
262 'filter' => [
263 'location' => 'query',
264 'type' => 'string',
265 ],
266 'pageSize' => [
267 'location' => 'query',
268 'type' => 'integer',
269 ],
270 'pageToken' => [
271 'location' => 'query',
272 'type' => 'string',
273 ],
274 ],
275 ],
276 ]
277 ]
278 );
279 $this->billingAccounts_locations_buckets = new Logging\Resource\BillingAccountsLocationsBuckets(
280 $this,
281 $this->serviceName,
282 'buckets',
283 [
284 'methods' => [
285 'create' => [
286 'path' => 'v2/{+parent}/buckets',
287 'httpMethod' => 'POST',
288 'parameters' => [
289 'parent' => [
290 'location' => 'path',
291 'type' => 'string',
292 'required' => true,
293 ],
294 'bucketId' => [
295 'location' => 'query',
296 'type' => 'string',
297 ],
298 ],
299 ],'createAsync' => [
300 'path' => 'v2/{+parent}/buckets:createAsync',
301 'httpMethod' => 'POST',
302 'parameters' => [
303 'parent' => [
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ],
308 'bucketId' => [
309 'location' => 'query',
310 'type' => 'string',
311 ],
312 ],
313 ],'delete' => [
314 'path' => 'v2/{+name}',
315 'httpMethod' => 'DELETE',
316 'parameters' => [
317 'name' => [
318 'location' => 'path',
319 'type' => 'string',
320 'required' => true,
321 ],
322 ],
323 ],'get' => [
324 'path' => 'v2/{+name}',
325 'httpMethod' => 'GET',
326 'parameters' => [
327 'name' => [
328 'location' => 'path',
329 'type' => 'string',
330 'required' => true,
331 ],
332 ],
333 ],'list' => [
334 'path' => 'v2/{+parent}/buckets',
335 'httpMethod' => 'GET',
336 'parameters' => [
337 'parent' => [
338 'location' => 'path',
339 'type' => 'string',
340 'required' => true,
341 ],
342 'pageSize' => [
343 'location' => 'query',
344 'type' => 'integer',
345 ],
346 'pageToken' => [
347 'location' => 'query',
348 'type' => 'string',
349 ],
350 ],
351 ],'patch' => [
352 'path' => 'v2/{+name}',
353 'httpMethod' => 'PATCH',
354 'parameters' => [
355 'name' => [
356 'location' => 'path',
357 'type' => 'string',
358 'required' => true,
359 ],
360 'updateMask' => [
361 'location' => 'query',
362 'type' => 'string',
363 ],
364 ],
365 ],'undelete' => [
366 'path' => 'v2/{+name}:undelete',
367 'httpMethod' => 'POST',
368 'parameters' => [
369 'name' => [
370 'location' => 'path',
371 'type' => 'string',
372 'required' => true,
373 ],
374 ],
375 ],'updateAsync' => [
376 'path' => 'v2/{+name}:updateAsync',
377 'httpMethod' => 'POST',
378 'parameters' => [
379 'name' => [
380 'location' => 'path',
381 'type' => 'string',
382 'required' => true,
383 ],
384 'updateMask' => [
385 'location' => 'query',
386 'type' => 'string',
387 ],
388 ],
389 ],
390 ]
391 ]
392 );
393 $this->billingAccounts_locations_buckets_links = new Logging\Resource\BillingAccountsLocationsBucketsLinks(
394 $this,
395 $this->serviceName,
396 'links',
397 [
398 'methods' => [
399 'create' => [
400 'path' => 'v2/{+parent}/links',
401 'httpMethod' => 'POST',
402 'parameters' => [
403 'parent' => [
404 'location' => 'path',
405 'type' => 'string',
406 'required' => true,
407 ],
408 'linkId' => [
409 'location' => 'query',
410 'type' => 'string',
411 ],
412 ],
413 ],'delete' => [
414 'path' => 'v2/{+name}',
415 'httpMethod' => 'DELETE',
416 'parameters' => [
417 'name' => [
418 'location' => 'path',
419 'type' => 'string',
420 'required' => true,
421 ],
422 ],
423 ],'get' => [
424 'path' => 'v2/{+name}',
425 'httpMethod' => 'GET',
426 'parameters' => [
427 'name' => [
428 'location' => 'path',
429 'type' => 'string',
430 'required' => true,
431 ],
432 ],
433 ],'list' => [
434 'path' => 'v2/{+parent}/links',
435 'httpMethod' => 'GET',
436 'parameters' => [
437 'parent' => [
438 'location' => 'path',
439 'type' => 'string',
440 'required' => true,
441 ],
442 'pageSize' => [
443 'location' => 'query',
444 'type' => 'integer',
445 ],
446 'pageToken' => [
447 'location' => 'query',
448 'type' => 'string',
449 ],
450 ],
451 ],
452 ]
453 ]
454 );
455 $this->billingAccounts_locations_buckets_views = new Logging\Resource\BillingAccountsLocationsBucketsViews(
456 $this,
457 $this->serviceName,
458 'views',
459 [
460 'methods' => [
461 'create' => [
462 'path' => 'v2/{+parent}/views',
463 'httpMethod' => 'POST',
464 'parameters' => [
465 'parent' => [
466 'location' => 'path',
467 'type' => 'string',
468 'required' => true,
469 ],
470 'viewId' => [
471 'location' => 'query',
472 'type' => 'string',
473 ],
474 ],
475 ],'delete' => [
476 'path' => 'v2/{+name}',
477 'httpMethod' => 'DELETE',
478 'parameters' => [
479 'name' => [
480 'location' => 'path',
481 'type' => 'string',
482 'required' => true,
483 ],
484 ],
485 ],'get' => [
486 'path' => 'v2/{+name}',
487 'httpMethod' => 'GET',
488 'parameters' => [
489 'name' => [
490 'location' => 'path',
491 'type' => 'string',
492 'required' => true,
493 ],
494 ],
495 ],'list' => [
496 'path' => 'v2/{+parent}/views',
497 'httpMethod' => 'GET',
498 'parameters' => [
499 'parent' => [
500 'location' => 'path',
501 'type' => 'string',
502 'required' => true,
503 ],
504 'pageSize' => [
505 'location' => 'query',
506 'type' => 'integer',
507 ],
508 'pageToken' => [
509 'location' => 'query',
510 'type' => 'string',
511 ],
512 ],
513 ],'patch' => [
514 'path' => 'v2/{+name}',
515 'httpMethod' => 'PATCH',
516 'parameters' => [
517 'name' => [
518 'location' => 'path',
519 'type' => 'string',
520 'required' => true,
521 ],
522 'updateMask' => [
523 'location' => 'query',
524 'type' => 'string',
525 ],
526 ],
527 ],
528 ]
529 ]
530 );
531 $this->billingAccounts_locations_buckets_views_logs = new Logging\Resource\BillingAccountsLocationsBucketsViewsLogs(
532 $this,
533 $this->serviceName,
534 'logs',
535 [
536 'methods' => [
537 'list' => [
538 'path' => 'v2/{+parent}/logs',
539 'httpMethod' => 'GET',
540 'parameters' => [
541 'parent' => [
542 'location' => 'path',
543 'type' => 'string',
544 'required' => true,
545 ],
546 'pageSize' => [
547 'location' => 'query',
548 'type' => 'integer',
549 ],
550 'pageToken' => [
551 'location' => 'query',
552 'type' => 'string',
553 ],
554 'resourceNames' => [
555 'location' => 'query',
556 'type' => 'string',
557 'repeated' => true,
558 ],
559 ],
560 ],
561 ]
562 ]
563 );
564 $this->billingAccounts_locations_operations = new Logging\Resource\BillingAccountsLocationsOperations(
565 $this,
566 $this->serviceName,
567 'operations',
568 [
569 'methods' => [
570 'cancel' => [
571 'path' => 'v2/{+name}:cancel',
572 'httpMethod' => 'POST',
573 'parameters' => [
574 'name' => [
575 'location' => 'path',
576 'type' => 'string',
577 'required' => true,
578 ],
579 ],
580 ],'get' => [
581 'path' => 'v2/{+name}',
582 'httpMethod' => 'GET',
583 'parameters' => [
584 'name' => [
585 'location' => 'path',
586 'type' => 'string',
587 'required' => true,
588 ],
589 ],
590 ],'list' => [
591 'path' => 'v2/{+name}/operations',
592 'httpMethod' => 'GET',
593 'parameters' => [
594 'name' => [
595 'location' => 'path',
596 'type' => 'string',
597 'required' => true,
598 ],
599 'filter' => [
600 'location' => 'query',
601 'type' => 'string',
602 ],
603 'pageSize' => [
604 'location' => 'query',
605 'type' => 'integer',
606 ],
607 'pageToken' => [
608 'location' => 'query',
609 'type' => 'string',
610 ],
611 ],
612 ],
613 ]
614 ]
615 );
616 $this->billingAccounts_locations_recentQueries = new Logging\Resource\BillingAccountsLocationsRecentQueries(
617 $this,
618 $this->serviceName,
619 'recentQueries',
620 [
621 'methods' => [
622 'list' => [
623 'path' => 'v2/{+parent}/recentQueries',
624 'httpMethod' => 'GET',
625 'parameters' => [
626 'parent' => [
627 'location' => 'path',
628 'type' => 'string',
629 'required' => true,
630 ],
631 'filter' => [
632 'location' => 'query',
633 'type' => 'string',
634 ],
635 'pageSize' => [
636 'location' => 'query',
637 'type' => 'integer',
638 ],
639 'pageToken' => [
640 'location' => 'query',
641 'type' => 'string',
642 ],
643 ],
644 ],
645 ]
646 ]
647 );
648 $this->billingAccounts_locations_savedQueries = new Logging\Resource\BillingAccountsLocationsSavedQueries(
649 $this,
650 $this->serviceName,
651 'savedQueries',
652 [
653 'methods' => [
654 'create' => [
655 'path' => 'v2/{+parent}/savedQueries',
656 'httpMethod' => 'POST',
657 'parameters' => [
658 'parent' => [
659 'location' => 'path',
660 'type' => 'string',
661 'required' => true,
662 ],
663 'savedQueryId' => [
664 'location' => 'query',
665 'type' => 'string',
666 ],
667 ],
668 ],'delete' => [
669 'path' => 'v2/{+name}',
670 'httpMethod' => 'DELETE',
671 'parameters' => [
672 'name' => [
673 'location' => 'path',
674 'type' => 'string',
675 'required' => true,
676 ],
677 ],
678 ],'get' => [
679 'path' => 'v2/{+name}',
680 'httpMethod' => 'GET',
681 'parameters' => [
682 'name' => [
683 'location' => 'path',
684 'type' => 'string',
685 'required' => true,
686 ],
687 ],
688 ],'list' => [
689 'path' => 'v2/{+parent}/savedQueries',
690 'httpMethod' => 'GET',
691 'parameters' => [
692 'parent' => [
693 'location' => 'path',
694 'type' => 'string',
695 'required' => true,
696 ],
697 'filter' => [
698 'location' => 'query',
699 'type' => 'string',
700 ],
701 'pageSize' => [
702 'location' => 'query',
703 'type' => 'integer',
704 ],
705 'pageToken' => [
706 'location' => 'query',
707 'type' => 'string',
708 ],
709 ],
710 ],'patch' => [
711 'path' => 'v2/{+name}',
712 'httpMethod' => 'PATCH',
713 'parameters' => [
714 'name' => [
715 'location' => 'path',
716 'type' => 'string',
717 'required' => true,
718 ],
719 'updateMask' => [
720 'location' => 'query',
721 'type' => 'string',
722 ],
723 ],
724 ],
725 ]
726 ]
727 );
728 $this->billingAccounts_logs = new Logging\Resource\BillingAccountsLogs(
729 $this,
730 $this->serviceName,
731 'logs',
732 [
733 'methods' => [
734 'delete' => [
735 'path' => 'v2/{+logName}',
736 'httpMethod' => 'DELETE',
737 'parameters' => [
738 'logName' => [
739 'location' => 'path',
740 'type' => 'string',
741 'required' => true,
742 ],
743 ],
744 ],'list' => [
745 'path' => 'v2/{+parent}/logs',
746 'httpMethod' => 'GET',
747 'parameters' => [
748 'parent' => [
749 'location' => 'path',
750 'type' => 'string',
751 'required' => true,
752 ],
753 'pageSize' => [
754 'location' => 'query',
755 'type' => 'integer',
756 ],
757 'pageToken' => [
758 'location' => 'query',
759 'type' => 'string',
760 ],
761 'resourceNames' => [
762 'location' => 'query',
763 'type' => 'string',
764 'repeated' => true,
765 ],
766 ],
767 ],
768 ]
769 ]
770 );
771 $this->billingAccounts_sinks = new Logging\Resource\BillingAccountsSinks(
772 $this,
773 $this->serviceName,
774 'sinks',
775 [
776 'methods' => [
777 'create' => [
778 'path' => 'v2/{+parent}/sinks',
779 'httpMethod' => 'POST',
780 'parameters' => [
781 'parent' => [
782 'location' => 'path',
783 'type' => 'string',
784 'required' => true,
785 ],
786 'customWriterIdentity' => [
787 'location' => 'query',
788 'type' => 'string',
789 ],
790 'uniqueWriterIdentity' => [
791 'location' => 'query',
792 'type' => 'boolean',
793 ],
794 ],
795 ],'delete' => [
796 'path' => 'v2/{+sinkName}',
797 'httpMethod' => 'DELETE',
798 'parameters' => [
799 'sinkName' => [
800 'location' => 'path',
801 'type' => 'string',
802 'required' => true,
803 ],
804 ],
805 ],'get' => [
806 'path' => 'v2/{+sinkName}',
807 'httpMethod' => 'GET',
808 'parameters' => [
809 'sinkName' => [
810 'location' => 'path',
811 'type' => 'string',
812 'required' => true,
813 ],
814 ],
815 ],'list' => [
816 'path' => 'v2/{+parent}/sinks',
817 'httpMethod' => 'GET',
818 'parameters' => [
819 'parent' => [
820 'location' => 'path',
821 'type' => 'string',
822 'required' => true,
823 ],
824 'filter' => [
825 'location' => 'query',
826 'type' => 'string',
827 ],
828 'pageSize' => [
829 'location' => 'query',
830 'type' => 'integer',
831 ],
832 'pageToken' => [
833 'location' => 'query',
834 'type' => 'string',
835 ],
836 ],
837 ],'patch' => [
838 'path' => 'v2/{+sinkName}',
839 'httpMethod' => 'PATCH',
840 'parameters' => [
841 'sinkName' => [
842 'location' => 'path',
843 'type' => 'string',
844 'required' => true,
845 ],
846 'customWriterIdentity' => [
847 'location' => 'query',
848 'type' => 'string',
849 ],
850 'uniqueWriterIdentity' => [
851 'location' => 'query',
852 'type' => 'boolean',
853 ],
854 'updateMask' => [
855 'location' => 'query',
856 'type' => 'string',
857 ],
858 ],
859 ],'update' => [
860 'path' => 'v2/{+sinkName}',
861 'httpMethod' => 'PUT',
862 'parameters' => [
863 'sinkName' => [
864 'location' => 'path',
865 'type' => 'string',
866 'required' => true,
867 ],
868 'customWriterIdentity' => [
869 'location' => 'query',
870 'type' => 'string',
871 ],
872 'uniqueWriterIdentity' => [
873 'location' => 'query',
874 'type' => 'boolean',
875 ],
876 'updateMask' => [
877 'location' => 'query',
878 'type' => 'string',
879 ],
880 ],
881 ],
882 ]
883 ]
884 );
885 $this->entries = new Logging\Resource\Entries(
886 $this,
887 $this->serviceName,
888 'entries',
889 [
890 'methods' => [
891 'copy' => [
892 'path' => 'v2/entries:copy',
893 'httpMethod' => 'POST',
894 'parameters' => [],
895 ],'list' => [
896 'path' => 'v2/entries:list',
897 'httpMethod' => 'POST',
898 'parameters' => [],
899 ],'tail' => [
900 'path' => 'v2/entries:tail',
901 'httpMethod' => 'POST',
902 'parameters' => [],
903 ],'write' => [
904 'path' => 'v2/entries:write',
905 'httpMethod' => 'POST',
906 'parameters' => [],
907 ],
908 ]
909 ]
910 );
911 $this->exclusions = new Logging\Resource\Exclusions(
912 $this,
913 $this->serviceName,
914 'exclusions',
915 [
916 'methods' => [
917 'create' => [
918 'path' => 'v2/{+parent}/exclusions',
919 'httpMethod' => 'POST',
920 'parameters' => [
921 'parent' => [
922 'location' => 'path',
923 'type' => 'string',
924 'required' => true,
925 ],
926 ],
927 ],'delete' => [
928 'path' => 'v2/{+name}',
929 'httpMethod' => 'DELETE',
930 'parameters' => [
931 'name' => [
932 'location' => 'path',
933 'type' => 'string',
934 'required' => true,
935 ],
936 ],
937 ],'get' => [
938 'path' => 'v2/{+name}',
939 'httpMethod' => 'GET',
940 'parameters' => [
941 'name' => [
942 'location' => 'path',
943 'type' => 'string',
944 'required' => true,
945 ],
946 ],
947 ],'list' => [
948 'path' => 'v2/{+parent}/exclusions',
949 'httpMethod' => 'GET',
950 'parameters' => [
951 'parent' => [
952 'location' => 'path',
953 'type' => 'string',
954 'required' => true,
955 ],
956 'pageSize' => [
957 'location' => 'query',
958 'type' => 'integer',
959 ],
960 'pageToken' => [
961 'location' => 'query',
962 'type' => 'string',
963 ],
964 ],
965 ],'patch' => [
966 'path' => 'v2/{+name}',
967 'httpMethod' => 'PATCH',
968 'parameters' => [
969 'name' => [
970 'location' => 'path',
971 'type' => 'string',
972 'required' => true,
973 ],
974 'updateMask' => [
975 'location' => 'query',
976 'type' => 'string',
977 ],
978 ],
979 ],
980 ]
981 ]
982 );
983 $this->folders = new Logging\Resource\Folders(
984 $this,
985 $this->serviceName,
986 'folders',
987 [
988 'methods' => [
989 'getCmekSettings' => [
990 'path' => 'v2/{+name}/cmekSettings',
991 'httpMethod' => 'GET',
992 'parameters' => [
993 'name' => [
994 'location' => 'path',
995 'type' => 'string',
996 'required' => true,
997 ],
998 ],
999 ],'getSettings' => [
1000 'path' => 'v2/{+name}/settings',
1001 'httpMethod' => 'GET',
1002 'parameters' => [
1003 'name' => [
1004 'location' => 'path',
1005 'type' => 'string',
1006 'required' => true,
1007 ],
1008 ],
1009 ],'updateSettings' => [
1010 'path' => 'v2/{+name}/settings',
1011 'httpMethod' => 'PATCH',
1012 'parameters' => [
1013 'name' => [
1014 'location' => 'path',
1015 'type' => 'string',
1016 'required' => true,
1017 ],
1018 'updateMask' => [
1019 'location' => 'query',
1020 'type' => 'string',
1021 ],
1022 ],
1023 ],
1024 ]
1025 ]
1026 );
1027 $this->folders_exclusions = new Logging\Resource\FoldersExclusions(
1028 $this,
1029 $this->serviceName,
1030 'exclusions',
1031 [
1032 'methods' => [
1033 'create' => [
1034 'path' => 'v2/{+parent}/exclusions',
1035 'httpMethod' => 'POST',
1036 'parameters' => [
1037 'parent' => [
1038 'location' => 'path',
1039 'type' => 'string',
1040 'required' => true,
1041 ],
1042 ],
1043 ],'delete' => [
1044 'path' => 'v2/{+name}',
1045 'httpMethod' => 'DELETE',
1046 'parameters' => [
1047 'name' => [
1048 'location' => 'path',
1049 'type' => 'string',
1050 'required' => true,
1051 ],
1052 ],
1053 ],'get' => [
1054 'path' => 'v2/{+name}',
1055 'httpMethod' => 'GET',
1056 'parameters' => [
1057 'name' => [
1058 'location' => 'path',
1059 'type' => 'string',
1060 'required' => true,
1061 ],
1062 ],
1063 ],'list' => [
1064 'path' => 'v2/{+parent}/exclusions',
1065 'httpMethod' => 'GET',
1066 'parameters' => [
1067 'parent' => [
1068 'location' => 'path',
1069 'type' => 'string',
1070 'required' => true,
1071 ],
1072 'pageSize' => [
1073 'location' => 'query',
1074 'type' => 'integer',
1075 ],
1076 'pageToken' => [
1077 'location' => 'query',
1078 'type' => 'string',
1079 ],
1080 ],
1081 ],'patch' => [
1082 'path' => 'v2/{+name}',
1083 'httpMethod' => 'PATCH',
1084 'parameters' => [
1085 'name' => [
1086 'location' => 'path',
1087 'type' => 'string',
1088 'required' => true,
1089 ],
1090 'updateMask' => [
1091 'location' => 'query',
1092 'type' => 'string',
1093 ],
1094 ],
1095 ],
1096 ]
1097 ]
1098 );
1099 $this->folders_locations = new Logging\Resource\FoldersLocations(
1100 $this,
1101 $this->serviceName,
1102 'locations',
1103 [
1104 'methods' => [
1105 'get' => [
1106 'path' => 'v2/{+name}',
1107 'httpMethod' => 'GET',
1108 'parameters' => [
1109 'name' => [
1110 'location' => 'path',
1111 'type' => 'string',
1112 'required' => true,
1113 ],
1114 ],
1115 ],'list' => [
1116 'path' => 'v2/{+name}/locations',
1117 'httpMethod' => 'GET',
1118 'parameters' => [
1119 'name' => [
1120 'location' => 'path',
1121 'type' => 'string',
1122 'required' => true,
1123 ],
1124 'filter' => [
1125 'location' => 'query',
1126 'type' => 'string',
1127 ],
1128 'pageSize' => [
1129 'location' => 'query',
1130 'type' => 'integer',
1131 ],
1132 'pageToken' => [
1133 'location' => 'query',
1134 'type' => 'string',
1135 ],
1136 ],
1137 ],
1138 ]
1139 ]
1140 );
1141 $this->folders_locations_buckets = new Logging\Resource\FoldersLocationsBuckets(
1142 $this,
1143 $this->serviceName,
1144 'buckets',
1145 [
1146 'methods' => [
1147 'create' => [
1148 'path' => 'v2/{+parent}/buckets',
1149 'httpMethod' => 'POST',
1150 'parameters' => [
1151 'parent' => [
1152 'location' => 'path',
1153 'type' => 'string',
1154 'required' => true,
1155 ],
1156 'bucketId' => [
1157 'location' => 'query',
1158 'type' => 'string',
1159 ],
1160 ],
1161 ],'createAsync' => [
1162 'path' => 'v2/{+parent}/buckets:createAsync',
1163 'httpMethod' => 'POST',
1164 'parameters' => [
1165 'parent' => [
1166 'location' => 'path',
1167 'type' => 'string',
1168 'required' => true,
1169 ],
1170 'bucketId' => [
1171 'location' => 'query',
1172 'type' => 'string',
1173 ],
1174 ],
1175 ],'delete' => [
1176 'path' => 'v2/{+name}',
1177 'httpMethod' => 'DELETE',
1178 'parameters' => [
1179 'name' => [
1180 'location' => 'path',
1181 'type' => 'string',
1182 'required' => true,
1183 ],
1184 ],
1185 ],'get' => [
1186 'path' => 'v2/{+name}',
1187 'httpMethod' => 'GET',
1188 'parameters' => [
1189 'name' => [
1190 'location' => 'path',
1191 'type' => 'string',
1192 'required' => true,
1193 ],
1194 ],
1195 ],'list' => [
1196 'path' => 'v2/{+parent}/buckets',
1197 'httpMethod' => 'GET',
1198 'parameters' => [
1199 'parent' => [
1200 'location' => 'path',
1201 'type' => 'string',
1202 'required' => true,
1203 ],
1204 'pageSize' => [
1205 'location' => 'query',
1206 'type' => 'integer',
1207 ],
1208 'pageToken' => [
1209 'location' => 'query',
1210 'type' => 'string',
1211 ],
1212 ],
1213 ],'patch' => [
1214 'path' => 'v2/{+name}',
1215 'httpMethod' => 'PATCH',
1216 'parameters' => [
1217 'name' => [
1218 'location' => 'path',
1219 'type' => 'string',
1220 'required' => true,
1221 ],
1222 'updateMask' => [
1223 'location' => 'query',
1224 'type' => 'string',
1225 ],
1226 ],
1227 ],'undelete' => [
1228 'path' => 'v2/{+name}:undelete',
1229 'httpMethod' => 'POST',
1230 'parameters' => [
1231 'name' => [
1232 'location' => 'path',
1233 'type' => 'string',
1234 'required' => true,
1235 ],
1236 ],
1237 ],'updateAsync' => [
1238 'path' => 'v2/{+name}:updateAsync',
1239 'httpMethod' => 'POST',
1240 'parameters' => [
1241 'name' => [
1242 'location' => 'path',
1243 'type' => 'string',
1244 'required' => true,
1245 ],
1246 'updateMask' => [
1247 'location' => 'query',
1248 'type' => 'string',
1249 ],
1250 ],
1251 ],
1252 ]
1253 ]
1254 );
1255 $this->folders_locations_buckets_links = new Logging\Resource\FoldersLocationsBucketsLinks(
1256 $this,
1257 $this->serviceName,
1258 'links',
1259 [
1260 'methods' => [
1261 'create' => [
1262 'path' => 'v2/{+parent}/links',
1263 'httpMethod' => 'POST',
1264 'parameters' => [
1265 'parent' => [
1266 'location' => 'path',
1267 'type' => 'string',
1268 'required' => true,
1269 ],
1270 'linkId' => [
1271 'location' => 'query',
1272 'type' => 'string',
1273 ],
1274 ],
1275 ],'delete' => [
1276 'path' => 'v2/{+name}',
1277 'httpMethod' => 'DELETE',
1278 'parameters' => [
1279 'name' => [
1280 'location' => 'path',
1281 'type' => 'string',
1282 'required' => true,
1283 ],
1284 ],
1285 ],'get' => [
1286 'path' => 'v2/{+name}',
1287 'httpMethod' => 'GET',
1288 'parameters' => [
1289 'name' => [
1290 'location' => 'path',
1291 'type' => 'string',
1292 'required' => true,
1293 ],
1294 ],
1295 ],'list' => [
1296 'path' => 'v2/{+parent}/links',
1297 'httpMethod' => 'GET',
1298 'parameters' => [
1299 'parent' => [
1300 'location' => 'path',
1301 'type' => 'string',
1302 'required' => true,
1303 ],
1304 'pageSize' => [
1305 'location' => 'query',
1306 'type' => 'integer',
1307 ],
1308 'pageToken' => [
1309 'location' => 'query',
1310 'type' => 'string',
1311 ],
1312 ],
1313 ],
1314 ]
1315 ]
1316 );
1317 $this->folders_locations_buckets_views = new Logging\Resource\FoldersLocationsBucketsViews(
1318 $this,
1319 $this->serviceName,
1320 'views',
1321 [
1322 'methods' => [
1323 'create' => [
1324 'path' => 'v2/{+parent}/views',
1325 'httpMethod' => 'POST',
1326 'parameters' => [
1327 'parent' => [
1328 'location' => 'path',
1329 'type' => 'string',
1330 'required' => true,
1331 ],
1332 'viewId' => [
1333 'location' => 'query',
1334 'type' => 'string',
1335 ],
1336 ],
1337 ],'delete' => [
1338 'path' => 'v2/{+name}',
1339 'httpMethod' => 'DELETE',
1340 'parameters' => [
1341 'name' => [
1342 'location' => 'path',
1343 'type' => 'string',
1344 'required' => true,
1345 ],
1346 ],
1347 ],'get' => [
1348 'path' => 'v2/{+name}',
1349 'httpMethod' => 'GET',
1350 'parameters' => [
1351 'name' => [
1352 'location' => 'path',
1353 'type' => 'string',
1354 'required' => true,
1355 ],
1356 ],
1357 ],'getIamPolicy' => [
1358 'path' => 'v2/{+resource}:getIamPolicy',
1359 'httpMethod' => 'POST',
1360 'parameters' => [
1361 'resource' => [
1362 'location' => 'path',
1363 'type' => 'string',
1364 'required' => true,
1365 ],
1366 ],
1367 ],'list' => [
1368 'path' => 'v2/{+parent}/views',
1369 'httpMethod' => 'GET',
1370 'parameters' => [
1371 'parent' => [
1372 'location' => 'path',
1373 'type' => 'string',
1374 'required' => true,
1375 ],
1376 'pageSize' => [
1377 'location' => 'query',
1378 'type' => 'integer',
1379 ],
1380 'pageToken' => [
1381 'location' => 'query',
1382 'type' => 'string',
1383 ],
1384 ],
1385 ],'patch' => [
1386 'path' => 'v2/{+name}',
1387 'httpMethod' => 'PATCH',
1388 'parameters' => [
1389 'name' => [
1390 'location' => 'path',
1391 'type' => 'string',
1392 'required' => true,
1393 ],
1394 'updateMask' => [
1395 'location' => 'query',
1396 'type' => 'string',
1397 ],
1398 ],
1399 ],'setIamPolicy' => [
1400 'path' => 'v2/{+resource}:setIamPolicy',
1401 'httpMethod' => 'POST',
1402 'parameters' => [
1403 'resource' => [
1404 'location' => 'path',
1405 'type' => 'string',
1406 'required' => true,
1407 ],
1408 ],
1409 ],'testIamPermissions' => [
1410 'path' => 'v2/{+resource}:testIamPermissions',
1411 'httpMethod' => 'POST',
1412 'parameters' => [
1413 'resource' => [
1414 'location' => 'path',
1415 'type' => 'string',
1416 'required' => true,
1417 ],
1418 ],
1419 ],
1420 ]
1421 ]
1422 );
1423 $this->folders_locations_buckets_views_logs = new Logging\Resource\FoldersLocationsBucketsViewsLogs(
1424 $this,
1425 $this->serviceName,
1426 'logs',
1427 [
1428 'methods' => [
1429 'list' => [
1430 'path' => 'v2/{+parent}/logs',
1431 'httpMethod' => 'GET',
1432 'parameters' => [
1433 'parent' => [
1434 'location' => 'path',
1435 'type' => 'string',
1436 'required' => true,
1437 ],
1438 'pageSize' => [
1439 'location' => 'query',
1440 'type' => 'integer',
1441 ],
1442 'pageToken' => [
1443 'location' => 'query',
1444 'type' => 'string',
1445 ],
1446 'resourceNames' => [
1447 'location' => 'query',
1448 'type' => 'string',
1449 'repeated' => true,
1450 ],
1451 ],
1452 ],
1453 ]
1454 ]
1455 );
1456 $this->folders_locations_logScopes = new Logging\Resource\FoldersLocationsLogScopes(
1457 $this,
1458 $this->serviceName,
1459 'logScopes',
1460 [
1461 'methods' => [
1462 'create' => [
1463 'path' => 'v2/{+parent}/logScopes',
1464 'httpMethod' => 'POST',
1465 'parameters' => [
1466 'parent' => [
1467 'location' => 'path',
1468 'type' => 'string',
1469 'required' => true,
1470 ],
1471 'logScopeId' => [
1472 'location' => 'query',
1473 'type' => 'string',
1474 ],
1475 ],
1476 ],'delete' => [
1477 'path' => 'v2/{+name}',
1478 'httpMethod' => 'DELETE',
1479 'parameters' => [
1480 'name' => [
1481 'location' => 'path',
1482 'type' => 'string',
1483 'required' => true,
1484 ],
1485 ],
1486 ],'get' => [
1487 'path' => 'v2/{+name}',
1488 'httpMethod' => 'GET',
1489 'parameters' => [
1490 'name' => [
1491 'location' => 'path',
1492 'type' => 'string',
1493 'required' => true,
1494 ],
1495 ],
1496 ],'list' => [
1497 'path' => 'v2/{+parent}/logScopes',
1498 'httpMethod' => 'GET',
1499 'parameters' => [
1500 'parent' => [
1501 'location' => 'path',
1502 'type' => 'string',
1503 'required' => true,
1504 ],
1505 'pageSize' => [
1506 'location' => 'query',
1507 'type' => 'integer',
1508 ],
1509 'pageToken' => [
1510 'location' => 'query',
1511 'type' => 'string',
1512 ],
1513 ],
1514 ],'patch' => [
1515 'path' => 'v2/{+name}',
1516 'httpMethod' => 'PATCH',
1517 'parameters' => [
1518 'name' => [
1519 'location' => 'path',
1520 'type' => 'string',
1521 'required' => true,
1522 ],
1523 'updateMask' => [
1524 'location' => 'query',
1525 'type' => 'string',
1526 ],
1527 ],
1528 ],
1529 ]
1530 ]
1531 );
1532 $this->folders_locations_operations = new Logging\Resource\FoldersLocationsOperations(
1533 $this,
1534 $this->serviceName,
1535 'operations',
1536 [
1537 'methods' => [
1538 'cancel' => [
1539 'path' => 'v2/{+name}:cancel',
1540 'httpMethod' => 'POST',
1541 'parameters' => [
1542 'name' => [
1543 'location' => 'path',
1544 'type' => 'string',
1545 'required' => true,
1546 ],
1547 ],
1548 ],'get' => [
1549 'path' => 'v2/{+name}',
1550 'httpMethod' => 'GET',
1551 'parameters' => [
1552 'name' => [
1553 'location' => 'path',
1554 'type' => 'string',
1555 'required' => true,
1556 ],
1557 ],
1558 ],'list' => [
1559 'path' => 'v2/{+name}/operations',
1560 'httpMethod' => 'GET',
1561 'parameters' => [
1562 'name' => [
1563 'location' => 'path',
1564 'type' => 'string',
1565 'required' => true,
1566 ],
1567 'filter' => [
1568 'location' => 'query',
1569 'type' => 'string',
1570 ],
1571 'pageSize' => [
1572 'location' => 'query',
1573 'type' => 'integer',
1574 ],
1575 'pageToken' => [
1576 'location' => 'query',
1577 'type' => 'string',
1578 ],
1579 ],
1580 ],
1581 ]
1582 ]
1583 );
1584 $this->folders_locations_recentQueries = new Logging\Resource\FoldersLocationsRecentQueries(
1585 $this,
1586 $this->serviceName,
1587 'recentQueries',
1588 [
1589 'methods' => [
1590 'list' => [
1591 'path' => 'v2/{+parent}/recentQueries',
1592 'httpMethod' => 'GET',
1593 'parameters' => [
1594 'parent' => [
1595 'location' => 'path',
1596 'type' => 'string',
1597 'required' => true,
1598 ],
1599 'filter' => [
1600 'location' => 'query',
1601 'type' => 'string',
1602 ],
1603 'pageSize' => [
1604 'location' => 'query',
1605 'type' => 'integer',
1606 ],
1607 'pageToken' => [
1608 'location' => 'query',
1609 'type' => 'string',
1610 ],
1611 ],
1612 ],
1613 ]
1614 ]
1615 );
1616 $this->folders_locations_savedQueries = new Logging\Resource\FoldersLocationsSavedQueries(
1617 $this,
1618 $this->serviceName,
1619 'savedQueries',
1620 [
1621 'methods' => [
1622 'create' => [
1623 'path' => 'v2/{+parent}/savedQueries',
1624 'httpMethod' => 'POST',
1625 'parameters' => [
1626 'parent' => [
1627 'location' => 'path',
1628 'type' => 'string',
1629 'required' => true,
1630 ],
1631 'savedQueryId' => [
1632 'location' => 'query',
1633 'type' => 'string',
1634 ],
1635 ],
1636 ],'delete' => [
1637 'path' => 'v2/{+name}',
1638 'httpMethod' => 'DELETE',
1639 'parameters' => [
1640 'name' => [
1641 'location' => 'path',
1642 'type' => 'string',
1643 'required' => true,
1644 ],
1645 ],
1646 ],'get' => [
1647 'path' => 'v2/{+name}',
1648 'httpMethod' => 'GET',
1649 'parameters' => [
1650 'name' => [
1651 'location' => 'path',
1652 'type' => 'string',
1653 'required' => true,
1654 ],
1655 ],
1656 ],'list' => [
1657 'path' => 'v2/{+parent}/savedQueries',
1658 'httpMethod' => 'GET',
1659 'parameters' => [
1660 'parent' => [
1661 'location' => 'path',
1662 'type' => 'string',
1663 'required' => true,
1664 ],
1665 'filter' => [
1666 'location' => 'query',
1667 'type' => 'string',
1668 ],
1669 'pageSize' => [
1670 'location' => 'query',
1671 'type' => 'integer',
1672 ],
1673 'pageToken' => [
1674 'location' => 'query',
1675 'type' => 'string',
1676 ],
1677 ],
1678 ],'patch' => [
1679 'path' => 'v2/{+name}',
1680 'httpMethod' => 'PATCH',
1681 'parameters' => [
1682 'name' => [
1683 'location' => 'path',
1684 'type' => 'string',
1685 'required' => true,
1686 ],
1687 'updateMask' => [
1688 'location' => 'query',
1689 'type' => 'string',
1690 ],
1691 ],
1692 ],
1693 ]
1694 ]
1695 );
1696 $this->folders_logs = new Logging\Resource\FoldersLogs(
1697 $this,
1698 $this->serviceName,
1699 'logs',
1700 [
1701 'methods' => [
1702 'delete' => [
1703 'path' => 'v2/{+logName}',
1704 'httpMethod' => 'DELETE',
1705 'parameters' => [
1706 'logName' => [
1707 'location' => 'path',
1708 'type' => 'string',
1709 'required' => true,
1710 ],
1711 ],
1712 ],'list' => [
1713 'path' => 'v2/{+parent}/logs',
1714 'httpMethod' => 'GET',
1715 'parameters' => [
1716 'parent' => [
1717 'location' => 'path',
1718 'type' => 'string',
1719 'required' => true,
1720 ],
1721 'pageSize' => [
1722 'location' => 'query',
1723 'type' => 'integer',
1724 ],
1725 'pageToken' => [
1726 'location' => 'query',
1727 'type' => 'string',
1728 ],
1729 'resourceNames' => [
1730 'location' => 'query',
1731 'type' => 'string',
1732 'repeated' => true,
1733 ],
1734 ],
1735 ],
1736 ]
1737 ]
1738 );
1739 $this->folders_sinks = new Logging\Resource\FoldersSinks(
1740 $this,
1741 $this->serviceName,
1742 'sinks',
1743 [
1744 'methods' => [
1745 'create' => [
1746 'path' => 'v2/{+parent}/sinks',
1747 'httpMethod' => 'POST',
1748 'parameters' => [
1749 'parent' => [
1750 'location' => 'path',
1751 'type' => 'string',
1752 'required' => true,
1753 ],
1754 'customWriterIdentity' => [
1755 'location' => 'query',
1756 'type' => 'string',
1757 ],
1758 'uniqueWriterIdentity' => [
1759 'location' => 'query',
1760 'type' => 'boolean',
1761 ],
1762 ],
1763 ],'delete' => [
1764 'path' => 'v2/{+sinkName}',
1765 'httpMethod' => 'DELETE',
1766 'parameters' => [
1767 'sinkName' => [
1768 'location' => 'path',
1769 'type' => 'string',
1770 'required' => true,
1771 ],
1772 ],
1773 ],'get' => [
1774 'path' => 'v2/{+sinkName}',
1775 'httpMethod' => 'GET',
1776 'parameters' => [
1777 'sinkName' => [
1778 'location' => 'path',
1779 'type' => 'string',
1780 'required' => true,
1781 ],
1782 ],
1783 ],'list' => [
1784 'path' => 'v2/{+parent}/sinks',
1785 'httpMethod' => 'GET',
1786 'parameters' => [
1787 'parent' => [
1788 'location' => 'path',
1789 'type' => 'string',
1790 'required' => true,
1791 ],
1792 'filter' => [
1793 'location' => 'query',
1794 'type' => 'string',
1795 ],
1796 'pageSize' => [
1797 'location' => 'query',
1798 'type' => 'integer',
1799 ],
1800 'pageToken' => [
1801 'location' => 'query',
1802 'type' => 'string',
1803 ],
1804 ],
1805 ],'patch' => [
1806 'path' => 'v2/{+sinkName}',
1807 'httpMethod' => 'PATCH',
1808 'parameters' => [
1809 'sinkName' => [
1810 'location' => 'path',
1811 'type' => 'string',
1812 'required' => true,
1813 ],
1814 'customWriterIdentity' => [
1815 'location' => 'query',
1816 'type' => 'string',
1817 ],
1818 'uniqueWriterIdentity' => [
1819 'location' => 'query',
1820 'type' => 'boolean',
1821 ],
1822 'updateMask' => [
1823 'location' => 'query',
1824 'type' => 'string',
1825 ],
1826 ],
1827 ],'update' => [
1828 'path' => 'v2/{+sinkName}',
1829 'httpMethod' => 'PUT',
1830 'parameters' => [
1831 'sinkName' => [
1832 'location' => 'path',
1833 'type' => 'string',
1834 'required' => true,
1835 ],
1836 'customWriterIdentity' => [
1837 'location' => 'query',
1838 'type' => 'string',
1839 ],
1840 'uniqueWriterIdentity' => [
1841 'location' => 'query',
1842 'type' => 'boolean',
1843 ],
1844 'updateMask' => [
1845 'location' => 'query',
1846 'type' => 'string',
1847 ],
1848 ],
1849 ],
1850 ]
1851 ]
1852 );
1853 $this->locations = new Logging\Resource\Locations(
1854 $this,
1855 $this->serviceName,
1856 'locations',
1857 [
1858 'methods' => [
1859 'get' => [
1860 'path' => 'v2/{+name}',
1861 'httpMethod' => 'GET',
1862 'parameters' => [
1863 'name' => [
1864 'location' => 'path',
1865 'type' => 'string',
1866 'required' => true,
1867 ],
1868 ],
1869 ],'list' => [
1870 'path' => 'v2/{+name}/locations',
1871 'httpMethod' => 'GET',
1872 'parameters' => [
1873 'name' => [
1874 'location' => 'path',
1875 'type' => 'string',
1876 'required' => true,
1877 ],
1878 'filter' => [
1879 'location' => 'query',
1880 'type' => 'string',
1881 ],
1882 'pageSize' => [
1883 'location' => 'query',
1884 'type' => 'integer',
1885 ],
1886 'pageToken' => [
1887 'location' => 'query',
1888 'type' => 'string',
1889 ],
1890 ],
1891 ],
1892 ]
1893 ]
1894 );
1895 $this->locations_buckets = new Logging\Resource\LocationsBuckets(
1896 $this,
1897 $this->serviceName,
1898 'buckets',
1899 [
1900 'methods' => [
1901 'create' => [
1902 'path' => 'v2/{+parent}/buckets',
1903 'httpMethod' => 'POST',
1904 'parameters' => [
1905 'parent' => [
1906 'location' => 'path',
1907 'type' => 'string',
1908 'required' => true,
1909 ],
1910 'bucketId' => [
1911 'location' => 'query',
1912 'type' => 'string',
1913 ],
1914 ],
1915 ],'createAsync' => [
1916 'path' => 'v2/{+parent}/buckets:createAsync',
1917 'httpMethod' => 'POST',
1918 'parameters' => [
1919 'parent' => [
1920 'location' => 'path',
1921 'type' => 'string',
1922 'required' => true,
1923 ],
1924 'bucketId' => [
1925 'location' => 'query',
1926 'type' => 'string',
1927 ],
1928 ],
1929 ],'delete' => [
1930 'path' => 'v2/{+name}',
1931 'httpMethod' => 'DELETE',
1932 'parameters' => [
1933 'name' => [
1934 'location' => 'path',
1935 'type' => 'string',
1936 'required' => true,
1937 ],
1938 ],
1939 ],'get' => [
1940 'path' => 'v2/{+name}',
1941 'httpMethod' => 'GET',
1942 'parameters' => [
1943 'name' => [
1944 'location' => 'path',
1945 'type' => 'string',
1946 'required' => true,
1947 ],
1948 ],
1949 ],'list' => [
1950 'path' => 'v2/{+parent}/buckets',
1951 'httpMethod' => 'GET',
1952 'parameters' => [
1953 'parent' => [
1954 'location' => 'path',
1955 'type' => 'string',
1956 'required' => true,
1957 ],
1958 'pageSize' => [
1959 'location' => 'query',
1960 'type' => 'integer',
1961 ],
1962 'pageToken' => [
1963 'location' => 'query',
1964 'type' => 'string',
1965 ],
1966 ],
1967 ],'patch' => [
1968 'path' => 'v2/{+name}',
1969 'httpMethod' => 'PATCH',
1970 'parameters' => [
1971 'name' => [
1972 'location' => 'path',
1973 'type' => 'string',
1974 'required' => true,
1975 ],
1976 'updateMask' => [
1977 'location' => 'query',
1978 'type' => 'string',
1979 ],
1980 ],
1981 ],'undelete' => [
1982 'path' => 'v2/{+name}:undelete',
1983 'httpMethod' => 'POST',
1984 'parameters' => [
1985 'name' => [
1986 'location' => 'path',
1987 'type' => 'string',
1988 'required' => true,
1989 ],
1990 ],
1991 ],'updateAsync' => [
1992 'path' => 'v2/{+name}:updateAsync',
1993 'httpMethod' => 'POST',
1994 'parameters' => [
1995 'name' => [
1996 'location' => 'path',
1997 'type' => 'string',
1998 'required' => true,
1999 ],
2000 'updateMask' => [
2001 'location' => 'query',
2002 'type' => 'string',
2003 ],
2004 ],
2005 ],
2006 ]
2007 ]
2008 );
2009 $this->locations_buckets_links = new Logging\Resource\LocationsBucketsLinks(
2010 $this,
2011 $this->serviceName,
2012 'links',
2013 [
2014 'methods' => [
2015 'create' => [
2016 'path' => 'v2/{+parent}/links',
2017 'httpMethod' => 'POST',
2018 'parameters' => [
2019 'parent' => [
2020 'location' => 'path',
2021 'type' => 'string',
2022 'required' => true,
2023 ],
2024 'linkId' => [
2025 'location' => 'query',
2026 'type' => 'string',
2027 ],
2028 ],
2029 ],'delete' => [
2030 'path' => 'v2/{+name}',
2031 'httpMethod' => 'DELETE',
2032 'parameters' => [
2033 'name' => [
2034 'location' => 'path',
2035 'type' => 'string',
2036 'required' => true,
2037 ],
2038 ],
2039 ],'get' => [
2040 'path' => 'v2/{+name}',
2041 'httpMethod' => 'GET',
2042 'parameters' => [
2043 'name' => [
2044 'location' => 'path',
2045 'type' => 'string',
2046 'required' => true,
2047 ],
2048 ],
2049 ],'list' => [
2050 'path' => 'v2/{+parent}/links',
2051 'httpMethod' => 'GET',
2052 'parameters' => [
2053 'parent' => [
2054 'location' => 'path',
2055 'type' => 'string',
2056 'required' => true,
2057 ],
2058 'pageSize' => [
2059 'location' => 'query',
2060 'type' => 'integer',
2061 ],
2062 'pageToken' => [
2063 'location' => 'query',
2064 'type' => 'string',
2065 ],
2066 ],
2067 ],
2068 ]
2069 ]
2070 );
2071 $this->locations_buckets_views = new Logging\Resource\LocationsBucketsViews(
2072 $this,
2073 $this->serviceName,
2074 'views',
2075 [
2076 'methods' => [
2077 'create' => [
2078 'path' => 'v2/{+parent}/views',
2079 'httpMethod' => 'POST',
2080 'parameters' => [
2081 'parent' => [
2082 'location' => 'path',
2083 'type' => 'string',
2084 'required' => true,
2085 ],
2086 'viewId' => [
2087 'location' => 'query',
2088 'type' => 'string',
2089 ],
2090 ],
2091 ],'delete' => [
2092 'path' => 'v2/{+name}',
2093 'httpMethod' => 'DELETE',
2094 'parameters' => [
2095 'name' => [
2096 'location' => 'path',
2097 'type' => 'string',
2098 'required' => true,
2099 ],
2100 ],
2101 ],'get' => [
2102 'path' => 'v2/{+name}',
2103 'httpMethod' => 'GET',
2104 'parameters' => [
2105 'name' => [
2106 'location' => 'path',
2107 'type' => 'string',
2108 'required' => true,
2109 ],
2110 ],
2111 ],'getIamPolicy' => [
2112 'path' => 'v2/{+resource}:getIamPolicy',
2113 'httpMethod' => 'POST',
2114 'parameters' => [
2115 'resource' => [
2116 'location' => 'path',
2117 'type' => 'string',
2118 'required' => true,
2119 ],
2120 ],
2121 ],'list' => [
2122 'path' => 'v2/{+parent}/views',
2123 'httpMethod' => 'GET',
2124 'parameters' => [
2125 'parent' => [
2126 'location' => 'path',
2127 'type' => 'string',
2128 'required' => true,
2129 ],
2130 'pageSize' => [
2131 'location' => 'query',
2132 'type' => 'integer',
2133 ],
2134 'pageToken' => [
2135 'location' => 'query',
2136 'type' => 'string',
2137 ],
2138 ],
2139 ],'patch' => [
2140 'path' => 'v2/{+name}',
2141 'httpMethod' => 'PATCH',
2142 'parameters' => [
2143 'name' => [
2144 'location' => 'path',
2145 'type' => 'string',
2146 'required' => true,
2147 ],
2148 'updateMask' => [
2149 'location' => 'query',
2150 'type' => 'string',
2151 ],
2152 ],
2153 ],'setIamPolicy' => [
2154 'path' => 'v2/{+resource}:setIamPolicy',
2155 'httpMethod' => 'POST',
2156 'parameters' => [
2157 'resource' => [
2158 'location' => 'path',
2159 'type' => 'string',
2160 'required' => true,
2161 ],
2162 ],
2163 ],'testIamPermissions' => [
2164 'path' => 'v2/{+resource}:testIamPermissions',
2165 'httpMethod' => 'POST',
2166 'parameters' => [
2167 'resource' => [
2168 'location' => 'path',
2169 'type' => 'string',
2170 'required' => true,
2171 ],
2172 ],
2173 ],
2174 ]
2175 ]
2176 );
2177 $this->locations_operations = new Logging\Resource\LocationsOperations(
2178 $this,
2179 $this->serviceName,
2180 'operations',
2181 [
2182 'methods' => [
2183 'cancel' => [
2184 'path' => 'v2/{+name}:cancel',
2185 'httpMethod' => 'POST',
2186 'parameters' => [
2187 'name' => [
2188 'location' => 'path',
2189 'type' => 'string',
2190 'required' => true,
2191 ],
2192 ],
2193 ],'get' => [
2194 'path' => 'v2/{+name}',
2195 'httpMethod' => 'GET',
2196 'parameters' => [
2197 'name' => [
2198 'location' => 'path',
2199 'type' => 'string',
2200 'required' => true,
2201 ],
2202 ],
2203 ],'list' => [
2204 'path' => 'v2/{+name}/operations',
2205 'httpMethod' => 'GET',
2206 'parameters' => [
2207 'name' => [
2208 'location' => 'path',
2209 'type' => 'string',
2210 'required' => true,
2211 ],
2212 'filter' => [
2213 'location' => 'query',
2214 'type' => 'string',
2215 ],
2216 'pageSize' => [
2217 'location' => 'query',
2218 'type' => 'integer',
2219 ],
2220 'pageToken' => [
2221 'location' => 'query',
2222 'type' => 'string',
2223 ],
2224 ],
2225 ],
2226 ]
2227 ]
2228 );
2229 $this->logs = new Logging\Resource\Logs(
2230 $this,
2231 $this->serviceName,
2232 'logs',
2233 [
2234 'methods' => [
2235 'delete' => [
2236 'path' => 'v2/{+logName}',
2237 'httpMethod' => 'DELETE',
2238 'parameters' => [
2239 'logName' => [
2240 'location' => 'path',
2241 'type' => 'string',
2242 'required' => true,
2243 ],
2244 ],
2245 ],'list' => [
2246 'path' => 'v2/{+parent}/logs',
2247 'httpMethod' => 'GET',
2248 'parameters' => [
2249 'parent' => [
2250 'location' => 'path',
2251 'type' => 'string',
2252 'required' => true,
2253 ],
2254 'pageSize' => [
2255 'location' => 'query',
2256 'type' => 'integer',
2257 ],
2258 'pageToken' => [
2259 'location' => 'query',
2260 'type' => 'string',
2261 ],
2262 'resourceNames' => [
2263 'location' => 'query',
2264 'type' => 'string',
2265 'repeated' => true,
2266 ],
2267 ],
2268 ],
2269 ]
2270 ]
2271 );
2272 $this->monitoredResourceDescriptors = new Logging\Resource\MonitoredResourceDescriptors(
2273 $this,
2274 $this->serviceName,
2275 'monitoredResourceDescriptors',
2276 [
2277 'methods' => [
2278 'list' => [
2279 'path' => 'v2/monitoredResourceDescriptors',
2280 'httpMethod' => 'GET',
2281 'parameters' => [
2282 'pageSize' => [
2283 'location' => 'query',
2284 'type' => 'integer',
2285 ],
2286 'pageToken' => [
2287 'location' => 'query',
2288 'type' => 'string',
2289 ],
2290 ],
2291 ],
2292 ]
2293 ]
2294 );
2295 $this->organizations = new Logging\Resource\Organizations(
2296 $this,
2297 $this->serviceName,
2298 'organizations',
2299 [
2300 'methods' => [
2301 'getCmekSettings' => [
2302 'path' => 'v2/{+name}/cmekSettings',
2303 'httpMethod' => 'GET',
2304 'parameters' => [
2305 'name' => [
2306 'location' => 'path',
2307 'type' => 'string',
2308 'required' => true,
2309 ],
2310 ],
2311 ],'getSettings' => [
2312 'path' => 'v2/{+name}/settings',
2313 'httpMethod' => 'GET',
2314 'parameters' => [
2315 'name' => [
2316 'location' => 'path',
2317 'type' => 'string',
2318 'required' => true,
2319 ],
2320 ],
2321 ],'updateCmekSettings' => [
2322 'path' => 'v2/{+name}/cmekSettings',
2323 'httpMethod' => 'PATCH',
2324 'parameters' => [
2325 'name' => [
2326 'location' => 'path',
2327 'type' => 'string',
2328 'required' => true,
2329 ],
2330 'updateMask' => [
2331 'location' => 'query',
2332 'type' => 'string',
2333 ],
2334 ],
2335 ],'updateSettings' => [
2336 'path' => 'v2/{+name}/settings',
2337 'httpMethod' => 'PATCH',
2338 'parameters' => [
2339 'name' => [
2340 'location' => 'path',
2341 'type' => 'string',
2342 'required' => true,
2343 ],
2344 'updateMask' => [
2345 'location' => 'query',
2346 'type' => 'string',
2347 ],
2348 ],
2349 ],
2350 ]
2351 ]
2352 );
2353 $this->organizations_exclusions = new Logging\Resource\OrganizationsExclusions(
2354 $this,
2355 $this->serviceName,
2356 'exclusions',
2357 [
2358 'methods' => [
2359 'create' => [
2360 'path' => 'v2/{+parent}/exclusions',
2361 'httpMethod' => 'POST',
2362 'parameters' => [
2363 'parent' => [
2364 'location' => 'path',
2365 'type' => 'string',
2366 'required' => true,
2367 ],
2368 ],
2369 ],'delete' => [
2370 'path' => 'v2/{+name}',
2371 'httpMethod' => 'DELETE',
2372 'parameters' => [
2373 'name' => [
2374 'location' => 'path',
2375 'type' => 'string',
2376 'required' => true,
2377 ],
2378 ],
2379 ],'get' => [
2380 'path' => 'v2/{+name}',
2381 'httpMethod' => 'GET',
2382 'parameters' => [
2383 'name' => [
2384 'location' => 'path',
2385 'type' => 'string',
2386 'required' => true,
2387 ],
2388 ],
2389 ],'list' => [
2390 'path' => 'v2/{+parent}/exclusions',
2391 'httpMethod' => 'GET',
2392 'parameters' => [
2393 'parent' => [
2394 'location' => 'path',
2395 'type' => 'string',
2396 'required' => true,
2397 ],
2398 'pageSize' => [
2399 'location' => 'query',
2400 'type' => 'integer',
2401 ],
2402 'pageToken' => [
2403 'location' => 'query',
2404 'type' => 'string',
2405 ],
2406 ],
2407 ],'patch' => [
2408 'path' => 'v2/{+name}',
2409 'httpMethod' => 'PATCH',
2410 'parameters' => [
2411 'name' => [
2412 'location' => 'path',
2413 'type' => 'string',
2414 'required' => true,
2415 ],
2416 'updateMask' => [
2417 'location' => 'query',
2418 'type' => 'string',
2419 ],
2420 ],
2421 ],
2422 ]
2423 ]
2424 );
2425 $this->organizations_locations = new Logging\Resource\OrganizationsLocations(
2426 $this,
2427 $this->serviceName,
2428 'locations',
2429 [
2430 'methods' => [
2431 'get' => [
2432 'path' => 'v2/{+name}',
2433 'httpMethod' => 'GET',
2434 'parameters' => [
2435 'name' => [
2436 'location' => 'path',
2437 'type' => 'string',
2438 'required' => true,
2439 ],
2440 ],
2441 ],'list' => [
2442 'path' => 'v2/{+name}/locations',
2443 'httpMethod' => 'GET',
2444 'parameters' => [
2445 'name' => [
2446 'location' => 'path',
2447 'type' => 'string',
2448 'required' => true,
2449 ],
2450 'filter' => [
2451 'location' => 'query',
2452 'type' => 'string',
2453 ],
2454 'pageSize' => [
2455 'location' => 'query',
2456 'type' => 'integer',
2457 ],
2458 'pageToken' => [
2459 'location' => 'query',
2460 'type' => 'string',
2461 ],
2462 ],
2463 ],
2464 ]
2465 ]
2466 );
2467 $this->organizations_locations_buckets = new Logging\Resource\OrganizationsLocationsBuckets(
2468 $this,
2469 $this->serviceName,
2470 'buckets',
2471 [
2472 'methods' => [
2473 'create' => [
2474 'path' => 'v2/{+parent}/buckets',
2475 'httpMethod' => 'POST',
2476 'parameters' => [
2477 'parent' => [
2478 'location' => 'path',
2479 'type' => 'string',
2480 'required' => true,
2481 ],
2482 'bucketId' => [
2483 'location' => 'query',
2484 'type' => 'string',
2485 ],
2486 ],
2487 ],'createAsync' => [
2488 'path' => 'v2/{+parent}/buckets:createAsync',
2489 'httpMethod' => 'POST',
2490 'parameters' => [
2491 'parent' => [
2492 'location' => 'path',
2493 'type' => 'string',
2494 'required' => true,
2495 ],
2496 'bucketId' => [
2497 'location' => 'query',
2498 'type' => 'string',
2499 ],
2500 ],
2501 ],'delete' => [
2502 'path' => 'v2/{+name}',
2503 'httpMethod' => 'DELETE',
2504 'parameters' => [
2505 'name' => [
2506 'location' => 'path',
2507 'type' => 'string',
2508 'required' => true,
2509 ],
2510 ],
2511 ],'get' => [
2512 'path' => 'v2/{+name}',
2513 'httpMethod' => 'GET',
2514 'parameters' => [
2515 'name' => [
2516 'location' => 'path',
2517 'type' => 'string',
2518 'required' => true,
2519 ],
2520 ],
2521 ],'list' => [
2522 'path' => 'v2/{+parent}/buckets',
2523 'httpMethod' => 'GET',
2524 'parameters' => [
2525 'parent' => [
2526 'location' => 'path',
2527 'type' => 'string',
2528 'required' => true,
2529 ],
2530 'pageSize' => [
2531 'location' => 'query',
2532 'type' => 'integer',
2533 ],
2534 'pageToken' => [
2535 'location' => 'query',
2536 'type' => 'string',
2537 ],
2538 ],
2539 ],'patch' => [
2540 'path' => 'v2/{+name}',
2541 'httpMethod' => 'PATCH',
2542 'parameters' => [
2543 'name' => [
2544 'location' => 'path',
2545 'type' => 'string',
2546 'required' => true,
2547 ],
2548 'updateMask' => [
2549 'location' => 'query',
2550 'type' => 'string',
2551 ],
2552 ],
2553 ],'undelete' => [
2554 'path' => 'v2/{+name}:undelete',
2555 'httpMethod' => 'POST',
2556 'parameters' => [
2557 'name' => [
2558 'location' => 'path',
2559 'type' => 'string',
2560 'required' => true,
2561 ],
2562 ],
2563 ],'updateAsync' => [
2564 'path' => 'v2/{+name}:updateAsync',
2565 'httpMethod' => 'POST',
2566 'parameters' => [
2567 'name' => [
2568 'location' => 'path',
2569 'type' => 'string',
2570 'required' => true,
2571 ],
2572 'updateMask' => [
2573 'location' => 'query',
2574 'type' => 'string',
2575 ],
2576 ],
2577 ],
2578 ]
2579 ]
2580 );
2581 $this->organizations_locations_buckets_links = new Logging\Resource\OrganizationsLocationsBucketsLinks(
2582 $this,
2583 $this->serviceName,
2584 'links',
2585 [
2586 'methods' => [
2587 'create' => [
2588 'path' => 'v2/{+parent}/links',
2589 'httpMethod' => 'POST',
2590 'parameters' => [
2591 'parent' => [
2592 'location' => 'path',
2593 'type' => 'string',
2594 'required' => true,
2595 ],
2596 'linkId' => [
2597 'location' => 'query',
2598 'type' => 'string',
2599 ],
2600 ],
2601 ],'delete' => [
2602 'path' => 'v2/{+name}',
2603 'httpMethod' => 'DELETE',
2604 'parameters' => [
2605 'name' => [
2606 'location' => 'path',
2607 'type' => 'string',
2608 'required' => true,
2609 ],
2610 ],
2611 ],'get' => [
2612 'path' => 'v2/{+name}',
2613 'httpMethod' => 'GET',
2614 'parameters' => [
2615 'name' => [
2616 'location' => 'path',
2617 'type' => 'string',
2618 'required' => true,
2619 ],
2620 ],
2621 ],'list' => [
2622 'path' => 'v2/{+parent}/links',
2623 'httpMethod' => 'GET',
2624 'parameters' => [
2625 'parent' => [
2626 'location' => 'path',
2627 'type' => 'string',
2628 'required' => true,
2629 ],
2630 'pageSize' => [
2631 'location' => 'query',
2632 'type' => 'integer',
2633 ],
2634 'pageToken' => [
2635 'location' => 'query',
2636 'type' => 'string',
2637 ],
2638 ],
2639 ],
2640 ]
2641 ]
2642 );
2643 $this->organizations_locations_buckets_views = new Logging\Resource\OrganizationsLocationsBucketsViews(
2644 $this,
2645 $this->serviceName,
2646 'views',
2647 [
2648 'methods' => [
2649 'create' => [
2650 'path' => 'v2/{+parent}/views',
2651 'httpMethod' => 'POST',
2652 'parameters' => [
2653 'parent' => [
2654 'location' => 'path',
2655 'type' => 'string',
2656 'required' => true,
2657 ],
2658 'viewId' => [
2659 'location' => 'query',
2660 'type' => 'string',
2661 ],
2662 ],
2663 ],'delete' => [
2664 'path' => 'v2/{+name}',
2665 'httpMethod' => 'DELETE',
2666 'parameters' => [
2667 'name' => [
2668 'location' => 'path',
2669 'type' => 'string',
2670 'required' => true,
2671 ],
2672 ],
2673 ],'get' => [
2674 'path' => 'v2/{+name}',
2675 'httpMethod' => 'GET',
2676 'parameters' => [
2677 'name' => [
2678 'location' => 'path',
2679 'type' => 'string',
2680 'required' => true,
2681 ],
2682 ],
2683 ],'getIamPolicy' => [
2684 'path' => 'v2/{+resource}:getIamPolicy',
2685 'httpMethod' => 'POST',
2686 'parameters' => [
2687 'resource' => [
2688 'location' => 'path',
2689 'type' => 'string',
2690 'required' => true,
2691 ],
2692 ],
2693 ],'list' => [
2694 'path' => 'v2/{+parent}/views',
2695 'httpMethod' => 'GET',
2696 'parameters' => [
2697 'parent' => [
2698 'location' => 'path',
2699 'type' => 'string',
2700 'required' => true,
2701 ],
2702 'pageSize' => [
2703 'location' => 'query',
2704 'type' => 'integer',
2705 ],
2706 'pageToken' => [
2707 'location' => 'query',
2708 'type' => 'string',
2709 ],
2710 ],
2711 ],'patch' => [
2712 'path' => 'v2/{+name}',
2713 'httpMethod' => 'PATCH',
2714 'parameters' => [
2715 'name' => [
2716 'location' => 'path',
2717 'type' => 'string',
2718 'required' => true,
2719 ],
2720 'updateMask' => [
2721 'location' => 'query',
2722 'type' => 'string',
2723 ],
2724 ],
2725 ],'setIamPolicy' => [
2726 'path' => 'v2/{+resource}:setIamPolicy',
2727 'httpMethod' => 'POST',
2728 'parameters' => [
2729 'resource' => [
2730 'location' => 'path',
2731 'type' => 'string',
2732 'required' => true,
2733 ],
2734 ],
2735 ],'testIamPermissions' => [
2736 'path' => 'v2/{+resource}:testIamPermissions',
2737 'httpMethod' => 'POST',
2738 'parameters' => [
2739 'resource' => [
2740 'location' => 'path',
2741 'type' => 'string',
2742 'required' => true,
2743 ],
2744 ],
2745 ],
2746 ]
2747 ]
2748 );
2749 $this->organizations_locations_buckets_views_logs = new Logging\Resource\OrganizationsLocationsBucketsViewsLogs(
2750 $this,
2751 $this->serviceName,
2752 'logs',
2753 [
2754 'methods' => [
2755 'list' => [
2756 'path' => 'v2/{+parent}/logs',
2757 'httpMethod' => 'GET',
2758 'parameters' => [
2759 'parent' => [
2760 'location' => 'path',
2761 'type' => 'string',
2762 'required' => true,
2763 ],
2764 'pageSize' => [
2765 'location' => 'query',
2766 'type' => 'integer',
2767 ],
2768 'pageToken' => [
2769 'location' => 'query',
2770 'type' => 'string',
2771 ],
2772 'resourceNames' => [
2773 'location' => 'query',
2774 'type' => 'string',
2775 'repeated' => true,
2776 ],
2777 ],
2778 ],
2779 ]
2780 ]
2781 );
2782 $this->organizations_locations_logScopes = new Logging\Resource\OrganizationsLocationsLogScopes(
2783 $this,
2784 $this->serviceName,
2785 'logScopes',
2786 [
2787 'methods' => [
2788 'create' => [
2789 'path' => 'v2/{+parent}/logScopes',
2790 'httpMethod' => 'POST',
2791 'parameters' => [
2792 'parent' => [
2793 'location' => 'path',
2794 'type' => 'string',
2795 'required' => true,
2796 ],
2797 'logScopeId' => [
2798 'location' => 'query',
2799 'type' => 'string',
2800 ],
2801 ],
2802 ],'delete' => [
2803 'path' => 'v2/{+name}',
2804 'httpMethod' => 'DELETE',
2805 'parameters' => [
2806 'name' => [
2807 'location' => 'path',
2808 'type' => 'string',
2809 'required' => true,
2810 ],
2811 ],
2812 ],'get' => [
2813 'path' => 'v2/{+name}',
2814 'httpMethod' => 'GET',
2815 'parameters' => [
2816 'name' => [
2817 'location' => 'path',
2818 'type' => 'string',
2819 'required' => true,
2820 ],
2821 ],
2822 ],'list' => [
2823 'path' => 'v2/{+parent}/logScopes',
2824 'httpMethod' => 'GET',
2825 'parameters' => [
2826 'parent' => [
2827 'location' => 'path',
2828 'type' => 'string',
2829 'required' => true,
2830 ],
2831 'pageSize' => [
2832 'location' => 'query',
2833 'type' => 'integer',
2834 ],
2835 'pageToken' => [
2836 'location' => 'query',
2837 'type' => 'string',
2838 ],
2839 ],
2840 ],'patch' => [
2841 'path' => 'v2/{+name}',
2842 'httpMethod' => 'PATCH',
2843 'parameters' => [
2844 'name' => [
2845 'location' => 'path',
2846 'type' => 'string',
2847 'required' => true,
2848 ],
2849 'updateMask' => [
2850 'location' => 'query',
2851 'type' => 'string',
2852 ],
2853 ],
2854 ],
2855 ]
2856 ]
2857 );
2858 $this->organizations_locations_operations = new Logging\Resource\OrganizationsLocationsOperations(
2859 $this,
2860 $this->serviceName,
2861 'operations',
2862 [
2863 'methods' => [
2864 'cancel' => [
2865 'path' => 'v2/{+name}:cancel',
2866 'httpMethod' => 'POST',
2867 'parameters' => [
2868 'name' => [
2869 'location' => 'path',
2870 'type' => 'string',
2871 'required' => true,
2872 ],
2873 ],
2874 ],'get' => [
2875 'path' => 'v2/{+name}',
2876 'httpMethod' => 'GET',
2877 'parameters' => [
2878 'name' => [
2879 'location' => 'path',
2880 'type' => 'string',
2881 'required' => true,
2882 ],
2883 ],
2884 ],'list' => [
2885 'path' => 'v2/{+name}/operations',
2886 'httpMethod' => 'GET',
2887 'parameters' => [
2888 'name' => [
2889 'location' => 'path',
2890 'type' => 'string',
2891 'required' => true,
2892 ],
2893 'filter' => [
2894 'location' => 'query',
2895 'type' => 'string',
2896 ],
2897 'pageSize' => [
2898 'location' => 'query',
2899 'type' => 'integer',
2900 ],
2901 'pageToken' => [
2902 'location' => 'query',
2903 'type' => 'string',
2904 ],
2905 ],
2906 ],
2907 ]
2908 ]
2909 );
2910 $this->organizations_locations_recentQueries = new Logging\Resource\OrganizationsLocationsRecentQueries(
2911 $this,
2912 $this->serviceName,
2913 'recentQueries',
2914 [
2915 'methods' => [
2916 'list' => [
2917 'path' => 'v2/{+parent}/recentQueries',
2918 'httpMethod' => 'GET',
2919 'parameters' => [
2920 'parent' => [
2921 'location' => 'path',
2922 'type' => 'string',
2923 'required' => true,
2924 ],
2925 'filter' => [
2926 'location' => 'query',
2927 'type' => 'string',
2928 ],
2929 'pageSize' => [
2930 'location' => 'query',
2931 'type' => 'integer',
2932 ],
2933 'pageToken' => [
2934 'location' => 'query',
2935 'type' => 'string',
2936 ],
2937 ],
2938 ],
2939 ]
2940 ]
2941 );
2942 $this->organizations_locations_savedQueries = new Logging\Resource\OrganizationsLocationsSavedQueries(
2943 $this,
2944 $this->serviceName,
2945 'savedQueries',
2946 [
2947 'methods' => [
2948 'create' => [
2949 'path' => 'v2/{+parent}/savedQueries',
2950 'httpMethod' => 'POST',
2951 'parameters' => [
2952 'parent' => [
2953 'location' => 'path',
2954 'type' => 'string',
2955 'required' => true,
2956 ],
2957 'savedQueryId' => [
2958 'location' => 'query',
2959 'type' => 'string',
2960 ],
2961 ],
2962 ],'delete' => [
2963 'path' => 'v2/{+name}',
2964 'httpMethod' => 'DELETE',
2965 'parameters' => [
2966 'name' => [
2967 'location' => 'path',
2968 'type' => 'string',
2969 'required' => true,
2970 ],
2971 ],
2972 ],'get' => [
2973 'path' => 'v2/{+name}',
2974 'httpMethod' => 'GET',
2975 'parameters' => [
2976 'name' => [
2977 'location' => 'path',
2978 'type' => 'string',
2979 'required' => true,
2980 ],
2981 ],
2982 ],'list' => [
2983 'path' => 'v2/{+parent}/savedQueries',
2984 'httpMethod' => 'GET',
2985 'parameters' => [
2986 'parent' => [
2987 'location' => 'path',
2988 'type' => 'string',
2989 'required' => true,
2990 ],
2991 'filter' => [
2992 'location' => 'query',
2993 'type' => 'string',
2994 ],
2995 'pageSize' => [
2996 'location' => 'query',
2997 'type' => 'integer',
2998 ],
2999 'pageToken' => [
3000 'location' => 'query',
3001 'type' => 'string',
3002 ],
3003 ],
3004 ],'patch' => [
3005 'path' => 'v2/{+name}',
3006 'httpMethod' => 'PATCH',
3007 'parameters' => [
3008 'name' => [
3009 'location' => 'path',
3010 'type' => 'string',
3011 'required' => true,
3012 ],
3013 'updateMask' => [
3014 'location' => 'query',
3015 'type' => 'string',
3016 ],
3017 ],
3018 ],
3019 ]
3020 ]
3021 );
3022 $this->organizations_logs = new Logging\Resource\OrganizationsLogs(
3023 $this,
3024 $this->serviceName,
3025 'logs',
3026 [
3027 'methods' => [
3028 'delete' => [
3029 'path' => 'v2/{+logName}',
3030 'httpMethod' => 'DELETE',
3031 'parameters' => [
3032 'logName' => [
3033 'location' => 'path',
3034 'type' => 'string',
3035 'required' => true,
3036 ],
3037 ],
3038 ],'list' => [
3039 'path' => 'v2/{+parent}/logs',
3040 'httpMethod' => 'GET',
3041 'parameters' => [
3042 'parent' => [
3043 'location' => 'path',
3044 'type' => 'string',
3045 'required' => true,
3046 ],
3047 'pageSize' => [
3048 'location' => 'query',
3049 'type' => 'integer',
3050 ],
3051 'pageToken' => [
3052 'location' => 'query',
3053 'type' => 'string',
3054 ],
3055 'resourceNames' => [
3056 'location' => 'query',
3057 'type' => 'string',
3058 'repeated' => true,
3059 ],
3060 ],
3061 ],
3062 ]
3063 ]
3064 );
3065 $this->organizations_sinks = new Logging\Resource\OrganizationsSinks(
3066 $this,
3067 $this->serviceName,
3068 'sinks',
3069 [
3070 'methods' => [
3071 'create' => [
3072 'path' => 'v2/{+parent}/sinks',
3073 'httpMethod' => 'POST',
3074 'parameters' => [
3075 'parent' => [
3076 'location' => 'path',
3077 'type' => 'string',
3078 'required' => true,
3079 ],
3080 'customWriterIdentity' => [
3081 'location' => 'query',
3082 'type' => 'string',
3083 ],
3084 'uniqueWriterIdentity' => [
3085 'location' => 'query',
3086 'type' => 'boolean',
3087 ],
3088 ],
3089 ],'delete' => [
3090 'path' => 'v2/{+sinkName}',
3091 'httpMethod' => 'DELETE',
3092 'parameters' => [
3093 'sinkName' => [
3094 'location' => 'path',
3095 'type' => 'string',
3096 'required' => true,
3097 ],
3098 ],
3099 ],'get' => [
3100 'path' => 'v2/{+sinkName}',
3101 'httpMethod' => 'GET',
3102 'parameters' => [
3103 'sinkName' => [
3104 'location' => 'path',
3105 'type' => 'string',
3106 'required' => true,
3107 ],
3108 ],
3109 ],'list' => [
3110 'path' => 'v2/{+parent}/sinks',
3111 'httpMethod' => 'GET',
3112 'parameters' => [
3113 'parent' => [
3114 'location' => 'path',
3115 'type' => 'string',
3116 'required' => true,
3117 ],
3118 'filter' => [
3119 'location' => 'query',
3120 'type' => 'string',
3121 ],
3122 'pageSize' => [
3123 'location' => 'query',
3124 'type' => 'integer',
3125 ],
3126 'pageToken' => [
3127 'location' => 'query',
3128 'type' => 'string',
3129 ],
3130 ],
3131 ],'patch' => [
3132 'path' => 'v2/{+sinkName}',
3133 'httpMethod' => 'PATCH',
3134 'parameters' => [
3135 'sinkName' => [
3136 'location' => 'path',
3137 'type' => 'string',
3138 'required' => true,
3139 ],
3140 'customWriterIdentity' => [
3141 'location' => 'query',
3142 'type' => 'string',
3143 ],
3144 'uniqueWriterIdentity' => [
3145 'location' => 'query',
3146 'type' => 'boolean',
3147 ],
3148 'updateMask' => [
3149 'location' => 'query',
3150 'type' => 'string',
3151 ],
3152 ],
3153 ],'update' => [
3154 'path' => 'v2/{+sinkName}',
3155 'httpMethod' => 'PUT',
3156 'parameters' => [
3157 'sinkName' => [
3158 'location' => 'path',
3159 'type' => 'string',
3160 'required' => true,
3161 ],
3162 'customWriterIdentity' => [
3163 'location' => 'query',
3164 'type' => 'string',
3165 ],
3166 'uniqueWriterIdentity' => [
3167 'location' => 'query',
3168 'type' => 'boolean',
3169 ],
3170 'updateMask' => [
3171 'location' => 'query',
3172 'type' => 'string',
3173 ],
3174 ],
3175 ],
3176 ]
3177 ]
3178 );
3179 $this->projects = new Logging\Resource\Projects(
3180 $this,
3181 $this->serviceName,
3182 'projects',
3183 [
3184 'methods' => [
3185 'getCmekSettings' => [
3186 'path' => 'v2/{+name}/cmekSettings',
3187 'httpMethod' => 'GET',
3188 'parameters' => [
3189 'name' => [
3190 'location' => 'path',
3191 'type' => 'string',
3192 'required' => true,
3193 ],
3194 ],
3195 ],'getSettings' => [
3196 'path' => 'v2/{+name}/settings',
3197 'httpMethod' => 'GET',
3198 'parameters' => [
3199 'name' => [
3200 'location' => 'path',
3201 'type' => 'string',
3202 'required' => true,
3203 ],
3204 ],
3205 ],
3206 ]
3207 ]
3208 );
3209 $this->projects_exclusions = new Logging\Resource\ProjectsExclusions(
3210 $this,
3211 $this->serviceName,
3212 'exclusions',
3213 [
3214 'methods' => [
3215 'create' => [
3216 'path' => 'v2/{+parent}/exclusions',
3217 'httpMethod' => 'POST',
3218 'parameters' => [
3219 'parent' => [
3220 'location' => 'path',
3221 'type' => 'string',
3222 'required' => true,
3223 ],
3224 ],
3225 ],'delete' => [
3226 'path' => 'v2/{+name}',
3227 'httpMethod' => 'DELETE',
3228 'parameters' => [
3229 'name' => [
3230 'location' => 'path',
3231 'type' => 'string',
3232 'required' => true,
3233 ],
3234 ],
3235 ],'get' => [
3236 'path' => 'v2/{+name}',
3237 'httpMethod' => 'GET',
3238 'parameters' => [
3239 'name' => [
3240 'location' => 'path',
3241 'type' => 'string',
3242 'required' => true,
3243 ],
3244 ],
3245 ],'list' => [
3246 'path' => 'v2/{+parent}/exclusions',
3247 'httpMethod' => 'GET',
3248 'parameters' => [
3249 'parent' => [
3250 'location' => 'path',
3251 'type' => 'string',
3252 'required' => true,
3253 ],
3254 'pageSize' => [
3255 'location' => 'query',
3256 'type' => 'integer',
3257 ],
3258 'pageToken' => [
3259 'location' => 'query',
3260 'type' => 'string',
3261 ],
3262 ],
3263 ],'patch' => [
3264 'path' => 'v2/{+name}',
3265 'httpMethod' => 'PATCH',
3266 'parameters' => [
3267 'name' => [
3268 'location' => 'path',
3269 'type' => 'string',
3270 'required' => true,
3271 ],
3272 'updateMask' => [
3273 'location' => 'query',
3274 'type' => 'string',
3275 ],
3276 ],
3277 ],
3278 ]
3279 ]
3280 );
3281 $this->projects_locations = new Logging\Resource\ProjectsLocations(
3282 $this,
3283 $this->serviceName,
3284 'locations',
3285 [
3286 'methods' => [
3287 'get' => [
3288 'path' => 'v2/{+name}',
3289 'httpMethod' => 'GET',
3290 'parameters' => [
3291 'name' => [
3292 'location' => 'path',
3293 'type' => 'string',
3294 'required' => true,
3295 ],
3296 ],
3297 ],'list' => [
3298 'path' => 'v2/{+name}/locations',
3299 'httpMethod' => 'GET',
3300 'parameters' => [
3301 'name' => [
3302 'location' => 'path',
3303 'type' => 'string',
3304 'required' => true,
3305 ],
3306 'filter' => [
3307 'location' => 'query',
3308 'type' => 'string',
3309 ],
3310 'pageSize' => [
3311 'location' => 'query',
3312 'type' => 'integer',
3313 ],
3314 'pageToken' => [
3315 'location' => 'query',
3316 'type' => 'string',
3317 ],
3318 ],
3319 ],
3320 ]
3321 ]
3322 );
3323 $this->projects_locations_buckets = new Logging\Resource\ProjectsLocationsBuckets(
3324 $this,
3325 $this->serviceName,
3326 'buckets',
3327 [
3328 'methods' => [
3329 'create' => [
3330 'path' => 'v2/{+parent}/buckets',
3331 'httpMethod' => 'POST',
3332 'parameters' => [
3333 'parent' => [
3334 'location' => 'path',
3335 'type' => 'string',
3336 'required' => true,
3337 ],
3338 'bucketId' => [
3339 'location' => 'query',
3340 'type' => 'string',
3341 ],
3342 ],
3343 ],'createAsync' => [
3344 'path' => 'v2/{+parent}/buckets:createAsync',
3345 'httpMethod' => 'POST',
3346 'parameters' => [
3347 'parent' => [
3348 'location' => 'path',
3349 'type' => 'string',
3350 'required' => true,
3351 ],
3352 'bucketId' => [
3353 'location' => 'query',
3354 'type' => 'string',
3355 ],
3356 ],
3357 ],'delete' => [
3358 'path' => 'v2/{+name}',
3359 'httpMethod' => 'DELETE',
3360 'parameters' => [
3361 'name' => [
3362 'location' => 'path',
3363 'type' => 'string',
3364 'required' => true,
3365 ],
3366 ],
3367 ],'get' => [
3368 'path' => 'v2/{+name}',
3369 'httpMethod' => 'GET',
3370 'parameters' => [
3371 'name' => [
3372 'location' => 'path',
3373 'type' => 'string',
3374 'required' => true,
3375 ],
3376 ],
3377 ],'list' => [
3378 'path' => 'v2/{+parent}/buckets',
3379 'httpMethod' => 'GET',
3380 'parameters' => [
3381 'parent' => [
3382 'location' => 'path',
3383 'type' => 'string',
3384 'required' => true,
3385 ],
3386 'pageSize' => [
3387 'location' => 'query',
3388 'type' => 'integer',
3389 ],
3390 'pageToken' => [
3391 'location' => 'query',
3392 'type' => 'string',
3393 ],
3394 ],
3395 ],'patch' => [
3396 'path' => 'v2/{+name}',
3397 'httpMethod' => 'PATCH',
3398 'parameters' => [
3399 'name' => [
3400 'location' => 'path',
3401 'type' => 'string',
3402 'required' => true,
3403 ],
3404 'updateMask' => [
3405 'location' => 'query',
3406 'type' => 'string',
3407 ],
3408 ],
3409 ],'undelete' => [
3410 'path' => 'v2/{+name}:undelete',
3411 'httpMethod' => 'POST',
3412 'parameters' => [
3413 'name' => [
3414 'location' => 'path',
3415 'type' => 'string',
3416 'required' => true,
3417 ],
3418 ],
3419 ],'updateAsync' => [
3420 'path' => 'v2/{+name}:updateAsync',
3421 'httpMethod' => 'POST',
3422 'parameters' => [
3423 'name' => [
3424 'location' => 'path',
3425 'type' => 'string',
3426 'required' => true,
3427 ],
3428 'updateMask' => [
3429 'location' => 'query',
3430 'type' => 'string',
3431 ],
3432 ],
3433 ],
3434 ]
3435 ]
3436 );
3437 $this->projects_locations_buckets_links = new Logging\Resource\ProjectsLocationsBucketsLinks(
3438 $this,
3439 $this->serviceName,
3440 'links',
3441 [
3442 'methods' => [
3443 'create' => [
3444 'path' => 'v2/{+parent}/links',
3445 'httpMethod' => 'POST',
3446 'parameters' => [
3447 'parent' => [
3448 'location' => 'path',
3449 'type' => 'string',
3450 'required' => true,
3451 ],
3452 'linkId' => [
3453 'location' => 'query',
3454 'type' => 'string',
3455 ],
3456 ],
3457 ],'delete' => [
3458 'path' => 'v2/{+name}',
3459 'httpMethod' => 'DELETE',
3460 'parameters' => [
3461 'name' => [
3462 'location' => 'path',
3463 'type' => 'string',
3464 'required' => true,
3465 ],
3466 ],
3467 ],'get' => [
3468 'path' => 'v2/{+name}',
3469 'httpMethod' => 'GET',
3470 'parameters' => [
3471 'name' => [
3472 'location' => 'path',
3473 'type' => 'string',
3474 'required' => true,
3475 ],
3476 ],
3477 ],'list' => [
3478 'path' => 'v2/{+parent}/links',
3479 'httpMethod' => 'GET',
3480 'parameters' => [
3481 'parent' => [
3482 'location' => 'path',
3483 'type' => 'string',
3484 'required' => true,
3485 ],
3486 'pageSize' => [
3487 'location' => 'query',
3488 'type' => 'integer',
3489 ],
3490 'pageToken' => [
3491 'location' => 'query',
3492 'type' => 'string',
3493 ],
3494 ],
3495 ],
3496 ]
3497 ]
3498 );
3499 $this->projects_locations_buckets_views = new Logging\Resource\ProjectsLocationsBucketsViews(
3500 $this,
3501 $this->serviceName,
3502 'views',
3503 [
3504 'methods' => [
3505 'create' => [
3506 'path' => 'v2/{+parent}/views',
3507 'httpMethod' => 'POST',
3508 'parameters' => [
3509 'parent' => [
3510 'location' => 'path',
3511 'type' => 'string',
3512 'required' => true,
3513 ],
3514 'viewId' => [
3515 'location' => 'query',
3516 'type' => 'string',
3517 ],
3518 ],
3519 ],'delete' => [
3520 'path' => 'v2/{+name}',
3521 'httpMethod' => 'DELETE',
3522 'parameters' => [
3523 'name' => [
3524 'location' => 'path',
3525 'type' => 'string',
3526 'required' => true,
3527 ],
3528 ],
3529 ],'get' => [
3530 'path' => 'v2/{+name}',
3531 'httpMethod' => 'GET',
3532 'parameters' => [
3533 'name' => [
3534 'location' => 'path',
3535 'type' => 'string',
3536 'required' => true,
3537 ],
3538 ],
3539 ],'getIamPolicy' => [
3540 'path' => 'v2/{+resource}:getIamPolicy',
3541 'httpMethod' => 'POST',
3542 'parameters' => [
3543 'resource' => [
3544 'location' => 'path',
3545 'type' => 'string',
3546 'required' => true,
3547 ],
3548 ],
3549 ],'list' => [
3550 'path' => 'v2/{+parent}/views',
3551 'httpMethod' => 'GET',
3552 'parameters' => [
3553 'parent' => [
3554 'location' => 'path',
3555 'type' => 'string',
3556 'required' => true,
3557 ],
3558 'pageSize' => [
3559 'location' => 'query',
3560 'type' => 'integer',
3561 ],
3562 'pageToken' => [
3563 'location' => 'query',
3564 'type' => 'string',
3565 ],
3566 ],
3567 ],'patch' => [
3568 'path' => 'v2/{+name}',
3569 'httpMethod' => 'PATCH',
3570 'parameters' => [
3571 'name' => [
3572 'location' => 'path',
3573 'type' => 'string',
3574 'required' => true,
3575 ],
3576 'updateMask' => [
3577 'location' => 'query',
3578 'type' => 'string',
3579 ],
3580 ],
3581 ],'setIamPolicy' => [
3582 'path' => 'v2/{+resource}:setIamPolicy',
3583 'httpMethod' => 'POST',
3584 'parameters' => [
3585 'resource' => [
3586 'location' => 'path',
3587 'type' => 'string',
3588 'required' => true,
3589 ],
3590 ],
3591 ],'testIamPermissions' => [
3592 'path' => 'v2/{+resource}:testIamPermissions',
3593 'httpMethod' => 'POST',
3594 'parameters' => [
3595 'resource' => [
3596 'location' => 'path',
3597 'type' => 'string',
3598 'required' => true,
3599 ],
3600 ],
3601 ],
3602 ]
3603 ]
3604 );
3605 $this->projects_locations_buckets_views_logs = new Logging\Resource\ProjectsLocationsBucketsViewsLogs(
3606 $this,
3607 $this->serviceName,
3608 'logs',
3609 [
3610 'methods' => [
3611 'list' => [
3612 'path' => 'v2/{+parent}/logs',
3613 'httpMethod' => 'GET',
3614 'parameters' => [
3615 'parent' => [
3616 'location' => 'path',
3617 'type' => 'string',
3618 'required' => true,
3619 ],
3620 'pageSize' => [
3621 'location' => 'query',
3622 'type' => 'integer',
3623 ],
3624 'pageToken' => [
3625 'location' => 'query',
3626 'type' => 'string',
3627 ],
3628 'resourceNames' => [
3629 'location' => 'query',
3630 'type' => 'string',
3631 'repeated' => true,
3632 ],
3633 ],
3634 ],
3635 ]
3636 ]
3637 );
3638 $this->projects_locations_logScopes = new Logging\Resource\ProjectsLocationsLogScopes(
3639 $this,
3640 $this->serviceName,
3641 'logScopes',
3642 [
3643 'methods' => [
3644 'create' => [
3645 'path' => 'v2/{+parent}/logScopes',
3646 'httpMethod' => 'POST',
3647 'parameters' => [
3648 'parent' => [
3649 'location' => 'path',
3650 'type' => 'string',
3651 'required' => true,
3652 ],
3653 'logScopeId' => [
3654 'location' => 'query',
3655 'type' => 'string',
3656 ],
3657 ],
3658 ],'delete' => [
3659 'path' => 'v2/{+name}',
3660 'httpMethod' => 'DELETE',
3661 'parameters' => [
3662 'name' => [
3663 'location' => 'path',
3664 'type' => 'string',
3665 'required' => true,
3666 ],
3667 ],
3668 ],'get' => [
3669 'path' => 'v2/{+name}',
3670 'httpMethod' => 'GET',
3671 'parameters' => [
3672 'name' => [
3673 'location' => 'path',
3674 'type' => 'string',
3675 'required' => true,
3676 ],
3677 ],
3678 ],'list' => [
3679 'path' => 'v2/{+parent}/logScopes',
3680 'httpMethod' => 'GET',
3681 'parameters' => [
3682 'parent' => [
3683 'location' => 'path',
3684 'type' => 'string',
3685 'required' => true,
3686 ],
3687 'pageSize' => [
3688 'location' => 'query',
3689 'type' => 'integer',
3690 ],
3691 'pageToken' => [
3692 'location' => 'query',
3693 'type' => 'string',
3694 ],
3695 ],
3696 ],'patch' => [
3697 'path' => 'v2/{+name}',
3698 'httpMethod' => 'PATCH',
3699 'parameters' => [
3700 'name' => [
3701 'location' => 'path',
3702 'type' => 'string',
3703 'required' => true,
3704 ],
3705 'updateMask' => [
3706 'location' => 'query',
3707 'type' => 'string',
3708 ],
3709 ],
3710 ],
3711 ]
3712 ]
3713 );
3714 $this->projects_locations_operations = new Logging\Resource\ProjectsLocationsOperations(
3715 $this,
3716 $this->serviceName,
3717 'operations',
3718 [
3719 'methods' => [
3720 'cancel' => [
3721 'path' => 'v2/{+name}:cancel',
3722 'httpMethod' => 'POST',
3723 'parameters' => [
3724 'name' => [
3725 'location' => 'path',
3726 'type' => 'string',
3727 'required' => true,
3728 ],
3729 ],
3730 ],'get' => [
3731 'path' => 'v2/{+name}',
3732 'httpMethod' => 'GET',
3733 'parameters' => [
3734 'name' => [
3735 'location' => 'path',
3736 'type' => 'string',
3737 'required' => true,
3738 ],
3739 ],
3740 ],'list' => [
3741 'path' => 'v2/{+name}/operations',
3742 'httpMethod' => 'GET',
3743 'parameters' => [
3744 'name' => [
3745 'location' => 'path',
3746 'type' => 'string',
3747 'required' => true,
3748 ],
3749 'filter' => [
3750 'location' => 'query',
3751 'type' => 'string',
3752 ],
3753 'pageSize' => [
3754 'location' => 'query',
3755 'type' => 'integer',
3756 ],
3757 'pageToken' => [
3758 'location' => 'query',
3759 'type' => 'string',
3760 ],
3761 ],
3762 ],
3763 ]
3764 ]
3765 );
3766 $this->projects_locations_recentQueries = new Logging\Resource\ProjectsLocationsRecentQueries(
3767 $this,
3768 $this->serviceName,
3769 'recentQueries',
3770 [
3771 'methods' => [
3772 'list' => [
3773 'path' => 'v2/{+parent}/recentQueries',
3774 'httpMethod' => 'GET',
3775 'parameters' => [
3776 'parent' => [
3777 'location' => 'path',
3778 'type' => 'string',
3779 'required' => true,
3780 ],
3781 'filter' => [
3782 'location' => 'query',
3783 'type' => 'string',
3784 ],
3785 'pageSize' => [
3786 'location' => 'query',
3787 'type' => 'integer',
3788 ],
3789 'pageToken' => [
3790 'location' => 'query',
3791 'type' => 'string',
3792 ],
3793 ],
3794 ],
3795 ]
3796 ]
3797 );
3798 $this->projects_locations_savedQueries = new Logging\Resource\ProjectsLocationsSavedQueries(
3799 $this,
3800 $this->serviceName,
3801 'savedQueries',
3802 [
3803 'methods' => [
3804 'create' => [
3805 'path' => 'v2/{+parent}/savedQueries',
3806 'httpMethod' => 'POST',
3807 'parameters' => [
3808 'parent' => [
3809 'location' => 'path',
3810 'type' => 'string',
3811 'required' => true,
3812 ],
3813 'savedQueryId' => [
3814 'location' => 'query',
3815 'type' => 'string',
3816 ],
3817 ],
3818 ],'delete' => [
3819 'path' => 'v2/{+name}',
3820 'httpMethod' => 'DELETE',
3821 'parameters' => [
3822 'name' => [
3823 'location' => 'path',
3824 'type' => 'string',
3825 'required' => true,
3826 ],
3827 ],
3828 ],'get' => [
3829 'path' => 'v2/{+name}',
3830 'httpMethod' => 'GET',
3831 'parameters' => [
3832 'name' => [
3833 'location' => 'path',
3834 'type' => 'string',
3835 'required' => true,
3836 ],
3837 ],
3838 ],'list' => [
3839 'path' => 'v2/{+parent}/savedQueries',
3840 'httpMethod' => 'GET',
3841 'parameters' => [
3842 'parent' => [
3843 'location' => 'path',
3844 'type' => 'string',
3845 'required' => true,
3846 ],
3847 'filter' => [
3848 'location' => 'query',
3849 'type' => 'string',
3850 ],
3851 'pageSize' => [
3852 'location' => 'query',
3853 'type' => 'integer',
3854 ],
3855 'pageToken' => [
3856 'location' => 'query',
3857 'type' => 'string',
3858 ],
3859 ],
3860 ],'patch' => [
3861 'path' => 'v2/{+name}',
3862 'httpMethod' => 'PATCH',
3863 'parameters' => [
3864 'name' => [
3865 'location' => 'path',
3866 'type' => 'string',
3867 'required' => true,
3868 ],
3869 'updateMask' => [
3870 'location' => 'query',
3871 'type' => 'string',
3872 ],
3873 ],
3874 ],
3875 ]
3876 ]
3877 );
3878 $this->projects_logs = new Logging\Resource\ProjectsLogs(
3879 $this,
3880 $this->serviceName,
3881 'logs',
3882 [
3883 'methods' => [
3884 'delete' => [
3885 'path' => 'v2/{+logName}',
3886 'httpMethod' => 'DELETE',
3887 'parameters' => [
3888 'logName' => [
3889 'location' => 'path',
3890 'type' => 'string',
3891 'required' => true,
3892 ],
3893 ],
3894 ],'list' => [
3895 'path' => 'v2/{+parent}/logs',
3896 'httpMethod' => 'GET',
3897 'parameters' => [
3898 'parent' => [
3899 'location' => 'path',
3900 'type' => 'string',
3901 'required' => true,
3902 ],
3903 'pageSize' => [
3904 'location' => 'query',
3905 'type' => 'integer',
3906 ],
3907 'pageToken' => [
3908 'location' => 'query',
3909 'type' => 'string',
3910 ],
3911 'resourceNames' => [
3912 'location' => 'query',
3913 'type' => 'string',
3914 'repeated' => true,
3915 ],
3916 ],
3917 ],
3918 ]
3919 ]
3920 );
3921 $this->projects_metrics = new Logging\Resource\ProjectsMetrics(
3922 $this,
3923 $this->serviceName,
3924 'metrics',
3925 [
3926 'methods' => [
3927 'create' => [
3928 'path' => 'v2/{+parent}/metrics',
3929 'httpMethod' => 'POST',
3930 'parameters' => [
3931 'parent' => [
3932 'location' => 'path',
3933 'type' => 'string',
3934 'required' => true,
3935 ],
3936 ],
3937 ],'delete' => [
3938 'path' => 'v2/{+metricName}',
3939 'httpMethod' => 'DELETE',
3940 'parameters' => [
3941 'metricName' => [
3942 'location' => 'path',
3943 'type' => 'string',
3944 'required' => true,
3945 ],
3946 ],
3947 ],'get' => [
3948 'path' => 'v2/{+metricName}',
3949 'httpMethod' => 'GET',
3950 'parameters' => [
3951 'metricName' => [
3952 'location' => 'path',
3953 'type' => 'string',
3954 'required' => true,
3955 ],
3956 ],
3957 ],'list' => [
3958 'path' => 'v2/{+parent}/metrics',
3959 'httpMethod' => 'GET',
3960 'parameters' => [
3961 'parent' => [
3962 'location' => 'path',
3963 'type' => 'string',
3964 'required' => true,
3965 ],
3966 'pageSize' => [
3967 'location' => 'query',
3968 'type' => 'integer',
3969 ],
3970 'pageToken' => [
3971 'location' => 'query',
3972 'type' => 'string',
3973 ],
3974 ],
3975 ],'update' => [
3976 'path' => 'v2/{+metricName}',
3977 'httpMethod' => 'PUT',
3978 'parameters' => [
3979 'metricName' => [
3980 'location' => 'path',
3981 'type' => 'string',
3982 'required' => true,
3983 ],
3984 ],
3985 ],
3986 ]
3987 ]
3988 );
3989 $this->projects_sinks = new Logging\Resource\ProjectsSinks(
3990 $this,
3991 $this->serviceName,
3992 'sinks',
3993 [
3994 'methods' => [
3995 'create' => [
3996 'path' => 'v2/{+parent}/sinks',
3997 'httpMethod' => 'POST',
3998 'parameters' => [
3999 'parent' => [
4000 'location' => 'path',
4001 'type' => 'string',
4002 'required' => true,
4003 ],
4004 'customWriterIdentity' => [
4005 'location' => 'query',
4006 'type' => 'string',
4007 ],
4008 'uniqueWriterIdentity' => [
4009 'location' => 'query',
4010 'type' => 'boolean',
4011 ],
4012 ],
4013 ],'delete' => [
4014 'path' => 'v2/{+sinkName}',
4015 'httpMethod' => 'DELETE',
4016 'parameters' => [
4017 'sinkName' => [
4018 'location' => 'path',
4019 'type' => 'string',
4020 'required' => true,
4021 ],
4022 ],
4023 ],'get' => [
4024 'path' => 'v2/{+sinkName}',
4025 'httpMethod' => 'GET',
4026 'parameters' => [
4027 'sinkName' => [
4028 'location' => 'path',
4029 'type' => 'string',
4030 'required' => true,
4031 ],
4032 ],
4033 ],'list' => [
4034 'path' => 'v2/{+parent}/sinks',
4035 'httpMethod' => 'GET',
4036 'parameters' => [
4037 'parent' => [
4038 'location' => 'path',
4039 'type' => 'string',
4040 'required' => true,
4041 ],
4042 'filter' => [
4043 'location' => 'query',
4044 'type' => 'string',
4045 ],
4046 'pageSize' => [
4047 'location' => 'query',
4048 'type' => 'integer',
4049 ],
4050 'pageToken' => [
4051 'location' => 'query',
4052 'type' => 'string',
4053 ],
4054 ],
4055 ],'patch' => [
4056 'path' => 'v2/{+sinkName}',
4057 'httpMethod' => 'PATCH',
4058 'parameters' => [
4059 'sinkName' => [
4060 'location' => 'path',
4061 'type' => 'string',
4062 'required' => true,
4063 ],
4064 'customWriterIdentity' => [
4065 'location' => 'query',
4066 'type' => 'string',
4067 ],
4068 'uniqueWriterIdentity' => [
4069 'location' => 'query',
4070 'type' => 'boolean',
4071 ],
4072 'updateMask' => [
4073 'location' => 'query',
4074 'type' => 'string',
4075 ],
4076 ],
4077 ],'update' => [
4078 'path' => 'v2/{+sinkName}',
4079 'httpMethod' => 'PUT',
4080 'parameters' => [
4081 'sinkName' => [
4082 'location' => 'path',
4083 'type' => 'string',
4084 'required' => true,
4085 ],
4086 'customWriterIdentity' => [
4087 'location' => 'query',
4088 'type' => 'string',
4089 ],
4090 'uniqueWriterIdentity' => [
4091 'location' => 'query',
4092 'type' => 'boolean',
4093 ],
4094 'updateMask' => [
4095 'location' => 'query',
4096 'type' => 'string',
4097 ],
4098 ],
4099 ],
4100 ]
4101 ]
4102 );
4103 $this->sinks = new Logging\Resource\Sinks(
4104 $this,
4105 $this->serviceName,
4106 'sinks',
4107 [
4108 'methods' => [
4109 'create' => [
4110 'path' => 'v2/{+parent}/sinks',
4111 'httpMethod' => 'POST',
4112 'parameters' => [
4113 'parent' => [
4114 'location' => 'path',
4115 'type' => 'string',
4116 'required' => true,
4117 ],
4118 'customWriterIdentity' => [
4119 'location' => 'query',
4120 'type' => 'string',
4121 ],
4122 'uniqueWriterIdentity' => [
4123 'location' => 'query',
4124 'type' => 'boolean',
4125 ],
4126 ],
4127 ],'delete' => [
4128 'path' => 'v2/{+sinkName}',
4129 'httpMethod' => 'DELETE',
4130 'parameters' => [
4131 'sinkName' => [
4132 'location' => 'path',
4133 'type' => 'string',
4134 'required' => true,
4135 ],
4136 ],
4137 ],'get' => [
4138 'path' => 'v2/{+sinkName}',
4139 'httpMethod' => 'GET',
4140 'parameters' => [
4141 'sinkName' => [
4142 'location' => 'path',
4143 'type' => 'string',
4144 'required' => true,
4145 ],
4146 ],
4147 ],'list' => [
4148 'path' => 'v2/{+parent}/sinks',
4149 'httpMethod' => 'GET',
4150 'parameters' => [
4151 'parent' => [
4152 'location' => 'path',
4153 'type' => 'string',
4154 'required' => true,
4155 ],
4156 'filter' => [
4157 'location' => 'query',
4158 'type' => 'string',
4159 ],
4160 'pageSize' => [
4161 'location' => 'query',
4162 'type' => 'integer',
4163 ],
4164 'pageToken' => [
4165 'location' => 'query',
4166 'type' => 'string',
4167 ],
4168 ],
4169 ],'update' => [
4170 'path' => 'v2/{+sinkName}',
4171 'httpMethod' => 'PUT',
4172 'parameters' => [
4173 'sinkName' => [
4174 'location' => 'path',
4175 'type' => 'string',
4176 'required' => true,
4177 ],
4178 'customWriterIdentity' => [
4179 'location' => 'query',
4180 'type' => 'string',
4181 ],
4182 'uniqueWriterIdentity' => [
4183 'location' => 'query',
4184 'type' => 'boolean',
4185 ],
4186 'updateMask' => [
4187 'location' => 'query',
4188 'type' => 'string',
4189 ],
4190 ],
4191 ],
4192 ]
4193 ]
4194 );
4195 $this->v2 = new Logging\Resource\V2(
4196 $this,
4197 $this->serviceName,
4198 'v2',
4199 [
4200 'methods' => [
4201 'getCmekSettings' => [
4202 'path' => 'v2/{+name}/cmekSettings',
4203 'httpMethod' => 'GET',
4204 'parameters' => [
4205 'name' => [
4206 'location' => 'path',
4207 'type' => 'string',
4208 'required' => true,
4209 ],
4210 ],
4211 ],'getSettings' => [
4212 'path' => 'v2/{+name}/settings',
4213 'httpMethod' => 'GET',
4214 'parameters' => [
4215 'name' => [
4216 'location' => 'path',
4217 'type' => 'string',
4218 'required' => true,
4219 ],
4220 ],
4221 ],'updateCmekSettings' => [
4222 'path' => 'v2/{+name}/cmekSettings',
4223 'httpMethod' => 'PATCH',
4224 'parameters' => [
4225 'name' => [
4226 'location' => 'path',
4227 'type' => 'string',
4228 'required' => true,
4229 ],
4230 'updateMask' => [
4231 'location' => 'query',
4232 'type' => 'string',
4233 ],
4234 ],
4235 ],'updateSettings' => [
4236 'path' => 'v2/{+name}/settings',
4237 'httpMethod' => 'PATCH',
4238 'parameters' => [
4239 'name' => [
4240 'location' => 'path',
4241 'type' => 'string',
4242 'required' => true,
4243 ],
4244 'updateMask' => [
4245 'location' => 'query',
4246 'type' => 'string',
4247 ],
4248 ],
4249 ],
4250 ]
4251 ]
4252 );
4253 }
4254}
4255
4256// Adding a class alias for backwards compatibility with the previous class name.
4257class_alias(Logging::class, 'Google_Service_Logging');
Note: See TracBrowser for help on using the repository browser.