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_buckets;
55  public $billingAccounts_buckets_views;
56  public $billingAccounts_exclusions;
57  public $billingAccounts_locations;
58  public $billingAccounts_locations_buckets;
59  public $billingAccounts_locations_buckets_views;
60  public $billingAccounts_locations_buckets_views_logs;
61  public $billingAccounts_locations_operations;
62  public $billingAccounts_logs;
63  public $billingAccounts_operations;
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_views;
72  public $folders_locations_buckets_views_logs;
73  public $folders_locations_operations;
74  public $folders_logs;
75  public $folders_sinks;
76  public $locations;
77  public $locations_buckets;
78  public $locations_buckets_views;
79  public $locations_operations;
80  public $logs;
81  public $monitoredResourceDescriptors;
82  public $organizations;
83  public $organizations_exclusions;
84  public $organizations_locations;
85  public $organizations_locations_buckets;
86  public $organizations_locations_buckets_views;
87  public $organizations_locations_buckets_views_logs;
88  public $organizations_locations_operations;
89  public $organizations_logs;
90  public $organizations_sinks;
91  public $projects;
92  public $projects_exclusions;
93  public $projects_locations;
94  public $projects_locations_buckets;
95  public $projects_locations_buckets_views;
96  public $projects_locations_buckets_views_logs;
97  public $projects_locations_operations;
98  public $projects_logs;
99  public $projects_metrics;
100  public $projects_sinks;
101  public $sinks;
102  public $v2;
103
104  /**
105   * Constructs the internal representation of the Logging service.
106   *
107   * @param Client|array $clientOrConfig The client used to deliver requests, or a
108   *                                     config array to pass to a new Client instance.
109   * @param string $rootUrl The root URL used for requests to the service.
110   */
111  public function __construct($clientOrConfig = [], $rootUrl = null)
112  {
113    parent::__construct($clientOrConfig);
114    $this->rootUrl = $rootUrl ?: 'https://logging.googleapis.com/';
115    $this->servicePath = '';
116    $this->batchPath = 'batch';
117    $this->version = 'v2';
118    $this->serviceName = 'logging';
119
120    $this->billingAccounts = new Logging\Resource\BillingAccounts(
121        $this,
122        $this->serviceName,
123        'billingAccounts',
124        [
125          'methods' => [
126            'getCmekSettings' => [
127              'path' => 'v2/{+name}/cmekSettings',
128              'httpMethod' => 'GET',
129              'parameters' => [
130                'name' => [
131                  'location' => 'path',
132                  'type' => 'string',
133                  'required' => true,
134                ],
135              ],
136            ],'getSettings' => [
137              'path' => 'v2/{+name}/settings',
138              'httpMethod' => 'GET',
139              'parameters' => [
140                'name' => [
141                  'location' => 'path',
142                  'type' => 'string',
143                  'required' => true,
144                ],
145              ],
146            ],
147          ]
148        ]
149    );
150    $this->billingAccounts_buckets = new Logging\Resource\BillingAccountsBuckets(
151        $this,
152        $this->serviceName,
153        'buckets',
154        [
155          'methods' => [
156            'get' => [
157              'path' => 'v2/{+name}',
158              'httpMethod' => 'GET',
159              'parameters' => [
160                'name' => [
161                  'location' => 'path',
162                  'type' => 'string',
163                  'required' => true,
164                ],
165              ],
166            ],
167          ]
168        ]
169    );
170    $this->billingAccounts_buckets_views = new Logging\Resource\BillingAccountsBucketsViews(
171        $this,
172        $this->serviceName,
173        'views',
174        [
175          'methods' => [
176            'get' => [
177              'path' => 'v2/{+name}',
178              'httpMethod' => 'GET',
179              'parameters' => [
180                'name' => [
181                  'location' => 'path',
182                  'type' => 'string',
183                  'required' => true,
184                ],
185              ],
186            ],
187          ]
188        ]
189    );
190    $this->billingAccounts_exclusions = new Logging\Resource\BillingAccountsExclusions(
191        $this,
192        $this->serviceName,
193        'exclusions',
194        [
195          'methods' => [
196            'create' => [
197              'path' => 'v2/{+parent}/exclusions',
198              'httpMethod' => 'POST',
199              'parameters' => [
200                'parent' => [
201                  'location' => 'path',
202                  'type' => 'string',
203                  'required' => true,
204                ],
205              ],
206            ],'delete' => [
207              'path' => 'v2/{+name}',
208              'httpMethod' => 'DELETE',
209              'parameters' => [
210                'name' => [
211                  'location' => 'path',
212                  'type' => 'string',
213                  'required' => true,
214                ],
215              ],
216            ],'get' => [
217              'path' => 'v2/{+name}',
218              'httpMethod' => 'GET',
219              'parameters' => [
220                'name' => [
221                  'location' => 'path',
222                  'type' => 'string',
223                  'required' => true,
224                ],
225              ],
226            ],'list' => [
227              'path' => 'v2/{+parent}/exclusions',
228              'httpMethod' => 'GET',
229              'parameters' => [
230                'parent' => [
231                  'location' => 'path',
232                  'type' => 'string',
233                  'required' => true,
234                ],
235                'pageSize' => [
236                  'location' => 'query',
237                  'type' => 'integer',
238                ],
239                'pageToken' => [
240                  'location' => 'query',
241                  'type' => 'string',
242                ],
243              ],
244            ],'patch' => [
245              'path' => 'v2/{+name}',
246              'httpMethod' => 'PATCH',
247              'parameters' => [
248                'name' => [
249                  'location' => 'path',
250                  'type' => 'string',
251                  'required' => true,
252                ],
253                'updateMask' => [
254                  'location' => 'query',
255                  'type' => 'string',
256                ],
257              ],
258            ],
259          ]
260        ]
261    );
262    $this->billingAccounts_locations = new Logging\Resource\BillingAccountsLocations(
263        $this,
264        $this->serviceName,
265        'locations',
266        [
267          'methods' => [
268            'get' => [
269              'path' => 'v2/{+name}',
270              'httpMethod' => 'GET',
271              'parameters' => [
272                'name' => [
273                  'location' => 'path',
274                  'type' => 'string',
275                  'required' => true,
276                ],
277              ],
278            ],'list' => [
279              'path' => 'v2/{+name}/locations',
280              'httpMethod' => 'GET',
281              'parameters' => [
282                'name' => [
283                  'location' => 'path',
284                  'type' => 'string',
285                  'required' => true,
286                ],
287                'filter' => [
288                  'location' => 'query',
289                  'type' => 'string',
290                ],
291                'pageSize' => [
292                  'location' => 'query',
293                  'type' => 'integer',
294                ],
295                'pageToken' => [
296                  'location' => 'query',
297                  'type' => 'string',
298                ],
299              ],
300            ],
301          ]
302        ]
303    );
304    $this->billingAccounts_locations_buckets = new Logging\Resource\BillingAccountsLocationsBuckets(
305        $this,
306        $this->serviceName,
307        'buckets',
308        [
309          'methods' => [
310            'create' => [
311              'path' => 'v2/{+parent}/buckets',
312              'httpMethod' => 'POST',
313              'parameters' => [
314                'parent' => [
315                  'location' => 'path',
316                  'type' => 'string',
317                  'required' => true,
318                ],
319                'bucketId' => [
320                  'location' => 'query',
321                  'type' => 'string',
322                ],
323              ],
324            ],'delete' => [
325              'path' => 'v2/{+name}',
326              'httpMethod' => 'DELETE',
327              'parameters' => [
328                'name' => [
329                  'location' => 'path',
330                  'type' => 'string',
331                  'required' => true,
332                ],
333              ],
334            ],'list' => [
335              'path' => 'v2/{+parent}/buckets',
336              'httpMethod' => 'GET',
337              'parameters' => [
338                'parent' => [
339                  'location' => 'path',
340                  'type' => 'string',
341                  'required' => true,
342                ],
343                'pageSize' => [
344                  'location' => 'query',
345                  'type' => 'integer',
346                ],
347                'pageToken' => [
348                  'location' => 'query',
349                  'type' => 'string',
350                ],
351              ],
352            ],'patch' => [
353              'path' => 'v2/{+name}',
354              'httpMethod' => 'PATCH',
355              'parameters' => [
356                'name' => [
357                  'location' => 'path',
358                  'type' => 'string',
359                  'required' => true,
360                ],
361                'updateMask' => [
362                  'location' => 'query',
363                  'type' => 'string',
364                ],
365              ],
366            ],'undelete' => [
367              'path' => 'v2/{+name}:undelete',
368              'httpMethod' => 'POST',
369              'parameters' => [
370                'name' => [
371                  'location' => 'path',
372                  'type' => 'string',
373                  'required' => true,
374                ],
375              ],
376            ],
377          ]
378        ]
379    );
380    $this->billingAccounts_locations_buckets_views = new Logging\Resource\BillingAccountsLocationsBucketsViews(
381        $this,
382        $this->serviceName,
383        'views',
384        [
385          'methods' => [
386            'create' => [
387              'path' => 'v2/{+parent}/views',
388              'httpMethod' => 'POST',
389              'parameters' => [
390                'parent' => [
391                  'location' => 'path',
392                  'type' => 'string',
393                  'required' => true,
394                ],
395                'viewId' => [
396                  'location' => 'query',
397                  'type' => 'string',
398                ],
399              ],
400            ],'delete' => [
401              'path' => 'v2/{+name}',
402              'httpMethod' => 'DELETE',
403              'parameters' => [
404                'name' => [
405                  'location' => 'path',
406                  'type' => 'string',
407                  'required' => true,
408                ],
409              ],
410            ],'list' => [
411              'path' => 'v2/{+parent}/views',
412              'httpMethod' => 'GET',
413              'parameters' => [
414                'parent' => [
415                  'location' => 'path',
416                  'type' => 'string',
417                  'required' => true,
418                ],
419                'pageSize' => [
420                  'location' => 'query',
421                  'type' => 'integer',
422                ],
423                'pageToken' => [
424                  'location' => 'query',
425                  'type' => 'string',
426                ],
427              ],
428            ],'patch' => [
429              'path' => 'v2/{+name}',
430              'httpMethod' => 'PATCH',
431              'parameters' => [
432                'name' => [
433                  'location' => 'path',
434                  'type' => 'string',
435                  'required' => true,
436                ],
437                'updateMask' => [
438                  'location' => 'query',
439                  'type' => 'string',
440                ],
441              ],
442            ],
443          ]
444        ]
445    );
446    $this->billingAccounts_locations_buckets_views_logs = new Logging\Resource\BillingAccountsLocationsBucketsViewsLogs(
447        $this,
448        $this->serviceName,
449        'logs',
450        [
451          'methods' => [
452            'list' => [
453              'path' => 'v2/{+parent}/logs',
454              'httpMethod' => 'GET',
455              'parameters' => [
456                'parent' => [
457                  'location' => 'path',
458                  'type' => 'string',
459                  'required' => true,
460                ],
461                'pageSize' => [
462                  'location' => 'query',
463                  'type' => 'integer',
464                ],
465                'pageToken' => [
466                  'location' => 'query',
467                  'type' => 'string',
468                ],
469                'resourceNames' => [
470                  'location' => 'query',
471                  'type' => 'string',
472                  'repeated' => true,
473                ],
474              ],
475            ],
476          ]
477        ]
478    );
479    $this->billingAccounts_locations_operations = new Logging\Resource\BillingAccountsLocationsOperations(
480        $this,
481        $this->serviceName,
482        'operations',
483        [
484          'methods' => [
485            'cancel' => [
486              'path' => 'v2/{+name}:cancel',
487              'httpMethod' => 'POST',
488              'parameters' => [
489                'name' => [
490                  'location' => 'path',
491                  'type' => 'string',
492                  'required' => true,
493                ],
494              ],
495            ],'list' => [
496              'path' => 'v2/{+name}/operations',
497              'httpMethod' => 'GET',
498              'parameters' => [
499                'name' => [
500                  'location' => 'path',
501                  'type' => 'string',
502                  'required' => true,
503                ],
504                'filter' => [
505                  'location' => 'query',
506                  'type' => 'string',
507                ],
508                'pageSize' => [
509                  'location' => 'query',
510                  'type' => 'integer',
511                ],
512                'pageToken' => [
513                  'location' => 'query',
514                  'type' => 'string',
515                ],
516              ],
517            ],
518          ]
519        ]
520    );
521    $this->billingAccounts_logs = new Logging\Resource\BillingAccountsLogs(
522        $this,
523        $this->serviceName,
524        'logs',
525        [
526          'methods' => [
527            'delete' => [
528              'path' => 'v2/{+logName}',
529              'httpMethod' => 'DELETE',
530              'parameters' => [
531                'logName' => [
532                  'location' => 'path',
533                  'type' => 'string',
534                  'required' => true,
535                ],
536              ],
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_operations = new Logging\Resource\BillingAccountsOperations(
565        $this,
566        $this->serviceName,
567        'operations',
568        [
569          'methods' => [
570            'get' => [
571              'path' => 'v2/{+name}',
572              'httpMethod' => 'GET',
573              'parameters' => [
574                'name' => [
575                  'location' => 'path',
576                  'type' => 'string',
577                  'required' => true,
578                ],
579              ],
580            ],
581          ]
582        ]
583    );
584    $this->billingAccounts_sinks = new Logging\Resource\BillingAccountsSinks(
585        $this,
586        $this->serviceName,
587        'sinks',
588        [
589          'methods' => [
590            'create' => [
591              'path' => 'v2/{+parent}/sinks',
592              'httpMethod' => 'POST',
593              'parameters' => [
594                'parent' => [
595                  'location' => 'path',
596                  'type' => 'string',
597                  'required' => true,
598                ],
599                'uniqueWriterIdentity' => [
600                  'location' => 'query',
601                  'type' => 'boolean',
602                ],
603              ],
604            ],'delete' => [
605              'path' => 'v2/{+sinkName}',
606              'httpMethod' => 'DELETE',
607              'parameters' => [
608                'sinkName' => [
609                  'location' => 'path',
610                  'type' => 'string',
611                  'required' => true,
612                ],
613              ],
614            ],'get' => [
615              'path' => 'v2/{+sinkName}',
616              'httpMethod' => 'GET',
617              'parameters' => [
618                'sinkName' => [
619                  'location' => 'path',
620                  'type' => 'string',
621                  'required' => true,
622                ],
623              ],
624            ],'list' => [
625              'path' => 'v2/{+parent}/sinks',
626              'httpMethod' => 'GET',
627              'parameters' => [
628                'parent' => [
629                  'location' => 'path',
630                  'type' => 'string',
631                  'required' => true,
632                ],
633                'pageSize' => [
634                  'location' => 'query',
635                  'type' => 'integer',
636                ],
637                'pageToken' => [
638                  'location' => 'query',
639                  'type' => 'string',
640                ],
641              ],
642            ],'patch' => [
643              'path' => 'v2/{+sinkName}',
644              'httpMethod' => 'PATCH',
645              'parameters' => [
646                'sinkName' => [
647                  'location' => 'path',
648                  'type' => 'string',
649                  'required' => true,
650                ],
651                'uniqueWriterIdentity' => [
652                  'location' => 'query',
653                  'type' => 'boolean',
654                ],
655                'updateMask' => [
656                  'location' => 'query',
657                  'type' => 'string',
658                ],
659              ],
660            ],'update' => [
661              'path' => 'v2/{+sinkName}',
662              'httpMethod' => 'PUT',
663              'parameters' => [
664                'sinkName' => [
665                  'location' => 'path',
666                  'type' => 'string',
667                  'required' => true,
668                ],
669                'uniqueWriterIdentity' => [
670                  'location' => 'query',
671                  'type' => 'boolean',
672                ],
673                'updateMask' => [
674                  'location' => 'query',
675                  'type' => 'string',
676                ],
677              ],
678            ],
679          ]
680        ]
681    );
682    $this->entries = new Logging\Resource\Entries(
683        $this,
684        $this->serviceName,
685        'entries',
686        [
687          'methods' => [
688            'copy' => [
689              'path' => 'v2/entries:copy',
690              'httpMethod' => 'POST',
691              'parameters' => [],
692            ],'list' => [
693              'path' => 'v2/entries:list',
694              'httpMethod' => 'POST',
695              'parameters' => [],
696            ],'tail' => [
697              'path' => 'v2/entries:tail',
698              'httpMethod' => 'POST',
699              'parameters' => [],
700            ],'write' => [
701              'path' => 'v2/entries:write',
702              'httpMethod' => 'POST',
703              'parameters' => [],
704            ],
705          ]
706        ]
707    );
708    $this->exclusions = new Logging\Resource\Exclusions(
709        $this,
710        $this->serviceName,
711        'exclusions',
712        [
713          'methods' => [
714            'create' => [
715              'path' => 'v2/{+parent}/exclusions',
716              'httpMethod' => 'POST',
717              'parameters' => [
718                'parent' => [
719                  'location' => 'path',
720                  'type' => 'string',
721                  'required' => true,
722                ],
723              ],
724            ],'delete' => [
725              'path' => 'v2/{+name}',
726              'httpMethod' => 'DELETE',
727              'parameters' => [
728                'name' => [
729                  'location' => 'path',
730                  'type' => 'string',
731                  'required' => true,
732                ],
733              ],
734            ],'get' => [
735              'path' => 'v2/{+name}',
736              'httpMethod' => 'GET',
737              'parameters' => [
738                'name' => [
739                  'location' => 'path',
740                  'type' => 'string',
741                  'required' => true,
742                ],
743              ],
744            ],'list' => [
745              'path' => 'v2/{+parent}/exclusions',
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              ],
762            ],'patch' => [
763              'path' => 'v2/{+name}',
764              'httpMethod' => 'PATCH',
765              'parameters' => [
766                'name' => [
767                  'location' => 'path',
768                  'type' => 'string',
769                  'required' => true,
770                ],
771                'updateMask' => [
772                  'location' => 'query',
773                  'type' => 'string',
774                ],
775              ],
776            ],
777          ]
778        ]
779    );
780    $this->folders = new Logging\Resource\Folders(
781        $this,
782        $this->serviceName,
783        'folders',
784        [
785          'methods' => [
786            'getCmekSettings' => [
787              'path' => 'v2/{+name}/cmekSettings',
788              'httpMethod' => 'GET',
789              'parameters' => [
790                'name' => [
791                  'location' => 'path',
792                  'type' => 'string',
793                  'required' => true,
794                ],
795              ],
796            ],'getSettings' => [
797              'path' => 'v2/{+name}/settings',
798              'httpMethod' => 'GET',
799              'parameters' => [
800                'name' => [
801                  'location' => 'path',
802                  'type' => 'string',
803                  'required' => true,
804                ],
805              ],
806            ],'updateSettings' => [
807              'path' => 'v2/{+name}/settings',
808              'httpMethod' => 'PATCH',
809              'parameters' => [
810                'name' => [
811                  'location' => 'path',
812                  'type' => 'string',
813                  'required' => true,
814                ],
815                'updateMask' => [
816                  'location' => 'query',
817                  'type' => 'string',
818                ],
819              ],
820            ],
821          ]
822        ]
823    );
824    $this->folders_exclusions = new Logging\Resource\FoldersExclusions(
825        $this,
826        $this->serviceName,
827        'exclusions',
828        [
829          'methods' => [
830            'create' => [
831              'path' => 'v2/{+parent}/exclusions',
832              'httpMethod' => 'POST',
833              'parameters' => [
834                'parent' => [
835                  'location' => 'path',
836                  'type' => 'string',
837                  'required' => true,
838                ],
839              ],
840            ],'delete' => [
841              'path' => 'v2/{+name}',
842              'httpMethod' => 'DELETE',
843              'parameters' => [
844                'name' => [
845                  'location' => 'path',
846                  'type' => 'string',
847                  'required' => true,
848                ],
849              ],
850            ],'get' => [
851              'path' => 'v2/{+name}',
852              'httpMethod' => 'GET',
853              'parameters' => [
854                'name' => [
855                  'location' => 'path',
856                  'type' => 'string',
857                  'required' => true,
858                ],
859              ],
860            ],'list' => [
861              'path' => 'v2/{+parent}/exclusions',
862              'httpMethod' => 'GET',
863              'parameters' => [
864                'parent' => [
865                  'location' => 'path',
866                  'type' => 'string',
867                  'required' => true,
868                ],
869                'pageSize' => [
870                  'location' => 'query',
871                  'type' => 'integer',
872                ],
873                'pageToken' => [
874                  'location' => 'query',
875                  'type' => 'string',
876                ],
877              ],
878            ],'patch' => [
879              'path' => 'v2/{+name}',
880              'httpMethod' => 'PATCH',
881              'parameters' => [
882                'name' => [
883                  'location' => 'path',
884                  'type' => 'string',
885                  'required' => true,
886                ],
887                'updateMask' => [
888                  'location' => 'query',
889                  'type' => 'string',
890                ],
891              ],
892            ],
893          ]
894        ]
895    );
896    $this->folders_locations = new Logging\Resource\FoldersLocations(
897        $this,
898        $this->serviceName,
899        'locations',
900        [
901          'methods' => [
902            'get' => [
903              'path' => 'v2/{+name}',
904              'httpMethod' => 'GET',
905              'parameters' => [
906                'name' => [
907                  'location' => 'path',
908                  'type' => 'string',
909                  'required' => true,
910                ],
911              ],
912            ],'list' => [
913              'path' => 'v2/{+name}/locations',
914              'httpMethod' => 'GET',
915              'parameters' => [
916                'name' => [
917                  'location' => 'path',
918                  'type' => 'string',
919                  'required' => true,
920                ],
921                'filter' => [
922                  'location' => 'query',
923                  'type' => 'string',
924                ],
925                'pageSize' => [
926                  'location' => 'query',
927                  'type' => 'integer',
928                ],
929                'pageToken' => [
930                  'location' => 'query',
931                  'type' => 'string',
932                ],
933              ],
934            ],
935          ]
936        ]
937    );
938    $this->folders_locations_buckets = new Logging\Resource\FoldersLocationsBuckets(
939        $this,
940        $this->serviceName,
941        'buckets',
942        [
943          'methods' => [
944            'create' => [
945              'path' => 'v2/{+parent}/buckets',
946              'httpMethod' => 'POST',
947              'parameters' => [
948                'parent' => [
949                  'location' => 'path',
950                  'type' => 'string',
951                  'required' => true,
952                ],
953                'bucketId' => [
954                  'location' => 'query',
955                  'type' => 'string',
956                ],
957              ],
958            ],'delete' => [
959              'path' => 'v2/{+name}',
960              'httpMethod' => 'DELETE',
961              'parameters' => [
962                'name' => [
963                  'location' => 'path',
964                  'type' => 'string',
965                  'required' => true,
966                ],
967              ],
968            ],'get' => [
969              'path' => 'v2/{+name}',
970              'httpMethod' => 'GET',
971              'parameters' => [
972                'name' => [
973                  'location' => 'path',
974                  'type' => 'string',
975                  'required' => true,
976                ],
977              ],
978            ],'list' => [
979              'path' => 'v2/{+parent}/buckets',
980              'httpMethod' => 'GET',
981              'parameters' => [
982                'parent' => [
983                  'location' => 'path',
984                  'type' => 'string',
985                  'required' => true,
986                ],
987                'pageSize' => [
988                  'location' => 'query',
989                  'type' => 'integer',
990                ],
991                'pageToken' => [
992                  'location' => 'query',
993                  'type' => 'string',
994                ],
995              ],
996            ],'patch' => [
997              'path' => 'v2/{+name}',
998              'httpMethod' => 'PATCH',
999              'parameters' => [
1000                'name' => [
1001                  'location' => 'path',
1002                  'type' => 'string',
1003                  'required' => true,
1004                ],
1005                'updateMask' => [
1006                  'location' => 'query',
1007                  'type' => 'string',
1008                ],
1009              ],
1010            ],'undelete' => [
1011              'path' => 'v2/{+name}:undelete',
1012              'httpMethod' => 'POST',
1013              'parameters' => [
1014                'name' => [
1015                  'location' => 'path',
1016                  'type' => 'string',
1017                  'required' => true,
1018                ],
1019              ],
1020            ],
1021          ]
1022        ]
1023    );
1024    $this->folders_locations_buckets_views = new Logging\Resource\FoldersLocationsBucketsViews(
1025        $this,
1026        $this->serviceName,
1027        'views',
1028        [
1029          'methods' => [
1030            'create' => [
1031              'path' => 'v2/{+parent}/views',
1032              'httpMethod' => 'POST',
1033              'parameters' => [
1034                'parent' => [
1035                  'location' => 'path',
1036                  'type' => 'string',
1037                  'required' => true,
1038                ],
1039                'viewId' => [
1040                  'location' => 'query',
1041                  'type' => 'string',
1042                ],
1043              ],
1044            ],'delete' => [
1045              'path' => 'v2/{+name}',
1046              'httpMethod' => 'DELETE',
1047              'parameters' => [
1048                'name' => [
1049                  'location' => 'path',
1050                  'type' => 'string',
1051                  'required' => true,
1052                ],
1053              ],
1054            ],'get' => [
1055              'path' => 'v2/{+name}',
1056              'httpMethod' => 'GET',
1057              'parameters' => [
1058                'name' => [
1059                  'location' => 'path',
1060                  'type' => 'string',
1061                  'required' => true,
1062                ],
1063              ],
1064            ],'list' => [
1065              'path' => 'v2/{+parent}/views',
1066              'httpMethod' => 'GET',
1067              'parameters' => [
1068                'parent' => [
1069                  'location' => 'path',
1070                  'type' => 'string',
1071                  'required' => true,
1072                ],
1073                'pageSize' => [
1074                  'location' => 'query',
1075                  'type' => 'integer',
1076                ],
1077                'pageToken' => [
1078                  'location' => 'query',
1079                  'type' => 'string',
1080                ],
1081              ],
1082            ],'patch' => [
1083              'path' => 'v2/{+name}',
1084              'httpMethod' => 'PATCH',
1085              'parameters' => [
1086                'name' => [
1087                  'location' => 'path',
1088                  'type' => 'string',
1089                  'required' => true,
1090                ],
1091                'updateMask' => [
1092                  'location' => 'query',
1093                  'type' => 'string',
1094                ],
1095              ],
1096            ],
1097          ]
1098        ]
1099    );
1100    $this->folders_locations_buckets_views_logs = new Logging\Resource\FoldersLocationsBucketsViewsLogs(
1101        $this,
1102        $this->serviceName,
1103        'logs',
1104        [
1105          'methods' => [
1106            'list' => [
1107              'path' => 'v2/{+parent}/logs',
1108              'httpMethod' => 'GET',
1109              'parameters' => [
1110                'parent' => [
1111                  'location' => 'path',
1112                  'type' => 'string',
1113                  'required' => true,
1114                ],
1115                'pageSize' => [
1116                  'location' => 'query',
1117                  'type' => 'integer',
1118                ],
1119                'pageToken' => [
1120                  'location' => 'query',
1121                  'type' => 'string',
1122                ],
1123                'resourceNames' => [
1124                  'location' => 'query',
1125                  'type' => 'string',
1126                  'repeated' => true,
1127                ],
1128              ],
1129            ],
1130          ]
1131        ]
1132    );
1133    $this->folders_locations_operations = new Logging\Resource\FoldersLocationsOperations(
1134        $this,
1135        $this->serviceName,
1136        'operations',
1137        [
1138          'methods' => [
1139            'cancel' => [
1140              'path' => 'v2/{+name}:cancel',
1141              'httpMethod' => 'POST',
1142              'parameters' => [
1143                'name' => [
1144                  'location' => 'path',
1145                  'type' => 'string',
1146                  'required' => true,
1147                ],
1148              ],
1149            ],'get' => [
1150              'path' => 'v2/{+name}',
1151              'httpMethod' => 'GET',
1152              'parameters' => [
1153                'name' => [
1154                  'location' => 'path',
1155                  'type' => 'string',
1156                  'required' => true,
1157                ],
1158              ],
1159            ],'list' => [
1160              'path' => 'v2/{+name}/operations',
1161              'httpMethod' => 'GET',
1162              'parameters' => [
1163                'name' => [
1164                  'location' => 'path',
1165                  'type' => 'string',
1166                  'required' => true,
1167                ],
1168                'filter' => [
1169                  'location' => 'query',
1170                  'type' => 'string',
1171                ],
1172                'pageSize' => [
1173                  'location' => 'query',
1174                  'type' => 'integer',
1175                ],
1176                'pageToken' => [
1177                  'location' => 'query',
1178                  'type' => 'string',
1179                ],
1180              ],
1181            ],
1182          ]
1183        ]
1184    );
1185    $this->folders_logs = new Logging\Resource\FoldersLogs(
1186        $this,
1187        $this->serviceName,
1188        'logs',
1189        [
1190          'methods' => [
1191            'delete' => [
1192              'path' => 'v2/{+logName}',
1193              'httpMethod' => 'DELETE',
1194              'parameters' => [
1195                'logName' => [
1196                  'location' => 'path',
1197                  'type' => 'string',
1198                  'required' => true,
1199                ],
1200              ],
1201            ],'list' => [
1202              'path' => 'v2/{+parent}/logs',
1203              'httpMethod' => 'GET',
1204              'parameters' => [
1205                'parent' => [
1206                  'location' => 'path',
1207                  'type' => 'string',
1208                  'required' => true,
1209                ],
1210                'pageSize' => [
1211                  'location' => 'query',
1212                  'type' => 'integer',
1213                ],
1214                'pageToken' => [
1215                  'location' => 'query',
1216                  'type' => 'string',
1217                ],
1218                'resourceNames' => [
1219                  'location' => 'query',
1220                  'type' => 'string',
1221                  'repeated' => true,
1222                ],
1223              ],
1224            ],
1225          ]
1226        ]
1227    );
1228    $this->folders_sinks = new Logging\Resource\FoldersSinks(
1229        $this,
1230        $this->serviceName,
1231        'sinks',
1232        [
1233          'methods' => [
1234            'create' => [
1235              'path' => 'v2/{+parent}/sinks',
1236              'httpMethod' => 'POST',
1237              'parameters' => [
1238                'parent' => [
1239                  'location' => 'path',
1240                  'type' => 'string',
1241                  'required' => true,
1242                ],
1243                'uniqueWriterIdentity' => [
1244                  'location' => 'query',
1245                  'type' => 'boolean',
1246                ],
1247              ],
1248            ],'delete' => [
1249              'path' => 'v2/{+sinkName}',
1250              'httpMethod' => 'DELETE',
1251              'parameters' => [
1252                'sinkName' => [
1253                  'location' => 'path',
1254                  'type' => 'string',
1255                  'required' => true,
1256                ],
1257              ],
1258            ],'get' => [
1259              'path' => 'v2/{+sinkName}',
1260              'httpMethod' => 'GET',
1261              'parameters' => [
1262                'sinkName' => [
1263                  'location' => 'path',
1264                  'type' => 'string',
1265                  'required' => true,
1266                ],
1267              ],
1268            ],'list' => [
1269              'path' => 'v2/{+parent}/sinks',
1270              'httpMethod' => 'GET',
1271              'parameters' => [
1272                'parent' => [
1273                  'location' => 'path',
1274                  'type' => 'string',
1275                  'required' => true,
1276                ],
1277                'pageSize' => [
1278                  'location' => 'query',
1279                  'type' => 'integer',
1280                ],
1281                'pageToken' => [
1282                  'location' => 'query',
1283                  'type' => 'string',
1284                ],
1285              ],
1286            ],'patch' => [
1287              'path' => 'v2/{+sinkName}',
1288              'httpMethod' => 'PATCH',
1289              'parameters' => [
1290                'sinkName' => [
1291                  'location' => 'path',
1292                  'type' => 'string',
1293                  'required' => true,
1294                ],
1295                'uniqueWriterIdentity' => [
1296                  'location' => 'query',
1297                  'type' => 'boolean',
1298                ],
1299                'updateMask' => [
1300                  'location' => 'query',
1301                  'type' => 'string',
1302                ],
1303              ],
1304            ],'update' => [
1305              'path' => 'v2/{+sinkName}',
1306              'httpMethod' => 'PUT',
1307              'parameters' => [
1308                'sinkName' => [
1309                  'location' => 'path',
1310                  'type' => 'string',
1311                  'required' => true,
1312                ],
1313                'uniqueWriterIdentity' => [
1314                  'location' => 'query',
1315                  'type' => 'boolean',
1316                ],
1317                'updateMask' => [
1318                  'location' => 'query',
1319                  'type' => 'string',
1320                ],
1321              ],
1322            ],
1323          ]
1324        ]
1325    );
1326    $this->locations = new Logging\Resource\Locations(
1327        $this,
1328        $this->serviceName,
1329        'locations',
1330        [
1331          'methods' => [
1332            'get' => [
1333              'path' => 'v2/{+name}',
1334              'httpMethod' => 'GET',
1335              'parameters' => [
1336                'name' => [
1337                  'location' => 'path',
1338                  'type' => 'string',
1339                  'required' => true,
1340                ],
1341              ],
1342            ],'list' => [
1343              'path' => 'v2/{+name}/locations',
1344              'httpMethod' => 'GET',
1345              'parameters' => [
1346                'name' => [
1347                  'location' => 'path',
1348                  'type' => 'string',
1349                  'required' => true,
1350                ],
1351                'filter' => [
1352                  'location' => 'query',
1353                  'type' => 'string',
1354                ],
1355                'pageSize' => [
1356                  'location' => 'query',
1357                  'type' => 'integer',
1358                ],
1359                'pageToken' => [
1360                  'location' => 'query',
1361                  'type' => 'string',
1362                ],
1363              ],
1364            ],
1365          ]
1366        ]
1367    );
1368    $this->locations_buckets = new Logging\Resource\LocationsBuckets(
1369        $this,
1370        $this->serviceName,
1371        'buckets',
1372        [
1373          'methods' => [
1374            'create' => [
1375              'path' => 'v2/{+parent}/buckets',
1376              'httpMethod' => 'POST',
1377              'parameters' => [
1378                'parent' => [
1379                  'location' => 'path',
1380                  'type' => 'string',
1381                  'required' => true,
1382                ],
1383                'bucketId' => [
1384                  'location' => 'query',
1385                  'type' => 'string',
1386                ],
1387              ],
1388            ],'delete' => [
1389              'path' => 'v2/{+name}',
1390              'httpMethod' => 'DELETE',
1391              'parameters' => [
1392                'name' => [
1393                  'location' => 'path',
1394                  'type' => 'string',
1395                  'required' => true,
1396                ],
1397              ],
1398            ],'get' => [
1399              'path' => 'v2/{+name}',
1400              'httpMethod' => 'GET',
1401              'parameters' => [
1402                'name' => [
1403                  'location' => 'path',
1404                  'type' => 'string',
1405                  'required' => true,
1406                ],
1407              ],
1408            ],'list' => [
1409              'path' => 'v2/{+parent}/buckets',
1410              'httpMethod' => 'GET',
1411              'parameters' => [
1412                'parent' => [
1413                  'location' => 'path',
1414                  'type' => 'string',
1415                  'required' => true,
1416                ],
1417                'pageSize' => [
1418                  'location' => 'query',
1419                  'type' => 'integer',
1420                ],
1421                'pageToken' => [
1422                  'location' => 'query',
1423                  'type' => 'string',
1424                ],
1425              ],
1426            ],'patch' => [
1427              'path' => 'v2/{+name}',
1428              'httpMethod' => 'PATCH',
1429              'parameters' => [
1430                'name' => [
1431                  'location' => 'path',
1432                  'type' => 'string',
1433                  'required' => true,
1434                ],
1435                'updateMask' => [
1436                  'location' => 'query',
1437                  'type' => 'string',
1438                ],
1439              ],
1440            ],'undelete' => [
1441              'path' => 'v2/{+name}:undelete',
1442              'httpMethod' => 'POST',
1443              'parameters' => [
1444                'name' => [
1445                  'location' => 'path',
1446                  'type' => 'string',
1447                  'required' => true,
1448                ],
1449              ],
1450            ],
1451          ]
1452        ]
1453    );
1454    $this->locations_buckets_views = new Logging\Resource\LocationsBucketsViews(
1455        $this,
1456        $this->serviceName,
1457        'views',
1458        [
1459          'methods' => [
1460            'create' => [
1461              'path' => 'v2/{+parent}/views',
1462              'httpMethod' => 'POST',
1463              'parameters' => [
1464                'parent' => [
1465                  'location' => 'path',
1466                  'type' => 'string',
1467                  'required' => true,
1468                ],
1469                'viewId' => [
1470                  'location' => 'query',
1471                  'type' => 'string',
1472                ],
1473              ],
1474            ],'delete' => [
1475              'path' => 'v2/{+name}',
1476              'httpMethod' => 'DELETE',
1477              'parameters' => [
1478                'name' => [
1479                  'location' => 'path',
1480                  'type' => 'string',
1481                  'required' => true,
1482                ],
1483              ],
1484            ],'get' => [
1485              'path' => 'v2/{+name}',
1486              'httpMethod' => 'GET',
1487              'parameters' => [
1488                'name' => [
1489                  'location' => 'path',
1490                  'type' => 'string',
1491                  'required' => true,
1492                ],
1493              ],
1494            ],'list' => [
1495              'path' => 'v2/{+parent}/views',
1496              'httpMethod' => 'GET',
1497              'parameters' => [
1498                'parent' => [
1499                  'location' => 'path',
1500                  'type' => 'string',
1501                  'required' => true,
1502                ],
1503                'pageSize' => [
1504                  'location' => 'query',
1505                  'type' => 'integer',
1506                ],
1507                'pageToken' => [
1508                  'location' => 'query',
1509                  'type' => 'string',
1510                ],
1511              ],
1512            ],'patch' => [
1513              'path' => 'v2/{+name}',
1514              'httpMethod' => 'PATCH',
1515              'parameters' => [
1516                'name' => [
1517                  'location' => 'path',
1518                  'type' => 'string',
1519                  'required' => true,
1520                ],
1521                'updateMask' => [
1522                  'location' => 'query',
1523                  'type' => 'string',
1524                ],
1525              ],
1526            ],
1527          ]
1528        ]
1529    );
1530    $this->locations_operations = new Logging\Resource\LocationsOperations(
1531        $this,
1532        $this->serviceName,
1533        'operations',
1534        [
1535          'methods' => [
1536            'cancel' => [
1537              'path' => 'v2/{+name}:cancel',
1538              'httpMethod' => 'POST',
1539              'parameters' => [
1540                'name' => [
1541                  'location' => 'path',
1542                  'type' => 'string',
1543                  'required' => true,
1544                ],
1545              ],
1546            ],'get' => [
1547              'path' => 'v2/{+name}',
1548              'httpMethod' => 'GET',
1549              'parameters' => [
1550                'name' => [
1551                  'location' => 'path',
1552                  'type' => 'string',
1553                  'required' => true,
1554                ],
1555              ],
1556            ],'list' => [
1557              'path' => 'v2/{+name}/operations',
1558              'httpMethod' => 'GET',
1559              'parameters' => [
1560                'name' => [
1561                  'location' => 'path',
1562                  'type' => 'string',
1563                  'required' => true,
1564                ],
1565                'filter' => [
1566                  'location' => 'query',
1567                  'type' => 'string',
1568                ],
1569                'pageSize' => [
1570                  'location' => 'query',
1571                  'type' => 'integer',
1572                ],
1573                'pageToken' => [
1574                  'location' => 'query',
1575                  'type' => 'string',
1576                ],
1577              ],
1578            ],
1579          ]
1580        ]
1581    );
1582    $this->logs = new Logging\Resource\Logs(
1583        $this,
1584        $this->serviceName,
1585        'logs',
1586        [
1587          'methods' => [
1588            'delete' => [
1589              'path' => 'v2/{+logName}',
1590              'httpMethod' => 'DELETE',
1591              'parameters' => [
1592                'logName' => [
1593                  'location' => 'path',
1594                  'type' => 'string',
1595                  'required' => true,
1596                ],
1597              ],
1598            ],'list' => [
1599              'path' => 'v2/{+parent}/logs',
1600              'httpMethod' => 'GET',
1601              'parameters' => [
1602                'parent' => [
1603                  'location' => 'path',
1604                  'type' => 'string',
1605                  'required' => true,
1606                ],
1607                'pageSize' => [
1608                  'location' => 'query',
1609                  'type' => 'integer',
1610                ],
1611                'pageToken' => [
1612                  'location' => 'query',
1613                  'type' => 'string',
1614                ],
1615                'resourceNames' => [
1616                  'location' => 'query',
1617                  'type' => 'string',
1618                  'repeated' => true,
1619                ],
1620              ],
1621            ],
1622          ]
1623        ]
1624    );
1625    $this->monitoredResourceDescriptors = new Logging\Resource\MonitoredResourceDescriptors(
1626        $this,
1627        $this->serviceName,
1628        'monitoredResourceDescriptors',
1629        [
1630          'methods' => [
1631            'list' => [
1632              'path' => 'v2/monitoredResourceDescriptors',
1633              'httpMethod' => 'GET',
1634              'parameters' => [
1635                'pageSize' => [
1636                  'location' => 'query',
1637                  'type' => 'integer',
1638                ],
1639                'pageToken' => [
1640                  'location' => 'query',
1641                  'type' => 'string',
1642                ],
1643              ],
1644            ],
1645          ]
1646        ]
1647    );
1648    $this->organizations = new Logging\Resource\Organizations(
1649        $this,
1650        $this->serviceName,
1651        'organizations',
1652        [
1653          'methods' => [
1654            'getCmekSettings' => [
1655              'path' => 'v2/{+name}/cmekSettings',
1656              'httpMethod' => 'GET',
1657              'parameters' => [
1658                'name' => [
1659                  'location' => 'path',
1660                  'type' => 'string',
1661                  'required' => true,
1662                ],
1663              ],
1664            ],'getSettings' => [
1665              'path' => 'v2/{+name}/settings',
1666              'httpMethod' => 'GET',
1667              'parameters' => [
1668                'name' => [
1669                  'location' => 'path',
1670                  'type' => 'string',
1671                  'required' => true,
1672                ],
1673              ],
1674            ],'updateCmekSettings' => [
1675              'path' => 'v2/{+name}/cmekSettings',
1676              'httpMethod' => 'PATCH',
1677              'parameters' => [
1678                'name' => [
1679                  'location' => 'path',
1680                  'type' => 'string',
1681                  'required' => true,
1682                ],
1683                'updateMask' => [
1684                  'location' => 'query',
1685                  'type' => 'string',
1686                ],
1687              ],
1688            ],'updateSettings' => [
1689              'path' => 'v2/{+name}/settings',
1690              'httpMethod' => 'PATCH',
1691              'parameters' => [
1692                'name' => [
1693                  'location' => 'path',
1694                  'type' => 'string',
1695                  'required' => true,
1696                ],
1697                'updateMask' => [
1698                  'location' => 'query',
1699                  'type' => 'string',
1700                ],
1701              ],
1702            ],
1703          ]
1704        ]
1705    );
1706    $this->organizations_exclusions = new Logging\Resource\OrganizationsExclusions(
1707        $this,
1708        $this->serviceName,
1709        'exclusions',
1710        [
1711          'methods' => [
1712            'create' => [
1713              'path' => 'v2/{+parent}/exclusions',
1714              'httpMethod' => 'POST',
1715              'parameters' => [
1716                'parent' => [
1717                  'location' => 'path',
1718                  'type' => 'string',
1719                  'required' => true,
1720                ],
1721              ],
1722            ],'delete' => [
1723              'path' => 'v2/{+name}',
1724              'httpMethod' => 'DELETE',
1725              'parameters' => [
1726                'name' => [
1727                  'location' => 'path',
1728                  'type' => 'string',
1729                  'required' => true,
1730                ],
1731              ],
1732            ],'get' => [
1733              'path' => 'v2/{+name}',
1734              'httpMethod' => 'GET',
1735              'parameters' => [
1736                'name' => [
1737                  'location' => 'path',
1738                  'type' => 'string',
1739                  'required' => true,
1740                ],
1741              ],
1742            ],'list' => [
1743              'path' => 'v2/{+parent}/exclusions',
1744              'httpMethod' => 'GET',
1745              'parameters' => [
1746                'parent' => [
1747                  'location' => 'path',
1748                  'type' => 'string',
1749                  'required' => true,
1750                ],
1751                'pageSize' => [
1752                  'location' => 'query',
1753                  'type' => 'integer',
1754                ],
1755                'pageToken' => [
1756                  'location' => 'query',
1757                  'type' => 'string',
1758                ],
1759              ],
1760            ],'patch' => [
1761              'path' => 'v2/{+name}',
1762              'httpMethod' => 'PATCH',
1763              'parameters' => [
1764                'name' => [
1765                  'location' => 'path',
1766                  'type' => 'string',
1767                  'required' => true,
1768                ],
1769                'updateMask' => [
1770                  'location' => 'query',
1771                  'type' => 'string',
1772                ],
1773              ],
1774            ],
1775          ]
1776        ]
1777    );
1778    $this->organizations_locations = new Logging\Resource\OrganizationsLocations(
1779        $this,
1780        $this->serviceName,
1781        'locations',
1782        [
1783          'methods' => [
1784            'get' => [
1785              'path' => 'v2/{+name}',
1786              'httpMethod' => 'GET',
1787              'parameters' => [
1788                'name' => [
1789                  'location' => 'path',
1790                  'type' => 'string',
1791                  'required' => true,
1792                ],
1793              ],
1794            ],'list' => [
1795              'path' => 'v2/{+name}/locations',
1796              'httpMethod' => 'GET',
1797              'parameters' => [
1798                'name' => [
1799                  'location' => 'path',
1800                  'type' => 'string',
1801                  'required' => true,
1802                ],
1803                'filter' => [
1804                  'location' => 'query',
1805                  'type' => 'string',
1806                ],
1807                'pageSize' => [
1808                  'location' => 'query',
1809                  'type' => 'integer',
1810                ],
1811                'pageToken' => [
1812                  'location' => 'query',
1813                  'type' => 'string',
1814                ],
1815              ],
1816            ],
1817          ]
1818        ]
1819    );
1820    $this->organizations_locations_buckets = new Logging\Resource\OrganizationsLocationsBuckets(
1821        $this,
1822        $this->serviceName,
1823        'buckets',
1824        [
1825          'methods' => [
1826            'create' => [
1827              'path' => 'v2/{+parent}/buckets',
1828              'httpMethod' => 'POST',
1829              'parameters' => [
1830                'parent' => [
1831                  'location' => 'path',
1832                  'type' => 'string',
1833                  'required' => true,
1834                ],
1835                'bucketId' => [
1836                  'location' => 'query',
1837                  'type' => 'string',
1838                ],
1839              ],
1840            ],'delete' => [
1841              'path' => 'v2/{+name}',
1842              'httpMethod' => 'DELETE',
1843              'parameters' => [
1844                'name' => [
1845                  'location' => 'path',
1846                  'type' => 'string',
1847                  'required' => true,
1848                ],
1849              ],
1850            ],'get' => [
1851              'path' => 'v2/{+name}',
1852              'httpMethod' => 'GET',
1853              'parameters' => [
1854                'name' => [
1855                  'location' => 'path',
1856                  'type' => 'string',
1857                  'required' => true,
1858                ],
1859              ],
1860            ],'list' => [
1861              'path' => 'v2/{+parent}/buckets',
1862              'httpMethod' => 'GET',
1863              'parameters' => [
1864                'parent' => [
1865                  'location' => 'path',
1866                  'type' => 'string',
1867                  'required' => true,
1868                ],
1869                'pageSize' => [
1870                  'location' => 'query',
1871                  'type' => 'integer',
1872                ],
1873                'pageToken' => [
1874                  'location' => 'query',
1875                  'type' => 'string',
1876                ],
1877              ],
1878            ],'patch' => [
1879              'path' => 'v2/{+name}',
1880              'httpMethod' => 'PATCH',
1881              'parameters' => [
1882                'name' => [
1883                  'location' => 'path',
1884                  'type' => 'string',
1885                  'required' => true,
1886                ],
1887                'updateMask' => [
1888                  'location' => 'query',
1889                  'type' => 'string',
1890                ],
1891              ],
1892            ],'undelete' => [
1893              'path' => 'v2/{+name}:undelete',
1894              'httpMethod' => 'POST',
1895              'parameters' => [
1896                'name' => [
1897                  'location' => 'path',
1898                  'type' => 'string',
1899                  'required' => true,
1900                ],
1901              ],
1902            ],
1903          ]
1904        ]
1905    );
1906    $this->organizations_locations_buckets_views = new Logging\Resource\OrganizationsLocationsBucketsViews(
1907        $this,
1908        $this->serviceName,
1909        'views',
1910        [
1911          'methods' => [
1912            'create' => [
1913              'path' => 'v2/{+parent}/views',
1914              'httpMethod' => 'POST',
1915              'parameters' => [
1916                'parent' => [
1917                  'location' => 'path',
1918                  'type' => 'string',
1919                  'required' => true,
1920                ],
1921                'viewId' => [
1922                  'location' => 'query',
1923                  'type' => 'string',
1924                ],
1925              ],
1926            ],'delete' => [
1927              'path' => 'v2/{+name}',
1928              'httpMethod' => 'DELETE',
1929              'parameters' => [
1930                'name' => [
1931                  'location' => 'path',
1932                  'type' => 'string',
1933                  'required' => true,
1934                ],
1935              ],
1936            ],'get' => [
1937              'path' => 'v2/{+name}',
1938              'httpMethod' => 'GET',
1939              'parameters' => [
1940                'name' => [
1941                  'location' => 'path',
1942                  'type' => 'string',
1943                  'required' => true,
1944                ],
1945              ],
1946            ],'list' => [
1947              'path' => 'v2/{+parent}/views',
1948              'httpMethod' => 'GET',
1949              'parameters' => [
1950                'parent' => [
1951                  'location' => 'path',
1952                  'type' => 'string',
1953                  'required' => true,
1954                ],
1955                'pageSize' => [
1956                  'location' => 'query',
1957                  'type' => 'integer',
1958                ],
1959                'pageToken' => [
1960                  'location' => 'query',
1961                  'type' => 'string',
1962                ],
1963              ],
1964            ],'patch' => [
1965              'path' => 'v2/{+name}',
1966              'httpMethod' => 'PATCH',
1967              'parameters' => [
1968                'name' => [
1969                  'location' => 'path',
1970                  'type' => 'string',
1971                  'required' => true,
1972                ],
1973                'updateMask' => [
1974                  'location' => 'query',
1975                  'type' => 'string',
1976                ],
1977              ],
1978            ],
1979          ]
1980        ]
1981    );
1982    $this->organizations_locations_buckets_views_logs = new Logging\Resource\OrganizationsLocationsBucketsViewsLogs(
1983        $this,
1984        $this->serviceName,
1985        'logs',
1986        [
1987          'methods' => [
1988            'list' => [
1989              'path' => 'v2/{+parent}/logs',
1990              'httpMethod' => 'GET',
1991              'parameters' => [
1992                'parent' => [
1993                  'location' => 'path',
1994                  'type' => 'string',
1995                  'required' => true,
1996                ],
1997                'pageSize' => [
1998                  'location' => 'query',
1999                  'type' => 'integer',
2000                ],
2001                'pageToken' => [
2002                  'location' => 'query',
2003                  'type' => 'string',
2004                ],
2005                'resourceNames' => [
2006                  'location' => 'query',
2007                  'type' => 'string',
2008                  'repeated' => true,
2009                ],
2010              ],
2011            ],
2012          ]
2013        ]
2014    );
2015    $this->organizations_locations_operations = new Logging\Resource\OrganizationsLocationsOperations(
2016        $this,
2017        $this->serviceName,
2018        'operations',
2019        [
2020          'methods' => [
2021            'cancel' => [
2022              'path' => 'v2/{+name}:cancel',
2023              'httpMethod' => 'POST',
2024              'parameters' => [
2025                'name' => [
2026                  'location' => 'path',
2027                  'type' => 'string',
2028                  'required' => true,
2029                ],
2030              ],
2031            ],'get' => [
2032              'path' => 'v2/{+name}',
2033              'httpMethod' => 'GET',
2034              'parameters' => [
2035                'name' => [
2036                  'location' => 'path',
2037                  'type' => 'string',
2038                  'required' => true,
2039                ],
2040              ],
2041            ],'list' => [
2042              'path' => 'v2/{+name}/operations',
2043              'httpMethod' => 'GET',
2044              'parameters' => [
2045                'name' => [
2046                  'location' => 'path',
2047                  'type' => 'string',
2048                  'required' => true,
2049                ],
2050                'filter' => [
2051                  'location' => 'query',
2052                  'type' => 'string',
2053                ],
2054                'pageSize' => [
2055                  'location' => 'query',
2056                  'type' => 'integer',
2057                ],
2058                'pageToken' => [
2059                  'location' => 'query',
2060                  'type' => 'string',
2061                ],
2062              ],
2063            ],
2064          ]
2065        ]
2066    );
2067    $this->organizations_logs = new Logging\Resource\OrganizationsLogs(
2068        $this,
2069        $this->serviceName,
2070        'logs',
2071        [
2072          'methods' => [
2073            'delete' => [
2074              'path' => 'v2/{+logName}',
2075              'httpMethod' => 'DELETE',
2076              'parameters' => [
2077                'logName' => [
2078                  'location' => 'path',
2079                  'type' => 'string',
2080                  'required' => true,
2081                ],
2082              ],
2083            ],'list' => [
2084              'path' => 'v2/{+parent}/logs',
2085              'httpMethod' => 'GET',
2086              'parameters' => [
2087                'parent' => [
2088                  'location' => 'path',
2089                  'type' => 'string',
2090                  'required' => true,
2091                ],
2092                'pageSize' => [
2093                  'location' => 'query',
2094                  'type' => 'integer',
2095                ],
2096                'pageToken' => [
2097                  'location' => 'query',
2098                  'type' => 'string',
2099                ],
2100                'resourceNames' => [
2101                  'location' => 'query',
2102                  'type' => 'string',
2103                  'repeated' => true,
2104                ],
2105              ],
2106            ],
2107          ]
2108        ]
2109    );
2110    $this->organizations_sinks = new Logging\Resource\OrganizationsSinks(
2111        $this,
2112        $this->serviceName,
2113        'sinks',
2114        [
2115          'methods' => [
2116            'create' => [
2117              'path' => 'v2/{+parent}/sinks',
2118              'httpMethod' => 'POST',
2119              'parameters' => [
2120                'parent' => [
2121                  'location' => 'path',
2122                  'type' => 'string',
2123                  'required' => true,
2124                ],
2125                'uniqueWriterIdentity' => [
2126                  'location' => 'query',
2127                  'type' => 'boolean',
2128                ],
2129              ],
2130            ],'delete' => [
2131              'path' => 'v2/{+sinkName}',
2132              'httpMethod' => 'DELETE',
2133              'parameters' => [
2134                'sinkName' => [
2135                  'location' => 'path',
2136                  'type' => 'string',
2137                  'required' => true,
2138                ],
2139              ],
2140            ],'get' => [
2141              'path' => 'v2/{+sinkName}',
2142              'httpMethod' => 'GET',
2143              'parameters' => [
2144                'sinkName' => [
2145                  'location' => 'path',
2146                  'type' => 'string',
2147                  'required' => true,
2148                ],
2149              ],
2150            ],'list' => [
2151              'path' => 'v2/{+parent}/sinks',
2152              'httpMethod' => 'GET',
2153              'parameters' => [
2154                'parent' => [
2155                  'location' => 'path',
2156                  'type' => 'string',
2157                  'required' => true,
2158                ],
2159                'pageSize' => [
2160                  'location' => 'query',
2161                  'type' => 'integer',
2162                ],
2163                'pageToken' => [
2164                  'location' => 'query',
2165                  'type' => 'string',
2166                ],
2167              ],
2168            ],'patch' => [
2169              'path' => 'v2/{+sinkName}',
2170              'httpMethod' => 'PATCH',
2171              'parameters' => [
2172                'sinkName' => [
2173                  'location' => 'path',
2174                  'type' => 'string',
2175                  'required' => true,
2176                ],
2177                'uniqueWriterIdentity' => [
2178                  'location' => 'query',
2179                  'type' => 'boolean',
2180                ],
2181                'updateMask' => [
2182                  'location' => 'query',
2183                  'type' => 'string',
2184                ],
2185              ],
2186            ],'update' => [
2187              'path' => 'v2/{+sinkName}',
2188              'httpMethod' => 'PUT',
2189              'parameters' => [
2190                'sinkName' => [
2191                  'location' => 'path',
2192                  'type' => 'string',
2193                  'required' => true,
2194                ],
2195                'uniqueWriterIdentity' => [
2196                  'location' => 'query',
2197                  'type' => 'boolean',
2198                ],
2199                'updateMask' => [
2200                  'location' => 'query',
2201                  'type' => 'string',
2202                ],
2203              ],
2204            ],
2205          ]
2206        ]
2207    );
2208    $this->projects = new Logging\Resource\Projects(
2209        $this,
2210        $this->serviceName,
2211        'projects',
2212        [
2213          'methods' => [
2214            'getCmekSettings' => [
2215              'path' => 'v2/{+name}/cmekSettings',
2216              'httpMethod' => 'GET',
2217              'parameters' => [
2218                'name' => [
2219                  'location' => 'path',
2220                  'type' => 'string',
2221                  'required' => true,
2222                ],
2223              ],
2224            ],'getSettings' => [
2225              'path' => 'v2/{+name}/settings',
2226              'httpMethod' => 'GET',
2227              'parameters' => [
2228                'name' => [
2229                  'location' => 'path',
2230                  'type' => 'string',
2231                  'required' => true,
2232                ],
2233              ],
2234            ],
2235          ]
2236        ]
2237    );
2238    $this->projects_exclusions = new Logging\Resource\ProjectsExclusions(
2239        $this,
2240        $this->serviceName,
2241        'exclusions',
2242        [
2243          'methods' => [
2244            'create' => [
2245              'path' => 'v2/{+parent}/exclusions',
2246              'httpMethod' => 'POST',
2247              'parameters' => [
2248                'parent' => [
2249                  'location' => 'path',
2250                  'type' => 'string',
2251                  'required' => true,
2252                ],
2253              ],
2254            ],'delete' => [
2255              'path' => 'v2/{+name}',
2256              'httpMethod' => 'DELETE',
2257              'parameters' => [
2258                'name' => [
2259                  'location' => 'path',
2260                  'type' => 'string',
2261                  'required' => true,
2262                ],
2263              ],
2264            ],'get' => [
2265              'path' => 'v2/{+name}',
2266              'httpMethod' => 'GET',
2267              'parameters' => [
2268                'name' => [
2269                  'location' => 'path',
2270                  'type' => 'string',
2271                  'required' => true,
2272                ],
2273              ],
2274            ],'list' => [
2275              'path' => 'v2/{+parent}/exclusions',
2276              'httpMethod' => 'GET',
2277              'parameters' => [
2278                'parent' => [
2279                  'location' => 'path',
2280                  'type' => 'string',
2281                  'required' => true,
2282                ],
2283                'pageSize' => [
2284                  'location' => 'query',
2285                  'type' => 'integer',
2286                ],
2287                'pageToken' => [
2288                  'location' => 'query',
2289                  'type' => 'string',
2290                ],
2291              ],
2292            ],'patch' => [
2293              'path' => 'v2/{+name}',
2294              'httpMethod' => 'PATCH',
2295              'parameters' => [
2296                'name' => [
2297                  'location' => 'path',
2298                  'type' => 'string',
2299                  'required' => true,
2300                ],
2301                'updateMask' => [
2302                  'location' => 'query',
2303                  'type' => 'string',
2304                ],
2305              ],
2306            ],
2307          ]
2308        ]
2309    );
2310    $this->projects_locations = new Logging\Resource\ProjectsLocations(
2311        $this,
2312        $this->serviceName,
2313        'locations',
2314        [
2315          'methods' => [
2316            'get' => [
2317              'path' => 'v2/{+name}',
2318              'httpMethod' => 'GET',
2319              'parameters' => [
2320                'name' => [
2321                  'location' => 'path',
2322                  'type' => 'string',
2323                  'required' => true,
2324                ],
2325              ],
2326            ],'list' => [
2327              'path' => 'v2/{+name}/locations',
2328              'httpMethod' => 'GET',
2329              'parameters' => [
2330                'name' => [
2331                  'location' => 'path',
2332                  'type' => 'string',
2333                  'required' => true,
2334                ],
2335                'filter' => [
2336                  'location' => 'query',
2337                  'type' => 'string',
2338                ],
2339                'pageSize' => [
2340                  'location' => 'query',
2341                  'type' => 'integer',
2342                ],
2343                'pageToken' => [
2344                  'location' => 'query',
2345                  'type' => 'string',
2346                ],
2347              ],
2348            ],
2349          ]
2350        ]
2351    );
2352    $this->projects_locations_buckets = new Logging\Resource\ProjectsLocationsBuckets(
2353        $this,
2354        $this->serviceName,
2355        'buckets',
2356        [
2357          'methods' => [
2358            'create' => [
2359              'path' => 'v2/{+parent}/buckets',
2360              'httpMethod' => 'POST',
2361              'parameters' => [
2362                'parent' => [
2363                  'location' => 'path',
2364                  'type' => 'string',
2365                  'required' => true,
2366                ],
2367                'bucketId' => [
2368                  'location' => 'query',
2369                  'type' => 'string',
2370                ],
2371              ],
2372            ],'delete' => [
2373              'path' => 'v2/{+name}',
2374              'httpMethod' => 'DELETE',
2375              'parameters' => [
2376                'name' => [
2377                  'location' => 'path',
2378                  'type' => 'string',
2379                  'required' => true,
2380                ],
2381              ],
2382            ],'get' => [
2383              'path' => 'v2/{+name}',
2384              'httpMethod' => 'GET',
2385              'parameters' => [
2386                'name' => [
2387                  'location' => 'path',
2388                  'type' => 'string',
2389                  'required' => true,
2390                ],
2391              ],
2392            ],'list' => [
2393              'path' => 'v2/{+parent}/buckets',
2394              'httpMethod' => 'GET',
2395              'parameters' => [
2396                'parent' => [
2397                  'location' => 'path',
2398                  'type' => 'string',
2399                  'required' => true,
2400                ],
2401                'pageSize' => [
2402                  'location' => 'query',
2403                  'type' => 'integer',
2404                ],
2405                'pageToken' => [
2406                  'location' => 'query',
2407                  'type' => 'string',
2408                ],
2409              ],
2410            ],'patch' => [
2411              'path' => 'v2/{+name}',
2412              'httpMethod' => 'PATCH',
2413              'parameters' => [
2414                'name' => [
2415                  'location' => 'path',
2416                  'type' => 'string',
2417                  'required' => true,
2418                ],
2419                'updateMask' => [
2420                  'location' => 'query',
2421                  'type' => 'string',
2422                ],
2423              ],
2424            ],'undelete' => [
2425              'path' => 'v2/{+name}:undelete',
2426              'httpMethod' => 'POST',
2427              'parameters' => [
2428                'name' => [
2429                  'location' => 'path',
2430                  'type' => 'string',
2431                  'required' => true,
2432                ],
2433              ],
2434            ],
2435          ]
2436        ]
2437    );
2438    $this->projects_locations_buckets_views = new Logging\Resource\ProjectsLocationsBucketsViews(
2439        $this,
2440        $this->serviceName,
2441        'views',
2442        [
2443          'methods' => [
2444            'create' => [
2445              'path' => 'v2/{+parent}/views',
2446              'httpMethod' => 'POST',
2447              'parameters' => [
2448                'parent' => [
2449                  'location' => 'path',
2450                  'type' => 'string',
2451                  'required' => true,
2452                ],
2453                'viewId' => [
2454                  'location' => 'query',
2455                  'type' => 'string',
2456                ],
2457              ],
2458            ],'delete' => [
2459              'path' => 'v2/{+name}',
2460              'httpMethod' => 'DELETE',
2461              'parameters' => [
2462                'name' => [
2463                  'location' => 'path',
2464                  'type' => 'string',
2465                  'required' => true,
2466                ],
2467              ],
2468            ],'get' => [
2469              'path' => 'v2/{+name}',
2470              'httpMethod' => 'GET',
2471              'parameters' => [
2472                'name' => [
2473                  'location' => 'path',
2474                  'type' => 'string',
2475                  'required' => true,
2476                ],
2477              ],
2478            ],'list' => [
2479              'path' => 'v2/{+parent}/views',
2480              'httpMethod' => 'GET',
2481              'parameters' => [
2482                'parent' => [
2483                  'location' => 'path',
2484                  'type' => 'string',
2485                  'required' => true,
2486                ],
2487                'pageSize' => [
2488                  'location' => 'query',
2489                  'type' => 'integer',
2490                ],
2491                'pageToken' => [
2492                  'location' => 'query',
2493                  'type' => 'string',
2494                ],
2495              ],
2496            ],'patch' => [
2497              'path' => 'v2/{+name}',
2498              'httpMethod' => 'PATCH',
2499              'parameters' => [
2500                'name' => [
2501                  'location' => 'path',
2502                  'type' => 'string',
2503                  'required' => true,
2504                ],
2505                'updateMask' => [
2506                  'location' => 'query',
2507                  'type' => 'string',
2508                ],
2509              ],
2510            ],
2511          ]
2512        ]
2513    );
2514    $this->projects_locations_buckets_views_logs = new Logging\Resource\ProjectsLocationsBucketsViewsLogs(
2515        $this,
2516        $this->serviceName,
2517        'logs',
2518        [
2519          'methods' => [
2520            'list' => [
2521              'path' => 'v2/{+parent}/logs',
2522              'httpMethod' => 'GET',
2523              'parameters' => [
2524                'parent' => [
2525                  'location' => 'path',
2526                  'type' => 'string',
2527                  'required' => true,
2528                ],
2529                'pageSize' => [
2530                  'location' => 'query',
2531                  'type' => 'integer',
2532                ],
2533                'pageToken' => [
2534                  'location' => 'query',
2535                  'type' => 'string',
2536                ],
2537                'resourceNames' => [
2538                  'location' => 'query',
2539                  'type' => 'string',
2540                  'repeated' => true,
2541                ],
2542              ],
2543            ],
2544          ]
2545        ]
2546    );
2547    $this->projects_locations_operations = new Logging\Resource\ProjectsLocationsOperations(
2548        $this,
2549        $this->serviceName,
2550        'operations',
2551        [
2552          'methods' => [
2553            'cancel' => [
2554              'path' => 'v2/{+name}:cancel',
2555              'httpMethod' => 'POST',
2556              'parameters' => [
2557                'name' => [
2558                  'location' => 'path',
2559                  'type' => 'string',
2560                  'required' => true,
2561                ],
2562              ],
2563            ],'get' => [
2564              'path' => 'v2/{+name}',
2565              'httpMethod' => 'GET',
2566              'parameters' => [
2567                'name' => [
2568                  'location' => 'path',
2569                  'type' => 'string',
2570                  'required' => true,
2571                ],
2572              ],
2573            ],'list' => [
2574              'path' => 'v2/{+name}/operations',
2575              'httpMethod' => 'GET',
2576              'parameters' => [
2577                'name' => [
2578                  'location' => 'path',
2579                  'type' => 'string',
2580                  'required' => true,
2581                ],
2582                'filter' => [
2583                  'location' => 'query',
2584                  'type' => 'string',
2585                ],
2586                'pageSize' => [
2587                  'location' => 'query',
2588                  'type' => 'integer',
2589                ],
2590                'pageToken' => [
2591                  'location' => 'query',
2592                  'type' => 'string',
2593                ],
2594              ],
2595            ],
2596          ]
2597        ]
2598    );
2599    $this->projects_logs = new Logging\Resource\ProjectsLogs(
2600        $this,
2601        $this->serviceName,
2602        'logs',
2603        [
2604          'methods' => [
2605            'delete' => [
2606              'path' => 'v2/{+logName}',
2607              'httpMethod' => 'DELETE',
2608              'parameters' => [
2609                'logName' => [
2610                  'location' => 'path',
2611                  'type' => 'string',
2612                  'required' => true,
2613                ],
2614              ],
2615            ],'list' => [
2616              'path' => 'v2/{+parent}/logs',
2617              'httpMethod' => 'GET',
2618              'parameters' => [
2619                'parent' => [
2620                  'location' => 'path',
2621                  'type' => 'string',
2622                  'required' => true,
2623                ],
2624                'pageSize' => [
2625                  'location' => 'query',
2626                  'type' => 'integer',
2627                ],
2628                'pageToken' => [
2629                  'location' => 'query',
2630                  'type' => 'string',
2631                ],
2632                'resourceNames' => [
2633                  'location' => 'query',
2634                  'type' => 'string',
2635                  'repeated' => true,
2636                ],
2637              ],
2638            ],
2639          ]
2640        ]
2641    );
2642    $this->projects_metrics = new Logging\Resource\ProjectsMetrics(
2643        $this,
2644        $this->serviceName,
2645        'metrics',
2646        [
2647          'methods' => [
2648            'create' => [
2649              'path' => 'v2/{+parent}/metrics',
2650              'httpMethod' => 'POST',
2651              'parameters' => [
2652                'parent' => [
2653                  'location' => 'path',
2654                  'type' => 'string',
2655                  'required' => true,
2656                ],
2657              ],
2658            ],'delete' => [
2659              'path' => 'v2/{+metricName}',
2660              'httpMethod' => 'DELETE',
2661              'parameters' => [
2662                'metricName' => [
2663                  'location' => 'path',
2664                  'type' => 'string',
2665                  'required' => true,
2666                ],
2667              ],
2668            ],'get' => [
2669              'path' => 'v2/{+metricName}',
2670              'httpMethod' => 'GET',
2671              'parameters' => [
2672                'metricName' => [
2673                  'location' => 'path',
2674                  'type' => 'string',
2675                  'required' => true,
2676                ],
2677              ],
2678            ],'list' => [
2679              'path' => 'v2/{+parent}/metrics',
2680              'httpMethod' => 'GET',
2681              'parameters' => [
2682                'parent' => [
2683                  'location' => 'path',
2684                  'type' => 'string',
2685                  'required' => true,
2686                ],
2687                'pageSize' => [
2688                  'location' => 'query',
2689                  'type' => 'integer',
2690                ],
2691                'pageToken' => [
2692                  'location' => 'query',
2693                  'type' => 'string',
2694                ],
2695              ],
2696            ],'update' => [
2697              'path' => 'v2/{+metricName}',
2698              'httpMethod' => 'PUT',
2699              'parameters' => [
2700                'metricName' => [
2701                  'location' => 'path',
2702                  'type' => 'string',
2703                  'required' => true,
2704                ],
2705              ],
2706            ],
2707          ]
2708        ]
2709    );
2710    $this->projects_sinks = new Logging\Resource\ProjectsSinks(
2711        $this,
2712        $this->serviceName,
2713        'sinks',
2714        [
2715          'methods' => [
2716            'create' => [
2717              'path' => 'v2/{+parent}/sinks',
2718              'httpMethod' => 'POST',
2719              'parameters' => [
2720                'parent' => [
2721                  'location' => 'path',
2722                  'type' => 'string',
2723                  'required' => true,
2724                ],
2725                'uniqueWriterIdentity' => [
2726                  'location' => 'query',
2727                  'type' => 'boolean',
2728                ],
2729              ],
2730            ],'delete' => [
2731              'path' => 'v2/{+sinkName}',
2732              'httpMethod' => 'DELETE',
2733              'parameters' => [
2734                'sinkName' => [
2735                  'location' => 'path',
2736                  'type' => 'string',
2737                  'required' => true,
2738                ],
2739              ],
2740            ],'get' => [
2741              'path' => 'v2/{+sinkName}',
2742              'httpMethod' => 'GET',
2743              'parameters' => [
2744                'sinkName' => [
2745                  'location' => 'path',
2746                  'type' => 'string',
2747                  'required' => true,
2748                ],
2749              ],
2750            ],'list' => [
2751              'path' => 'v2/{+parent}/sinks',
2752              'httpMethod' => 'GET',
2753              'parameters' => [
2754                'parent' => [
2755                  'location' => 'path',
2756                  'type' => 'string',
2757                  'required' => true,
2758                ],
2759                'pageSize' => [
2760                  'location' => 'query',
2761                  'type' => 'integer',
2762                ],
2763                'pageToken' => [
2764                  'location' => 'query',
2765                  'type' => 'string',
2766                ],
2767              ],
2768            ],'patch' => [
2769              'path' => 'v2/{+sinkName}',
2770              'httpMethod' => 'PATCH',
2771              'parameters' => [
2772                'sinkName' => [
2773                  'location' => 'path',
2774                  'type' => 'string',
2775                  'required' => true,
2776                ],
2777                'uniqueWriterIdentity' => [
2778                  'location' => 'query',
2779                  'type' => 'boolean',
2780                ],
2781                'updateMask' => [
2782                  'location' => 'query',
2783                  'type' => 'string',
2784                ],
2785              ],
2786            ],'update' => [
2787              'path' => 'v2/{+sinkName}',
2788              'httpMethod' => 'PUT',
2789              'parameters' => [
2790                'sinkName' => [
2791                  'location' => 'path',
2792                  'type' => 'string',
2793                  'required' => true,
2794                ],
2795                'uniqueWriterIdentity' => [
2796                  'location' => 'query',
2797                  'type' => 'boolean',
2798                ],
2799                'updateMask' => [
2800                  'location' => 'query',
2801                  'type' => 'string',
2802                ],
2803              ],
2804            ],
2805          ]
2806        ]
2807    );
2808    $this->sinks = new Logging\Resource\Sinks(
2809        $this,
2810        $this->serviceName,
2811        'sinks',
2812        [
2813          'methods' => [
2814            'create' => [
2815              'path' => 'v2/{+parent}/sinks',
2816              'httpMethod' => 'POST',
2817              'parameters' => [
2818                'parent' => [
2819                  'location' => 'path',
2820                  'type' => 'string',
2821                  'required' => true,
2822                ],
2823                'uniqueWriterIdentity' => [
2824                  'location' => 'query',
2825                  'type' => 'boolean',
2826                ],
2827              ],
2828            ],'delete' => [
2829              'path' => 'v2/{+sinkName}',
2830              'httpMethod' => 'DELETE',
2831              'parameters' => [
2832                'sinkName' => [
2833                  'location' => 'path',
2834                  'type' => 'string',
2835                  'required' => true,
2836                ],
2837              ],
2838            ],'get' => [
2839              'path' => 'v2/{+sinkName}',
2840              'httpMethod' => 'GET',
2841              'parameters' => [
2842                'sinkName' => [
2843                  'location' => 'path',
2844                  'type' => 'string',
2845                  'required' => true,
2846                ],
2847              ],
2848            ],'list' => [
2849              'path' => 'v2/{+parent}/sinks',
2850              'httpMethod' => 'GET',
2851              'parameters' => [
2852                'parent' => [
2853                  'location' => 'path',
2854                  'type' => 'string',
2855                  'required' => true,
2856                ],
2857                'pageSize' => [
2858                  'location' => 'query',
2859                  'type' => 'integer',
2860                ],
2861                'pageToken' => [
2862                  'location' => 'query',
2863                  'type' => 'string',
2864                ],
2865              ],
2866            ],'update' => [
2867              'path' => 'v2/{+sinkName}',
2868              'httpMethod' => 'PUT',
2869              'parameters' => [
2870                'sinkName' => [
2871                  'location' => 'path',
2872                  'type' => 'string',
2873                  'required' => true,
2874                ],
2875                'uniqueWriterIdentity' => [
2876                  'location' => 'query',
2877                  'type' => 'boolean',
2878                ],
2879                'updateMask' => [
2880                  'location' => 'query',
2881                  'type' => 'string',
2882                ],
2883              ],
2884            ],
2885          ]
2886        ]
2887    );
2888    $this->v2 = new Logging\Resource\V2(
2889        $this,
2890        $this->serviceName,
2891        'v2',
2892        [
2893          'methods' => [
2894            'getCmekSettings' => [
2895              'path' => 'v2/{+name}/cmekSettings',
2896              'httpMethod' => 'GET',
2897              'parameters' => [
2898                'name' => [
2899                  'location' => 'path',
2900                  'type' => 'string',
2901                  'required' => true,
2902                ],
2903              ],
2904            ],'getSettings' => [
2905              'path' => 'v2/{+name}/settings',
2906              'httpMethod' => 'GET',
2907              'parameters' => [
2908                'name' => [
2909                  'location' => 'path',
2910                  'type' => 'string',
2911                  'required' => true,
2912                ],
2913              ],
2914            ],'updateCmekSettings' => [
2915              'path' => 'v2/{+name}/cmekSettings',
2916              'httpMethod' => 'PATCH',
2917              'parameters' => [
2918                'name' => [
2919                  'location' => 'path',
2920                  'type' => 'string',
2921                  'required' => true,
2922                ],
2923                'updateMask' => [
2924                  'location' => 'query',
2925                  'type' => 'string',
2926                ],
2927              ],
2928            ],'updateSettings' => [
2929              'path' => 'v2/{+name}/settings',
2930              'httpMethod' => 'PATCH',
2931              'parameters' => [
2932                'name' => [
2933                  'location' => 'path',
2934                  'type' => 'string',
2935                  'required' => true,
2936                ],
2937                'updateMask' => [
2938                  'location' => 'query',
2939                  'type' => 'string',
2940                ],
2941              ],
2942            ],
2943          ]
2944        ]
2945    );
2946  }
2947}
2948
2949// Adding a class alias for backwards compatibility with the previous class name.
2950class_alias(Logging::class, 'Google_Service_Logging');
2951