Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
/*
3
 * Copyright 2010 Google Inc.
4
 *
5
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6
 * use this file except in compliance with the License. You may obtain a copy of
7
 * the License at
8
 *
9
 * http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
 * License for the specific language governing permissions and limitations under
15
 * the License.
16
 */
17
 
18
/**
19
 * Service definition for TagManager (v1).
20
 *
21
 * <p>
22
 * API for accessing Tag Manager accounts and containers.</p>
23
 *
24
 * <p>
25
 * For more information about this service, see the API
26
 * <a href="https://developers.google.com/tag-manager/api/v1/" target="_blank">Documentation</a>
27
 * </p>
28
 *
29
 * @author Google, Inc.
30
 */
31
#[AllowDynamicProperties]
32
class Google_Service_TagManager extends Google_Service
33
{
34
  /** Delete your Google Tag Manager containers. */
35
  const TAGMANAGER_DELETE_CONTAINERS =
36
      "https://www.googleapis.com/auth/tagmanager.delete.containers";
37
  /** Manage your Google Tag Manager containers. */
38
  const TAGMANAGER_EDIT_CONTAINERS =
39
      "https://www.googleapis.com/auth/tagmanager.edit.containers";
40
  /** Manage your Google Tag Manager container versions. */
41
  const TAGMANAGER_EDIT_CONTAINERVERSIONS =
42
      "https://www.googleapis.com/auth/tagmanager.edit.containerversions";
43
  /** Manage your Google Tag Manager accounts. */
44
  const TAGMANAGER_MANAGE_ACCOUNTS =
45
      "https://www.googleapis.com/auth/tagmanager.manage.accounts";
46
  /** Manage user permissions of your Google Tag Manager data. */
47
  const TAGMANAGER_MANAGE_USERS =
48
      "https://www.googleapis.com/auth/tagmanager.manage.users";
49
  /** Publish your Google Tag Manager containers. */
50
  const TAGMANAGER_PUBLISH =
51
      "https://www.googleapis.com/auth/tagmanager.publish";
52
  /** View your Google Tag Manager containers. */
53
  const TAGMANAGER_READONLY =
54
      "https://www.googleapis.com/auth/tagmanager.readonly";
55
 
56
  public $accounts;
57
  public $accounts_containers;
58
  public $accounts_containers_folders;
59
  public $accounts_containers_folders_entities;
60
  public $accounts_containers_move_folders;
61
  public $accounts_containers_tags;
62
  public $accounts_containers_triggers;
63
  public $accounts_containers_variables;
64
  public $accounts_containers_versions;
65
  public $accounts_permissions;
66
 
67
 
68
  /**
69
   * Constructs the internal representation of the TagManager service.
70
   *
71
   * @param Google_Client $client
72
   */
73
  public function __construct(Google_Client $client)
74
  {
75
    parent::__construct($client);
76
    $this->rootUrl = 'https://www.googleapis.com/';
77
    $this->servicePath = 'tagmanager/v1/';
78
    $this->version = 'v1';
79
    $this->serviceName = 'tagmanager';
80
 
81
    $this->accounts = new Google_Service_TagManager_Accounts_Resource(
82
        $this,
83
        $this->serviceName,
84
        'accounts',
85
        array(
86
          'methods' => array(
87
            'get' => array(
88
              'path' => 'accounts/{accountId}',
89
              'httpMethod' => 'GET',
90
              'parameters' => array(
91
                'accountId' => array(
92
                  'location' => 'path',
93
                  'type' => 'string',
94
                  'required' => true,
95
                ),
96
              ),
97
            ),'list' => array(
98
              'path' => 'accounts',
99
              'httpMethod' => 'GET',
100
              'parameters' => array(),
101
            ),'update' => array(
102
              'path' => 'accounts/{accountId}',
103
              'httpMethod' => 'PUT',
104
              'parameters' => array(
105
                'accountId' => array(
106
                  'location' => 'path',
107
                  'type' => 'string',
108
                  'required' => true,
109
                ),
110
                'fingerprint' => array(
111
                  'location' => 'query',
112
                  'type' => 'string',
113
                ),
114
              ),
115
            ),
116
          )
117
        )
118
    );
119
    $this->accounts_containers = new Google_Service_TagManager_AccountsContainers_Resource(
120
        $this,
121
        $this->serviceName,
122
        'containers',
123
        array(
124
          'methods' => array(
125
            'create' => array(
126
              'path' => 'accounts/{accountId}/containers',
127
              'httpMethod' => 'POST',
128
              'parameters' => array(
129
                'accountId' => array(
130
                  'location' => 'path',
131
                  'type' => 'string',
132
                  'required' => true,
133
                ),
134
              ),
135
            ),'delete' => array(
136
              'path' => 'accounts/{accountId}/containers/{containerId}',
137
              'httpMethod' => 'DELETE',
138
              'parameters' => array(
139
                'accountId' => array(
140
                  'location' => 'path',
141
                  'type' => 'string',
142
                  'required' => true,
143
                ),
144
                'containerId' => array(
145
                  'location' => 'path',
146
                  'type' => 'string',
147
                  'required' => true,
148
                ),
149
              ),
150
            ),'get' => array(
151
              'path' => 'accounts/{accountId}/containers/{containerId}',
152
              'httpMethod' => 'GET',
153
              'parameters' => array(
154
                'accountId' => array(
155
                  'location' => 'path',
156
                  'type' => 'string',
157
                  'required' => true,
158
                ),
159
                'containerId' => array(
160
                  'location' => 'path',
161
                  'type' => 'string',
162
                  'required' => true,
163
                ),
164
              ),
165
            ),'list' => array(
166
              'path' => 'accounts/{accountId}/containers',
167
              'httpMethod' => 'GET',
168
              'parameters' => array(
169
                'accountId' => array(
170
                  'location' => 'path',
171
                  'type' => 'string',
172
                  'required' => true,
173
                ),
174
              ),
175
            ),'update' => array(
176
              'path' => 'accounts/{accountId}/containers/{containerId}',
177
              'httpMethod' => 'PUT',
178
              'parameters' => array(
179
                'accountId' => array(
180
                  'location' => 'path',
181
                  'type' => 'string',
182
                  'required' => true,
183
                ),
184
                'containerId' => array(
185
                  'location' => 'path',
186
                  'type' => 'string',
187
                  'required' => true,
188
                ),
189
                'fingerprint' => array(
190
                  'location' => 'query',
191
                  'type' => 'string',
192
                ),
193
              ),
194
            ),
195
          )
196
        )
197
    );
198
    $this->accounts_containers_folders = new Google_Service_TagManager_AccountsContainersFolders_Resource(
199
        $this,
200
        $this->serviceName,
201
        'folders',
202
        array(
203
          'methods' => array(
204
            'create' => array(
205
              'path' => 'accounts/{accountId}/containers/{containerId}/folders',
206
              'httpMethod' => 'POST',
207
              'parameters' => array(
208
                'accountId' => array(
209
                  'location' => 'path',
210
                  'type' => 'string',
211
                  'required' => true,
212
                ),
213
                'containerId' => array(
214
                  'location' => 'path',
215
                  'type' => 'string',
216
                  'required' => true,
217
                ),
218
              ),
219
            ),'delete' => array(
220
              'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
221
              'httpMethod' => 'DELETE',
222
              'parameters' => array(
223
                'accountId' => array(
224
                  'location' => 'path',
225
                  'type' => 'string',
226
                  'required' => true,
227
                ),
228
                'containerId' => array(
229
                  'location' => 'path',
230
                  'type' => 'string',
231
                  'required' => true,
232
                ),
233
                'folderId' => array(
234
                  'location' => 'path',
235
                  'type' => 'string',
236
                  'required' => true,
237
                ),
238
              ),
239
            ),'get' => array(
240
              'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
241
              'httpMethod' => 'GET',
242
              'parameters' => array(
243
                'accountId' => array(
244
                  'location' => 'path',
245
                  'type' => 'string',
246
                  'required' => true,
247
                ),
248
                'containerId' => array(
249
                  'location' => 'path',
250
                  'type' => 'string',
251
                  'required' => true,
252
                ),
253
                'folderId' => array(
254
                  'location' => 'path',
255
                  'type' => 'string',
256
                  'required' => true,
257
                ),
258
              ),
259
            ),'list' => array(
260
              'path' => 'accounts/{accountId}/containers/{containerId}/folders',
261
              'httpMethod' => 'GET',
262
              'parameters' => array(
263
                'accountId' => array(
264
                  'location' => 'path',
265
                  'type' => 'string',
266
                  'required' => true,
267
                ),
268
                'containerId' => array(
269
                  'location' => 'path',
270
                  'type' => 'string',
271
                  'required' => true,
272
                ),
273
              ),
274
            ),'update' => array(
275
              'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
276
              'httpMethod' => 'PUT',
277
              'parameters' => array(
278
                'accountId' => array(
279
                  'location' => 'path',
280
                  'type' => 'string',
281
                  'required' => true,
282
                ),
283
                'containerId' => array(
284
                  'location' => 'path',
285
                  'type' => 'string',
286
                  'required' => true,
287
                ),
288
                'folderId' => array(
289
                  'location' => 'path',
290
                  'type' => 'string',
291
                  'required' => true,
292
                ),
293
                'fingerprint' => array(
294
                  'location' => 'query',
295
                  'type' => 'string',
296
                ),
297
              ),
298
            ),
299
          )
300
        )
301
    );
302
    $this->accounts_containers_folders_entities = new Google_Service_TagManager_AccountsContainersFoldersEntities_Resource(
303
        $this,
304
        $this->serviceName,
305
        'entities',
306
        array(
307
          'methods' => array(
308
            'list' => array(
309
              'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities',
310
              'httpMethod' => 'GET',
311
              'parameters' => array(
312
                'accountId' => array(
313
                  'location' => 'path',
314
                  'type' => 'string',
315
                  'required' => true,
316
                ),
317
                'containerId' => array(
318
                  'location' => 'path',
319
                  'type' => 'string',
320
                  'required' => true,
321
                ),
322
                'folderId' => array(
323
                  'location' => 'path',
324
                  'type' => 'string',
325
                  'required' => true,
326
                ),
327
              ),
328
            ),
329
          )
330
        )
331
    );
332
    $this->accounts_containers_move_folders = new Google_Service_TagManager_AccountsContainersMoveFolders_Resource(
333
        $this,
334
        $this->serviceName,
335
        'move_folders',
336
        array(
337
          'methods' => array(
338
            'update' => array(
339
              'path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}',
340
              'httpMethod' => 'PUT',
341
              'parameters' => array(
342
                'accountId' => array(
343
                  'location' => 'path',
344
                  'type' => 'string',
345
                  'required' => true,
346
                ),
347
                'containerId' => array(
348
                  'location' => 'path',
349
                  'type' => 'string',
350
                  'required' => true,
351
                ),
352
                'folderId' => array(
353
                  'location' => 'path',
354
                  'type' => 'string',
355
                  'required' => true,
356
                ),
357
                'variableId' => array(
358
                  'location' => 'query',
359
                  'type' => 'string',
360
                  'repeated' => true,
361
                ),
362
                'tagId' => array(
363
                  'location' => 'query',
364
                  'type' => 'string',
365
                  'repeated' => true,
366
                ),
367
                'triggerId' => array(
368
                  'location' => 'query',
369
                  'type' => 'string',
370
                  'repeated' => true,
371
                ),
372
              ),
373
            ),
374
          )
375
        )
376
    );
377
    $this->accounts_containers_tags = new Google_Service_TagManager_AccountsContainersTags_Resource(
378
        $this,
379
        $this->serviceName,
380
        'tags',
381
        array(
382
          'methods' => array(
383
            'create' => array(
384
              'path' => 'accounts/{accountId}/containers/{containerId}/tags',
385
              'httpMethod' => 'POST',
386
              'parameters' => array(
387
                'accountId' => array(
388
                  'location' => 'path',
389
                  'type' => 'string',
390
                  'required' => true,
391
                ),
392
                'containerId' => array(
393
                  'location' => 'path',
394
                  'type' => 'string',
395
                  'required' => true,
396
                ),
397
              ),
398
            ),'delete' => array(
399
              'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
400
              'httpMethod' => 'DELETE',
401
              'parameters' => array(
402
                'accountId' => array(
403
                  'location' => 'path',
404
                  'type' => 'string',
405
                  'required' => true,
406
                ),
407
                'containerId' => array(
408
                  'location' => 'path',
409
                  'type' => 'string',
410
                  'required' => true,
411
                ),
412
                'tagId' => array(
413
                  'location' => 'path',
414
                  'type' => 'string',
415
                  'required' => true,
416
                ),
417
              ),
418
            ),'get' => array(
419
              'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
420
              'httpMethod' => 'GET',
421
              'parameters' => array(
422
                'accountId' => array(
423
                  'location' => 'path',
424
                  'type' => 'string',
425
                  'required' => true,
426
                ),
427
                'containerId' => array(
428
                  'location' => 'path',
429
                  'type' => 'string',
430
                  'required' => true,
431
                ),
432
                'tagId' => array(
433
                  'location' => 'path',
434
                  'type' => 'string',
435
                  'required' => true,
436
                ),
437
              ),
438
            ),'list' => array(
439
              'path' => 'accounts/{accountId}/containers/{containerId}/tags',
440
              'httpMethod' => 'GET',
441
              'parameters' => array(
442
                'accountId' => array(
443
                  'location' => 'path',
444
                  'type' => 'string',
445
                  'required' => true,
446
                ),
447
                'containerId' => array(
448
                  'location' => 'path',
449
                  'type' => 'string',
450
                  'required' => true,
451
                ),
452
              ),
453
            ),'update' => array(
454
              'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
455
              'httpMethod' => 'PUT',
456
              'parameters' => array(
457
                'accountId' => array(
458
                  'location' => 'path',
459
                  'type' => 'string',
460
                  'required' => true,
461
                ),
462
                'containerId' => array(
463
                  'location' => 'path',
464
                  'type' => 'string',
465
                  'required' => true,
466
                ),
467
                'tagId' => array(
468
                  'location' => 'path',
469
                  'type' => 'string',
470
                  'required' => true,
471
                ),
472
                'fingerprint' => array(
473
                  'location' => 'query',
474
                  'type' => 'string',
475
                ),
476
              ),
477
            ),
478
          )
479
        )
480
    );
481
    $this->accounts_containers_triggers = new Google_Service_TagManager_AccountsContainersTriggers_Resource(
482
        $this,
483
        $this->serviceName,
484
        'triggers',
485
        array(
486
          'methods' => array(
487
            'create' => array(
488
              'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
489
              'httpMethod' => 'POST',
490
              'parameters' => array(
491
                'accountId' => array(
492
                  'location' => 'path',
493
                  'type' => 'string',
494
                  'required' => true,
495
                ),
496
                'containerId' => array(
497
                  'location' => 'path',
498
                  'type' => 'string',
499
                  'required' => true,
500
                ),
501
              ),
502
            ),'delete' => array(
503
              'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
504
              'httpMethod' => 'DELETE',
505
              'parameters' => array(
506
                'accountId' => array(
507
                  'location' => 'path',
508
                  'type' => 'string',
509
                  'required' => true,
510
                ),
511
                'containerId' => array(
512
                  'location' => 'path',
513
                  'type' => 'string',
514
                  'required' => true,
515
                ),
516
                'triggerId' => array(
517
                  'location' => 'path',
518
                  'type' => 'string',
519
                  'required' => true,
520
                ),
521
              ),
522
            ),'get' => array(
523
              'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
524
              'httpMethod' => 'GET',
525
              'parameters' => array(
526
                'accountId' => array(
527
                  'location' => 'path',
528
                  'type' => 'string',
529
                  'required' => true,
530
                ),
531
                'containerId' => array(
532
                  'location' => 'path',
533
                  'type' => 'string',
534
                  'required' => true,
535
                ),
536
                'triggerId' => array(
537
                  'location' => 'path',
538
                  'type' => 'string',
539
                  'required' => true,
540
                ),
541
              ),
542
            ),'list' => array(
543
              'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
544
              'httpMethod' => 'GET',
545
              'parameters' => array(
546
                'accountId' => array(
547
                  'location' => 'path',
548
                  'type' => 'string',
549
                  'required' => true,
550
                ),
551
                'containerId' => array(
552
                  'location' => 'path',
553
                  'type' => 'string',
554
                  'required' => true,
555
                ),
556
              ),
557
            ),'update' => array(
558
              'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
559
              'httpMethod' => 'PUT',
560
              'parameters' => array(
561
                'accountId' => array(
562
                  'location' => 'path',
563
                  'type' => 'string',
564
                  'required' => true,
565
                ),
566
                'containerId' => array(
567
                  'location' => 'path',
568
                  'type' => 'string',
569
                  'required' => true,
570
                ),
571
                'triggerId' => array(
572
                  'location' => 'path',
573
                  'type' => 'string',
574
                  'required' => true,
575
                ),
576
                'fingerprint' => array(
577
                  'location' => 'query',
578
                  'type' => 'string',
579
                ),
580
              ),
581
            ),
582
          )
583
        )
584
    );
585
    $this->accounts_containers_variables = new Google_Service_TagManager_AccountsContainersVariables_Resource(
586
        $this,
587
        $this->serviceName,
588
        'variables',
589
        array(
590
          'methods' => array(
591
            'create' => array(
592
              'path' => 'accounts/{accountId}/containers/{containerId}/variables',
593
              'httpMethod' => 'POST',
594
              'parameters' => array(
595
                'accountId' => array(
596
                  'location' => 'path',
597
                  'type' => 'string',
598
                  'required' => true,
599
                ),
600
                'containerId' => array(
601
                  'location' => 'path',
602
                  'type' => 'string',
603
                  'required' => true,
604
                ),
605
              ),
606
            ),'delete' => array(
607
              'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
608
              'httpMethod' => 'DELETE',
609
              'parameters' => array(
610
                'accountId' => array(
611
                  'location' => 'path',
612
                  'type' => 'string',
613
                  'required' => true,
614
                ),
615
                'containerId' => array(
616
                  'location' => 'path',
617
                  'type' => 'string',
618
                  'required' => true,
619
                ),
620
                'variableId' => array(
621
                  'location' => 'path',
622
                  'type' => 'string',
623
                  'required' => true,
624
                ),
625
              ),
626
            ),'get' => array(
627
              'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
628
              'httpMethod' => 'GET',
629
              'parameters' => array(
630
                'accountId' => array(
631
                  'location' => 'path',
632
                  'type' => 'string',
633
                  'required' => true,
634
                ),
635
                'containerId' => array(
636
                  'location' => 'path',
637
                  'type' => 'string',
638
                  'required' => true,
639
                ),
640
                'variableId' => array(
641
                  'location' => 'path',
642
                  'type' => 'string',
643
                  'required' => true,
644
                ),
645
              ),
646
            ),'list' => array(
647
              'path' => 'accounts/{accountId}/containers/{containerId}/variables',
648
              'httpMethod' => 'GET',
649
              'parameters' => array(
650
                'accountId' => array(
651
                  'location' => 'path',
652
                  'type' => 'string',
653
                  'required' => true,
654
                ),
655
                'containerId' => array(
656
                  'location' => 'path',
657
                  'type' => 'string',
658
                  'required' => true,
659
                ),
660
              ),
661
            ),'update' => array(
662
              'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
663
              'httpMethod' => 'PUT',
664
              'parameters' => array(
665
                'accountId' => array(
666
                  'location' => 'path',
667
                  'type' => 'string',
668
                  'required' => true,
669
                ),
670
                'containerId' => array(
671
                  'location' => 'path',
672
                  'type' => 'string',
673
                  'required' => true,
674
                ),
675
                'variableId' => array(
676
                  'location' => 'path',
677
                  'type' => 'string',
678
                  'required' => true,
679
                ),
680
                'fingerprint' => array(
681
                  'location' => 'query',
682
                  'type' => 'string',
683
                ),
684
              ),
685
            ),
686
          )
687
        )
688
    );
689
    $this->accounts_containers_versions = new Google_Service_TagManager_AccountsContainersVersions_Resource(
690
        $this,
691
        $this->serviceName,
692
        'versions',
693
        array(
694
          'methods' => array(
695
            'create' => array(
696
              'path' => 'accounts/{accountId}/containers/{containerId}/versions',
697
              'httpMethod' => 'POST',
698
              'parameters' => array(
699
                'accountId' => array(
700
                  'location' => 'path',
701
                  'type' => 'string',
702
                  'required' => true,
703
                ),
704
                'containerId' => array(
705
                  'location' => 'path',
706
                  'type' => 'string',
707
                  'required' => true,
708
                ),
709
              ),
710
            ),'delete' => array(
711
              'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
712
              'httpMethod' => 'DELETE',
713
              'parameters' => array(
714
                'accountId' => array(
715
                  'location' => 'path',
716
                  'type' => 'string',
717
                  'required' => true,
718
                ),
719
                'containerId' => array(
720
                  'location' => 'path',
721
                  'type' => 'string',
722
                  'required' => true,
723
                ),
724
                'containerVersionId' => array(
725
                  'location' => 'path',
726
                  'type' => 'string',
727
                  'required' => true,
728
                ),
729
              ),
730
            ),'get' => array(
731
              'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
732
              'httpMethod' => 'GET',
733
              'parameters' => array(
734
                'accountId' => array(
735
                  'location' => 'path',
736
                  'type' => 'string',
737
                  'required' => true,
738
                ),
739
                'containerId' => array(
740
                  'location' => 'path',
741
                  'type' => 'string',
742
                  'required' => true,
743
                ),
744
                'containerVersionId' => array(
745
                  'location' => 'path',
746
                  'type' => 'string',
747
                  'required' => true,
748
                ),
749
              ),
750
            ),'list' => array(
751
              'path' => 'accounts/{accountId}/containers/{containerId}/versions',
752
              'httpMethod' => 'GET',
753
              'parameters' => array(
754
                'accountId' => array(
755
                  'location' => 'path',
756
                  'type' => 'string',
757
                  'required' => true,
758
                ),
759
                'containerId' => array(
760
                  'location' => 'path',
761
                  'type' => 'string',
762
                  'required' => true,
763
                ),
764
                'headers' => array(
765
                  'location' => 'query',
766
                  'type' => 'boolean',
767
                ),
768
              ),
769
            ),'publish' => array(
770
              'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish',
771
              'httpMethod' => 'POST',
772
              'parameters' => array(
773
                'accountId' => array(
774
                  'location' => 'path',
775
                  'type' => 'string',
776
                  'required' => true,
777
                ),
778
                'containerId' => array(
779
                  'location' => 'path',
780
                  'type' => 'string',
781
                  'required' => true,
782
                ),
783
                'containerVersionId' => array(
784
                  'location' => 'path',
785
                  'type' => 'string',
786
                  'required' => true,
787
                ),
788
                'fingerprint' => array(
789
                  'location' => 'query',
790
                  'type' => 'string',
791
                ),
792
              ),
793
            ),'restore' => array(
794
              'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore',
795
              'httpMethod' => 'POST',
796
              'parameters' => array(
797
                'accountId' => array(
798
                  'location' => 'path',
799
                  'type' => 'string',
800
                  'required' => true,
801
                ),
802
                'containerId' => array(
803
                  'location' => 'path',
804
                  'type' => 'string',
805
                  'required' => true,
806
                ),
807
                'containerVersionId' => array(
808
                  'location' => 'path',
809
                  'type' => 'string',
810
                  'required' => true,
811
                ),
812
              ),
813
            ),'undelete' => array(
814
              'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete',
815
              'httpMethod' => 'POST',
816
              'parameters' => array(
817
                'accountId' => array(
818
                  'location' => 'path',
819
                  'type' => 'string',
820
                  'required' => true,
821
                ),
822
                'containerId' => array(
823
                  'location' => 'path',
824
                  'type' => 'string',
825
                  'required' => true,
826
                ),
827
                'containerVersionId' => array(
828
                  'location' => 'path',
829
                  'type' => 'string',
830
                  'required' => true,
831
                ),
832
              ),
833
            ),'update' => array(
834
              'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
835
              'httpMethod' => 'PUT',
836
              'parameters' => array(
837
                'accountId' => array(
838
                  'location' => 'path',
839
                  'type' => 'string',
840
                  'required' => true,
841
                ),
842
                'containerId' => array(
843
                  'location' => 'path',
844
                  'type' => 'string',
845
                  'required' => true,
846
                ),
847
                'containerVersionId' => array(
848
                  'location' => 'path',
849
                  'type' => 'string',
850
                  'required' => true,
851
                ),
852
                'fingerprint' => array(
853
                  'location' => 'query',
854
                  'type' => 'string',
855
                ),
856
              ),
857
            ),
858
          )
859
        )
860
    );
861
    $this->accounts_permissions = new Google_Service_TagManager_AccountsPermissions_Resource(
862
        $this,
863
        $this->serviceName,
864
        'permissions',
865
        array(
866
          'methods' => array(
867
            'create' => array(
868
              'path' => 'accounts/{accountId}/permissions',
869
              'httpMethod' => 'POST',
870
              'parameters' => array(
871
                'accountId' => array(
872
                  'location' => 'path',
873
                  'type' => 'string',
874
                  'required' => true,
875
                ),
876
              ),
877
            ),'delete' => array(
878
              'path' => 'accounts/{accountId}/permissions/{permissionId}',
879
              'httpMethod' => 'DELETE',
880
              'parameters' => array(
881
                'accountId' => array(
882
                  'location' => 'path',
883
                  'type' => 'string',
884
                  'required' => true,
885
                ),
886
                'permissionId' => array(
887
                  'location' => 'path',
888
                  'type' => 'string',
889
                  'required' => true,
890
                ),
891
              ),
892
            ),'get' => array(
893
              'path' => 'accounts/{accountId}/permissions/{permissionId}',
894
              'httpMethod' => 'GET',
895
              'parameters' => array(
896
                'accountId' => array(
897
                  'location' => 'path',
898
                  'type' => 'string',
899
                  'required' => true,
900
                ),
901
                'permissionId' => array(
902
                  'location' => 'path',
903
                  'type' => 'string',
904
                  'required' => true,
905
                ),
906
              ),
907
            ),'list' => array(
908
              'path' => 'accounts/{accountId}/permissions',
909
              'httpMethod' => 'GET',
910
              'parameters' => array(
911
                'accountId' => array(
912
                  'location' => 'path',
913
                  'type' => 'string',
914
                  'required' => true,
915
                ),
916
              ),
917
            ),'update' => array(
918
              'path' => 'accounts/{accountId}/permissions/{permissionId}',
919
              'httpMethod' => 'PUT',
920
              'parameters' => array(
921
                'accountId' => array(
922
                  'location' => 'path',
923
                  'type' => 'string',
924
                  'required' => true,
925
                ),
926
                'permissionId' => array(
927
                  'location' => 'path',
928
                  'type' => 'string',
929
                  'required' => true,
930
                ),
931
              ),
932
            ),
933
          )
934
        )
935
    );
936
  }
937
}
938
 
