Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

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