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