939
 
940
/**
941
 * The "accounts" collection of methods.
942
 * Typical usage is:
943
 *  <code>
944
 *   $tagmanagerService = new Google_Service_TagManager(...);
945
 *   $accounts = $tagmanagerService->accounts;
946
 *  </code>
947
 */
948
#[AllowDynamicProperties]
949
class Google_Service_TagManager_Accounts_Resource extends Google_Service_Resource
950
{
951
 
952
  /**
953
   * Gets a GTM Account. (accounts.get)
954
   *
955
   * @param string $accountId The GTM Account ID.
956
   * @param array $optParams Optional parameters.
957
   * @return Google_Service_TagManager_Account
958
   */
959
  public function get($accountId, $optParams = array())
960
  {
961
    $params = array('accountId' => $accountId);
962
    $params = array_merge($params, $optParams);
963
    return $this->call('get', array($params), "Google_Service_TagManager_Account");
964
  }
965
 
966
  /**
967
   * Lists all GTM Accounts that a user has access to. (accounts.listAccounts)
968
   *
969
   * @param array $optParams Optional parameters.
970
   * @return Google_Service_TagManager_ListAccountsResponse
971
   */
972
  public function listAccounts($optParams = array())
973
  {
974
    $params = array();
975
    $params = array_merge($params, $optParams);
976
    return $this->call('list', array($params), "Google_Service_TagManager_ListAccountsResponse");
977
  }
978
 
979
  /**
980
   * Updates a GTM Account. (accounts.update)
981
   *
982
   * @param string $accountId The GTM Account ID.
983
   * @param Google_Account $postBody
984
   * @param array $optParams Optional parameters.
985
   *
986
   * @opt_param string fingerprint When provided, this fingerprint must match the
987
   * fingerprint of the account in storage.
988
   * @return Google_Service_TagManager_Account
989
   */
990
  public function update($accountId, Google_Service_TagManager_Account $postBody, $optParams = array())
991
  {
992
    $params = array('accountId' => $accountId, 'postBody' => $postBody);
993
    $params = array_merge($params, $optParams);
994
    return $this->call('update', array($params), "Google_Service_TagManager_Account");
995
  }
996
}
997
 
