1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18/** 19 * Service definition for TagManager (v2). 20 * 21 * <p> 22 * Accesses 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/v2/" target="_blank">Documentation</a> 27 * </p> 28 * 29 * @author Google, Inc. 30 */ 31class 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 container and its subcomponents, excluding versioning and publishing. */ 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 /** View and 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 account and container. */ 46 const TAGMANAGER_MANAGE_USERS = 47 "https://www.googleapis.com/auth/tagmanager.manage.users"; 48 /** Publish your Google Tag Manager container versions. */ 49 const TAGMANAGER_PUBLISH = 50 "https://www.googleapis.com/auth/tagmanager.publish"; 51 /** View your Google Tag Manager container and its subcomponents. */ 52 const TAGMANAGER_READONLY = 53 "https://www.googleapis.com/auth/tagmanager.readonly"; 54 55 public $accounts; 56 public $accounts_containers; 57 public $accounts_containers_environments; 58 public $accounts_containers_version_headers; 59 public $accounts_containers_versions; 60 public $accounts_containers_workspaces; 61 public $accounts_containers_workspaces_built_in_variables; 62 public $accounts_containers_workspaces_folders; 63 public $accounts_containers_workspaces_tags; 64 public $accounts_containers_workspaces_triggers; 65 public $accounts_containers_workspaces_variables; 66 public $accounts_containers_workspaces_zones; 67 public $accounts_user_permissions; 68 69 /** 70 * Constructs the internal representation of the TagManager service. 71 * 72 * @param Google_Client $client 73 */ 74 public function __construct(Google_Client $client) 75 { 76 parent::__construct($client); 77 $this->rootUrl = 'https://www.googleapis.com/'; 78 $this->servicePath = 'tagmanager/v2/'; 79 $this->batchPath = 'batch/tagmanager/v2'; 80 $this->version = 'v2'; 81 $this->serviceName = 'tagmanager'; 82 83 $this->accounts = new Google_Service_TagManager_Resource_Accounts( 84 $this, 85 $this->serviceName, 86 'accounts', 87 array( 88 'methods' => array( 89 'get' => array( 90 'path' => '{+path}', 91 'httpMethod' => 'GET', 92 'parameters' => array( 93 'path' => array( 94 'location' => 'path', 95 'type' => 'string', 96 'required' => true, 97 ), 98 ), 99 ),'list' => array( 100 'path' => 'accounts', 101 'httpMethod' => 'GET', 102 'parameters' => array( 103 'pageToken' => array( 104 'location' => 'query', 105 'type' => 'string', 106 ), 107 ), 108 ),'update' => array( 109 'path' => '{+path}', 110 'httpMethod' => 'PUT', 111 'parameters' => array( 112 'path' => array( 113 'location' => 'path', 114 'type' => 'string', 115 'required' => true, 116 ), 117 'fingerprint' => array( 118 'location' => 'query', 119 'type' => 'string', 120 ), 121 ), 122 ), 123 ) 124 ) 125 ); 126 $this->accounts_containers = new Google_Service_TagManager_Resource_AccountsContainers( 127 $this, 128 $this->serviceName, 129 'containers', 130 array( 131 'methods' => array( 132 'create' => array( 133 'path' => '{+parent}/containers', 134 'httpMethod' => 'POST', 135 'parameters' => array( 136 'parent' => array( 137 'location' => 'path', 138 'type' => 'string', 139 'required' => true, 140 ), 141 ), 142 ),'delete' => array( 143 'path' => '{+path}', 144 'httpMethod' => 'DELETE', 145 'parameters' => array( 146 'path' => array( 147 'location' => 'path', 148 'type' => 'string', 149 'required' => true, 150 ), 151 ), 152 ),'get' => array( 153 'path' => '{+path}', 154 'httpMethod' => 'GET', 155 'parameters' => array( 156 'path' => array( 157 'location' => 'path', 158 'type' => 'string', 159 'required' => true, 160 ), 161 ), 162 ),'list' => array( 163 'path' => '{+parent}/containers', 164 'httpMethod' => 'GET', 165 'parameters' => array( 166 'parent' => array( 167 'location' => 'path', 168 'type' => 'string', 169 'required' => true, 170 ), 171 'pageToken' => array( 172 'location' => 'query', 173 'type' => 'string', 174 ), 175 ), 176 ),'update' => array( 177 'path' => '{+path}', 178 'httpMethod' => 'PUT', 179 'parameters' => array( 180 'path' => array( 181 'location' => 'path', 182 'type' => 'string', 183 'required' => true, 184 ), 185 'fingerprint' => array( 186 'location' => 'query', 187 'type' => 'string', 188 ), 189 ), 190 ), 191 ) 192 ) 193 ); 194 $this->accounts_containers_environments = new Google_Service_TagManager_Resource_AccountsContainersEnvironments( 195 $this, 196 $this->serviceName, 197 'environments', 198 array( 199 'methods' => array( 200 'create' => array( 201 'path' => '{+parent}/environments', 202 'httpMethod' => 'POST', 203 'parameters' => array( 204 'parent' => array( 205 'location' => 'path', 206 'type' => 'string', 207 'required' => true, 208 ), 209 ), 210 ),'delete' => array( 211 'path' => '{+path}', 212 'httpMethod' => 'DELETE', 213 'parameters' => array( 214 'path' => array( 215 'location' => 'path', 216 'type' => 'string', 217 'required' => true, 218 ), 219 ), 220 ),'get' => array( 221 'path' => '{+path}', 222 'httpMethod' => 'GET', 223 'parameters' => array( 224 'path' => array( 225 'location' => 'path', 226 'type' => 'string', 227 'required' => true, 228 ), 229 ), 230 ),'list' => array( 231 'path' => '{+parent}/environments', 232 'httpMethod' => 'GET', 233 'parameters' => array( 234 'parent' => array( 235 'location' => 'path', 236 'type' => 'string', 237 'required' => true, 238 ), 239 'pageToken' => array( 240 'location' => 'query', 241 'type' => 'string', 242 ), 243 ), 244 ),'reauthorize' => array( 245 'path' => '{+path}:reauthorize', 246 'httpMethod' => 'POST', 247 'parameters' => array( 248 'path' => array( 249 'location' => 'path', 250 'type' => 'string', 251 'required' => true, 252 ), 253 ), 254 ),'update' => array( 255 'path' => '{+path}', 256 'httpMethod' => 'PUT', 257 'parameters' => array( 258 'path' => array( 259 'location' => 'path', 260 'type' => 'string', 261 'required' => true, 262 ), 263 'fingerprint' => array( 264 'location' => 'query', 265 'type' => 'string', 266 ), 267 ), 268 ), 269 ) 270 ) 271 ); 272 $this->accounts_containers_version_headers = new Google_Service_TagManager_Resource_AccountsContainersVersionHeaders( 273 $this, 274 $this->serviceName, 275 'version_headers', 276 array( 277 'methods' => array( 278 'latest' => array( 279 'path' => '{+parent}/version_headers:latest', 280 'httpMethod' => 'GET', 281 'parameters' => array( 282 'parent' => array( 283 'location' => 'path', 284 'type' => 'string', 285 'required' => true, 286 ), 287 ), 288 ),'list' => array( 289 'path' => '{+parent}/version_headers', 290 'httpMethod' => 'GET', 291 'parameters' => array( 292 'parent' => array( 293 'location' => 'path', 294 'type' => 'string', 295 'required' => true, 296 ), 297 'includeDeleted' => array( 298 'location' => 'query', 299 'type' => 'boolean', 300 ), 301 'pageToken' => array( 302 'location' => 'query', 303 'type' => 'string', 304 ), 305 ), 306 ), 307 ) 308 ) 309 ); 310 $this->accounts_containers_versions = new Google_Service_TagManager_Resource_AccountsContainersVersions( 311 $this, 312 $this->serviceName, 313 'versions', 314 array( 315 'methods' => array( 316 'delete' => array( 317 'path' => '{+path}', 318 'httpMethod' => 'DELETE', 319 'parameters' => array( 320 'path' => array( 321 'location' => 'path', 322 'type' => 'string', 323 'required' => true, 324 ), 325 ), 326 ),'get' => array( 327 'path' => '{+path}', 328 'httpMethod' => 'GET', 329 'parameters' => array( 330 'path' => array( 331 'location' => 'path', 332 'type' => 'string', 333 'required' => true, 334 ), 335 'containerVersionId' => array( 336 'location' => 'query', 337 'type' => 'string', 338 ), 339 ), 340 ),'live' => array( 341 'path' => '{+parent}/versions:live', 342 'httpMethod' => 'GET', 343 'parameters' => array( 344 'parent' => array( 345 'location' => 'path', 346 'type' => 'string', 347 'required' => true, 348 ), 349 ), 350 ),'publish' => array( 351 'path' => '{+path}:publish', 352 'httpMethod' => 'POST', 353 'parameters' => array( 354 'path' => array( 355 'location' => 'path', 356 'type' => 'string', 357 'required' => true, 358 ), 359 'fingerprint' => array( 360 'location' => 'query', 361 'type' => 'string', 362 ), 363 ), 364 ),'set_latest' => array( 365 'path' => '{+path}:set_latest', 366 'httpMethod' => 'POST', 367 'parameters' => array( 368 'path' => array( 369 'location' => 'path', 370 'type' => 'string', 371 'required' => true, 372 ), 373 ), 374 ),'undelete' => array( 375 'path' => '{+path}:undelete', 376 'httpMethod' => 'POST', 377 'parameters' => array( 378 'path' => array( 379 'location' => 'path', 380 'type' => 'string', 381 'required' => true, 382 ), 383 ), 384 ),'update' => array( 385 'path' => '{+path}', 386 'httpMethod' => 'PUT', 387 'parameters' => array( 388 'path' => array( 389 'location' => 'path', 390 'type' => 'string', 391 'required' => true, 392 ), 393 'fingerprint' => array( 394 'location' => 'query', 395 'type' => 'string', 396 ), 397 ), 398 ), 399 ) 400 ) 401 ); 402 $this->accounts_containers_workspaces = new Google_Service_TagManager_Resource_AccountsContainersWorkspaces( 403 $this, 404 $this->serviceName, 405 'workspaces', 406 array( 407 'methods' => array( 408 'create' => array( 409 'path' => '{+parent}/workspaces', 410 'httpMethod' => 'POST', 411 'parameters' => array( 412 'parent' => array( 413 'location' => 'path', 414 'type' => 'string', 415 'required' => true, 416 ), 417 ), 418 ),'create_version' => array( 419 'path' => '{+path}:create_version', 420 'httpMethod' => 'POST', 421 'parameters' => array( 422 'path' => array( 423 'location' => 'path', 424 'type' => 'string', 425 'required' => true, 426 ), 427 ), 428 ),'delete' => array( 429 'path' => '{+path}', 430 'httpMethod' => 'DELETE', 431 'parameters' => array( 432 'path' => array( 433 'location' => 'path', 434 'type' => 'string', 435 'required' => true, 436 ), 437 ), 438 ),'get' => array( 439 'path' => '{+path}', 440 'httpMethod' => 'GET', 441 'parameters' => array( 442 'path' => array( 443 'location' => 'path', 444 'type' => 'string', 445 'required' => true, 446 ), 447 ), 448 ),'getStatus' => array( 449 'path' => '{+path}/status', 450 'httpMethod' => 'GET', 451 'parameters' => array( 452 'path' => array( 453 'location' => 'path', 454 'type' => 'string', 455 'required' => true, 456 ), 457 ), 458 ),'list' => array( 459 'path' => '{+parent}/workspaces', 460 'httpMethod' => 'GET', 461 'parameters' => array( 462 'parent' => array( 463 'location' => 'path', 464 'type' => 'string', 465 'required' => true, 466 ), 467 'pageToken' => array( 468 'location' => 'query', 469 'type' => 'string', 470 ), 471 ), 472 ),'quick_preview' => array( 473 'path' => '{+path}:quick_preview', 474 'httpMethod' => 'POST', 475 'parameters' => array( 476 'path' => array( 477 'location' => 'path', 478 'type' => 'string', 479 'required' => true, 480 ), 481 ), 482 ),'resolve_conflict' => array( 483 'path' => '{+path}:resolve_conflict', 484 'httpMethod' => 'POST', 485 'parameters' => array( 486 'path' => array( 487 'location' => 'path', 488 'type' => 'string', 489 'required' => true, 490 ), 491 'fingerprint' => array( 492 'location' => 'query', 493 'type' => 'string', 494 ), 495 ), 496 ),'sync' => array( 497 'path' => '{+path}:sync', 498 'httpMethod' => 'POST', 499 'parameters' => array( 500 'path' => array( 501 'location' => 'path', 502 'type' => 'string', 503 'required' => true, 504 ), 505 ), 506 ),'update' => array( 507 'path' => '{+path}', 508 'httpMethod' => 'PUT', 509 'parameters' => array( 510 'path' => array( 511 'location' => 'path', 512 'type' => 'string', 513 'required' => true, 514 ), 515 'fingerprint' => array( 516 'location' => 'query', 517 'type' => 'string', 518 ), 519 ), 520 ), 521 ) 522 ) 523 ); 524 $this->accounts_containers_workspaces_built_in_variables = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesBuiltInVariables( 525 $this, 526 $this->serviceName, 527 'built_in_variables', 528 array( 529 'methods' => array( 530 'create' => array( 531 'path' => '{+parent}/built_in_variables', 532 'httpMethod' => 'POST', 533 'parameters' => array( 534 'parent' => array( 535 'location' => 'path', 536 'type' => 'string', 537 'required' => true, 538 ), 539 'type' => array( 540 'location' => 'query', 541 'type' => 'string', 542 'repeated' => true, 543 ), 544 ), 545 ),'delete' => array( 546 'path' => '{+path}', 547 'httpMethod' => 'DELETE', 548 'parameters' => array( 549 'path' => array( 550 'location' => 'path', 551 'type' => 'string', 552 'required' => true, 553 ), 554 'type' => array( 555 'location' => 'query', 556 'type' => 'string', 557 'repeated' => true, 558 ), 559 ), 560 ),'list' => array( 561 'path' => '{+parent}/built_in_variables', 562 'httpMethod' => 'GET', 563 'parameters' => array( 564 'parent' => array( 565 'location' => 'path', 566 'type' => 'string', 567 'required' => true, 568 ), 569 'pageToken' => array( 570 'location' => 'query', 571 'type' => 'string', 572 ), 573 ), 574 ),'revert' => array( 575 'path' => '{+path}/built_in_variables:revert', 576 'httpMethod' => 'POST', 577 'parameters' => array( 578 'path' => array( 579 'location' => 'path', 580 'type' => 'string', 581 'required' => true, 582 ), 583 'type' => array( 584 'location' => 'query', 585 'type' => 'string', 586 ), 587 ), 588 ), 589 ) 590 ) 591 ); 592 $this->accounts_containers_workspaces_folders = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesFolders( 593 $this, 594 $this->serviceName, 595 'folders', 596 array( 597 'methods' => array( 598 'create' => array( 599 'path' => '{+parent}/folders', 600 'httpMethod' => 'POST', 601 'parameters' => array( 602 'parent' => array( 603 'location' => 'path', 604 'type' => 'string', 605 'required' => true, 606 ), 607 ), 608 ),'delete' => array( 609 'path' => '{+path}', 610 'httpMethod' => 'DELETE', 611 'parameters' => array( 612 'path' => array( 613 'location' => 'path', 614 'type' => 'string', 615 'required' => true, 616 ), 617 ), 618 ),'entities' => array( 619 'path' => '{+path}:entities', 620 'httpMethod' => 'POST', 621 'parameters' => array( 622 'path' => array( 623 'location' => 'path', 624 'type' => 'string', 625 'required' => true, 626 ), 627 'pageToken' => array( 628 'location' => 'query', 629 'type' => 'string', 630 ), 631 ), 632 ),'get' => array( 633 'path' => '{+path}', 634 'httpMethod' => 'GET', 635 'parameters' => array( 636 'path' => array( 637 'location' => 'path', 638 'type' => 'string', 639 'required' => true, 640 ), 641 ), 642 ),'list' => array( 643 'path' => '{+parent}/folders', 644 'httpMethod' => 'GET', 645 'parameters' => array( 646 'parent' => array( 647 'location' => 'path', 648 'type' => 'string', 649 'required' => true, 650 ), 651 'pageToken' => array( 652 'location' => 'query', 653 'type' => 'string', 654 ), 655 ), 656 ),'move_entities_to_folder' => array( 657 'path' => '{+path}:move_entities_to_folder', 658 'httpMethod' => 'POST', 659 'parameters' => array( 660 'path' => array( 661 'location' => 'path', 662 'type' => 'string', 663 'required' => true, 664 ), 665 'tagId' => array( 666 'location' => 'query', 667 'type' => 'string', 668 'repeated' => true, 669 ), 670 'triggerId' => array( 671 'location' => 'query', 672 'type' => 'string', 673 'repeated' => true, 674 ), 675 'variableId' => array( 676 'location' => 'query', 677 'type' => 'string', 678 'repeated' => true, 679 ), 680 ), 681 ),'revert' => array( 682 'path' => '{+path}:revert', 683 'httpMethod' => 'POST', 684 'parameters' => array( 685 'path' => array( 686 'location' => 'path', 687 'type' => 'string', 688 'required' => true, 689 ), 690 'fingerprint' => array( 691 'location' => 'query', 692 'type' => 'string', 693 ), 694 ), 695 ),'update' => array( 696 'path' => '{+path}', 697 'httpMethod' => 'PUT', 698 'parameters' => array( 699 'path' => array( 700 'location' => 'path', 701 'type' => 'string', 702 'required' => true, 703 ), 704 'fingerprint' => array( 705 'location' => 'query', 706 'type' => 'string', 707 ), 708 ), 709 ), 710 ) 711 ) 712 ); 713 $this->accounts_containers_workspaces_tags = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesTags( 714 $this, 715 $this->serviceName, 716 'tags', 717 array( 718 'methods' => array( 719 'create' => array( 720 'path' => '{+parent}/tags', 721 'httpMethod' => 'POST', 722 'parameters' => array( 723 'parent' => array( 724 'location' => 'path', 725 'type' => 'string', 726 'required' => true, 727 ), 728 ), 729 ),'delete' => array( 730 'path' => '{+path}', 731 'httpMethod' => 'DELETE', 732 'parameters' => array( 733 'path' => array( 734 'location' => 'path', 735 'type' => 'string', 736 'required' => true, 737 ), 738 ), 739 ),'get' => array( 740 'path' => '{+path}', 741 'httpMethod' => 'GET', 742 'parameters' => array( 743 'path' => array( 744 'location' => 'path', 745 'type' => 'string', 746 'required' => true, 747 ), 748 ), 749 ),'list' => array( 750 'path' => '{+parent}/tags', 751 'httpMethod' => 'GET', 752 'parameters' => array( 753 'parent' => array( 754 'location' => 'path', 755 'type' => 'string', 756 'required' => true, 757 ), 758 'pageToken' => array( 759 'location' => 'query', 760 'type' => 'string', 761 ), 762 ), 763 ),'revert' => array( 764 'path' => '{+path}:revert', 765 'httpMethod' => 'POST', 766 'parameters' => array( 767 'path' => array( 768 'location' => 'path', 769 'type' => 'string', 770 'required' => true, 771 ), 772 'fingerprint' => array( 773 'location' => 'query', 774 'type' => 'string', 775 ), 776 ), 777 ),'update' => array( 778 'path' => '{+path}', 779 'httpMethod' => 'PUT', 780 'parameters' => array( 781 'path' => array( 782 'location' => 'path', 783 'type' => 'string', 784 'required' => true, 785 ), 786 'fingerprint' => array( 787 'location' => 'query', 788 'type' => 'string', 789 ), 790 ), 791 ), 792 ) 793 ) 794 ); 795 $this->accounts_containers_workspaces_triggers = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesTriggers( 796 $this, 797 $this->serviceName, 798 'triggers', 799 array( 800 'methods' => array( 801 'create' => array( 802 'path' => '{+parent}/triggers', 803 'httpMethod' => 'POST', 804 'parameters' => array( 805 'parent' => array( 806 'location' => 'path', 807 'type' => 'string', 808 'required' => true, 809 ), 810 ), 811 ),'delete' => array( 812 'path' => '{+path}', 813 'httpMethod' => 'DELETE', 814 'parameters' => array( 815 'path' => array( 816 'location' => 'path', 817 'type' => 'string', 818 'required' => true, 819 ), 820 ), 821 ),'get' => array( 822 'path' => '{+path}', 823 'httpMethod' => 'GET', 824 'parameters' => array( 825 'path' => array( 826 'location' => 'path', 827 'type' => 'string', 828 'required' => true, 829 ), 830 ), 831 ),'list' => array( 832 'path' => '{+parent}/triggers', 833 'httpMethod' => 'GET', 834 'parameters' => array( 835 'parent' => array( 836 'location' => 'path', 837 'type' => 'string', 838 'required' => true, 839 ), 840 'pageToken' => array( 841 'location' => 'query', 842 'type' => 'string', 843 ), 844 ), 845 ),'revert' => array( 846 'path' => '{+path}:revert', 847 'httpMethod' => 'POST', 848 'parameters' => array( 849 'path' => array( 850 'location' => 'path', 851 'type' => 'string', 852 'required' => true, 853 ), 854 'fingerprint' => array( 855 'location' => 'query', 856 'type' => 'string', 857 ), 858 ), 859 ),'update' => array( 860 'path' => '{+path}', 861 'httpMethod' => 'PUT', 862 'parameters' => array( 863 'path' => array( 864 'location' => 'path', 865 'type' => 'string', 866 'required' => true, 867 ), 868 'fingerprint' => array( 869 'location' => 'query', 870 'type' => 'string', 871 ), 872 ), 873 ), 874 ) 875 ) 876 ); 877 $this->accounts_containers_workspaces_variables = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesVariables( 878 $this, 879 $this->serviceName, 880 'variables', 881 array( 882 'methods' => array( 883 'create' => array( 884 'path' => '{+parent}/variables', 885 'httpMethod' => 'POST', 886 'parameters' => array( 887 'parent' => array( 888 'location' => 'path', 889 'type' => 'string', 890 'required' => true, 891 ), 892 ), 893 ),'delete' => array( 894 'path' => '{+path}', 895 'httpMethod' => 'DELETE', 896 'parameters' => array( 897 'path' => array( 898 'location' => 'path', 899 'type' => 'string', 900 'required' => true, 901 ), 902 ), 903 ),'get' => array( 904 'path' => '{+path}', 905 'httpMethod' => 'GET', 906 'parameters' => array( 907 'path' => array( 908 'location' => 'path', 909 'type' => 'string', 910 'required' => true, 911 ), 912 ), 913 ),'list' => array( 914 'path' => '{+parent}/variables', 915 'httpMethod' => 'GET', 916 'parameters' => array( 917 'parent' => array( 918 'location' => 'path', 919 'type' => 'string', 920 'required' => true, 921 ), 922 'pageToken' => array( 923 'location' => 'query', 924 'type' => 'string', 925 ), 926 ), 927 ),'revert' => array( 928 'path' => '{+path}:revert', 929 'httpMethod' => 'POST', 930 'parameters' => array( 931 'path' => array( 932 'location' => 'path', 933 'type' => 'string', 934 'required' => true, 935 ), 936 'fingerprint' => array( 937 'location' => 'query', 938 'type' => 'string', 939 ), 940 ), 941 ),'update' => array( 942 'path' => '{+path}', 943 'httpMethod' => 'PUT', 944 'parameters' => array( 945 'path' => array( 946 'location' => 'path', 947 'type' => 'string', 948 'required' => true, 949 ), 950 'fingerprint' => array( 951 'location' => 'query', 952 'type' => 'string', 953 ), 954 ), 955 ), 956 ) 957 ) 958 ); 959 $this->accounts_containers_workspaces_zones = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesZones( 960 $this, 961 $this->serviceName, 962 'zones', 963 array( 964 'methods' => array( 965 'create' => array( 966 'path' => '{+parent}/zones', 967 'httpMethod' => 'POST', 968 'parameters' => array( 969 'parent' => array( 970 'location' => 'path', 971 'type' => 'string', 972 'required' => true, 973 ), 974 ), 975 ),'delete' => array( 976 'path' => '{+path}', 977 'httpMethod' => 'DELETE', 978 'parameters' => array( 979 'path' => array( 980 'location' => 'path', 981 'type' => 'string', 982 'required' => true, 983 ), 984 ), 985 ),'get' => array( 986 'path' => '{+path}', 987 'httpMethod' => 'GET', 988 'parameters' => array( 989 'path' => array( 990 'location' => 'path', 991 'type' => 'string', 992 'required' => true, 993 ), 994 ), 995 ),'list' => array( 996 'path' => '{+parent}/zones', 997 'httpMethod' => 'GET', 998 'parameters' => array( 999 'parent' => array( 1000 'location' => 'path', 1001 'type' => 'string', 1002 'required' => true, 1003 ), 1004 'pageToken' => array( 1005 'location' => 'query', 1006 'type' => 'string', 1007 ), 1008 ), 1009 ),'revert' => array( 1010 'path' => '{+path}:revert', 1011 'httpMethod' => 'POST', 1012 'parameters' => array( 1013 'path' => array( 1014 'location' => 'path', 1015 'type' => 'string', 1016 'required' => true, 1017 ), 1018 'fingerprint' => array( 1019 'location' => 'query', 1020 'type' => 'string', 1021 ), 1022 ), 1023 ),'update' => array( 1024 'path' => '{+path}', 1025 'httpMethod' => 'PUT', 1026 'parameters' => array( 1027 'path' => array( 1028 'location' => 'path', 1029 'type' => 'string', 1030 'required' => true, 1031 ), 1032 'fingerprint' => array( 1033 'location' => 'query', 1034 'type' => 'string', 1035 ), 1036 ), 1037 ), 1038 ) 1039 ) 1040 ); 1041 $this->accounts_user_permissions = new Google_Service_TagManager_Resource_AccountsUserPermissions( 1042 $this, 1043 $this->serviceName, 1044 'user_permissions', 1045 array( 1046 'methods' => array( 1047 'create' => array( 1048 'path' => '{+parent}/user_permissions', 1049 'httpMethod' => 'POST', 1050 'parameters' => array( 1051 'parent' => array( 1052 'location' => 'path', 1053 'type' => 'string', 1054 'required' => true, 1055 ), 1056 ), 1057 ),'delete' => array( 1058 'path' => '{+path}', 1059 'httpMethod' => 'DELETE', 1060 'parameters' => array( 1061 'path' => array( 1062 'location' => 'path', 1063 'type' => 'string', 1064 'required' => true, 1065 ), 1066 ), 1067 ),'get' => array( 1068 'path' => '{+path}', 1069 'httpMethod' => 'GET', 1070 'parameters' => array( 1071 'path' => array( 1072 'location' => 'path', 1073 'type' => 'string', 1074 'required' => true, 1075 ), 1076 ), 1077 ),'list' => array( 1078 'path' => '{+parent}/user_permissions', 1079 'httpMethod' => 'GET', 1080 'parameters' => array( 1081 'parent' => array( 1082 'location' => 'path', 1083 'type' => 'string', 1084 'required' => true, 1085 ), 1086 'pageToken' => array( 1087 'location' => 'query', 1088 'type' => 'string', 1089 ), 1090 ), 1091 ),'update' => array( 1092 'path' => '{+path}', 1093 'httpMethod' => 'PUT', 1094 'parameters' => array( 1095 'path' => array( 1096 'location' => 'path', 1097 'type' => 'string', 1098 'required' => true, 1099 ), 1100 ), 1101 ), 1102 ) 1103 ) 1104 ); 1105 } 1106} 1107