998
/**
999
 * The "containers" collection of methods.
1000
 * Typical usage is:
1001
 *  <code>
1002
 *   $tagmanagerService = new Google_Service_TagManager(...);
1003
 *   $containers = $tagmanagerService->containers;
1004
 *  </code>
1005
 */
1006
#[AllowDynamicProperties]
1007
class Google_Service_TagManager_AccountsContainers_Resource extends Google_Service_Resource
1008
{
1009
 
1010
  /**
1011
   * Creates a Container. (containers.create)
1012
   *
1013
   * @param string $accountId The GTM Account ID.
1014
   * @param Google_Container $postBody
1015
   * @param array $optParams Optional parameters.
1016
   * @return Google_Service_TagManager_Container
1017
   */
1018
  public function create($accountId, Google_Service_TagManager_Container $postBody, $optParams = array())
1019
  {
1020
    $params = array('accountId' => $accountId, 'postBody' => $postBody);
1021
    $params = array_merge($params, $optParams);
1022
    return $this->call('create', array($params), "Google_Service_TagManager_Container");
1023
  }
1024
 
1025
  /**
1026
   * Deletes a Container. (containers.delete)
1027
   *
1028
   * @param string $accountId The GTM Account ID.
1029
   * @param string $containerId The GTM Container ID.
1030
   * @param array $optParams Optional parameters.
1031
   */
1032
  public function delete($accountId, $containerId, $optParams = array())
1033
  {
1034
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1035
    $params = array_merge($params, $optParams);
1036
    return $this->call('delete', array($params));
1037
  }
1038
 
1039
  /**
1040
   * Gets a Container. (containers.get)
1041
   *
1042
   * @param string $accountId The GTM Account ID.
1043
   * @param string $containerId The GTM Container ID.
1044
   * @param array $optParams Optional parameters.
1045
   * @return Google_Service_TagManager_Container
1046
   */
1047
  public function get($accountId, $containerId, $optParams = array())
1048
  {
1049
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1050
    $params = array_merge($params, $optParams);
1051
    return $this->call('get', array($params), "Google_Service_TagManager_Container");
1052
  }
1053
 
1054
  /**
1055
   * Lists all Containers that belongs to a GTM Account.
1056
   * (containers.listAccountsContainers)
1057
   *
1058
   * @param string $accountId The GTM Account ID.
1059
   * @param array $optParams Optional parameters.
1060
   * @return Google_Service_TagManager_ListContainersResponse
1061
   */
1062
  public function listAccountsContainers($accountId, $optParams = array())
1063
  {
1064
    $params = array('accountId' => $accountId);
1065
    $params = array_merge($params, $optParams);
1066
    return $this->call('list', array($params), "Google_Service_TagManager_ListContainersResponse");
1067
  }
1068
 
1069
  /**
1070
   * Updates a Container. (containers.update)
1071
   *
1072
   * @param string $accountId The GTM Account ID.
1073
   * @param string $containerId The GTM Container ID.
1074
   * @param Google_Container $postBody
1075
   * @param array $optParams Optional parameters.
1076
   *
1077
   * @opt_param string fingerprint When provided, this fingerprint must match the
1078
   * fingerprint of the container in storage.
1079
   * @return Google_Service_TagManager_Container
1080
   */
1081
  public function update($accountId, $containerId, Google_Service_TagManager_Container $postBody, $optParams = array())
1082
  {
1083
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
1084
    $params = array_merge($params, $optParams);
1085
    return $this->call('update', array($params), "Google_Service_TagManager_Container");
1086
  }
1087
}
1088
 
1089
/**
1090
 * The "folders" collection of methods.
1091
 * Typical usage is:
1092
 *  <code>
1093
 *   $tagmanagerService = new Google_Service_TagManager(...);
1094
 *   $folders = $tagmanagerService->folders;
1095
 *  </code>
1096
 */
1097
#[AllowDynamicProperties]
1098
class Google_Service_TagManager_AccountsContainersFolders_Resource extends Google_Service_Resource
1099
{
1100
 
1101
  /**
1102
   * Creates a GTM Folder. (folders.create)
1103
   *
1104
   * @param string $accountId The GTM Account ID.
1105
   * @param string $containerId The GTM Container ID.
1106
   * @param Google_Folder $postBody
1107
   * @param array $optParams Optional parameters.
1108
   * @return Google_Service_TagManager_Folder
1109
   */
1110
  public function create($accountId, $containerId, Google_Service_TagManager_Folder $postBody, $optParams = array())
1111
  {
1112
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
1113
    $params = array_merge($params, $optParams);
1114
    return $this->call('create', array($params), "Google_Service_TagManager_Folder");
1115
  }
1116
 
1117
  /**
1118
   * Deletes a GTM Folder. (folders.delete)
1119
   *
1120
   * @param string $accountId The GTM Account ID.
1121
   * @param string $containerId The GTM Container ID.
1122
   * @param string $folderId The GTM Folder ID.
1123
   * @param array $optParams Optional parameters.
1124
   */
1125
  public function delete($accountId, $containerId, $folderId, $optParams = array())
1126
  {
1127
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
1128
    $params = array_merge($params, $optParams);
1129
    return $this->call('delete', array($params));
1130
  }
1131
 
1132
  /**
1133
   * Gets a GTM Folder. (folders.get)
1134
   *
1135
   * @param string $accountId The GTM Account ID.
1136
   * @param string $containerId The GTM Container ID.
1137
   * @param string $folderId The GTM Folder ID.
1138
   * @param array $optParams Optional parameters.
1139
   * @return Google_Service_TagManager_Folder
1140
   */
1141
  public function get($accountId, $containerId, $folderId, $optParams = array())
1142
  {
1143
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
1144
    $params = array_merge($params, $optParams);
1145
    return $this->call('get', array($params), "Google_Service_TagManager_Folder");
1146
  }
1147
 
1148
  /**
1149
   * Lists all GTM Folders of a Container. (folders.listAccountsContainersFolders)
1150
   *
1151
   * @param string $accountId The GTM Account ID.
1152
   * @param string $containerId The GTM Container ID.
1153
   * @param array $optParams Optional parameters.
1154
   * @return Google_Service_TagManager_ListFoldersResponse
1155
   */
1156
  public function listAccountsContainersFolders($accountId, $containerId, $optParams = array())
1157
  {
1158
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1159
    $params = array_merge($params, $optParams);
1160
    return $this->call('list', array($params), "Google_Service_TagManager_ListFoldersResponse");
1161
  }
1162
 
1163
  /**
1164
   * Updates a GTM Folder. (folders.update)
1165
   *
1166
   * @param string $accountId The GTM Account ID.
1167
   * @param string $containerId The GTM Container ID.
1168
   * @param string $folderId The GTM Folder ID.
1169
   * @param Google_Folder $postBody
1170
   * @param array $optParams Optional parameters.
1171
   *
1172
   * @opt_param string fingerprint When provided, this fingerprint must match the
1173
   * fingerprint of the folder in storage.
1174
   * @return Google_Service_TagManager_Folder
1175
   */
1176
  public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array())
1177
  {
1178
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody);
1179
    $params = array_merge($params, $optParams);
1180
    return $this->call('update', array($params), "Google_Service_TagManager_Folder");
1181
  }
1182
}
1183
 
1184
/**
1185
 * The "entities" collection of methods.
1186
 * Typical usage is:
1187
 *  <code>
1188
 *   $tagmanagerService = new Google_Service_TagManager(...);
1189
 *   $entities = $tagmanagerService->entities;
1190
 *  </code>
1191
 */
1192
#[AllowDynamicProperties]
1193
class Google_Service_TagManager_AccountsContainersFoldersEntities_Resource extends Google_Service_Resource
1194
{
1195
 
1196
  /**
1197
   * List all entities in a GTM Folder.
1198
   * (entities.listAccountsContainersFoldersEntities)
1199
   *
1200
   * @param string $accountId The GTM Account ID.
1201
   * @param string $containerId The GTM Container ID.
1202
   * @param string $folderId The GTM Folder ID.
1203
   * @param array $optParams Optional parameters.
1204
   * @return Google_Service_TagManager_FolderEntities
1205
   */
1206
  public function listAccountsContainersFoldersEntities($accountId, $containerId, $folderId, $optParams = array())
1207
  {
1208
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
1209
    $params = array_merge($params, $optParams);
1210
    return $this->call('list', array($params), "Google_Service_TagManager_FolderEntities");
1211
  }
1212
}
1213
/**
1214
 * The "move_folders" collection of methods.
1215
 * Typical usage is:
1216
 *  <code>
1217
 *   $tagmanagerService = new Google_Service_TagManager(...);
1218
 *   $move_folders = $tagmanagerService->move_folders;
1219
 *  </code>
1220
 */
1221
#[AllowDynamicProperties]
1222
class Google_Service_TagManager_AccountsContainersMoveFolders_Resource extends Google_Service_Resource
1223
{
1224
 
1225
  /**
1226
   * Moves entities to a GTM Folder. (move_folders.update)
1227
   *
1228
   * @param string $accountId The GTM Account ID.
1229
   * @param string $containerId The GTM Container ID.
1230
   * @param string $folderId The GTM Folder ID.
1231
   * @param array $optParams Optional parameters.
1232
   *
1233
   * @opt_param string variableId The variables to be moved to the folder.
1234
   * @opt_param string tagId The tags to be moved to the folder.
1235
   * @opt_param string triggerId The triggers to be moved to the folder.
1236
   */
1237
  public function update($accountId, $containerId, $folderId, $optParams = array())
1238
  {
1239
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
1240
    $params = array_merge($params, $optParams);
1241
    return $this->call('update', array($params));
1242
  }
1243
}
1244
/**
1245
 * The "tags" collection of methods.
1246
 * Typical usage is:
1247
 *  <code>
1248
 *   $tagmanagerService = new Google_Service_TagManager(...);
1249
 *   $tags = $tagmanagerService->tags;
1250
 *  </code>
1251
 */
1252
#[AllowDynamicProperties]
1253
class Google_Service_TagManager_AccountsContainersTags_Resource extends Google_Service_Resource
1254
{
1255
 
1256
  /**
1257
   * Creates a GTM Tag. (tags.create)
1258
   *
1259
   * @param string $accountId The GTM Account ID.
1260
   * @param string $containerId The GTM Container ID.
1261
   * @param Google_Tag $postBody
1262
   * @param array $optParams Optional parameters.
1263
   * @return Google_Service_TagManager_Tag
1264
   */
1265
  public function create($accountId, $containerId, Google_Service_TagManager_Tag $postBody, $optParams = array())
1266
  {
1267
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
1268
    $params = array_merge($params, $optParams);
1269
    return $this->call('create', array($params), "Google_Service_TagManager_Tag");
1270
  }
1271
 
1272
  /**
1273
   * Deletes a GTM Tag. (tags.delete)
1274
   *
1275
   * @param string $accountId The GTM Account ID.
1276
   * @param string $containerId The GTM Container ID.
1277
   * @param string $tagId The GTM Tag ID.
1278
   * @param array $optParams Optional parameters.
1279
   */
1280
  public function delete($accountId, $containerId, $tagId, $optParams = array())
1281
  {
1282
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId);
1283
    $params = array_merge($params, $optParams);
1284
    return $this->call('delete', array($params));
1285
  }
1286
 
1287
  /**
1288
   * Gets a GTM Tag. (tags.get)
1289
   *
1290
   * @param string $accountId The GTM Account ID.
1291
   * @param string $containerId The GTM Container ID.
1292
   * @param string $tagId The GTM Tag ID.
1293
   * @param array $optParams Optional parameters.
1294
   * @return Google_Service_TagManager_Tag
1295
   */
1296
  public function get($accountId, $containerId, $tagId, $optParams = array())
1297
  {
1298
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId);
1299
    $params = array_merge($params, $optParams);
1300
    return $this->call('get', array($params), "Google_Service_TagManager_Tag");
1301
  }
1302
 
1303
  /**
1304
   * Lists all GTM Tags of a Container. (tags.listAccountsContainersTags)
1305
   *
1306
   * @param string $accountId The GTM Account ID.
1307
   * @param string $containerId The GTM Container ID.
1308
   * @param array $optParams Optional parameters.
1309
   * @return Google_Service_TagManager_ListTagsResponse
1310
   */
1311
  public function listAccountsContainersTags($accountId, $containerId, $optParams = array())
1312
  {
1313
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1314
    $params = array_merge($params, $optParams);
1315
    return $this->call('list', array($params), "Google_Service_TagManager_ListTagsResponse");
1316
  }
1317
 
1318
  /**
1319
   * Updates a GTM Tag. (tags.update)
1320
   *
1321
   * @param string $accountId The GTM Account ID.
1322
   * @param string $containerId The GTM Container ID.
1323
   * @param string $tagId The GTM Tag ID.
1324
   * @param Google_Tag $postBody
1325
   * @param array $optParams Optional parameters.
1326
   *
1327
   * @opt_param string fingerprint When provided, this fingerprint must match the
1328
   * fingerprint of the tag in storage.
1329
   * @return Google_Service_TagManager_Tag
1330
   */
1331
  public function update($accountId, $containerId, $tagId, Google_Service_TagManager_Tag $postBody, $optParams = array())
1332
  {
1333
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId, 'postBody' => $postBody);
1334
    $params = array_merge($params, $optParams);
1335
    return $this->call('update', array($params), "Google_Service_TagManager_Tag");
1336
  }
1337
}
1338
/**
1339
 * The "triggers" collection of methods.
1340
 * Typical usage is:
1341
 *  <code>
1342
 *   $tagmanagerService = new Google_Service_TagManager(...);
1343
 *   $triggers = $tagmanagerService->triggers;
1344
 *  </code>
1345
 */
1346
#[AllowDynamicProperties]
1347
class Google_Service_TagManager_AccountsContainersTriggers_Resource extends Google_Service_Resource
1348
{
1349
 
1350
  /**
1351
   * Creates a GTM Trigger. (triggers.create)
1352
   *
1353
   * @param string $accountId The GTM Account ID.
1354
   * @param string $containerId The GTM Container ID.
1355
   * @param Google_Trigger $postBody
1356
   * @param array $optParams Optional parameters.
1357
   * @return Google_Service_TagManager_Trigger
1358
   */
1359
  public function create($accountId, $containerId, Google_Service_TagManager_Trigger $postBody, $optParams = array())
1360
  {
1361
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
1362
    $params = array_merge($params, $optParams);
1363
    return $this->call('create', array($params), "Google_Service_TagManager_Trigger");
1364
  }
1365
 
1366
  /**
1367
   * Deletes a GTM Trigger. (triggers.delete)
1368
   *
1369
   * @param string $accountId The GTM Account ID.
1370
   * @param string $containerId The GTM Container ID.
1371
   * @param string $triggerId The GTM Trigger ID.
1372
   * @param array $optParams Optional parameters.
1373
   */
1374
  public function delete($accountId, $containerId, $triggerId, $optParams = array())
1375
  {
1376
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId);
1377
    $params = array_merge($params, $optParams);
1378
    return $this->call('delete', array($params));
1379
  }
1380
 
1381
  /**
1382
   * Gets a GTM Trigger. (triggers.get)
1383
   *
1384
   * @param string $accountId The GTM Account ID.
1385
   * @param string $containerId The GTM Container ID.
1386
   * @param string $triggerId The GTM Trigger ID.
1387
   * @param array $optParams Optional parameters.
1388
   * @return Google_Service_TagManager_Trigger
1389
   */
1390
  public function get($accountId, $containerId, $triggerId, $optParams = array())
1391
  {
1392
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId);
1393
    $params = array_merge($params, $optParams);
1394
    return $this->call('get', array($params), "Google_Service_TagManager_Trigger");
1395
  }
1396
 
1397
  /**
1398
   * Lists all GTM Triggers of a Container.
1399
   * (triggers.listAccountsContainersTriggers)
1400
   *
1401
   * @param string $accountId The GTM Account ID.
1402
   * @param string $containerId The GTM Container ID.
1403
   * @param array $optParams Optional parameters.
1404
   * @return Google_Service_TagManager_ListTriggersResponse
1405
   */
1406
  public function listAccountsContainersTriggers($accountId, $containerId, $optParams = array())
1407
  {
1408
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1409
    $params = array_merge($params, $optParams);
1410
    return $this->call('list', array($params), "Google_Service_TagManager_ListTriggersResponse");
1411
  }
1412
 
1413
  /**
1414
   * Updates a GTM Trigger. (triggers.update)
1415
   *
1416
   * @param string $accountId The GTM Account ID.
1417
   * @param string $containerId The GTM Container ID.
1418
   * @param string $triggerId The GTM Trigger ID.
1419
   * @param Google_Trigger $postBody
1420
   * @param array $optParams Optional parameters.
1421
   *
1422
   * @opt_param string fingerprint When provided, this fingerprint must match the
1423
   * fingerprint of the trigger in storage.
1424
   * @return Google_Service_TagManager_Trigger
1425
   */
1426
  public function update($accountId, $containerId, $triggerId, Google_Service_TagManager_Trigger $postBody, $optParams = array())
1427
  {
1428
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId, 'postBody' => $postBody);
1429
    $params = array_merge($params, $optParams);
1430
    return $this->call('update', array($params), "Google_Service_TagManager_Trigger");
1431
  }
1432
}
1433
/**
1434
 * The "variables" collection of methods.
1435
 * Typical usage is:
1436
 *  <code>
1437
 *   $tagmanagerService = new Google_Service_TagManager(...);
1438
 *   $variables = $tagmanagerService->variables;
1439
 *  </code>
1440
 */
1441
#[AllowDynamicProperties]
1442
class Google_Service_TagManager_AccountsContainersVariables_Resource extends Google_Service_Resource
1443
{
1444
 
1445
  /**
1446
   * Creates a GTM Variable. (variables.create)
1447
   *
1448
   * @param string $accountId The GTM Account ID.
1449
   * @param string $containerId The GTM Container ID.
1450
   * @param Google_Variable $postBody
1451
   * @param array $optParams Optional parameters.
1452
   * @return Google_Service_TagManager_Variable
1453
   */
1454
  public function create($accountId, $containerId, Google_Service_TagManager_Variable $postBody, $optParams = array())
1455
  {
1456
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
1457
    $params = array_merge($params, $optParams);
1458
    return $this->call('create', array($params), "Google_Service_TagManager_Variable");
1459
  }
1460
 
1461
  /**
1462
   * Deletes a GTM Variable. (variables.delete)
1463
   *
1464
   * @param string $accountId The GTM Account ID.
1465
   * @param string $containerId The GTM Container ID.
1466
   * @param string $variableId The GTM Variable ID.
1467
   * @param array $optParams Optional parameters.
1468
   */
1469
  public function delete($accountId, $containerId, $variableId, $optParams = array())
1470
  {
1471
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId);
1472
    $params = array_merge($params, $optParams);
1473
    return $this->call('delete', array($params));
1474
  }
1475
 
1476
  /**
1477
   * Gets a GTM Variable. (variables.get)
1478
   *
1479
   * @param string $accountId The GTM Account ID.
1480
   * @param string $containerId The GTM Container ID.
1481
   * @param string $variableId The GTM Variable ID.
1482
   * @param array $optParams Optional parameters.
1483
   * @return Google_Service_TagManager_Variable
1484
   */
1485
  public function get($accountId, $containerId, $variableId, $optParams = array())
1486
  {
1487
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId);
1488
    $params = array_merge($params, $optParams);
1489
    return $this->call('get', array($params), "Google_Service_TagManager_Variable");
1490
  }
1491
 
1492
  /**
1493
   * Lists all GTM Variables of a Container.
1494
   * (variables.listAccountsContainersVariables)
1495
   *
1496
   * @param string $accountId The GTM Account ID.
1497
   * @param string $containerId The GTM Container ID.
1498
   * @param array $optParams Optional parameters.
1499
   * @return Google_Service_TagManager_ListVariablesResponse
1500
   */
1501
  public function listAccountsContainersVariables($accountId, $containerId, $optParams = array())
1502
  {
1503
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1504
    $params = array_merge($params, $optParams);
1505
    return $this->call('list', array($params), "Google_Service_TagManager_ListVariablesResponse");
1506
  }
1507
 
1508
  /**
1509
   * Updates a GTM Variable. (variables.update)
1510
   *
1511
   * @param string $accountId The GTM Account ID.
1512
   * @param string $containerId The GTM Container ID.
1513
   * @param string $variableId The GTM Variable ID.
1514
   * @param Google_Variable $postBody
1515
   * @param array $optParams Optional parameters.
1516
   *
1517
   * @opt_param string fingerprint When provided, this fingerprint must match the
1518
   * fingerprint of the variable in storage.
1519
   * @return Google_Service_TagManager_Variable
1520
   */
1521
  public function update($accountId, $containerId, $variableId, Google_Service_TagManager_Variable $postBody, $optParams = array())
1522
  {
1523
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId, 'postBody' => $postBody);
1524
    $params = array_merge($params, $optParams);
1525
    return $this->call('update', array($params), "Google_Service_TagManager_Variable");
1526
  }
1527
}
1528
/**
1529
 * The "versions" collection of methods.
1530
 * Typical usage is:
1531
 *  <code>
1532
 *   $tagmanagerService = new Google_Service_TagManager(...);
1533
 *   $versions = $tagmanagerService->versions;
1534
 *  </code>
1535
 */
1536
#[AllowDynamicProperties]
1537
class Google_Service_TagManager_AccountsContainersVersions_Resource extends Google_Service_Resource
1538
{
1539
 
1540
  /**
1541
   * Creates a Container Version. (versions.create)
1542
   *
1543
   * @param string $accountId The GTM Account ID.
1544
   * @param string $containerId The GTM Container ID.
1545
   * @param Google_CreateContainerVersionRequestVersionOptions $postBody
1546
   * @param array $optParams Optional parameters.
1547
   * @return Google_Service_TagManager_CreateContainerVersionResponse
1548
   */
1549
  public function create($accountId, $containerId, Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody, $optParams = array())
1550
  {
1551
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
1552
    $params = array_merge($params, $optParams);
1553
    return $this->call('create', array($params), "Google_Service_TagManager_CreateContainerVersionResponse");
1554
  }
1555
 
1556
  /**
1557
   * Deletes a Container Version. (versions.delete)
1558
   *
1559
   * @param string $accountId The GTM Account ID.
1560
   * @param string $containerId The GTM Container ID.
1561
   * @param string $containerVersionId The GTM Container Version ID.
1562
   * @param array $optParams Optional parameters.
1563
   */
1564
  public function delete($accountId, $containerId, $containerVersionId, $optParams = array())
1565
  {
1566
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
1567
    $params = array_merge($params, $optParams);
1568
    return $this->call('delete', array($params));
1569
  }
1570
 
1571
  /**
1572
   * Gets a Container Version. (versions.get)
1573
   *
1574
   * @param string $accountId The GTM Account ID.
1575
   * @param string $containerId The GTM Container ID.
1576
   * @param string $containerVersionId The GTM Container Version ID. Specify
1577
   * published to retrieve the currently published version.
1578
   * @param array $optParams Optional parameters.
1579
   * @return Google_Service_TagManager_ContainerVersion
1580
   */
1581
  public function get($accountId, $containerId, $containerVersionId, $optParams = array())
1582
  {
1583
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
1584
    $params = array_merge($params, $optParams);
1585
    return $this->call('get', array($params), "Google_Service_TagManager_ContainerVersion");
1586
  }
1587
 
1588
  /**
1589
   * Lists all Container Versions of a GTM Container.
1590
   * (versions.listAccountsContainersVersions)
1591
   *
1592
   * @param string $accountId The GTM Account ID.
1593
   * @param string $containerId The GTM Container ID.
1594
   * @param array $optParams Optional parameters.
1595
   *
1596
   * @opt_param bool headers Retrieve headers only when true.
1597
   * @return Google_Service_TagManager_ListContainerVersionsResponse
1598
   */
1599
  public function listAccountsContainersVersions($accountId, $containerId, $optParams = array())
1600
  {
1601
    $params = array('accountId' => $accountId, 'containerId' => $containerId);
1602
    $params = array_merge($params, $optParams);
1603
    return $this->call('list', array($params), "Google_Service_TagManager_ListContainerVersionsResponse");
1604
  }
1605
 
1606
  /**
1607
   * Publishes a Container Version. (versions.publish)
1608
   *
1609
   * @param string $accountId The GTM Account ID.
1610
   * @param string $containerId The GTM Container ID.
1611
   * @param string $containerVersionId The GTM Container Version ID.
1612
   * @param array $optParams Optional parameters.
1613
   *
1614
   * @opt_param string fingerprint When provided, this fingerprint must match the
1615
   * fingerprint of the container version in storage.
1616
   * @return Google_Service_TagManager_PublishContainerVersionResponse
1617
   */
1618
  public function publish($accountId, $containerId, $containerVersionId, $optParams = array())
1619
  {
1620
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
1621
    $params = array_merge($params, $optParams);
1622
    return $this->call('publish', array($params), "Google_Service_TagManager_PublishContainerVersionResponse");
1623
  }
1624
 
1625
  /**
1626
   * Restores a Container Version. This will overwrite the container's current
1627
   * configuration (including its variables, triggers and tags). The operation
1628
   * will not have any effect on the version that is being served (i.e. the
1629
   * published version). (versions.restore)
1630
   *
1631
   * @param string $accountId The GTM Account ID.
1632
   * @param string $containerId The GTM Container ID.
1633
   * @param string $containerVersionId The GTM Container Version ID.
1634
   * @param array $optParams Optional parameters.
1635
   * @return Google_Service_TagManager_ContainerVersion
1636
   */
1637
  public function restore($accountId, $containerId, $containerVersionId, $optParams = array())
1638
  {
1639
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
1640
    $params = array_merge($params, $optParams);
1641
    return $this->call('restore', array($params), "Google_Service_TagManager_ContainerVersion");
1642
  }
1643
 
1644
  /**
1645
   * Undeletes a Container Version. (versions.undelete)
1646
   *
1647
   * @param string $accountId The GTM Account ID.
1648
   * @param string $containerId The GTM Container ID.
1649
   * @param string $containerVersionId The GTM Container Version ID.
1650
   * @param array $optParams Optional parameters.
1651
   * @return Google_Service_TagManager_ContainerVersion
1652
   */
1653
  public function undelete($accountId, $containerId, $containerVersionId, $optParams = array())
1654
  {
1655
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
1656
    $params = array_merge($params, $optParams);
1657
    return $this->call('undelete', array($params), "Google_Service_TagManager_ContainerVersion");
1658
  }
1659
 
1660
  /**
1661
   * Updates a Container Version. (versions.update)
1662
   *
1663
   * @param string $accountId The GTM Account ID.
1664
   * @param string $containerId The GTM Container ID.
1665
   * @param string $containerVersionId The GTM Container Version ID.
1666
   * @param Google_ContainerVersion $postBody
1667
   * @param array $optParams Optional parameters.
1668
   *
1669
   * @opt_param string fingerprint When provided, this fingerprint must match the
1670
   * fingerprint of the container version in storage.
1671
   * @return Google_Service_TagManager_ContainerVersion
1672
   */
1673
  public function update($accountId, $containerId, $containerVersionId, Google_Service_TagManager_ContainerVersion $postBody, $optParams = array())
1674
  {
1675
    $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId, 'postBody' => $postBody);
1676
    $params = array_merge($params, $optParams);
1677
    return $this->call('update', array($params), "Google_Service_TagManager_ContainerVersion");
1678
  }
1679
}
1680
/**
1681
 * The "permissions" collection of methods.
1682
 * Typical usage is:
1683
 *  <code>
1684
 *   $tagmanagerService = new Google_Service_TagManager(...);
1685
 *   $permissions = $tagmanagerService->permissions;
1686
 *  </code>
1687
 */
1688
#[AllowDynamicProperties]
1689
class Google_Service_TagManager_AccountsPermissions_Resource extends Google_Service_Resource
1690
{
1691
 
1692
  /**
1693
   * Creates a user's Account & Container Permissions. (permissions.create)
1694
   *
1695
   * @param string $accountId The GTM Account ID.
1696
   * @param Google_UserAccess $postBody
1697
   * @param array $optParams Optional parameters.
1698
   * @return Google_Service_TagManager_UserAccess
1699
   */
1700
  public function create($accountId, Google_Service_TagManager_UserAccess $postBody, $optParams = array())
1701
  {
1702
    $params = array('accountId' => $accountId, 'postBody' => $postBody);
1703
    $params = array_merge($params, $optParams);
1704
    return $this->call('create', array($params), "Google_Service_TagManager_UserAccess");
1705
  }
1706
 
1707
  /**
1708
   * Removes a user from the account, revoking access to it and all of its
1709
   * containers. (permissions.delete)
1710
   *
1711
   * @param string $accountId The GTM Account ID.
1712
   * @param string $permissionId The GTM User ID.
1713
   * @param array $optParams Optional parameters.
1714
   */
1715
  public function delete($accountId, $permissionId, $optParams = array())
1716
  {
1717
    $params = array('accountId' => $accountId, 'permissionId' => $permissionId);
1718
    $params = array_merge($params, $optParams);
1719
    return $this->call('delete', array($params));
1720
  }
1721
 
1722
  /**
1723
   * Gets a user's Account & Container Permissions. (permissions.get)
1724
   *
1725
   * @param string $accountId The GTM Account ID.
1726
   * @param string $permissionId The GTM User ID.
1727
   * @param array $optParams Optional parameters.
1728
   * @return Google_Service_TagManager_UserAccess
1729
   */
1730
  public function get($accountId, $permissionId, $optParams = array())
1731
  {
1732
    $params = array('accountId' => $accountId, 'permissionId' => $permissionId);
1733
    $params = array_merge($params, $optParams);
1734
    return $this->call('get', array($params), "Google_Service_TagManager_UserAccess");
1735
  }
1736
 
1737
  /**
1738
   * List all users that have access to the account along with Account and
1739
   * Container Permissions granted to each of them.
1740
   * (permissions.listAccountsPermissions)
1741
   *
1742
   * @param string $accountId The GTM Account ID. @required
1743
   * tagmanager.accounts.permissions.list
1744
   * @param array $optParams Optional parameters.
1745
   * @return Google_Service_TagManager_ListAccountUsersResponse
1746
   */
1747
  public function listAccountsPermissions($accountId, $optParams = array())
1748
  {
1749
    $params = array('accountId' => $accountId);
1750
    $params = array_merge($params, $optParams);
1751
    return $this->call('list', array($params), "Google_Service_TagManager_ListAccountUsersResponse");
1752
  }
1753
 
1754
  /**
1755
   * Updates a user's Account & Container Permissions. (permissions.update)
1756
   *
1757
   * @param string $accountId The GTM Account ID.
1758
   * @param string $permissionId The GTM User ID.
1759
   * @param Google_UserAccess $postBody
1760
   * @param array $optParams Optional parameters.
1761
   * @return Google_Service_TagManager_UserAccess
1762
   */
1763
  public function update($accountId, $permissionId, Google_Service_TagManager_UserAccess $postBody, $optParams = array())
1764
  {
1765
    $params = array('accountId' => $accountId, 'permissionId' => $permissionId, 'postBody' => $postBody);
1766
    $params = array_merge($params, $optParams);
1767
    return $this->call('update', array($params), "Google_Service_TagManager_UserAccess");
1768
  }
1769
}
1770
 
1771
 
1772
 
1773
 
1774
#[AllowDynamicProperties]
1775
class Google_Service_TagManager_Account extends Google_Model
1776
{
1777
  protected $internal_gapi_mappings = array(
1778
  );
1779
  public $accountId;
1780
  public $fingerprint;
1781
  public $name;
1782
  public $shareData;
1783
 
1784
 
1785
  public function setAccountId($accountId)
1786
  {
1787
    $this->accountId = $accountId;
1788
  }
1789
  public function getAccountId()
1790
  {
1791
    return $this->accountId;
1792
  }
1793
  public function setFingerprint($fingerprint)
1794
  {
1795
    $this->fingerprint = $fingerprint;
1796
  }
1797
  public function getFingerprint()
1798
  {
1799
    return $this->fingerprint;
1800
  }
1801
  public function setName($name)
1802
  {
1803
    $this->name = $name;
1804
  }
1805
  public function getName()
1806
  {
1807
    return $this->name;
1808
  }
1809
  public function setShareData($shareData)
1810
  {
1811
    $this->shareData = $shareData;
1812
  }
1813
  public function getShareData()
1814
  {
1815
    return $this->shareData;
1816
  }
1817
}
1818
 
1819
#[AllowDynamicProperties]
1820
class Google_Service_TagManager_AccountAccess extends Google_Collection
1821
{
1822
  protected $collection_key = 'permission';
1823
  protected $internal_gapi_mappings = array(
1824
  );
1825
  public $permission;
1826
 
1827
 
1828
  public function setPermission($permission)
1829
  {
1830
    $this->permission = $permission;
1831
  }
1832
  public function getPermission()
1833
  {
1834
    return $this->permission;
1835
  }
1836
}
1837
 
1838
#[AllowDynamicProperties]
1839
class Google_Service_TagManager_Condition extends Google_Collection
1840
{
1841
  protected $collection_key = 'parameter';
1842
  protected $internal_gapi_mappings = array(
1843
  );
1844
  protected $parameterType = 'Google_Service_TagManager_Parameter';
1845
  protected $parameterDataType = 'array';
1846
  public $type;
1847
 
1848
 
1849
  public function setParameter($parameter)
1850
  {
1851
    $this->parameter = $parameter;
1852
  }
1853
  public function getParameter()
1854
  {
1855
    return $this->parameter;
1856
  }
1857
  public function setType($type)
1858
  {
1859
    $this->type = $type;
1860
  }
1861
  public function getType()
1862
  {
1863
    return $this->type;
1864
  }
1865
}
1866
 
1867
#[AllowDynamicProperties]
1868
class Google_Service_TagManager_Container extends Google_Collection
1869
{
1870
  protected $collection_key = 'usageContext';
1871
  protected $internal_gapi_mappings = array(
1872
  );
1873
  public $accountId;
1874
  public $containerId;
1875
  public $domainName;
1876
  public $enabledBuiltInVariable;
1877
  public $fingerprint;
1878
  public $name;
1879
  public $notes;
1880
  public $publicId;
1881
  public $timeZoneCountryId;
1882
  public $timeZoneId;
1883
  public $usageContext;
1884
 
1885
 
1886
  public function setAccountId($accountId)
1887
  {
1888
    $this->accountId = $accountId;
1889
  }
1890
  public function getAccountId()
1891
  {
1892
    return $this->accountId;
1893
  }
1894
  public function setContainerId($containerId)
1895
  {
1896
    $this->containerId = $containerId;
1897
  }
1898
  public function getContainerId()
1899
  {
1900
    return $this->containerId;
1901
  }
1902
  public function setDomainName($domainName)
1903
  {
1904
    $this->domainName = $domainName;
1905
  }
1906
  public function getDomainName()
1907
  {
1908
    return $this->domainName;
1909
  }
1910
  public function setEnabledBuiltInVariable($enabledBuiltInVariable)
1911
  {
1912
    $this->enabledBuiltInVariable = $enabledBuiltInVariable;
1913
  }
1914
  public function getEnabledBuiltInVariable()
1915
  {
1916
    return $this->enabledBuiltInVariable;
1917
  }
1918
  public function setFingerprint($fingerprint)
1919
  {
1920
    $this->fingerprint = $fingerprint;
1921
  }
1922
  public function getFingerprint()
1923
  {
1924
    return $this->fingerprint;
1925
  }
1926
  public function setName($name)
1927
  {
1928
    $this->name = $name;
1929
  }
1930
  public function getName()
1931
  {
1932
    return $this->name;
1933
  }
1934
  public function setNotes($notes)
1935
  {
1936
    $this->notes = $notes;
1937
  }
1938
  public function getNotes()
1939
  {
1940
    return $this->notes;
1941
  }
1942
  public function setPublicId($publicId)
1943
  {
1944
    $this->publicId = $publicId;
1945
  }
1946
  public function getPublicId()
1947
  {
1948
    return $this->publicId;
1949
  }
1950
  public function setTimeZoneCountryId($timeZoneCountryId)
1951
  {
1952
    $this->timeZoneCountryId = $timeZoneCountryId;
1953
  }
1954
  public function getTimeZoneCountryId()
1955
  {
1956
    return $this->timeZoneCountryId;
1957
  }
1958
  public function setTimeZoneId($timeZoneId)
1959
  {
1960
    $this->timeZoneId = $timeZoneId;
1961
  }
1962
  public function getTimeZoneId()
1963
  {
1964
    return $this->timeZoneId;
1965
  }
1966
  public function setUsageContext($usageContext)
1967
  {
1968
    $this->usageContext = $usageContext;
1969
  }
1970
  public function getUsageContext()
1971
  {
1972
    return $this->usageContext;
1973
  }
1974
}
1975
 
1976
#[AllowDynamicProperties]
1977
class Google_Service_TagManager_ContainerAccess extends Google_Collection
1978
{
1979
  protected $collection_key = 'permission';
1980
  protected $internal_gapi_mappings = array(
1981
  );
1982
  public $containerId;
1983
  public $permission;
1984
 
1985
 
1986
  public function setContainerId($containerId)
1987
  {
1988
    $this->containerId = $containerId;
1989
  }
1990
  public function getContainerId()
1991
  {
1992
    return $this->containerId;
1993
  }
1994
  public function setPermission($permission)
1995
  {
1996
    $this->permission = $permission;
1997
  }
1998
  public function getPermission()
1999
  {
2000
    return $this->permission;
2001
  }
2002
}
2003
 
2004
#[AllowDynamicProperties]
2005
class Google_Service_TagManager_ContainerVersion extends Google_Collection
2006
{
2007
  protected $collection_key = 'variable';
2008
  protected $internal_gapi_mappings = array(
2009
  );
2010
  public $accountId;
2011
  protected $containerType = 'Google_Service_TagManager_Container';
2012
  protected $containerDataType = '';
2013
  public $containerId;
2014
  public $containerVersionId;
2015
  public $deleted;
2016
  public $fingerprint;
2017
  protected $folderType = 'Google_Service_TagManager_Folder';
2018
  protected $folderDataType = 'array';
2019
  protected $macroType = 'Google_Service_TagManager_Macro';
2020
  protected $macroDataType = 'array';
2021
  public $name;
2022
  public $notes;
2023
  protected $ruleType = 'Google_Service_TagManager_Rule';
2024
  protected $ruleDataType = 'array';
2025
  protected $tagType = 'Google_Service_TagManager_Tag';
2026
  protected $tagDataType = 'array';
2027
  protected $triggerType = 'Google_Service_TagManager_Trigger';
2028
  protected $triggerDataType = 'array';
2029
  protected $variableType = 'Google_Service_TagManager_Variable';
2030
  protected $variableDataType = 'array';
2031
 
2032
 
2033
  public function setAccountId($accountId)
2034
  {
2035
    $this->accountId = $accountId;
2036
  }
2037
  public function getAccountId()
2038
  {
2039
    return $this->accountId;
2040
  }
2041
  public function setContainer(Google_Service_TagManager_Container $container)
2042
  {
2043
    $this->container = $container;
2044
  }
2045
  public function getContainer()
2046
  {
2047
    return $this->container;
2048
  }
2049
  public function setContainerId($containerId)
2050
  {
2051
    $this->containerId = $containerId;
2052
  }
2053
  public function getContainerId()
2054
  {
2055
    return $this->containerId;
2056
  }
2057
  public function setContainerVersionId($containerVersionId)
2058
  {
2059
    $this->containerVersionId = $containerVersionId;
2060
  }
2061
  public function getContainerVersionId()
2062
  {
2063
    return $this->containerVersionId;
2064
  }
2065
  public function setDeleted($deleted)
2066
  {
2067
    $this->deleted = $deleted;
2068
  }
2069
  public function getDeleted()
2070
  {
2071
    return $this->deleted;
2072
  }
2073
  public function setFingerprint($fingerprint)
2074
  {
2075
    $this->fingerprint = $fingerprint;
2076
  }
2077
  public function getFingerprint()
2078
  {
2079
    return $this->fingerprint;
2080
  }
2081
  public function setFolder($folder)
2082
  {
2083
    $this->folder = $folder;
2084
  }
2085
  public function getFolder()
2086
  {
2087
    return $this->folder;
2088
  }
2089
  public function setMacro($macro)
2090
  {
2091
    $this->macro = $macro;
2092
  }
2093
  public function getMacro()
2094
  {
2095
    return $this->macro;
2096
  }
2097
  public function setName($name)
2098
  {
2099
    $this->name = $name;
2100
  }
2101
  public function getName()
2102
  {
2103
    return $this->name;
2104
  }
2105
  public function setNotes($notes)
2106
  {
2107
    $this->notes = $notes;
2108
  }
2109
  public function getNotes()
2110
  {
2111
    return $this->notes;
2112
  }
2113
  public function setRule($rule)
2114
  {
2115
    $this->rule = $rule;
2116
  }
2117
  public function getRule()
2118
  {
2119
    return $this->rule;
2120
  }
2121
  public function setTag($tag)
2122
  {
2123
    $this->tag = $tag;
2124
  }
2125
  public function getTag()
2126
  {
2127
    return $this->tag;
2128
  }
2129
  public function setTrigger($trigger)
2130
  {
2131
    $this->trigger = $trigger;
2132
  }
2133
  public function getTrigger()
2134
  {
2135
    return $this->trigger;
2136
  }
2137
  public function setVariable($variable)
2138
  {
2139
    $this->variable = $variable;
2140
  }
2141
  public function getVariable()
2142
  {
2143
    return $this->variable;
2144
  }
2145
}
2146
 
2147
#[AllowDynamicProperties]
2148
class Google_Service_TagManager_ContainerVersionHeader extends Google_Model
2149
{
2150
  protected $internal_gapi_mappings = array(
2151
  );
2152
  public $accountId;
2153
  public $containerId;
2154
  public $containerVersionId;
2155
  public $deleted;
2156
  public $name;
2157
  public $numMacros;
2158
  public $numRules;
2159
  public $numTags;
2160
  public $numTriggers;
2161
  public $numVariables;
2162
 
2163
 
2164
  public function setAccountId($accountId)
2165
  {
2166
    $this->accountId = $accountId;
2167
  }
2168
  public function getAccountId()
2169
  {
2170
    return $this->accountId;
2171
  }
2172
  public function setContainerId($containerId)
2173
  {
2174
    $this->containerId = $containerId;
2175
  }
2176
  public function getContainerId()
2177
  {
2178
    return $this->containerId;
2179
  }
2180
  public function setContainerVersionId($containerVersionId)
2181
  {
2182
    $this->containerVersionId = $containerVersionId;
2183
  }
2184
  public function getContainerVersionId()
2185
  {
2186
    return $this->containerVersionId;
2187
  }
2188
  public function setDeleted($deleted)
2189
  {
2190
    $this->deleted = $deleted;
2191
  }
2192
  public function getDeleted()
2193
  {
2194
    return $this->deleted;
2195
  }
2196
  public function setName($name)
2197
  {
2198
    $this->name = $name;
2199
  }
2200
  public function getName()
2201
  {
2202
    return $this->name;
2203
  }
2204
  public function setNumMacros($numMacros)
2205
  {
2206
    $this->numMacros = $numMacros;
2207
  }
2208
  public function getNumMacros()
2209
  {
2210
    return $this->numMacros;
2211
  }
2212
  public function setNumRules($numRules)
2213
  {
2214
    $this->numRules = $numRules;
2215
  }
2216
  public function getNumRules()
2217
  {
2218
    return $this->numRules;
2219
  }
2220
  public function setNumTags($numTags)
2221
  {
2222
    $this->numTags = $numTags;
2223
  }
2224
  public function getNumTags()
2225
  {
2226
    return $this->numTags;
2227
  }
2228
  public function setNumTriggers($numTriggers)
2229
  {
2230
    $this->numTriggers = $numTriggers;
2231
  }
2232
  public function getNumTriggers()
2233
  {
2234
    return $this->numTriggers;
2235
  }
2236
  public function setNumVariables($numVariables)
2237
  {
2238
    $this->numVariables = $numVariables;
2239
  }
2240
  public function getNumVariables()
2241
  {
2242
    return $this->numVariables;
2243
  }
2244
}
2245
 
2246
#[AllowDynamicProperties]
2247
class Google_Service_TagManager_CreateContainerVersionRequestVersionOptions extends Google_Model
2248
{
2249
  protected $internal_gapi_mappings = array(
2250
  );
2251
  public $name;
2252
  public $notes;
2253
  public $quickPreview;
2254
 
2255
 
2256
  public function setName($name)
2257
  {
2258
    $this->name = $name;
2259
  }
2260
  public function getName()
2261
  {
2262
    return $this->name;
2263
  }
2264
  public function setNotes($notes)
2265
  {
2266
    $this->notes = $notes;
2267
  }
2268
  public function getNotes()
2269
  {
2270
    return $this->notes;
2271
  }
2272
  public function setQuickPreview($quickPreview)
2273
  {
2274
    $this->quickPreview = $quickPreview;
2275
  }
2276
  public function getQuickPreview()
2277
  {
2278
    return $this->quickPreview;
2279
  }
2280
}
2281
 
2282
#[AllowDynamicProperties]
2283
class Google_Service_TagManager_CreateContainerVersionResponse extends Google_Model
2284
{
2285
  protected $internal_gapi_mappings = array(
2286
  );
2287
  public $compilerError;
2288
  protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
2289
  protected $containerVersionDataType = '';
2290
 
2291
 
2292
  public function setCompilerError($compilerError)
2293
  {
2294
    $this->compilerError = $compilerError;
2295
  }
2296
  public function getCompilerError()
2297
  {
2298
    return $this->compilerError;
2299
  }
2300
  public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion)
2301
  {
2302
    $this->containerVersion = $containerVersion;
2303
  }
2304
  public function getContainerVersion()
2305
  {
2306
    return $this->containerVersion;
2307
  }
2308
}
2309
 
2310
#[AllowDynamicProperties]
2311
class Google_Service_TagManager_Folder extends Google_Model
2312
{
2313
  protected $internal_gapi_mappings = array(
2314
  );
2315
  public $accountId;
2316
  public $containerId;
2317
  public $fingerprint;
2318
  public $folderId;
2319
  public $name;
2320
 
2321
 
2322
  public function setAccountId($accountId)
2323
  {
2324
    $this->accountId = $accountId;
2325
  }
2326
  public function getAccountId()
2327
  {
2328
    return $this->accountId;
2329
  }
2330
  public function setContainerId($containerId)
2331
  {
2332
    $this->containerId = $containerId;
2333
  }
2334
  public function getContainerId()
2335
  {
2336
    return $this->containerId;
2337
  }
2338
  public function setFingerprint($fingerprint)
2339
  {
2340
    $this->fingerprint = $fingerprint;
2341
  }
2342
  public function getFingerprint()
2343
  {
2344
    return $this->fingerprint;
2345
  }
2346
  public function setFolderId($folderId)
2347
  {
2348
    $this->folderId = $folderId;
2349
  }
2350
  public function getFolderId()
2351
  {
2352
    return $this->folderId;
2353
  }
2354
  public function setName($name)
2355
  {
2356
    $this->name = $name;
2357
  }
2358
  public function getName()
2359
  {
2360
    return $this->name;
2361
  }
2362
}
2363
 
2364
#[AllowDynamicProperties]
2365
class Google_Service_TagManager_FolderEntities extends Google_Collection
2366
{
2367
  protected $collection_key = 'variable';
2368
  protected $internal_gapi_mappings = array(
2369
  );
2370
  protected $tagType = 'Google_Service_TagManager_Tag';
2371
  protected $tagDataType = 'array';
2372
  protected $triggerType = 'Google_Service_TagManager_Trigger';
2373
  protected $triggerDataType = 'array';
2374
  protected $variableType = 'Google_Service_TagManager_Variable';
2375
  protected $variableDataType = 'array';
2376
 
2377
 
2378
  public function setTag($tag)
2379
  {
2380
    $this->tag = $tag;
2381
  }
2382
  public function getTag()
2383
  {
2384
    return $this->tag;
2385
  }
2386
  public function setTrigger($trigger)
2387
  {
2388
    $this->trigger = $trigger;
2389
  }
2390
  public function getTrigger()
2391
  {
2392
    return $this->trigger;
2393
  }
2394
  public function setVariable($variable)
2395
  {
2396
    $this->variable = $variable;
2397
  }
2398
  public function getVariable()
2399
  {
2400
    return $this->variable;
2401
  }
2402
}
2403
 
2404
#[AllowDynamicProperties]
2405
class Google_Service_TagManager_ListAccountUsersResponse extends Google_Collection
2406
{
2407
  protected $collection_key = 'userAccess';
2408
  protected $internal_gapi_mappings = array(
2409
  );
2410
  protected $userAccessType = 'Google_Service_TagManager_UserAccess';
2411
  protected $userAccessDataType = 'array';
2412
 
2413
 
2414
  public function setUserAccess($userAccess)
2415
  {
2416
    $this->userAccess = $userAccess;
2417
  }
2418
  public function getUserAccess()
2419
  {
2420
    return $this->userAccess;
2421
  }
2422
}
2423
 
2424
#[AllowDynamicProperties]
2425
class Google_Service_TagManager_ListAccountsResponse extends Google_Collection
2426
{
2427
  protected $collection_key = 'accounts';
2428
  protected $internal_gapi_mappings = array(
2429
  );
2430
  protected $accountsType = 'Google_Service_TagManager_Account';
2431
  protected $accountsDataType = 'array';
2432
 
2433
 
2434
  public function setAccounts($accounts)
2435
  {
2436
    $this->accounts = $accounts;
2437
  }
2438
  public function getAccounts()
2439
  {
2440
    return $this->accounts;
2441
  }
2442
}
2443
 
2444
#[AllowDynamicProperties]
2445
class Google_Service_TagManager_ListContainerVersionsResponse extends Google_Collection
2446
{
2447
  protected $collection_key = 'containerVersionHeader';
2448
  protected $internal_gapi_mappings = array(
2449
  );
2450
  protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
2451
  protected $containerVersionDataType = 'array';
2452
  protected $containerVersionHeaderType = 'Google_Service_TagManager_ContainerVersionHeader';
2453
  protected $containerVersionHeaderDataType = 'array';
2454
 
2455
 
2456
  public function setContainerVersion($containerVersion)
2457
  {
2458
    $this->containerVersion = $containerVersion;
2459
  }
2460
  public function getContainerVersion()
2461
  {
2462
    return $this->containerVersion;
2463
  }
2464
  public function setContainerVersionHeader($containerVersionHeader)
2465
  {
2466
    $this->containerVersionHeader = $containerVersionHeader;
2467
  }
2468
  public function getContainerVersionHeader()
2469
  {
2470
    return $this->containerVersionHeader;
2471
  }
2472
}
2473
 
2474
#[AllowDynamicProperties]
2475
class Google_Service_TagManager_ListContainersResponse extends Google_Collection
2476
{
2477
  protected $collection_key = 'containers';
2478
  protected $internal_gapi_mappings = array(
2479
  );
2480
  protected $containersType = 'Google_Service_TagManager_Container';
2481
  protected $containersDataType = 'array';
2482
 
2483
 
2484
  public function setContainers($containers)
2485
  {
2486
    $this->containers = $containers;
2487
  }
2488
  public function getContainers()
2489
  {
2490
    return $this->containers;
2491
  }
2492
}
2493
 
2494
#[AllowDynamicProperties]
2495
class Google_Service_TagManager_ListFoldersResponse extends Google_Collection
2496
{
2497
  protected $collection_key = 'folders';
2498
  protected $internal_gapi_mappings = array(
2499
  );
2500
  protected $foldersType = 'Google_Service_TagManager_Folder';
2501
  protected $foldersDataType = 'array';
2502
 
2503
 
2504
  public function setFolders($folders)
2505
  {
2506
    $this->folders = $folders;
2507
  }
2508
  public function getFolders()
2509
  {
2510
    return $this->folders;
2511
  }
2512
}
2513
 
2514
#[AllowDynamicProperties]
2515
class Google_Service_TagManager_ListTagsResponse extends Google_Collection
2516
{
2517
  protected $collection_key = 'tags';
2518
  protected $internal_gapi_mappings = array(
2519
  );
2520
  protected $tagsType = 'Google_Service_TagManager_Tag';
2521
  protected $tagsDataType = 'array';
2522
 
2523
 
2524
  public function setTags($tags)
2525
  {
2526
    $this->tags = $tags;
2527
  }
2528
  public function getTags()
2529
  {
2530
    return $this->tags;
2531
  }
2532
}
2533
 
2534
#[AllowDynamicProperties]
2535
class Google_Service_TagManager_ListTriggersResponse extends Google_Collection
2536
{
2537
  protected $collection_key = 'triggers';
2538
  protected $internal_gapi_mappings = array(
2539
  );
2540
  protected $triggersType = 'Google_Service_TagManager_Trigger';
2541
  protected $triggersDataType = 'array';
2542
 
2543
 
2544
  public function setTriggers($triggers)
2545
  {
2546
    $this->triggers = $triggers;
2547
  }
2548
  public function getTriggers()
2549
  {
2550
    return $this->triggers;
2551
  }
2552
}
2553
 
2554
#[AllowDynamicProperties]
2555
class Google_Service_TagManager_ListVariablesResponse extends Google_Collection
2556
{
2557
  protected $collection_key = 'variables';
2558
  protected $internal_gapi_mappings = array(
2559
  );
2560
  protected $variablesType = 'Google_Service_TagManager_Variable';
2561
  protected $variablesDataType = 'array';
2562
 
2563
 
2564
  public function setVariables($variables)
2565
  {
2566
    $this->variables = $variables;
2567
  }
2568
  public function getVariables()
2569
  {
2570
    return $this->variables;
2571
  }
2572
}
2573
 
2574
#[AllowDynamicProperties]
2575
class Google_Service_TagManager_Macro extends Google_Collection
2576
{
2577
  protected $collection_key = 'parameter';
2578
  protected $internal_gapi_mappings = array(
2579
  );
2580
  public $accountId;
2581
  public $containerId;
2582
  public $disablingRuleId;
2583
  public $enablingRuleId;
2584
  public $fingerprint;
2585
  public $macroId;
2586
  public $name;
2587
  public $notes;
2588
  protected $parameterType = 'Google_Service_TagManager_Parameter';
2589
  protected $parameterDataType = 'array';
2590
  public $parentFolderId;
2591
  public $scheduleEndMs;
2592
  public $scheduleStartMs;
2593
  public $type;
2594
 
2595
 
2596
  public function setAccountId($accountId)
2597
  {
2598
    $this->accountId = $accountId;
2599
  }
2600
  public function getAccountId()
2601
  {
2602
    return $this->accountId;
2603
  }
2604
  public function setContainerId($containerId)
2605
  {
2606
    $this->containerId = $containerId;
2607
  }
2608
  public function getContainerId()
2609
  {
2610
    return $this->containerId;
2611
  }
2612
  public function setDisablingRuleId($disablingRuleId)
2613
  {
2614
    $this->disablingRuleId = $disablingRuleId;
2615
  }
2616
  public function getDisablingRuleId()
2617
  {
2618
    return $this->disablingRuleId;
2619
  }
2620
  public function setEnablingRuleId($enablingRuleId)
2621
  {
2622
    $this->enablingRuleId = $enablingRuleId;
2623
  }
2624
  public function getEnablingRuleId()
2625
  {
2626
    return $this->enablingRuleId;
2627
  }
2628
  public function setFingerprint($fingerprint)
2629
  {
2630
    $this->fingerprint = $fingerprint;
2631
  }
2632
  public function getFingerprint()
2633
  {
2634
    return $this->fingerprint;
2635
  }
2636
  public function setMacroId($macroId)
2637
  {
2638
    $this->macroId = $macroId;
2639
  }
2640
  public function getMacroId()
2641
  {
2642
    return $this->macroId;
2643
  }
2644
  public function setName($name)
2645
  {
2646
    $this->name = $name;
2647
  }
2648
  public function getName()
2649
  {
2650
    return $this->name;
2651
  }
2652
  public function setNotes($notes)
2653
  {
2654
    $this->notes = $notes;
2655
  }
2656
  public function getNotes()
2657
  {
2658
    return $this->notes;
2659
  }
2660
  public function setParameter($parameter)
2661
  {
2662
    $this->parameter = $parameter;
2663
  }
2664
  public function getParameter()
2665
  {
2666
    return $this->parameter;
2667
  }
2668
  public function setParentFolderId($parentFolderId)
2669
  {
2670
    $this->parentFolderId = $parentFolderId;
2671
  }
2672
  public function getParentFolderId()
2673
  {
2674
    return $this->parentFolderId;
2675
  }
2676
  public function setScheduleEndMs($scheduleEndMs)
2677
  {
2678
    $this->scheduleEndMs = $scheduleEndMs;
2679
  }
2680
  public function getScheduleEndMs()
2681
  {
2682
    return $this->scheduleEndMs;
2683
  }
2684
  public function setScheduleStartMs($scheduleStartMs)
2685
  {
2686
    $this->scheduleStartMs = $scheduleStartMs;
2687
  }
2688
  public function getScheduleStartMs()
2689
  {
2690
    return $this->scheduleStartMs;
2691
  }
2692
  public function setType($type)
2693
  {
2694
    $this->type = $type;
2695
  }
2696
  public function getType()
2697
  {
2698
    return $this->type;
2699
  }
2700
}
2701
 
2702
#[AllowDynamicProperties]
2703
class Google_Service_TagManager_Parameter extends Google_Collection
2704
{
2705
  protected $collection_key = 'map';
2706
  protected $internal_gapi_mappings = array(
2707
  );
2708
  public $key;
2709
  protected $listType = 'Google_Service_TagManager_Parameter';
2710
  protected $listDataType = 'array';
2711
  protected $mapType = 'Google_Service_TagManager_Parameter';
2712
  protected $mapDataType = 'array';
2713
  public $type;
2714
  public $value;
2715
 
2716
 
2717
  public function setKey($key)
2718
  {
2719
    $this->key = $key;
2720
  }
2721
  public function getKey()
2722
  {
2723
    return $this->key;
2724
  }
2725
  public function setList($list)
2726
  {
2727
    $this->list = $list;
2728
  }
2729
  public function getList()
2730
  {
2731
    return $this->list;
2732
  }
2733
  public function setMap($map)
2734
  {
2735
    $this->map = $map;
2736
  }
2737
  public function getMap()
2738
  {
2739
    return $this->map;
2740
  }
2741
  public function setType($type)
2742
  {
2743
    $this->type = $type;
2744
  }
2745
  public function getType()
2746
  {
2747
    return $this->type;
2748
  }
2749
  public function setValue($value)
2750
  {
2751
    $this->value = $value;
2752
  }
2753
  public function getValue()
2754
  {
2755
    return $this->value;
2756
  }
2757
}
2758
 
2759
#[AllowDynamicProperties]
2760
class Google_Service_TagManager_PublishContainerVersionResponse extends Google_Model
2761
{
2762
  protected $internal_gapi_mappings = array(
2763
  );
2764
  public $compilerError;
2765
  protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
2766
  protected $containerVersionDataType = '';
2767
 
2768
 
2769
  public function setCompilerError($compilerError)
2770
  {
2771
    $this->compilerError = $compilerError;
2772
  }
2773
  public function getCompilerError()
2774
  {
2775
    return $this->compilerError;
2776
  }
2777
  public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion)
2778
  {
2779
    $this->containerVersion = $containerVersion;
2780
  }
2781
  public function getContainerVersion()
2782
  {
2783
    return $this->containerVersion;
2784
  }
2785
}
2786
 
2787
#[AllowDynamicProperties]
2788
class Google_Service_TagManager_Rule extends Google_Collection
2789
{
2790
  protected $collection_key = 'condition';
2791
  protected $internal_gapi_mappings = array(
2792
  );
2793
  public $accountId;
2794
  protected $conditionType = 'Google_Service_TagManager_Condition';
2795
  protected $conditionDataType = 'array';
2796
  public $containerId;
2797
  public $fingerprint;
2798
  public $name;
2799
  public $notes;
2800
  public $ruleId;
2801
 
2802
 
2803
  public function setAccountId($accountId)
2804
  {
2805
    $this->accountId = $accountId;
2806
  }
2807
  public function getAccountId()
2808
  {
2809
    return $this->accountId;
2810
  }
2811
  public function setCondition($condition)
2812
  {
2813
    $this->condition = $condition;
2814
  }
2815
  public function getCondition()
2816
  {
2817
    return $this->condition;
2818
  }
2819
  public function setContainerId($containerId)
2820
  {
2821
    $this->containerId = $containerId;
2822
  }
2823
  public function getContainerId()
2824
  {
2825
    return $this->containerId;
2826
  }
2827
  public function setFingerprint($fingerprint)
2828
  {
2829
    $this->fingerprint = $fingerprint;
2830
  }
2831
  public function getFingerprint()
2832
  {
2833
    return $this->fingerprint;
2834
  }
2835
  public function setName($name)
2836
  {
2837
    $this->name = $name;
2838
  }
2839
  public function getName()
2840
  {
2841
    return $this->name;
2842
  }
2843
  public function setNotes($notes)
2844
  {
2845
    $this->notes = $notes;
2846
  }
2847
  public function getNotes()
2848
  {
2849
    return $this->notes;
2850
  }
2851
  public function setRuleId($ruleId)
2852
  {
2853
    $this->ruleId = $ruleId;
2854
  }
2855
  public function getRuleId()
2856
  {
2857
    return $this->ruleId;
2858
  }
2859
}
2860
 
2861
#[AllowDynamicProperties]
2862
class Google_Service_TagManager_SetupTag extends Google_Model
2863
{
2864
  protected $internal_gapi_mappings = array(
2865
  );
2866
  public $stopOnSetupFailure;
2867
  public $tagName;
2868
 
2869
 
2870
  public function setStopOnSetupFailure($stopOnSetupFailure)
2871
  {
2872
    $this->stopOnSetupFailure = $stopOnSetupFailure;
2873
  }
2874
  public function getStopOnSetupFailure()
2875
  {
2876
    return $this->stopOnSetupFailure;
2877
  }
2878
  public function setTagName($tagName)
2879
  {
2880
    $this->tagName = $tagName;
2881
  }
2882
  public function getTagName()
2883
  {
2884
    return $this->tagName;
2885
  }
2886
}
2887
 
2888
#[AllowDynamicProperties]
2889
class Google_Service_TagManager_Tag extends Google_Collection
2890
{
2891
  protected $collection_key = 'teardownTag';
2892
  protected $internal_gapi_mappings = array(
2893
  );
2894
  public $accountId;
2895
  public $blockingRuleId;
2896
  public $blockingTriggerId;
2897
  public $containerId;
2898
  public $fingerprint;
2899
  public $firingRuleId;
2900
  public $firingTriggerId;
2901
  public $liveOnly;
2902
  public $name;
2903
  public $notes;
2904
  protected $parameterType = 'Google_Service_TagManager_Parameter';
2905
  protected $parameterDataType = 'array';
2906
  public $parentFolderId;
2907
  protected $priorityType = 'Google_Service_TagManager_Parameter';
2908
  protected $priorityDataType = '';
2909
  public $scheduleEndMs;
2910
  public $scheduleStartMs;
2911
  protected $setupTagType = 'Google_Service_TagManager_SetupTag';
2912
  protected $setupTagDataType = 'array';
2913
  public $tagFiringOption;
2914
  public $tagId;
2915
  protected $teardownTagType = 'Google_Service_TagManager_TeardownTag';
2916
  protected $teardownTagDataType = 'array';
2917
  public $type;
2918
 
2919
 
2920
  public function setAccountId($accountId)
2921
  {
2922
    $this->accountId = $accountId;
2923
  }
2924
  public function getAccountId()
2925
  {
2926
    return $this->accountId;
2927
  }
2928
  public function setBlockingRuleId($blockingRuleId)
2929
  {
2930
    $this->blockingRuleId = $blockingRuleId;
2931
  }
2932
  public function getBlockingRuleId()
2933
  {
2934
    return $this->blockingRuleId;
2935
  }
2936
  public function setBlockingTriggerId($blockingTriggerId)
2937
  {
2938
    $this->blockingTriggerId = $blockingTriggerId;
2939
  }
2940
  public function getBlockingTriggerId()
2941
  {
2942
    return $this->blockingTriggerId;
2943
  }
2944
  public function setContainerId($containerId)
2945
  {
2946
    $this->containerId = $containerId;
2947
  }
2948
  public function getContainerId()
2949
  {
2950
    return $this->containerId;
2951
  }
2952
  public function setFingerprint($fingerprint)
2953
  {
2954
    $this->fingerprint = $fingerprint;
2955
  }
2956
  public function getFingerprint()
2957
  {
2958
    return $this->fingerprint;
2959
  }
2960
  public function setFiringRuleId($firingRuleId)
2961
  {
2962
    $this->firingRuleId = $firingRuleId;
2963
  }
2964
  public function getFiringRuleId()
2965
  {
2966
    return $this->firingRuleId;
2967
  }
2968
  public function setFiringTriggerId($firingTriggerId)
2969
  {
2970
    $this->firingTriggerId = $firingTriggerId;
2971
  }
2972
  public function getFiringTriggerId()
2973
  {
2974
    return $this->firingTriggerId;
2975
  }
2976
  public function setLiveOnly($liveOnly)
2977
  {
2978
    $this->liveOnly = $liveOnly;
2979
  }
2980
  public function getLiveOnly()
2981
  {
2982
    return $this->liveOnly;
2983
  }
2984
  public function setName($name)
2985
  {
2986
    $this->name = $name;
2987
  }
2988
  public function getName()
2989
  {
2990
    return $this->name;
2991
  }
2992
  public function setNotes($notes)
2993
  {
2994
    $this->notes = $notes;
2995
  }
2996
  public function getNotes()
2997
  {
2998
    return $this->notes;
2999
  }
3000
  public function setParameter($parameter)
3001
  {
3002
    $this->parameter = $parameter;
3003
  }
3004
  public function getParameter()
3005
  {
3006
    return $this->parameter;
3007
  }
3008
  public function setParentFolderId($parentFolderId)
3009
  {
3010
    $this->parentFolderId = $parentFolderId;
3011
  }
3012
  public function getParentFolderId()
3013
  {
3014
    return $this->parentFolderId;
3015
  }
3016
  public function setPriority(Google_Service_TagManager_Parameter $priority)
3017
  {
3018
    $this->priority = $priority;
3019
  }
3020
  public function getPriority()
3021
  {
3022
    return $this->priority;
3023
  }
3024
  public function setScheduleEndMs($scheduleEndMs)
3025
  {
3026
    $this->scheduleEndMs = $scheduleEndMs;
3027
  }
3028
  public function getScheduleEndMs()
3029
  {
3030
    return $this->scheduleEndMs;
3031
  }
3032
  public function setScheduleStartMs($scheduleStartMs)
3033
  {
3034
    $this->scheduleStartMs = $scheduleStartMs;
3035
  }
3036
  public function getScheduleStartMs()
3037
  {
3038
    return $this->scheduleStartMs;
3039
  }
3040
  public function setSetupTag($setupTag)
3041
  {
3042
    $this->setupTag = $setupTag;
3043
  }
3044
  public function getSetupTag()
3045
  {
3046
    return $this->setupTag;
3047
  }
3048
  public function setTagFiringOption($tagFiringOption)
3049
  {
3050
    $this->tagFiringOption = $tagFiringOption;
3051
  }
3052
  public function getTagFiringOption()
3053
  {
3054
    return $this->tagFiringOption;
3055
  }
3056
  public function setTagId($tagId)
3057
  {
3058
    $this->tagId = $tagId;
3059
  }
3060
  public function getTagId()
3061
  {
3062
    return $this->tagId;
3063
  }
3064
  public function setTeardownTag($teardownTag)
3065
  {
3066
    $this->teardownTag = $teardownTag;
3067
  }
3068
  public function getTeardownTag()
3069
  {
3070
    return $this->teardownTag;
3071
  }
3072
  public function setType($type)
3073
  {
3074
    $this->type = $type;
3075
  }
3076
  public function getType()
3077
  {
3078
    return $this->type;
3079
  }
3080
}
3081
 
3082
#[AllowDynamicProperties]
3083
class Google_Service_TagManager_TeardownTag extends Google_Model
3084
{
3085
  protected $internal_gapi_mappings = array(
3086
  );
3087
  public $stopTeardownOnFailure;
3088
  public $tagName;
3089
 
3090
 
3091
  public function setStopTeardownOnFailure($stopTeardownOnFailure)
3092
  {
3093
    $this->stopTeardownOnFailure = $stopTeardownOnFailure;
3094
  }
3095
  public function getStopTeardownOnFailure()
3096
  {
3097
    return $this->stopTeardownOnFailure;
3098
  }
3099
  public function setTagName($tagName)
3100
  {
3101
    $this->tagName = $tagName;
3102
  }
3103
  public function getTagName()
3104
  {
3105
    return $this->tagName;
3106
  }
3107
}
3108
 
3109
#[AllowDynamicProperties]
3110
class Google_Service_TagManager_Trigger extends Google_Collection
3111
{
3112
  protected $collection_key = 'filter';
3113
  protected $internal_gapi_mappings = array(
3114
  );
3115
  public $accountId;
3116
  protected $autoEventFilterType = 'Google_Service_TagManager_Condition';
3117
  protected $autoEventFilterDataType = 'array';
3118
  protected $checkValidationType = 'Google_Service_TagManager_Parameter';
3119
  protected $checkValidationDataType = '';
3120
  public $containerId;
3121
  protected $customEventFilterType = 'Google_Service_TagManager_Condition';
3122
  protected $customEventFilterDataType = 'array';
3123
  protected $enableAllVideosType = 'Google_Service_TagManager_Parameter';
3124
  protected $enableAllVideosDataType = '';
3125
  protected $eventNameType = 'Google_Service_TagManager_Parameter';
3126
  protected $eventNameDataType = '';
3127
  protected $filterType = 'Google_Service_TagManager_Condition';
3128
  protected $filterDataType = 'array';
3129
  public $fingerprint;
3130
  protected $intervalType = 'Google_Service_TagManager_Parameter';
3131
  protected $intervalDataType = '';
3132
  protected $limitType = 'Google_Service_TagManager_Parameter';
3133
  protected $limitDataType = '';
3134
  public $name;
3135
  public $parentFolderId;
3136
  public $triggerId;
3137
  public $type;
3138
  protected $uniqueTriggerIdType = 'Google_Service_TagManager_Parameter';
3139
  protected $uniqueTriggerIdDataType = '';
3140
  protected $videoPercentageListType = 'Google_Service_TagManager_Parameter';
3141
  protected $videoPercentageListDataType = '';
3142
  protected $waitForTagsType = 'Google_Service_TagManager_Parameter';
3143
  protected $waitForTagsDataType = '';
3144
  protected $waitForTagsTimeoutType = 'Google_Service_TagManager_Parameter';
3145
  protected $waitForTagsTimeoutDataType = '';
3146
 
3147
 
3148
  public function setAccountId($accountId)
3149
  {
3150
    $this->accountId = $accountId;
3151
  }
3152
  public function getAccountId()
3153
  {
3154
    return $this->accountId;
3155
  }
3156
  public function setAutoEventFilter($autoEventFilter)
3157
  {
3158
    $this->autoEventFilter = $autoEventFilter;
3159
  }
3160
  public function getAutoEventFilter()
3161
  {
3162
    return $this->autoEventFilter;
3163
  }
3164
  public function setCheckValidation(Google_Service_TagManager_Parameter $checkValidation)
3165
  {
3166
    $this->checkValidation = $checkValidation;
3167
  }
3168
  public function getCheckValidation()
3169
  {
3170
    return $this->checkValidation;
3171
  }
3172
  public function setContainerId($containerId)
3173
  {
3174
    $this->containerId = $containerId;
3175
  }
3176
  public function getContainerId()
3177
  {
3178
    return $this->containerId;
3179
  }
3180
  public function setCustomEventFilter($customEventFilter)
3181
  {
3182
    $this->customEventFilter = $customEventFilter;
3183
  }
3184
  public function getCustomEventFilter()
3185
  {
3186
    return $this->customEventFilter;
3187
  }
3188
  public function setEnableAllVideos(Google_Service_TagManager_Parameter $enableAllVideos)
3189
  {
3190
    $this->enableAllVideos = $enableAllVideos;
3191
  }
3192
  public function getEnableAllVideos()
3193
  {
3194
    return $this->enableAllVideos;
3195
  }
3196
  public function setEventName(Google_Service_TagManager_Parameter $eventName)
3197
  {
3198
    $this->eventName = $eventName;
3199
  }
3200
  public function getEventName()
3201
  {
3202
    return $this->eventName;
3203
  }
3204
  public function setFilter($filter)
3205
  {
3206
    $this->filter = $filter;
3207
  }
3208
  public function getFilter()
3209
  {
3210
    return $this->filter;
3211
  }
3212
  public function setFingerprint($fingerprint)
3213
  {
3214
    $this->fingerprint = $fingerprint;
3215
  }
3216
  public function getFingerprint()
3217
  {
3218
    return $this->fingerprint;
3219
  }
3220
  public function setInterval(Google_Service_TagManager_Parameter $interval)
3221
  {
3222
    $this->interval = $interval;
3223
  }
3224
  public function getInterval()
3225
  {
3226
    return $this->interval;
3227
  }
3228
  public function setLimit(Google_Service_TagManager_Parameter $limit)
3229
  {
3230
    $this->limit = $limit;
3231
  }
3232
  public function getLimit()
3233
  {
3234
    return $this->limit;
3235
  }
3236
  public function setName($name)
3237
  {
3238
    $this->name = $name;
3239
  }
3240
  public function getName()
3241
  {
3242
    return $this->name;
3243
  }
3244
  public function setParentFolderId($parentFolderId)
3245
  {
3246
    $this->parentFolderId = $parentFolderId;
3247
  }
3248
  public function getParentFolderId()
3249
  {
3250
    return $this->parentFolderId;
3251
  }
3252
  public function setTriggerId($triggerId)
3253
  {
3254
    $this->triggerId = $triggerId;
3255
  }
3256
  public function getTriggerId()
3257
  {
3258
    return $this->triggerId;
3259
  }
3260
  public function setType($type)
3261
  {
3262
    $this->type = $type;
3263
  }
3264
  public function getType()
3265
  {
3266
    return $this->type;
3267
  }
3268
  public function setUniqueTriggerId(Google_Service_TagManager_Parameter $uniqueTriggerId)
3269
  {
3270
    $this->uniqueTriggerId = $uniqueTriggerId;
3271
  }
3272
  public function getUniqueTriggerId()
3273
  {
3274
    return $this->uniqueTriggerId;
3275
  }
3276
  public function setVideoPercentageList(Google_Service_TagManager_Parameter $videoPercentageList)
3277
  {
3278
    $this->videoPercentageList = $videoPercentageList;
3279
  }
3280
  public function getVideoPercentageList()
3281
  {
3282
    return $this->videoPercentageList;
3283
  }
3284
  public function setWaitForTags(Google_Service_TagManager_Parameter $waitForTags)
3285
  {
3286
    $this->waitForTags = $waitForTags;
3287
  }
3288
  public function getWaitForTags()
3289
  {
3290
    return $this->waitForTags;
3291
  }
3292
  public function setWaitForTagsTimeout(Google_Service_TagManager_Parameter $waitForTagsTimeout)
3293
  {
3294
    $this->waitForTagsTimeout = $waitForTagsTimeout;
3295
  }
3296
  public function getWaitForTagsTimeout()
3297
  {
3298
    return $this->waitForTagsTimeout;
3299
  }
3300
}
3301
 
3302
#[AllowDynamicProperties]
3303
class Google_Service_TagManager_UserAccess extends Google_Collection
3304
{
3305
  protected $collection_key = 'containerAccess';
3306
  protected $internal_gapi_mappings = array(
3307
  );
3308
  protected $accountAccessType = 'Google_Service_TagManager_AccountAccess';
3309
  protected $accountAccessDataType = '';
3310
  public $accountId;
3311
  protected $containerAccessType = 'Google_Service_TagManager_ContainerAccess';
3312
  protected $containerAccessDataType = 'array';
3313
  public $emailAddress;
3314
  public $permissionId;
3315
 
3316
 
3317
  public function setAccountAccess(Google_Service_TagManager_AccountAccess $accountAccess)
3318
  {
3319
    $this->accountAccess = $accountAccess;
3320
  }
3321
  public function getAccountAccess()
3322
  {
3323
    return $this->accountAccess;
3324
  }
3325
  public function setAccountId($accountId)
3326
  {
3327
    $this->accountId = $accountId;
3328
  }
3329
  public function getAccountId()
3330
  {
3331
    return $this->accountId;
3332
  }
3333
  public function setContainerAccess($containerAccess)
3334
  {
3335
    $this->containerAccess = $containerAccess;
3336
  }
3337
  public function getContainerAccess()
3338
  {
3339
    return $this->containerAccess;
3340
  }
3341
  public function setEmailAddress($emailAddress)
3342
  {
3343
    $this->emailAddress = $emailAddress;
3344
  }
3345
  public function getEmailAddress()
3346
  {
3347
    return $this->emailAddress;
3348
  }
3349
  public function setPermissionId($permissionId)
3350
  {
3351
    $this->permissionId = $permissionId;
3352
  }
3353
  public function getPermissionId()
3354
  {
3355
    return $this->permissionId;
3356
  }
3357
}
3358
 
3359
#[AllowDynamicProperties]
3360
class Google_Service_TagManager_Variable extends Google_Collection
3361
{
3362
  protected $collection_key = 'parameter';
3363
  protected $internal_gapi_mappings = array(
3364
  );
3365
  public $accountId;
3366
  public $containerId;
3367
  public $disablingTriggerId;
3368
  public $enablingTriggerId;
3369
  public $fingerprint;
3370
  public $name;
3371
  public $notes;
3372
  protected $parameterType = 'Google_Service_TagManager_Parameter';
3373
  protected $parameterDataType = 'array';
3374
  public $parentFolderId;
3375
  public $scheduleEndMs;
3376
  public $scheduleStartMs;
3377
  public $type;
3378
  public $variableId;
3379
 
3380
 
3381
  public function setAccountId($accountId)
3382
  {
3383
    $this->accountId = $accountId;
3384
  }
3385
  public function getAccountId()
3386
  {
3387
    return $this->accountId;
3388
  }
3389
  public function setContainerId($containerId)
3390
  {
3391
    $this->containerId = $containerId;
3392
  }
3393
  public function getContainerId()
3394
  {
3395
    return $this->containerId;
3396
  }
3397
  public function setDisablingTriggerId($disablingTriggerId)
3398
  {
3399
    $this->disablingTriggerId = $disablingTriggerId;
3400
  }
3401
  public function getDisablingTriggerId()
3402
  {
3403
    return $this->disablingTriggerId;
3404
  }
3405
  public function setEnablingTriggerId($enablingTriggerId)
3406
  {
3407
    $this->enablingTriggerId = $enablingTriggerId;
3408
  }
3409
  public function getEnablingTriggerId()
3410
  {
3411
    return $this->enablingTriggerId;
3412
  }
3413
  public function setFingerprint($fingerprint)
3414
  {
3415
    $this->fingerprint = $fingerprint;
3416
  }
3417
  public function getFingerprint()
3418
  {
3419
    return $this->fingerprint;
3420
  }
3421
  public function setName($name)
3422
  {
3423
    $this->name = $name;
3424
  }
3425
  public function getName()
3426
  {
3427
    return $this->name;
3428
  }
3429
  public function setNotes($notes)
3430
  {
3431
    $this->notes = $notes;
3432
  }
3433
  public function getNotes()
3434
  {
3435
    return $this->notes;
3436
  }
3437
  public function setParameter($parameter)
3438
  {
3439
    $this->parameter = $parameter;
3440
  }
3441
  public function getParameter()
3442
  {
3443
    return $this->parameter;
3444
  }
3445
  public function setParentFolderId($parentFolderId)
3446
  {
3447
    $this->parentFolderId = $parentFolderId;
3448
  }
3449
  public function getParentFolderId()
3450
  {
3451
    return $this->parentFolderId;
3452
  }
3453
  public function setScheduleEndMs($scheduleEndMs)
3454
  {
3455
    $this->scheduleEndMs = $scheduleEndMs;
3456
  }
3457
  public function getScheduleEndMs()
3458
  {
3459
    return $this->scheduleEndMs;
3460
  }
3461
  public function setScheduleStartMs($scheduleStartMs)
3462
  {
3463
    $this->scheduleStartMs = $scheduleStartMs;
3464
  }
3465
  public function getScheduleStartMs()
3466
  {
3467
    return $this->scheduleStartMs;
3468
  }
3469
  public function setType($type)
3470
  {
3471
    $this->type = $type;
3472
  }
3473
  public function getType()
3474
  {
3475
    return $this->type;
3476
  }
3477
  public function setVariableId($variableId)
3478
  {
3479
    $this->variableId = $variableId;
3480
  }
3481
  public function getVariableId()
3482
  {
3483
    return $this->variableId;
3484
  }
3485
}