[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Analytics.php (source)

   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 Analytics (v3).
  20   *
  21   * <p>
  22   * View and manage your Google Analytics data
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_Analytics extends Google_Service
  33  {
  34    /** View and manage your Google Analytics data. */
  35    const ANALYTICS = "https://www.googleapis.com/auth/analytics";
  36    /** Edit Google Analytics management entities. */
  37    const ANALYTICS_EDIT = "https://www.googleapis.com/auth/analytics.edit";
  38    /** Manage Google Analytics Account users by email address. */
  39    const ANALYTICS_MANAGE_USERS = "https://www.googleapis.com/auth/analytics.manage.users";
  40    /** Create a new Google Analytics account along with its default property and view. */
  41    const ANALYTICS_PROVISION = "https://www.googleapis.com/auth/analytics.provision";
  42    /** View your Google Analytics data. */
  43    const ANALYTICS_READONLY = "https://www.googleapis.com/auth/analytics.readonly";
  44  
  45    public $data_ga;
  46    public $data_mcf;
  47    public $data_realtime;
  48    public $management_accountSummaries;
  49    public $management_accountUserLinks;
  50    public $management_accounts;
  51    public $management_customDataSources;
  52    public $management_dailyUploads;
  53    public $management_experiments;
  54    public $management_filters;
  55    public $management_goals;
  56    public $management_profileFilterLinks;
  57    public $management_profileUserLinks;
  58    public $management_profiles;
  59    public $management_segments;
  60    public $management_unsampledReports;
  61    public $management_uploads;
  62    public $management_webPropertyAdWordsLinks;
  63    public $management_webproperties;
  64    public $management_webpropertyUserLinks;
  65    public $metadata_columns;
  66    public $provisioning;
  67    
  68  
  69    /**
  70     * Constructs the internal representation of the Analytics service.
  71     *
  72     * @param Google_Client $client
  73     */
  74    public function __construct(Google_Client $client)
  75    {
  76      parent::__construct($client);
  77      $this->servicePath = 'analytics/v3/';
  78      $this->version = 'v3';
  79      $this->serviceName = 'analytics';
  80  
  81      $this->data_ga = new Google_Service_Analytics_DataGa_Resource(
  82          $this,
  83          $this->serviceName,
  84          'ga',
  85          array(
  86            'methods' => array(
  87              'get' => array(
  88                'path' => 'data/ga',
  89                'httpMethod' => 'GET',
  90                'parameters' => array(
  91                  'ids' => array(
  92                    'location' => 'query',
  93                    'type' => 'string',
  94                    'required' => true,
  95                  ),
  96                  'start-date' => array(
  97                    'location' => 'query',
  98                    'type' => 'string',
  99                    'required' => true,
 100                  ),
 101                  'end-date' => array(
 102                    'location' => 'query',
 103                    'type' => 'string',
 104                    'required' => true,
 105                  ),
 106                  'metrics' => array(
 107                    'location' => 'query',
 108                    'type' => 'string',
 109                    'required' => true,
 110                  ),
 111                  'max-results' => array(
 112                    'location' => 'query',
 113                    'type' => 'integer',
 114                  ),
 115                  'sort' => array(
 116                    'location' => 'query',
 117                    'type' => 'string',
 118                  ),
 119                  'dimensions' => array(
 120                    'location' => 'query',
 121                    'type' => 'string',
 122                  ),
 123                  'start-index' => array(
 124                    'location' => 'query',
 125                    'type' => 'integer',
 126                  ),
 127                  'segment' => array(
 128                    'location' => 'query',
 129                    'type' => 'string',
 130                  ),
 131                  'samplingLevel' => array(
 132                    'location' => 'query',
 133                    'type' => 'string',
 134                  ),
 135                  'filters' => array(
 136                    'location' => 'query',
 137                    'type' => 'string',
 138                  ),
 139                  'output' => array(
 140                    'location' => 'query',
 141                    'type' => 'string',
 142                  ),
 143                ),
 144              ),
 145            )
 146          )
 147      );
 148      $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource(
 149          $this,
 150          $this->serviceName,
 151          'mcf',
 152          array(
 153            'methods' => array(
 154              'get' => array(
 155                'path' => 'data/mcf',
 156                'httpMethod' => 'GET',
 157                'parameters' => array(
 158                  'ids' => array(
 159                    'location' => 'query',
 160                    'type' => 'string',
 161                    'required' => true,
 162                  ),
 163                  'start-date' => array(
 164                    'location' => 'query',
 165                    'type' => 'string',
 166                    'required' => true,
 167                  ),
 168                  'end-date' => array(
 169                    'location' => 'query',
 170                    'type' => 'string',
 171                    'required' => true,
 172                  ),
 173                  'metrics' => array(
 174                    'location' => 'query',
 175                    'type' => 'string',
 176                    'required' => true,
 177                  ),
 178                  'max-results' => array(
 179                    'location' => 'query',
 180                    'type' => 'integer',
 181                  ),
 182                  'sort' => array(
 183                    'location' => 'query',
 184                    'type' => 'string',
 185                  ),
 186                  'dimensions' => array(
 187                    'location' => 'query',
 188                    'type' => 'string',
 189                  ),
 190                  'start-index' => array(
 191                    'location' => 'query',
 192                    'type' => 'integer',
 193                  ),
 194                  'samplingLevel' => array(
 195                    'location' => 'query',
 196                    'type' => 'string',
 197                  ),
 198                  'filters' => array(
 199                    'location' => 'query',
 200                    'type' => 'string',
 201                  ),
 202                ),
 203              ),
 204            )
 205          )
 206      );
 207      $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource(
 208          $this,
 209          $this->serviceName,
 210          'realtime',
 211          array(
 212            'methods' => array(
 213              'get' => array(
 214                'path' => 'data/realtime',
 215                'httpMethod' => 'GET',
 216                'parameters' => array(
 217                  'ids' => array(
 218                    'location' => 'query',
 219                    'type' => 'string',
 220                    'required' => true,
 221                  ),
 222                  'metrics' => array(
 223                    'location' => 'query',
 224                    'type' => 'string',
 225                    'required' => true,
 226                  ),
 227                  'max-results' => array(
 228                    'location' => 'query',
 229                    'type' => 'integer',
 230                  ),
 231                  'sort' => array(
 232                    'location' => 'query',
 233                    'type' => 'string',
 234                  ),
 235                  'dimensions' => array(
 236                    'location' => 'query',
 237                    'type' => 'string',
 238                  ),
 239                  'filters' => array(
 240                    'location' => 'query',
 241                    'type' => 'string',
 242                  ),
 243                ),
 244              ),
 245            )
 246          )
 247      );
 248      $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource(
 249          $this,
 250          $this->serviceName,
 251          'accountSummaries',
 252          array(
 253            'methods' => array(
 254              'list' => array(
 255                'path' => 'management/accountSummaries',
 256                'httpMethod' => 'GET',
 257                'parameters' => array(
 258                  'max-results' => array(
 259                    'location' => 'query',
 260                    'type' => 'integer',
 261                  ),
 262                  'start-index' => array(
 263                    'location' => 'query',
 264                    'type' => 'integer',
 265                  ),
 266                ),
 267              ),
 268            )
 269          )
 270      );
 271      $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource(
 272          $this,
 273          $this->serviceName,
 274          'accountUserLinks',
 275          array(
 276            'methods' => array(
 277              'delete' => array(
 278                'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
 279                'httpMethod' => 'DELETE',
 280                'parameters' => array(
 281                  'accountId' => array(
 282                    'location' => 'path',
 283                    'type' => 'string',
 284                    'required' => true,
 285                  ),
 286                  'linkId' => array(
 287                    'location' => 'path',
 288                    'type' => 'string',
 289                    'required' => true,
 290                  ),
 291                ),
 292              ),'insert' => array(
 293                'path' => 'management/accounts/{accountId}/entityUserLinks',
 294                'httpMethod' => 'POST',
 295                'parameters' => array(
 296                  'accountId' => array(
 297                    'location' => 'path',
 298                    'type' => 'string',
 299                    'required' => true,
 300                  ),
 301                ),
 302              ),'list' => array(
 303                'path' => 'management/accounts/{accountId}/entityUserLinks',
 304                'httpMethod' => 'GET',
 305                'parameters' => array(
 306                  'accountId' => array(
 307                    'location' => 'path',
 308                    'type' => 'string',
 309                    'required' => true,
 310                  ),
 311                  'max-results' => array(
 312                    'location' => 'query',
 313                    'type' => 'integer',
 314                  ),
 315                  'start-index' => array(
 316                    'location' => 'query',
 317                    'type' => 'integer',
 318                  ),
 319                ),
 320              ),'update' => array(
 321                'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
 322                'httpMethod' => 'PUT',
 323                'parameters' => array(
 324                  'accountId' => array(
 325                    'location' => 'path',
 326                    'type' => 'string',
 327                    'required' => true,
 328                  ),
 329                  'linkId' => array(
 330                    'location' => 'path',
 331                    'type' => 'string',
 332                    'required' => true,
 333                  ),
 334                ),
 335              ),
 336            )
 337          )
 338      );
 339      $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource(
 340          $this,
 341          $this->serviceName,
 342          'accounts',
 343          array(
 344            'methods' => array(
 345              'list' => array(
 346                'path' => 'management/accounts',
 347                'httpMethod' => 'GET',
 348                'parameters' => array(
 349                  'max-results' => array(
 350                    'location' => 'query',
 351                    'type' => 'integer',
 352                  ),
 353                  'start-index' => array(
 354                    'location' => 'query',
 355                    'type' => 'integer',
 356                  ),
 357                ),
 358              ),
 359            )
 360          )
 361      );
 362      $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource(
 363          $this,
 364          $this->serviceName,
 365          'customDataSources',
 366          array(
 367            'methods' => array(
 368              'list' => array(
 369                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',
 370                'httpMethod' => 'GET',
 371                'parameters' => array(
 372                  'accountId' => array(
 373                    'location' => 'path',
 374                    'type' => 'string',
 375                    'required' => true,
 376                  ),
 377                  'webPropertyId' => array(
 378                    'location' => 'path',
 379                    'type' => 'string',
 380                    'required' => true,
 381                  ),
 382                  'max-results' => array(
 383                    'location' => 'query',
 384                    'type' => 'integer',
 385                  ),
 386                  'start-index' => array(
 387                    'location' => 'query',
 388                    'type' => 'integer',
 389                  ),
 390                ),
 391              ),
 392            )
 393          )
 394      );
 395      $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource(
 396          $this,
 397          $this->serviceName,
 398          'dailyUploads',
 399          array(
 400            'methods' => array(
 401              'delete' => array(
 402                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}',
 403                'httpMethod' => 'DELETE',
 404                'parameters' => array(
 405                  'accountId' => array(
 406                    'location' => 'path',
 407                    'type' => 'string',
 408                    'required' => true,
 409                  ),
 410                  'webPropertyId' => array(
 411                    'location' => 'path',
 412                    'type' => 'string',
 413                    'required' => true,
 414                  ),
 415                  'customDataSourceId' => array(
 416                    'location' => 'path',
 417                    'type' => 'string',
 418                    'required' => true,
 419                  ),
 420                  'date' => array(
 421                    'location' => 'path',
 422                    'type' => 'string',
 423                    'required' => true,
 424                  ),
 425                  'type' => array(
 426                    'location' => 'query',
 427                    'type' => 'string',
 428                    'required' => true,
 429                  ),
 430                ),
 431              ),'list' => array(
 432                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads',
 433                'httpMethod' => 'GET',
 434                'parameters' => array(
 435                  'accountId' => array(
 436                    'location' => 'path',
 437                    'type' => 'string',
 438                    'required' => true,
 439                  ),
 440                  'webPropertyId' => array(
 441                    'location' => 'path',
 442                    'type' => 'string',
 443                    'required' => true,
 444                  ),
 445                  'customDataSourceId' => array(
 446                    'location' => 'path',
 447                    'type' => 'string',
 448                    'required' => true,
 449                  ),
 450                  'start-date' => array(
 451                    'location' => 'query',
 452                    'type' => 'string',
 453                    'required' => true,
 454                  ),
 455                  'end-date' => array(
 456                    'location' => 'query',
 457                    'type' => 'string',
 458                    'required' => true,
 459                  ),
 460                  'max-results' => array(
 461                    'location' => 'query',
 462                    'type' => 'integer',
 463                  ),
 464                  'start-index' => array(
 465                    'location' => 'query',
 466                    'type' => 'integer',
 467                  ),
 468                ),
 469              ),'upload' => array(
 470                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads',
 471                'httpMethod' => 'POST',
 472                'parameters' => array(
 473                  'accountId' => array(
 474                    'location' => 'path',
 475                    'type' => 'string',
 476                    'required' => true,
 477                  ),
 478                  'webPropertyId' => array(
 479                    'location' => 'path',
 480                    'type' => 'string',
 481                    'required' => true,
 482                  ),
 483                  'customDataSourceId' => array(
 484                    'location' => 'path',
 485                    'type' => 'string',
 486                    'required' => true,
 487                  ),
 488                  'date' => array(
 489                    'location' => 'path',
 490                    'type' => 'string',
 491                    'required' => true,
 492                  ),
 493                  'appendNumber' => array(
 494                    'location' => 'query',
 495                    'type' => 'integer',
 496                    'required' => true,
 497                  ),
 498                  'type' => array(
 499                    'location' => 'query',
 500                    'type' => 'string',
 501                    'required' => true,
 502                  ),
 503                  'reset' => array(
 504                    'location' => 'query',
 505                    'type' => 'boolean',
 506                  ),
 507                ),
 508              ),
 509            )
 510          )
 511      );
 512      $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource(
 513          $this,
 514          $this->serviceName,
 515          'experiments',
 516          array(
 517            'methods' => array(
 518              'delete' => array(
 519                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
 520                'httpMethod' => 'DELETE',
 521                'parameters' => array(
 522                  'accountId' => array(
 523                    'location' => 'path',
 524                    'type' => 'string',
 525                    'required' => true,
 526                  ),
 527                  'webPropertyId' => array(
 528                    'location' => 'path',
 529                    'type' => 'string',
 530                    'required' => true,
 531                  ),
 532                  'profileId' => array(
 533                    'location' => 'path',
 534                    'type' => 'string',
 535                    'required' => true,
 536                  ),
 537                  'experimentId' => array(
 538                    'location' => 'path',
 539                    'type' => 'string',
 540                    'required' => true,
 541                  ),
 542                ),
 543              ),'get' => array(
 544                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
 545                'httpMethod' => 'GET',
 546                'parameters' => array(
 547                  'accountId' => array(
 548                    'location' => 'path',
 549                    'type' => 'string',
 550                    'required' => true,
 551                  ),
 552                  'webPropertyId' => array(
 553                    'location' => 'path',
 554                    'type' => 'string',
 555                    'required' => true,
 556                  ),
 557                  'profileId' => array(
 558                    'location' => 'path',
 559                    'type' => 'string',
 560                    'required' => true,
 561                  ),
 562                  'experimentId' => array(
 563                    'location' => 'path',
 564                    'type' => 'string',
 565                    'required' => true,
 566                  ),
 567                ),
 568              ),'insert' => array(
 569                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
 570                'httpMethod' => 'POST',
 571                'parameters' => array(
 572                  'accountId' => array(
 573                    'location' => 'path',
 574                    'type' => 'string',
 575                    'required' => true,
 576                  ),
 577                  'webPropertyId' => array(
 578                    'location' => 'path',
 579                    'type' => 'string',
 580                    'required' => true,
 581                  ),
 582                  'profileId' => array(
 583                    'location' => 'path',
 584                    'type' => 'string',
 585                    'required' => true,
 586                  ),
 587                ),
 588              ),'list' => array(
 589                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
 590                'httpMethod' => 'GET',
 591                'parameters' => array(
 592                  'accountId' => array(
 593                    'location' => 'path',
 594                    'type' => 'string',
 595                    'required' => true,
 596                  ),
 597                  'webPropertyId' => array(
 598                    'location' => 'path',
 599                    'type' => 'string',
 600                    'required' => true,
 601                  ),
 602                  'profileId' => array(
 603                    'location' => 'path',
 604                    'type' => 'string',
 605                    'required' => true,
 606                  ),
 607                  'max-results' => array(
 608                    'location' => 'query',
 609                    'type' => 'integer',
 610                  ),
 611                  'start-index' => array(
 612                    'location' => 'query',
 613                    'type' => 'integer',
 614                  ),
 615                ),
 616              ),'patch' => array(
 617                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
 618                'httpMethod' => 'PATCH',
 619                'parameters' => array(
 620                  'accountId' => array(
 621                    'location' => 'path',
 622                    'type' => 'string',
 623                    'required' => true,
 624                  ),
 625                  'webPropertyId' => array(
 626                    'location' => 'path',
 627                    'type' => 'string',
 628                    'required' => true,
 629                  ),
 630                  'profileId' => array(
 631                    'location' => 'path',
 632                    'type' => 'string',
 633                    'required' => true,
 634                  ),
 635                  'experimentId' => array(
 636                    'location' => 'path',
 637                    'type' => 'string',
 638                    'required' => true,
 639                  ),
 640                ),
 641              ),'update' => array(
 642                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
 643                'httpMethod' => 'PUT',
 644                'parameters' => array(
 645                  'accountId' => array(
 646                    'location' => 'path',
 647                    'type' => 'string',
 648                    'required' => true,
 649                  ),
 650                  'webPropertyId' => array(
 651                    'location' => 'path',
 652                    'type' => 'string',
 653                    'required' => true,
 654                  ),
 655                  'profileId' => array(
 656                    'location' => 'path',
 657                    'type' => 'string',
 658                    'required' => true,
 659                  ),
 660                  'experimentId' => array(
 661                    'location' => 'path',
 662                    'type' => 'string',
 663                    'required' => true,
 664                  ),
 665                ),
 666              ),
 667            )
 668          )
 669      );
 670      $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource(
 671          $this,
 672          $this->serviceName,
 673          'filters',
 674          array(
 675            'methods' => array(
 676              'delete' => array(
 677                'path' => 'management/accounts/{accountId}/filters/{filterId}',
 678                'httpMethod' => 'DELETE',
 679                'parameters' => array(
 680                  'accountId' => array(
 681                    'location' => 'path',
 682                    'type' => 'string',
 683                    'required' => true,
 684                  ),
 685                  'filterId' => array(
 686                    'location' => 'path',
 687                    'type' => 'string',
 688                    'required' => true,
 689                  ),
 690                ),
 691              ),'get' => array(
 692                'path' => 'management/accounts/{accountId}/filters/{filterId}',
 693                'httpMethod' => 'GET',
 694                'parameters' => array(
 695                  'accountId' => array(
 696                    'location' => 'path',
 697                    'type' => 'string',
 698                    'required' => true,
 699                  ),
 700                  'filterId' => array(
 701                    'location' => 'path',
 702                    'type' => 'string',
 703                    'required' => true,
 704                  ),
 705                ),
 706              ),'insert' => array(
 707                'path' => 'management/accounts/{accountId}/filters',
 708                'httpMethod' => 'POST',
 709                'parameters' => array(
 710                  'accountId' => array(
 711                    'location' => 'path',
 712                    'type' => 'string',
 713                    'required' => true,
 714                  ),
 715                ),
 716              ),'list' => array(
 717                'path' => 'management/accounts/{accountId}/filters',
 718                'httpMethod' => 'GET',
 719                'parameters' => array(
 720                  'accountId' => array(
 721                    'location' => 'path',
 722                    'type' => 'string',
 723                    'required' => true,
 724                  ),
 725                  'max-results' => array(
 726                    'location' => 'query',
 727                    'type' => 'integer',
 728                  ),
 729                  'start-index' => array(
 730                    'location' => 'query',
 731                    'type' => 'integer',
 732                  ),
 733                ),
 734              ),'patch' => array(
 735                'path' => 'management/accounts/{accountId}/filters/{filterId}',
 736                'httpMethod' => 'PATCH',
 737                'parameters' => array(
 738                  'accountId' => array(
 739                    'location' => 'path',
 740                    'type' => 'string',
 741                    'required' => true,
 742                  ),
 743                  'filterId' => array(
 744                    'location' => 'path',
 745                    'type' => 'string',
 746                    'required' => true,
 747                  ),
 748                ),
 749              ),'update' => array(
 750                'path' => 'management/accounts/{accountId}/filters/{filterId}',
 751                'httpMethod' => 'PUT',
 752                'parameters' => array(
 753                  'accountId' => array(
 754                    'location' => 'path',
 755                    'type' => 'string',
 756                    'required' => true,
 757                  ),
 758                  'filterId' => array(
 759                    'location' => 'path',
 760                    'type' => 'string',
 761                    'required' => true,
 762                  ),
 763                ),
 764              ),
 765            )
 766          )
 767      );
 768      $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource(
 769          $this,
 770          $this->serviceName,
 771          'goals',
 772          array(
 773            'methods' => array(
 774              'get' => array(
 775                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
 776                'httpMethod' => 'GET',
 777                'parameters' => array(
 778                  'accountId' => array(
 779                    'location' => 'path',
 780                    'type' => 'string',
 781                    'required' => true,
 782                  ),
 783                  'webPropertyId' => array(
 784                    'location' => 'path',
 785                    'type' => 'string',
 786                    'required' => true,
 787                  ),
 788                  'profileId' => array(
 789                    'location' => 'path',
 790                    'type' => 'string',
 791                    'required' => true,
 792                  ),
 793                  'goalId' => array(
 794                    'location' => 'path',
 795                    'type' => 'string',
 796                    'required' => true,
 797                  ),
 798                ),
 799              ),'insert' => array(
 800                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
 801                'httpMethod' => 'POST',
 802                'parameters' => array(
 803                  'accountId' => array(
 804                    'location' => 'path',
 805                    'type' => 'string',
 806                    'required' => true,
 807                  ),
 808                  'webPropertyId' => array(
 809                    'location' => 'path',
 810                    'type' => 'string',
 811                    'required' => true,
 812                  ),
 813                  'profileId' => array(
 814                    'location' => 'path',
 815                    'type' => 'string',
 816                    'required' => true,
 817                  ),
 818                ),
 819              ),'list' => array(
 820                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
 821                'httpMethod' => 'GET',
 822                'parameters' => array(
 823                  'accountId' => array(
 824                    'location' => 'path',
 825                    'type' => 'string',
 826                    'required' => true,
 827                  ),
 828                  'webPropertyId' => array(
 829                    'location' => 'path',
 830                    'type' => 'string',
 831                    'required' => true,
 832                  ),
 833                  'profileId' => array(
 834                    'location' => 'path',
 835                    'type' => 'string',
 836                    'required' => true,
 837                  ),
 838                  'max-results' => array(
 839                    'location' => 'query',
 840                    'type' => 'integer',
 841                  ),
 842                  'start-index' => array(
 843                    'location' => 'query',
 844                    'type' => 'integer',
 845                  ),
 846                ),
 847              ),'patch' => array(
 848                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
 849                'httpMethod' => 'PATCH',
 850                'parameters' => array(
 851                  'accountId' => array(
 852                    'location' => 'path',
 853                    'type' => 'string',
 854                    'required' => true,
 855                  ),
 856                  'webPropertyId' => array(
 857                    'location' => 'path',
 858                    'type' => 'string',
 859                    'required' => true,
 860                  ),
 861                  'profileId' => array(
 862                    'location' => 'path',
 863                    'type' => 'string',
 864                    'required' => true,
 865                  ),
 866                  'goalId' => array(
 867                    'location' => 'path',
 868                    'type' => 'string',
 869                    'required' => true,
 870                  ),
 871                ),
 872              ),'update' => array(
 873                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
 874                'httpMethod' => 'PUT',
 875                'parameters' => array(
 876                  'accountId' => array(
 877                    'location' => 'path',
 878                    'type' => 'string',
 879                    'required' => true,
 880                  ),
 881                  'webPropertyId' => array(
 882                    'location' => 'path',
 883                    'type' => 'string',
 884                    'required' => true,
 885                  ),
 886                  'profileId' => array(
 887                    'location' => 'path',
 888                    'type' => 'string',
 889                    'required' => true,
 890                  ),
 891                  'goalId' => array(
 892                    'location' => 'path',
 893                    'type' => 'string',
 894                    'required' => true,
 895                  ),
 896                ),
 897              ),
 898            )
 899          )
 900      );
 901      $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource(
 902          $this,
 903          $this->serviceName,
 904          'profileFilterLinks',
 905          array(
 906            'methods' => array(
 907              'delete' => array(
 908                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
 909                'httpMethod' => 'DELETE',
 910                'parameters' => array(
 911                  'accountId' => array(
 912                    'location' => 'path',
 913                    'type' => 'string',
 914                    'required' => true,
 915                  ),
 916                  'webPropertyId' => array(
 917                    'location' => 'path',
 918                    'type' => 'string',
 919                    'required' => true,
 920                  ),
 921                  'profileId' => array(
 922                    'location' => 'path',
 923                    'type' => 'string',
 924                    'required' => true,
 925                  ),
 926                  'linkId' => array(
 927                    'location' => 'path',
 928                    'type' => 'string',
 929                    'required' => true,
 930                  ),
 931                ),
 932              ),'get' => array(
 933                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
 934                'httpMethod' => 'GET',
 935                'parameters' => array(
 936                  'accountId' => array(
 937                    'location' => 'path',
 938                    'type' => 'string',
 939                    'required' => true,
 940                  ),
 941                  'webPropertyId' => array(
 942                    'location' => 'path',
 943                    'type' => 'string',
 944                    'required' => true,
 945                  ),
 946                  'profileId' => array(
 947                    'location' => 'path',
 948                    'type' => 'string',
 949                    'required' => true,
 950                  ),
 951                  'linkId' => array(
 952                    'location' => 'path',
 953                    'type' => 'string',
 954                    'required' => true,
 955                  ),
 956                ),
 957              ),'insert' => array(
 958                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
 959                'httpMethod' => 'POST',
 960                'parameters' => array(
 961                  'accountId' => array(
 962                    'location' => 'path',
 963                    'type' => 'string',
 964                    'required' => true,
 965                  ),
 966                  'webPropertyId' => array(
 967                    'location' => 'path',
 968                    'type' => 'string',
 969                    'required' => true,
 970                  ),
 971                  'profileId' => array(
 972                    'location' => 'path',
 973                    'type' => 'string',
 974                    'required' => true,
 975                  ),
 976                ),
 977              ),'list' => array(
 978                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
 979                'httpMethod' => 'GET',
 980                'parameters' => array(
 981                  'accountId' => array(
 982                    'location' => 'path',
 983                    'type' => 'string',
 984                    'required' => true,
 985                  ),
 986                  'webPropertyId' => array(
 987                    'location' => 'path',
 988                    'type' => 'string',
 989                    'required' => true,
 990                  ),
 991                  'profileId' => array(
 992                    'location' => 'path',
 993                    'type' => 'string',
 994                    'required' => true,
 995                  ),
 996                  'max-results' => array(
 997                    'location' => 'query',
 998                    'type' => 'integer',
 999                  ),
1000                  'start-index' => array(
1001                    'location' => 'query',
1002                    'type' => 'integer',
1003                  ),
1004                ),
1005              ),'patch' => array(
1006                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1007                'httpMethod' => 'PATCH',
1008                'parameters' => array(
1009                  'accountId' => array(
1010                    'location' => 'path',
1011                    'type' => 'string',
1012                    'required' => true,
1013                  ),
1014                  'webPropertyId' => array(
1015                    'location' => 'path',
1016                    'type' => 'string',
1017                    'required' => true,
1018                  ),
1019                  'profileId' => array(
1020                    'location' => 'path',
1021                    'type' => 'string',
1022                    'required' => true,
1023                  ),
1024                  'linkId' => array(
1025                    'location' => 'path',
1026                    'type' => 'string',
1027                    'required' => true,
1028                  ),
1029                ),
1030              ),'update' => array(
1031                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1032                'httpMethod' => 'PUT',
1033                'parameters' => array(
1034                  'accountId' => array(
1035                    'location' => 'path',
1036                    'type' => 'string',
1037                    'required' => true,
1038                  ),
1039                  'webPropertyId' => array(
1040                    'location' => 'path',
1041                    'type' => 'string',
1042                    'required' => true,
1043                  ),
1044                  'profileId' => array(
1045                    'location' => 'path',
1046                    'type' => 'string',
1047                    'required' => true,
1048                  ),
1049                  'linkId' => array(
1050                    'location' => 'path',
1051                    'type' => 'string',
1052                    'required' => true,
1053                  ),
1054                ),
1055              ),
1056            )
1057          )
1058      );
1059      $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource(
1060          $this,
1061          $this->serviceName,
1062          'profileUserLinks',
1063          array(
1064            'methods' => array(
1065              'delete' => array(
1066                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
1067                'httpMethod' => 'DELETE',
1068                'parameters' => array(
1069                  'accountId' => array(
1070                    'location' => 'path',
1071                    'type' => 'string',
1072                    'required' => true,
1073                  ),
1074                  'webPropertyId' => array(
1075                    'location' => 'path',
1076                    'type' => 'string',
1077                    'required' => true,
1078                  ),
1079                  'profileId' => array(
1080                    'location' => 'path',
1081                    'type' => 'string',
1082                    'required' => true,
1083                  ),
1084                  'linkId' => array(
1085                    'location' => 'path',
1086                    'type' => 'string',
1087                    'required' => true,
1088                  ),
1089                ),
1090              ),'insert' => array(
1091                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
1092                'httpMethod' => 'POST',
1093                'parameters' => array(
1094                  'accountId' => array(
1095                    'location' => 'path',
1096                    'type' => 'string',
1097                    'required' => true,
1098                  ),
1099                  'webPropertyId' => array(
1100                    'location' => 'path',
1101                    'type' => 'string',
1102                    'required' => true,
1103                  ),
1104                  'profileId' => array(
1105                    'location' => 'path',
1106                    'type' => 'string',
1107                    'required' => true,
1108                  ),
1109                ),
1110              ),'list' => array(
1111                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
1112                'httpMethod' => 'GET',
1113                'parameters' => array(
1114                  'accountId' => array(
1115                    'location' => 'path',
1116                    'type' => 'string',
1117                    'required' => true,
1118                  ),
1119                  'webPropertyId' => array(
1120                    'location' => 'path',
1121                    'type' => 'string',
1122                    'required' => true,
1123                  ),
1124                  'profileId' => array(
1125                    'location' => 'path',
1126                    'type' => 'string',
1127                    'required' => true,
1128                  ),
1129                  'max-results' => array(
1130                    'location' => 'query',
1131                    'type' => 'integer',
1132                  ),
1133                  'start-index' => array(
1134                    'location' => 'query',
1135                    'type' => 'integer',
1136                  ),
1137                ),
1138              ),'update' => array(
1139                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
1140                'httpMethod' => 'PUT',
1141                'parameters' => array(
1142                  'accountId' => array(
1143                    'location' => 'path',
1144                    'type' => 'string',
1145                    'required' => true,
1146                  ),
1147                  'webPropertyId' => array(
1148                    'location' => 'path',
1149                    'type' => 'string',
1150                    'required' => true,
1151                  ),
1152                  'profileId' => array(
1153                    'location' => 'path',
1154                    'type' => 'string',
1155                    'required' => true,
1156                  ),
1157                  'linkId' => array(
1158                    'location' => 'path',
1159                    'type' => 'string',
1160                    'required' => true,
1161                  ),
1162                ),
1163              ),
1164            )
1165          )
1166      );
1167      $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource(
1168          $this,
1169          $this->serviceName,
1170          'profiles',
1171          array(
1172            'methods' => array(
1173              'delete' => array(
1174                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1175                'httpMethod' => 'DELETE',
1176                'parameters' => array(
1177                  'accountId' => array(
1178                    'location' => 'path',
1179                    'type' => 'string',
1180                    'required' => true,
1181                  ),
1182                  'webPropertyId' => array(
1183                    'location' => 'path',
1184                    'type' => 'string',
1185                    'required' => true,
1186                  ),
1187                  'profileId' => array(
1188                    'location' => 'path',
1189                    'type' => 'string',
1190                    'required' => true,
1191                  ),
1192                ),
1193              ),'get' => array(
1194                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1195                'httpMethod' => 'GET',
1196                'parameters' => array(
1197                  'accountId' => array(
1198                    'location' => 'path',
1199                    'type' => 'string',
1200                    'required' => true,
1201                  ),
1202                  'webPropertyId' => array(
1203                    'location' => 'path',
1204                    'type' => 'string',
1205                    'required' => true,
1206                  ),
1207                  'profileId' => array(
1208                    'location' => 'path',
1209                    'type' => 'string',
1210                    'required' => true,
1211                  ),
1212                ),
1213              ),'insert' => array(
1214                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
1215                'httpMethod' => 'POST',
1216                'parameters' => array(
1217                  'accountId' => array(
1218                    'location' => 'path',
1219                    'type' => 'string',
1220                    'required' => true,
1221                  ),
1222                  'webPropertyId' => array(
1223                    'location' => 'path',
1224                    'type' => 'string',
1225                    'required' => true,
1226                  ),
1227                ),
1228              ),'list' => array(
1229                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
1230                'httpMethod' => 'GET',
1231                'parameters' => array(
1232                  'accountId' => array(
1233                    'location' => 'path',
1234                    'type' => 'string',
1235                    'required' => true,
1236                  ),
1237                  'webPropertyId' => array(
1238                    'location' => 'path',
1239                    'type' => 'string',
1240                    'required' => true,
1241                  ),
1242                  'max-results' => array(
1243                    'location' => 'query',
1244                    'type' => 'integer',
1245                  ),
1246                  'start-index' => array(
1247                    'location' => 'query',
1248                    'type' => 'integer',
1249                  ),
1250                ),
1251              ),'patch' => array(
1252                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1253                'httpMethod' => 'PATCH',
1254                'parameters' => array(
1255                  'accountId' => array(
1256                    'location' => 'path',
1257                    'type' => 'string',
1258                    'required' => true,
1259                  ),
1260                  'webPropertyId' => array(
1261                    'location' => 'path',
1262                    'type' => 'string',
1263                    'required' => true,
1264                  ),
1265                  'profileId' => array(
1266                    'location' => 'path',
1267                    'type' => 'string',
1268                    'required' => true,
1269                  ),
1270                ),
1271              ),'update' => array(
1272                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1273                'httpMethod' => 'PUT',
1274                'parameters' => array(
1275                  'accountId' => array(
1276                    'location' => 'path',
1277                    'type' => 'string',
1278                    'required' => true,
1279                  ),
1280                  'webPropertyId' => array(
1281                    'location' => 'path',
1282                    'type' => 'string',
1283                    'required' => true,
1284                  ),
1285                  'profileId' => array(
1286                    'location' => 'path',
1287                    'type' => 'string',
1288                    'required' => true,
1289                  ),
1290                ),
1291              ),
1292            )
1293          )
1294      );
1295      $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource(
1296          $this,
1297          $this->serviceName,
1298          'segments',
1299          array(
1300            'methods' => array(
1301              'list' => array(
1302                'path' => 'management/segments',
1303                'httpMethod' => 'GET',
1304                'parameters' => array(
1305                  'max-results' => array(
1306                    'location' => 'query',
1307                    'type' => 'integer',
1308                  ),
1309                  'start-index' => array(
1310                    'location' => 'query',
1311                    'type' => 'integer',
1312                  ),
1313                ),
1314              ),
1315            )
1316          )
1317      );
1318      $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource(
1319          $this,
1320          $this->serviceName,
1321          'unsampledReports',
1322          array(
1323            'methods' => array(
1324              'get' => array(
1325                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
1326                'httpMethod' => 'GET',
1327                'parameters' => array(
1328                  'accountId' => array(
1329                    'location' => 'path',
1330                    'type' => 'string',
1331                    'required' => true,
1332                  ),
1333                  'webPropertyId' => array(
1334                    'location' => 'path',
1335                    'type' => 'string',
1336                    'required' => true,
1337                  ),
1338                  'profileId' => array(
1339                    'location' => 'path',
1340                    'type' => 'string',
1341                    'required' => true,
1342                  ),
1343                  'unsampledReportId' => array(
1344                    'location' => 'path',
1345                    'type' => 'string',
1346                    'required' => true,
1347                  ),
1348                ),
1349              ),'insert' => array(
1350                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1351                'httpMethod' => 'POST',
1352                'parameters' => array(
1353                  'accountId' => array(
1354                    'location' => 'path',
1355                    'type' => 'string',
1356                    'required' => true,
1357                  ),
1358                  'webPropertyId' => array(
1359                    'location' => 'path',
1360                    'type' => 'string',
1361                    'required' => true,
1362                  ),
1363                  'profileId' => array(
1364                    'location' => 'path',
1365                    'type' => 'string',
1366                    'required' => true,
1367                  ),
1368                ),
1369              ),'list' => array(
1370                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1371                'httpMethod' => 'GET',
1372                'parameters' => array(
1373                  'accountId' => array(
1374                    'location' => 'path',
1375                    'type' => 'string',
1376                    'required' => true,
1377                  ),
1378                  'webPropertyId' => array(
1379                    'location' => 'path',
1380                    'type' => 'string',
1381                    'required' => true,
1382                  ),
1383                  'profileId' => array(
1384                    'location' => 'path',
1385                    'type' => 'string',
1386                    'required' => true,
1387                  ),
1388                  'max-results' => array(
1389                    'location' => 'query',
1390                    'type' => 'integer',
1391                  ),
1392                  'start-index' => array(
1393                    'location' => 'query',
1394                    'type' => 'integer',
1395                  ),
1396                ),
1397              ),
1398            )
1399          )
1400      );
1401      $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource(
1402          $this,
1403          $this->serviceName,
1404          'uploads',
1405          array(
1406            'methods' => array(
1407              'deleteUploadData' => array(
1408                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
1409                'httpMethod' => 'POST',
1410                'parameters' => array(
1411                  'accountId' => array(
1412                    'location' => 'path',
1413                    'type' => 'string',
1414                    'required' => true,
1415                  ),
1416                  'webPropertyId' => array(
1417                    'location' => 'path',
1418                    'type' => 'string',
1419                    'required' => true,
1420                  ),
1421                  'customDataSourceId' => array(
1422                    'location' => 'path',
1423                    'type' => 'string',
1424                    'required' => true,
1425                  ),
1426                ),
1427              ),'get' => array(
1428                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
1429                'httpMethod' => 'GET',
1430                'parameters' => array(
1431                  'accountId' => array(
1432                    'location' => 'path',
1433                    'type' => 'string',
1434                    'required' => true,
1435                  ),
1436                  'webPropertyId' => array(
1437                    'location' => 'path',
1438                    'type' => 'string',
1439                    'required' => true,
1440                  ),
1441                  'customDataSourceId' => array(
1442                    'location' => 'path',
1443                    'type' => 'string',
1444                    'required' => true,
1445                  ),
1446                  'uploadId' => array(
1447                    'location' => 'path',
1448                    'type' => 'string',
1449                    'required' => true,
1450                  ),
1451                ),
1452              ),'list' => array(
1453                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1454                'httpMethod' => 'GET',
1455                'parameters' => array(
1456                  'accountId' => array(
1457                    'location' => 'path',
1458                    'type' => 'string',
1459                    'required' => true,
1460                  ),
1461                  'webPropertyId' => array(
1462                    'location' => 'path',
1463                    'type' => 'string',
1464                    'required' => true,
1465                  ),
1466                  'customDataSourceId' => array(
1467                    'location' => 'path',
1468                    'type' => 'string',
1469                    'required' => true,
1470                  ),
1471                  'max-results' => array(
1472                    'location' => 'query',
1473                    'type' => 'integer',
1474                  ),
1475                  'start-index' => array(
1476                    'location' => 'query',
1477                    'type' => 'integer',
1478                  ),
1479                ),
1480              ),'migrateDataImport' => array(
1481                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport',
1482                'httpMethod' => 'POST',
1483                'parameters' => array(
1484                  'accountId' => array(
1485                    'location' => 'path',
1486                    'type' => 'string',
1487                    'required' => true,
1488                  ),
1489                  'webPropertyId' => array(
1490                    'location' => 'path',
1491                    'type' => 'string',
1492                    'required' => true,
1493                  ),
1494                  'customDataSourceId' => array(
1495                    'location' => 'path',
1496                    'type' => 'string',
1497                    'required' => true,
1498                  ),
1499                ),
1500              ),'uploadData' => array(
1501                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1502                'httpMethod' => 'POST',
1503                'parameters' => array(
1504                  'accountId' => array(
1505                    'location' => 'path',
1506                    'type' => 'string',
1507                    'required' => true,
1508                  ),
1509                  'webPropertyId' => array(
1510                    'location' => 'path',
1511                    'type' => 'string',
1512                    'required' => true,
1513                  ),
1514                  'customDataSourceId' => array(
1515                    'location' => 'path',
1516                    'type' => 'string',
1517                    'required' => true,
1518                  ),
1519                ),
1520              ),
1521            )
1522          )
1523      );
1524      $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource(
1525          $this,
1526          $this->serviceName,
1527          'webPropertyAdWordsLinks',
1528          array(
1529            'methods' => array(
1530              'delete' => array(
1531                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1532                'httpMethod' => 'DELETE',
1533                'parameters' => array(
1534                  'accountId' => array(
1535                    'location' => 'path',
1536                    'type' => 'string',
1537                    'required' => true,
1538                  ),
1539                  'webPropertyId' => array(
1540                    'location' => 'path',
1541                    'type' => 'string',
1542                    'required' => true,
1543                  ),
1544                  'webPropertyAdWordsLinkId' => array(
1545                    'location' => 'path',
1546                    'type' => 'string',
1547                    'required' => true,
1548                  ),
1549                ),
1550              ),'get' => array(
1551                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1552                'httpMethod' => 'GET',
1553                'parameters' => array(
1554                  'accountId' => array(
1555                    'location' => 'path',
1556                    'type' => 'string',
1557                    'required' => true,
1558                  ),
1559                  'webPropertyId' => array(
1560                    'location' => 'path',
1561                    'type' => 'string',
1562                    'required' => true,
1563                  ),
1564                  'webPropertyAdWordsLinkId' => array(
1565                    'location' => 'path',
1566                    'type' => 'string',
1567                    'required' => true,
1568                  ),
1569                ),
1570              ),'insert' => array(
1571                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1572                'httpMethod' => 'POST',
1573                'parameters' => array(
1574                  'accountId' => array(
1575                    'location' => 'path',
1576                    'type' => 'string',
1577                    'required' => true,
1578                  ),
1579                  'webPropertyId' => array(
1580                    'location' => 'path',
1581                    'type' => 'string',
1582                    'required' => true,
1583                  ),
1584                ),
1585              ),'list' => array(
1586                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1587                'httpMethod' => 'GET',
1588                'parameters' => array(
1589                  'accountId' => array(
1590                    'location' => 'path',
1591                    'type' => 'string',
1592                    'required' => true,
1593                  ),
1594                  'webPropertyId' => array(
1595                    'location' => 'path',
1596                    'type' => 'string',
1597                    'required' => true,
1598                  ),
1599                  'max-results' => array(
1600                    'location' => 'query',
1601                    'type' => 'integer',
1602                  ),
1603                  'start-index' => array(
1604                    'location' => 'query',
1605                    'type' => 'integer',
1606                  ),
1607                ),
1608              ),'patch' => array(
1609                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1610                'httpMethod' => 'PATCH',
1611                'parameters' => array(
1612                  'accountId' => array(
1613                    'location' => 'path',
1614                    'type' => 'string',
1615                    'required' => true,
1616                  ),
1617                  'webPropertyId' => array(
1618                    'location' => 'path',
1619                    'type' => 'string',
1620                    'required' => true,
1621                  ),
1622                  'webPropertyAdWordsLinkId' => array(
1623                    'location' => 'path',
1624                    'type' => 'string',
1625                    'required' => true,
1626                  ),
1627                ),
1628              ),'update' => array(
1629                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1630                'httpMethod' => 'PUT',
1631                'parameters' => array(
1632                  'accountId' => array(
1633                    'location' => 'path',
1634                    'type' => 'string',
1635                    'required' => true,
1636                  ),
1637                  'webPropertyId' => array(
1638                    'location' => 'path',
1639                    'type' => 'string',
1640                    'required' => true,
1641                  ),
1642                  'webPropertyAdWordsLinkId' => array(
1643                    'location' => 'path',
1644                    'type' => 'string',
1645                    'required' => true,
1646                  ),
1647                ),
1648              ),
1649            )
1650          )
1651      );
1652      $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource(
1653          $this,
1654          $this->serviceName,
1655          'webproperties',
1656          array(
1657            'methods' => array(
1658              'get' => array(
1659                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1660                'httpMethod' => 'GET',
1661                'parameters' => array(
1662                  'accountId' => array(
1663                    'location' => 'path',
1664                    'type' => 'string',
1665                    'required' => true,
1666                  ),
1667                  'webPropertyId' => array(
1668                    'location' => 'path',
1669                    'type' => 'string',
1670                    'required' => true,
1671                  ),
1672                ),
1673              ),'insert' => array(
1674                'path' => 'management/accounts/{accountId}/webproperties',
1675                'httpMethod' => 'POST',
1676                'parameters' => array(
1677                  'accountId' => array(
1678                    'location' => 'path',
1679                    'type' => 'string',
1680                    'required' => true,
1681                  ),
1682                ),
1683              ),'list' => array(
1684                'path' => 'management/accounts/{accountId}/webproperties',
1685                'httpMethod' => 'GET',
1686                'parameters' => array(
1687                  'accountId' => array(
1688                    'location' => 'path',
1689                    'type' => 'string',
1690                    'required' => true,
1691                  ),
1692                  'max-results' => array(
1693                    'location' => 'query',
1694                    'type' => 'integer',
1695                  ),
1696                  'start-index' => array(
1697                    'location' => 'query',
1698                    'type' => 'integer',
1699                  ),
1700                ),
1701              ),'patch' => array(
1702                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1703                'httpMethod' => 'PATCH',
1704                'parameters' => array(
1705                  'accountId' => array(
1706                    'location' => 'path',
1707                    'type' => 'string',
1708                    'required' => true,
1709                  ),
1710                  'webPropertyId' => array(
1711                    'location' => 'path',
1712                    'type' => 'string',
1713                    'required' => true,
1714                  ),
1715                ),
1716              ),'update' => array(
1717                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1718                'httpMethod' => 'PUT',
1719                'parameters' => array(
1720                  'accountId' => array(
1721                    'location' => 'path',
1722                    'type' => 'string',
1723                    'required' => true,
1724                  ),
1725                  'webPropertyId' => array(
1726                    'location' => 'path',
1727                    'type' => 'string',
1728                    'required' => true,
1729                  ),
1730                ),
1731              ),
1732            )
1733          )
1734      );
1735      $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
1736          $this,
1737          $this->serviceName,
1738          'webpropertyUserLinks',
1739          array(
1740            'methods' => array(
1741              'delete' => array(
1742                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
1743                'httpMethod' => 'DELETE',
1744                'parameters' => array(
1745                  'accountId' => array(
1746                    'location' => 'path',
1747                    'type' => 'string',
1748                    'required' => true,
1749                  ),
1750                  'webPropertyId' => array(
1751                    'location' => 'path',
1752                    'type' => 'string',
1753                    'required' => true,
1754                  ),
1755                  'linkId' => array(
1756                    'location' => 'path',
1757                    'type' => 'string',
1758                    'required' => true,
1759                  ),
1760                ),
1761              ),'insert' => array(
1762                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
1763                'httpMethod' => 'POST',
1764                'parameters' => array(
1765                  'accountId' => array(
1766                    'location' => 'path',
1767                    'type' => 'string',
1768                    'required' => true,
1769                  ),
1770                  'webPropertyId' => array(
1771                    'location' => 'path',
1772                    'type' => 'string',
1773                    'required' => true,
1774                  ),
1775                ),
1776              ),'list' => array(
1777                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
1778                'httpMethod' => 'GET',
1779                'parameters' => array(
1780                  'accountId' => array(
1781                    'location' => 'path',
1782                    'type' => 'string',
1783                    'required' => true,
1784                  ),
1785                  'webPropertyId' => array(
1786                    'location' => 'path',
1787                    'type' => 'string',
1788                    'required' => true,
1789                  ),
1790                  'max-results' => array(
1791                    'location' => 'query',
1792                    'type' => 'integer',
1793                  ),
1794                  'start-index' => array(
1795                    'location' => 'query',
1796                    'type' => 'integer',
1797                  ),
1798                ),
1799              ),'update' => array(
1800                'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
1801                'httpMethod' => 'PUT',
1802                'parameters' => array(
1803                  'accountId' => array(
1804                    'location' => 'path',
1805                    'type' => 'string',
1806                    'required' => true,
1807                  ),
1808                  'webPropertyId' => array(
1809                    'location' => 'path',
1810                    'type' => 'string',
1811                    'required' => true,
1812                  ),
1813                  'linkId' => array(
1814                    'location' => 'path',
1815                    'type' => 'string',
1816                    'required' => true,
1817                  ),
1818                ),
1819              ),
1820            )
1821          )
1822      );
1823      $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource(
1824          $this,
1825          $this->serviceName,
1826          'columns',
1827          array(
1828            'methods' => array(
1829              'list' => array(
1830                'path' => 'metadata/{reportType}/columns',
1831                'httpMethod' => 'GET',
1832                'parameters' => array(
1833                  'reportType' => array(
1834                    'location' => 'path',
1835                    'type' => 'string',
1836                    'required' => true,
1837                  ),
1838                ),
1839              ),
1840            )
1841          )
1842      );
1843      $this->provisioning = new Google_Service_Analytics_Provisioning_Resource(
1844          $this,
1845          $this->serviceName,
1846          'provisioning',
1847          array(
1848            'methods' => array(
1849              'createAccountTicket' => array(
1850                'path' => 'provisioning/createAccountTicket',
1851                'httpMethod' => 'POST',
1852                'parameters' => array(),
1853              ),
1854            )
1855          )
1856      );
1857    }
1858  }
1859  
1860  
1861  /**
1862   * The "data" collection of methods.
1863   * Typical usage is:
1864   *  <code>
1865   *   $analyticsService = new Google_Service_Analytics(...);
1866   *   $data = $analyticsService->data;
1867   *  </code>
1868   */
1869  class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
1870  {
1871  
1872  }
1873  
1874  /**
1875   * The "ga" collection of methods.
1876   * Typical usage is:
1877   *  <code>
1878   *   $analyticsService = new Google_Service_Analytics(...);
1879   *   $ga = $analyticsService->ga;
1880   *  </code>
1881   */
1882  class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
1883  {
1884  
1885    /**
1886     * Returns Analytics data for a view (profile). (ga.get)
1887     *
1888     * @param string $ids
1889     * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
1890      * the Analytics view (profile) ID.
1891     * @param string $startDate
1892     * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
1893      * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1894     * @param string $endDate
1895     * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
1896      * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
1897      * yesterday.
1898     * @param string $metrics
1899     * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
1900      * metric must be specified.
1901     * @param array $optParams Optional parameters.
1902     *
1903     * @opt_param int max-results
1904     * The maximum number of entries to include in this feed.
1905     * @opt_param string sort
1906     * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
1907      * data.
1908     * @opt_param string dimensions
1909     * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
1910     * @opt_param int start-index
1911     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1912      * with the max-results parameter.
1913     * @opt_param string segment
1914     * An Analytics segment to be applied to data.
1915     * @opt_param string samplingLevel
1916     * The desired sampling level.
1917     * @opt_param string filters
1918     * A comma-separated list of dimension or metric filters to be applied to Analytics data.
1919     * @opt_param string output
1920     * The selected format for the response. Default format is JSON.
1921     * @return Google_Service_Analytics_GaData
1922     */
1923    public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
1924    {
1925      $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
1926      $params = array_merge($params, $optParams);
1927      return $this->call('get', array($params), "Google_Service_Analytics_GaData");
1928    }
1929  }
1930  /**
1931   * The "mcf" collection of methods.
1932   * Typical usage is:
1933   *  <code>
1934   *   $analyticsService = new Google_Service_Analytics(...);
1935   *   $mcf = $analyticsService->mcf;
1936   *  </code>
1937   */
1938  class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
1939  {
1940  
1941    /**
1942     * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
1943     *
1944     * @param string $ids
1945     * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
1946      * the Analytics view (profile) ID.
1947     * @param string $startDate
1948     * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
1949      * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1950     * @param string $endDate
1951     * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
1952      * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1953     * @param string $metrics
1954     * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
1955      * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
1956     * @param array $optParams Optional parameters.
1957     *
1958     * @opt_param int max-results
1959     * The maximum number of entries to include in this feed.
1960     * @opt_param string sort
1961     * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
1962      * data.
1963     * @opt_param string dimensions
1964     * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
1965     * @opt_param int start-index
1966     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1967      * with the max-results parameter.
1968     * @opt_param string samplingLevel
1969     * The desired sampling level.
1970     * @opt_param string filters
1971     * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
1972     * @return Google_Service_Analytics_McfData
1973     */
1974    public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
1975    {
1976      $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
1977      $params = array_merge($params, $optParams);
1978      return $this->call('get', array($params), "Google_Service_Analytics_McfData");
1979    }
1980  }
1981  /**
1982   * The "realtime" collection of methods.
1983   * Typical usage is:
1984   *  <code>
1985   *   $analyticsService = new Google_Service_Analytics(...);
1986   *   $realtime = $analyticsService->realtime;
1987   *  </code>
1988   */
1989  class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
1990  {
1991  
1992    /**
1993     * Returns real time data for a view (profile). (realtime.get)
1994     *
1995     * @param string $ids
1996     * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
1997      * the Analytics view (profile) ID.
1998     * @param string $metrics
1999     * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
2000      * specified.
2001     * @param array $optParams Optional parameters.
2002     *
2003     * @opt_param int max-results
2004     * The maximum number of entries to include in this feed.
2005     * @opt_param string sort
2006     * A comma-separated list of dimensions or metrics that determine the sort order for real time
2007      * data.
2008     * @opt_param string dimensions
2009     * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
2010     * @opt_param string filters
2011     * A comma-separated list of dimension or metric filters to be applied to real time data.
2012     * @return Google_Service_Analytics_RealtimeData
2013     */
2014    public function get($ids, $metrics, $optParams = array())
2015    {
2016      $params = array('ids' => $ids, 'metrics' => $metrics);
2017      $params = array_merge($params, $optParams);
2018      return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
2019    }
2020  }
2021  
2022  /**
2023   * The "management" collection of methods.
2024   * Typical usage is:
2025   *  <code>
2026   *   $analyticsService = new Google_Service_Analytics(...);
2027   *   $management = $analyticsService->management;
2028   *  </code>
2029   */
2030  class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
2031  {
2032  
2033  }
2034  
2035  /**
2036   * The "accountSummaries" collection of methods.
2037   * Typical usage is:
2038   *  <code>
2039   *   $analyticsService = new Google_Service_Analytics(...);
2040   *   $accountSummaries = $analyticsService->accountSummaries;
2041   *  </code>
2042   */
2043  class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
2044  {
2045  
2046    /**
2047     * Lists account summaries (lightweight tree comprised of
2048     * accounts/properties/profiles) to which the user has access.
2049     * (accountSummaries.listManagementAccountSummaries)
2050     *
2051     * @param array $optParams Optional parameters.
2052     *
2053     * @opt_param int max-results
2054     * The maximum number of filters to include in this response.
2055     * @opt_param int start-index
2056     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2057      * with the max-results parameter.
2058     * @return Google_Service_Analytics_AccountSummaries
2059     */
2060    public function listManagementAccountSummaries($optParams = array())
2061    {
2062      $params = array();
2063      $params = array_merge($params, $optParams);
2064      return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
2065    }
2066  }
2067  /**
2068   * The "accountUserLinks" collection of methods.
2069   * Typical usage is:
2070   *  <code>
2071   *   $analyticsService = new Google_Service_Analytics(...);
2072   *   $accountUserLinks = $analyticsService->accountUserLinks;
2073   *  </code>
2074   */
2075  class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
2076  {
2077  
2078    /**
2079     * Removes a user from the given account. (accountUserLinks.delete)
2080     *
2081     * @param string $accountId
2082     * Account ID to delete the user link for.
2083     * @param string $linkId
2084     * Link ID to delete the user link for.
2085     * @param array $optParams Optional parameters.
2086     */
2087    public function delete($accountId, $linkId, $optParams = array())
2088    {
2089      $params = array('accountId' => $accountId, 'linkId' => $linkId);
2090      $params = array_merge($params, $optParams);
2091      return $this->call('delete', array($params));
2092    }
2093    /**
2094     * Adds a new user to the given account. (accountUserLinks.insert)
2095     *
2096     * @param string $accountId
2097     * Account ID to create the user link for.
2098     * @param Google_EntityUserLink $postBody
2099     * @param array $optParams Optional parameters.
2100     * @return Google_Service_Analytics_EntityUserLink
2101     */
2102    public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2103    {
2104      $params = array('accountId' => $accountId, 'postBody' => $postBody);
2105      $params = array_merge($params, $optParams);
2106      return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
2107    }
2108    /**
2109     * Lists account-user links for a given account.
2110     * (accountUserLinks.listManagementAccountUserLinks)
2111     *
2112     * @param string $accountId
2113     * Account ID to retrieve the user links for.
2114     * @param array $optParams Optional parameters.
2115     *
2116     * @opt_param int max-results
2117     * The maximum number of account-user links to include in this response.
2118     * @opt_param int start-index
2119     * An index of the first account-user link to retrieve. Use this parameter as a pagination
2120      * mechanism along with the max-results parameter.
2121     * @return Google_Service_Analytics_EntityUserLinks
2122     */
2123    public function listManagementAccountUserLinks($accountId, $optParams = array())
2124    {
2125      $params = array('accountId' => $accountId);
2126      $params = array_merge($params, $optParams);
2127      return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
2128    }
2129    /**
2130     * Updates permissions for an existing user on the given account.
2131     * (accountUserLinks.update)
2132     *
2133     * @param string $accountId
2134     * Account ID to update the account-user link for.
2135     * @param string $linkId
2136     * Link ID to update the account-user link for.
2137     * @param Google_EntityUserLink $postBody
2138     * @param array $optParams Optional parameters.
2139     * @return Google_Service_Analytics_EntityUserLink
2140     */
2141    public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2142    {
2143      $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
2144      $params = array_merge($params, $optParams);
2145      return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
2146    }
2147  }
2148  /**
2149   * The "accounts" collection of methods.
2150   * Typical usage is:
2151   *  <code>
2152   *   $analyticsService = new Google_Service_Analytics(...);
2153   *   $accounts = $analyticsService->accounts;
2154   *  </code>
2155   */
2156  class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
2157  {
2158  
2159    /**
2160     * Lists all accounts to which the user has access.
2161     * (accounts.listManagementAccounts)
2162     *
2163     * @param array $optParams Optional parameters.
2164     *
2165     * @opt_param int max-results
2166     * The maximum number of accounts to include in this response.
2167     * @opt_param int start-index
2168     * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
2169      * with the max-results parameter.
2170     * @return Google_Service_Analytics_Accounts
2171     */
2172    public function listManagementAccounts($optParams = array())
2173    {
2174      $params = array();
2175      $params = array_merge($params, $optParams);
2176      return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
2177    }
2178  }
2179  /**
2180   * The "customDataSources" collection of methods.
2181   * Typical usage is:
2182   *  <code>
2183   *   $analyticsService = new Google_Service_Analytics(...);
2184   *   $customDataSources = $analyticsService->customDataSources;
2185   *  </code>
2186   */
2187  class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
2188  {
2189  
2190    /**
2191     * List custom data sources to which the user has access.
2192     * (customDataSources.listManagementCustomDataSources)
2193     *
2194     * @param string $accountId
2195     * Account Id for the custom data sources to retrieve.
2196     * @param string $webPropertyId
2197     * Web property Id for the custom data sources to retrieve.
2198     * @param array $optParams Optional parameters.
2199     *
2200     * @opt_param int max-results
2201     * The maximum number of custom data sources to include in this response.
2202     * @opt_param int start-index
2203     * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
2204      * mechanism along with the max-results parameter.
2205     * @return Google_Service_Analytics_CustomDataSources
2206     */
2207    public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
2208    {
2209      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2210      $params = array_merge($params, $optParams);
2211      return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
2212    }
2213  }
2214  /**
2215   * The "dailyUploads" collection of methods.
2216   * Typical usage is:
2217   *  <code>
2218   *   $analyticsService = new Google_Service_Analytics(...);
2219   *   $dailyUploads = $analyticsService->dailyUploads;
2220   *  </code>
2221   */
2222  class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
2223  {
2224  
2225    /**
2226     * Delete uploaded data for the given date. (dailyUploads.delete)
2227     *
2228     * @param string $accountId
2229     * Account Id associated with daily upload delete.
2230     * @param string $webPropertyId
2231     * Web property Id associated with daily upload delete.
2232     * @param string $customDataSourceId
2233     * Custom data source Id associated with daily upload delete.
2234     * @param string $date
2235     * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
2236     * @param string $type
2237     * Type of data for this delete.
2238     * @param array $optParams Optional parameters.
2239     */
2240    public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
2241    {
2242      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
2243      $params = array_merge($params, $optParams);
2244      return $this->call('delete', array($params));
2245    }
2246    /**
2247     * List daily uploads to which the user has access.
2248     * (dailyUploads.listManagementDailyUploads)
2249     *
2250     * @param string $accountId
2251     * Account Id for the daily uploads to retrieve.
2252     * @param string $webPropertyId
2253     * Web property Id for the daily uploads to retrieve.
2254     * @param string $customDataSourceId
2255     * Custom data source Id for daily uploads to retrieve.
2256     * @param string $startDate
2257     * Start date of the form YYYY-MM-DD.
2258     * @param string $endDate
2259     * End date of the form YYYY-MM-DD.
2260     * @param array $optParams Optional parameters.
2261     *
2262     * @opt_param int max-results
2263     * The maximum number of custom data sources to include in this response.
2264     * @opt_param int start-index
2265     * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
2266      * mechanism along with the max-results parameter.
2267     * @return Google_Service_Analytics_DailyUploads
2268     */
2269    public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
2270    {
2271      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
2272      $params = array_merge($params, $optParams);
2273      return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
2274    }
2275    /**
2276     * Update/Overwrite data for a custom data source. (dailyUploads.upload)
2277     *
2278     * @param string $accountId
2279     * Account Id associated with daily upload.
2280     * @param string $webPropertyId
2281     * Web property Id associated with daily upload.
2282     * @param string $customDataSourceId
2283     * Custom data source Id to which the data being uploaded belongs.
2284     * @param string $date
2285     * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
2286     * @param int $appendNumber
2287     * Append number for this upload indexed from 1.
2288     * @param string $type
2289     * Type of data for this upload.
2290     * @param array $optParams Optional parameters.
2291     *
2292     * @opt_param bool reset
2293     * Reset/Overwrite all previous appends for this date and start over with this file as the first
2294      * upload.
2295     * @return Google_Service_Analytics_DailyUploadAppend
2296     */
2297    public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
2298    {
2299      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
2300      $params = array_merge($params, $optParams);
2301      return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
2302    }
2303  }
2304  /**
2305   * The "experiments" collection of methods.
2306   * Typical usage is:
2307   *  <code>
2308   *   $analyticsService = new Google_Service_Analytics(...);
2309   *   $experiments = $analyticsService->experiments;
2310   *  </code>
2311   */
2312  class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
2313  {
2314  
2315    /**
2316     * Delete an experiment. (experiments.delete)
2317     *
2318     * @param string $accountId
2319     * Account ID to which the experiment belongs
2320     * @param string $webPropertyId
2321     * Web property ID to which the experiment belongs
2322     * @param string $profileId
2323     * View (Profile) ID to which the experiment belongs
2324     * @param string $experimentId
2325     * ID of the experiment to delete
2326     * @param array $optParams Optional parameters.
2327     */
2328    public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
2329    {
2330      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
2331      $params = array_merge($params, $optParams);
2332      return $this->call('delete', array($params));
2333    }
2334    /**
2335     * Returns an experiment to which the user has access. (experiments.get)
2336     *
2337     * @param string $accountId
2338     * Account ID to retrieve the experiment for.
2339     * @param string $webPropertyId
2340     * Web property ID to retrieve the experiment for.
2341     * @param string $profileId
2342     * View (Profile) ID to retrieve the experiment for.
2343     * @param string $experimentId
2344     * Experiment ID to retrieve the experiment for.
2345     * @param array $optParams Optional parameters.
2346     * @return Google_Service_Analytics_Experiment
2347     */
2348    public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
2349    {
2350      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
2351      $params = array_merge($params, $optParams);
2352      return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
2353    }
2354    /**
2355     * Create a new experiment. (experiments.insert)
2356     *
2357     * @param string $accountId
2358     * Account ID to create the experiment for.
2359     * @param string $webPropertyId
2360     * Web property ID to create the experiment for.
2361     * @param string $profileId
2362     * View (Profile) ID to create the experiment for.
2363     * @param Google_Experiment $postBody
2364     * @param array $optParams Optional parameters.
2365     * @return Google_Service_Analytics_Experiment
2366     */
2367    public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
2368    {
2369      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2370      $params = array_merge($params, $optParams);
2371      return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
2372    }
2373    /**
2374     * Lists experiments to which the user has access.
2375     * (experiments.listManagementExperiments)
2376     *
2377     * @param string $accountId
2378     * Account ID to retrieve experiments for.
2379     * @param string $webPropertyId
2380     * Web property ID to retrieve experiments for.
2381     * @param string $profileId
2382     * View (Profile) ID to retrieve experiments for.
2383     * @param array $optParams Optional parameters.
2384     *
2385     * @opt_param int max-results
2386     * The maximum number of experiments to include in this response.
2387     * @opt_param int start-index
2388     * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
2389      * with the max-results parameter.
2390     * @return Google_Service_Analytics_Experiments
2391     */
2392    public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
2393    {
2394      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2395      $params = array_merge($params, $optParams);
2396      return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
2397    }
2398    /**
2399     * Update an existing experiment. This method supports patch semantics.
2400     * (experiments.patch)
2401     *
2402     * @param string $accountId
2403     * Account ID of the experiment to update.
2404     * @param string $webPropertyId
2405     * Web property ID of the experiment to update.
2406     * @param string $profileId
2407     * View (Profile) ID of the experiment to update.
2408     * @param string $experimentId
2409     * Experiment ID of the experiment to update.
2410     * @param Google_Experiment $postBody
2411     * @param array $optParams Optional parameters.
2412     * @return Google_Service_Analytics_Experiment
2413     */
2414    public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
2415    {
2416      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
2417      $params = array_merge($params, $optParams);
2418      return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
2419    }
2420    /**
2421     * Update an existing experiment. (experiments.update)
2422     *
2423     * @param string $accountId
2424     * Account ID of the experiment to update.
2425     * @param string $webPropertyId
2426     * Web property ID of the experiment to update.
2427     * @param string $profileId
2428     * View (Profile) ID of the experiment to update.
2429     * @param string $experimentId
2430     * Experiment ID of the experiment to update.
2431     * @param Google_Experiment $postBody
2432     * @param array $optParams Optional parameters.
2433     * @return Google_Service_Analytics_Experiment
2434     */
2435    public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
2436    {
2437      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
2438      $params = array_merge($params, $optParams);
2439      return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
2440    }
2441  }
2442  /**
2443   * The "filters" collection of methods.
2444   * Typical usage is:
2445   *  <code>
2446   *   $analyticsService = new Google_Service_Analytics(...);
2447   *   $filters = $analyticsService->filters;
2448   *  </code>
2449   */
2450  class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource
2451  {
2452  
2453    /**
2454     * Delete a filter. (filters.delete)
2455     *
2456     * @param string $accountId
2457     * Account ID to delete the filter for.
2458     * @param string $filterId
2459     * ID of the filter to be deleted.
2460     * @param array $optParams Optional parameters.
2461     * @return Google_Service_Analytics_Filter
2462     */
2463    public function delete($accountId, $filterId, $optParams = array())
2464    {
2465      $params = array('accountId' => $accountId, 'filterId' => $filterId);
2466      $params = array_merge($params, $optParams);
2467      return $this->call('delete', array($params), "Google_Service_Analytics_Filter");
2468    }
2469    /**
2470     * Returns a filters to which the user has access. (filters.get)
2471     *
2472     * @param string $accountId
2473     * Account ID to retrieve filters for.
2474     * @param string $filterId
2475     * Filter ID to retrieve filters for.
2476     * @param array $optParams Optional parameters.
2477     * @return Google_Service_Analytics_Filter
2478     */
2479    public function get($accountId, $filterId, $optParams = array())
2480    {
2481      $params = array('accountId' => $accountId, 'filterId' => $filterId);
2482      $params = array_merge($params, $optParams);
2483      return $this->call('get', array($params), "Google_Service_Analytics_Filter");
2484    }
2485    /**
2486     * Create a new filter. (filters.insert)
2487     *
2488     * @param string $accountId
2489     * Account ID to create filter for.
2490     * @param Google_Filter $postBody
2491     * @param array $optParams Optional parameters.
2492     * @return Google_Service_Analytics_Filter
2493     */
2494    public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
2495    {
2496      $params = array('accountId' => $accountId, 'postBody' => $postBody);
2497      $params = array_merge($params, $optParams);
2498      return $this->call('insert', array($params), "Google_Service_Analytics_Filter");
2499    }
2500    /**
2501     * Lists all filters for an account (filters.listManagementFilters)
2502     *
2503     * @param string $accountId
2504     * Account ID to retrieve filters for.
2505     * @param array $optParams Optional parameters.
2506     *
2507     * @opt_param int max-results
2508     * The maximum number of filters to include in this response.
2509     * @opt_param int start-index
2510     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2511      * with the max-results parameter.
2512     * @return Google_Service_Analytics_Filters
2513     */
2514    public function listManagementFilters($accountId, $optParams = array())
2515    {
2516      $params = array('accountId' => $accountId);
2517      $params = array_merge($params, $optParams);
2518      return $this->call('list', array($params), "Google_Service_Analytics_Filters");
2519    }
2520    /**
2521     * Updates an existing filter. This method supports patch semantics.
2522     * (filters.patch)
2523     *
2524     * @param string $accountId
2525     * Account ID to which the filter belongs.
2526     * @param string $filterId
2527     * ID of the filter to be updated.
2528     * @param Google_Filter $postBody
2529     * @param array $optParams Optional parameters.
2530     * @return Google_Service_Analytics_Filter
2531     */
2532    public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
2533    {
2534      $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2535      $params = array_merge($params, $optParams);
2536      return $this->call('patch', array($params), "Google_Service_Analytics_Filter");
2537    }
2538    /**
2539     * Updates an existing filter. (filters.update)
2540     *
2541     * @param string $accountId
2542     * Account ID to which the filter belongs.
2543     * @param string $filterId
2544     * ID of the filter to be updated.
2545     * @param Google_Filter $postBody
2546     * @param array $optParams Optional parameters.
2547     * @return Google_Service_Analytics_Filter
2548     */
2549    public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
2550    {
2551      $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2552      $params = array_merge($params, $optParams);
2553      return $this->call('update', array($params), "Google_Service_Analytics_Filter");
2554    }
2555  }
2556  /**
2557   * The "goals" collection of methods.
2558   * Typical usage is:
2559   *  <code>
2560   *   $analyticsService = new Google_Service_Analytics(...);
2561   *   $goals = $analyticsService->goals;
2562   *  </code>
2563   */
2564  class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
2565  {
2566  
2567    /**
2568     * Gets a goal to which the user has access. (goals.get)
2569     *
2570     * @param string $accountId
2571     * Account ID to retrieve the goal for.
2572     * @param string $webPropertyId
2573     * Web property ID to retrieve the goal for.
2574     * @param string $profileId
2575     * View (Profile) ID to retrieve the goal for.
2576     * @param string $goalId
2577     * Goal ID to retrieve the goal for.
2578     * @param array $optParams Optional parameters.
2579     * @return Google_Service_Analytics_Goal
2580     */
2581    public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
2582    {
2583      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
2584      $params = array_merge($params, $optParams);
2585      return $this->call('get', array($params), "Google_Service_Analytics_Goal");
2586    }
2587    /**
2588     * Create a new goal. (goals.insert)
2589     *
2590     * @param string $accountId
2591     * Account ID to create the goal for.
2592     * @param string $webPropertyId
2593     * Web property ID to create the goal for.
2594     * @param string $profileId
2595     * View (Profile) ID to create the goal for.
2596     * @param Google_Goal $postBody
2597     * @param array $optParams Optional parameters.
2598     * @return Google_Service_Analytics_Goal
2599     */
2600    public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2601    {
2602      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2603      $params = array_merge($params, $optParams);
2604      return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
2605    }
2606    /**
2607     * Lists goals to which the user has access. (goals.listManagementGoals)
2608     *
2609     * @param string $accountId
2610     * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
2611      * all the accounts that user has access to.
2612     * @param string $webPropertyId
2613     * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
2614      * refers to all the web properties that user has access to.
2615     * @param string $profileId
2616     * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
2617      * which refers to all the views (profiles) that user has access to.
2618     * @param array $optParams Optional parameters.
2619     *
2620     * @opt_param int max-results
2621     * The maximum number of goals to include in this response.
2622     * @opt_param int start-index
2623     * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
2624      * the max-results parameter.
2625     * @return Google_Service_Analytics_Goals
2626     */
2627    public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
2628    {
2629      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2630      $params = array_merge($params, $optParams);
2631      return $this->call('list', array($params), "Google_Service_Analytics_Goals");
2632    }
2633    /**
2634     * Updates an existing view (profile). This method supports patch semantics.
2635     * (goals.patch)
2636     *
2637     * @param string $accountId
2638     * Account ID to update the goal.
2639     * @param string $webPropertyId
2640     * Web property ID to update the goal.
2641     * @param string $profileId
2642     * View (Profile) ID to update the goal.
2643     * @param string $goalId
2644     * Index of the goal to be updated.
2645     * @param Google_Goal $postBody
2646     * @param array $optParams Optional parameters.
2647     * @return Google_Service_Analytics_Goal
2648     */
2649    public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2650    {
2651      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2652      $params = array_merge($params, $optParams);
2653      return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
2654    }
2655    /**
2656     * Updates an existing view (profile). (goals.update)
2657     *
2658     * @param string $accountId
2659     * Account ID to update the goal.
2660     * @param string $webPropertyId
2661     * Web property ID to update the goal.
2662     * @param string $profileId
2663     * View (Profile) ID to update the goal.
2664     * @param string $goalId
2665     * Index of the goal to be updated.
2666     * @param Google_Goal $postBody
2667     * @param array $optParams Optional parameters.
2668     * @return Google_Service_Analytics_Goal
2669     */
2670    public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2671    {
2672      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2673      $params = array_merge($params, $optParams);
2674      return $this->call('update', array($params), "Google_Service_Analytics_Goal");
2675    }
2676  }
2677  /**
2678   * The "profileFilterLinks" collection of methods.
2679   * Typical usage is:
2680   *  <code>
2681   *   $analyticsService = new Google_Service_Analytics(...);
2682   *   $profileFilterLinks = $analyticsService->profileFilterLinks;
2683   *  </code>
2684   */
2685  class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource
2686  {
2687  
2688    /**
2689     * Delete a profile filter link. (profileFilterLinks.delete)
2690     *
2691     * @param string $accountId
2692     * Account ID to which the profile filter link belongs.
2693     * @param string $webPropertyId
2694     * Web property Id to which the profile filter link belongs.
2695     * @param string $profileId
2696     * Profile ID to which the filter link belongs.
2697     * @param string $linkId
2698     * ID of the profile filter link to delete.
2699     * @param array $optParams Optional parameters.
2700     */
2701    public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2702    {
2703      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2704      $params = array_merge($params, $optParams);
2705      return $this->call('delete', array($params));
2706    }
2707    /**
2708     * Returns a single profile filter link. (profileFilterLinks.get)
2709     *
2710     * @param string $accountId
2711     * Account ID to retrieve profile filter link for.
2712     * @param string $webPropertyId
2713     * Web property Id to retrieve profile filter link for.
2714     * @param string $profileId
2715     * Profile ID to retrieve filter link for.
2716     * @param string $linkId
2717     * ID of the profile filter link.
2718     * @param array $optParams Optional parameters.
2719     * @return Google_Service_Analytics_ProfileFilterLink
2720     */
2721    public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2722    {
2723      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2724      $params = array_merge($params, $optParams);
2725      return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink");
2726    }
2727    /**
2728     * Create a new profile filter link. (profileFilterLinks.insert)
2729     *
2730     * @param string $accountId
2731     * Account ID to create profile filter link for.
2732     * @param string $webPropertyId
2733     * Web property Id to create profile filter link for.
2734     * @param string $profileId
2735     * Profile ID to create filter link for.
2736     * @param Google_ProfileFilterLink $postBody
2737     * @param array $optParams Optional parameters.
2738     * @return Google_Service_Analytics_ProfileFilterLink
2739     */
2740    public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2741    {
2742      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2743      $params = array_merge($params, $optParams);
2744      return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink");
2745    }
2746    /**
2747     * Lists all profile filter links for a profile.
2748     * (profileFilterLinks.listManagementProfileFilterLinks)
2749     *
2750     * @param string $accountId
2751     * Account ID to retrieve profile filter links for.
2752     * @param string $webPropertyId
2753     * Web property Id for profile filter links for. Can either be a specific web property ID or
2754      * '~all', which refers to all the web properties that user has access to.
2755     * @param string $profileId
2756     * Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which
2757      * refers to all the profiles that user has access to.
2758     * @param array $optParams Optional parameters.
2759     *
2760     * @opt_param int max-results
2761     * The maximum number of profile filter links to include in this response.
2762     * @opt_param int start-index
2763     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2764      * with the max-results parameter.
2765     * @return Google_Service_Analytics_ProfileFilterLinks
2766     */
2767    public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2768    {
2769      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2770      $params = array_merge($params, $optParams);
2771      return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks");
2772    }
2773    /**
2774     * Update an existing profile filter link. This method supports patch semantics.
2775     * (profileFilterLinks.patch)
2776     *
2777     * @param string $accountId
2778     * Account ID to which profile filter link belongs.
2779     * @param string $webPropertyId
2780     * Web property Id to which profile filter link belongs
2781     * @param string $profileId
2782     * Profile ID to which filter link belongs
2783     * @param string $linkId
2784     * ID of the profile filter link to be updated.
2785     * @param Google_ProfileFilterLink $postBody
2786     * @param array $optParams Optional parameters.
2787     * @return Google_Service_Analytics_ProfileFilterLink
2788     */
2789    public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2790    {
2791      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2792      $params = array_merge($params, $optParams);
2793      return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink");
2794    }
2795    /**
2796     * Update an existing profile filter link. (profileFilterLinks.update)
2797     *
2798     * @param string $accountId
2799     * Account ID to which profile filter link belongs.
2800     * @param string $webPropertyId
2801     * Web property Id to which profile filter link belongs
2802     * @param string $profileId
2803     * Profile ID to which filter link belongs
2804     * @param string $linkId
2805     * ID of the profile filter link to be updated.
2806     * @param Google_ProfileFilterLink $postBody
2807     * @param array $optParams Optional parameters.
2808     * @return Google_Service_Analytics_ProfileFilterLink
2809     */
2810    public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2811    {
2812      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2813      $params = array_merge($params, $optParams);
2814      return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink");
2815    }
2816  }
2817  /**
2818   * The "profileUserLinks" collection of methods.
2819   * Typical usage is:
2820   *  <code>
2821   *   $analyticsService = new Google_Service_Analytics(...);
2822   *   $profileUserLinks = $analyticsService->profileUserLinks;
2823   *  </code>
2824   */
2825  class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
2826  {
2827  
2828    /**
2829     * Removes a user from the given view (profile). (profileUserLinks.delete)
2830     *
2831     * @param string $accountId
2832     * Account ID to delete the user link for.
2833     * @param string $webPropertyId
2834     * Web Property ID to delete the user link for.
2835     * @param string $profileId
2836     * View (Profile) ID to delete the user link for.
2837     * @param string $linkId
2838     * Link ID to delete the user link for.
2839     * @param array $optParams Optional parameters.
2840     */
2841    public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2842    {
2843      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2844      $params = array_merge($params, $optParams);
2845      return $this->call('delete', array($params));
2846    }
2847    /**
2848     * Adds a new user to the given view (profile). (profileUserLinks.insert)
2849     *
2850     * @param string $accountId
2851     * Account ID to create the user link for.
2852     * @param string $webPropertyId
2853     * Web Property ID to create the user link for.
2854     * @param string $profileId
2855     * View (Profile) ID to create the user link for.
2856     * @param Google_EntityUserLink $postBody
2857     * @param array $optParams Optional parameters.
2858     * @return Google_Service_Analytics_EntityUserLink
2859     */
2860    public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2861    {
2862      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2863      $params = array_merge($params, $optParams);
2864      return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
2865    }
2866    /**
2867     * Lists profile-user links for a given view (profile).
2868     * (profileUserLinks.listManagementProfileUserLinks)
2869     *
2870     * @param string $accountId
2871     * Account ID which the given view (profile) belongs to.
2872     * @param string $webPropertyId
2873     * Web Property ID which the given view (profile) belongs to. Can either be a specific web property
2874      * ID or '~all', which refers to all the web properties that user has access to.
2875     * @param string $profileId
2876     * View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or
2877      * '~all', which refers to all the profiles that user has access to.
2878     * @param array $optParams Optional parameters.
2879     *
2880     * @opt_param int max-results
2881     * The maximum number of profile-user links to include in this response.
2882     * @opt_param int start-index
2883     * An index of the first profile-user link to retrieve. Use this parameter as a pagination
2884      * mechanism along with the max-results parameter.
2885     * @return Google_Service_Analytics_EntityUserLinks
2886     */
2887    public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2888    {
2889      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2890      $params = array_merge($params, $optParams);
2891      return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
2892    }
2893    /**
2894     * Updates permissions for an existing user on the given view (profile).
2895     * (profileUserLinks.update)
2896     *
2897     * @param string $accountId
2898     * Account ID to update the user link for.
2899     * @param string $webPropertyId
2900     * Web Property ID to update the user link for.
2901     * @param string $profileId
2902     * View (Profile ID) to update the user link for.
2903     * @param string $linkId
2904     * Link ID to update the user link for.
2905     * @param Google_EntityUserLink $postBody
2906     * @param array $optParams Optional parameters.
2907     * @return Google_Service_Analytics_EntityUserLink
2908     */
2909    public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2910    {
2911      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2912      $params = array_merge($params, $optParams);
2913      return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
2914    }
2915  }
2916  /**
2917   * The "profiles" collection of methods.
2918   * Typical usage is:
2919   *  <code>
2920   *   $analyticsService = new Google_Service_Analytics(...);
2921   *   $profiles = $analyticsService->profiles;
2922   *  </code>
2923   */
2924  class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
2925  {
2926  
2927    /**
2928     * Deletes a view (profile). (profiles.delete)
2929     *
2930     * @param string $accountId
2931     * Account ID to delete the view (profile) for.
2932     * @param string $webPropertyId
2933     * Web property ID to delete the view (profile) for.
2934     * @param string $profileId
2935     * ID of the view (profile) to be deleted.
2936     * @param array $optParams Optional parameters.
2937     */
2938    public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
2939    {
2940      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2941      $params = array_merge($params, $optParams);
2942      return $this->call('delete', array($params));
2943    }
2944    /**
2945     * Gets a view (profile) to which the user has access. (profiles.get)
2946     *
2947     * @param string $accountId
2948     * Account ID to retrieve the goal for.
2949     * @param string $webPropertyId
2950     * Web property ID to retrieve the goal for.
2951     * @param string $profileId
2952     * View (Profile) ID to retrieve the goal for.
2953     * @param array $optParams Optional parameters.
2954     * @return Google_Service_Analytics_Profile
2955     */
2956    public function get($accountId, $webPropertyId, $profileId, $optParams = array())
2957    {
2958      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2959      $params = array_merge($params, $optParams);
2960      return $this->call('get', array($params), "Google_Service_Analytics_Profile");
2961    }
2962    /**
2963     * Create a new view (profile). (profiles.insert)
2964     *
2965     * @param string $accountId
2966     * Account ID to create the view (profile) for.
2967     * @param string $webPropertyId
2968     * Web property ID to create the view (profile) for.
2969     * @param Google_Profile $postBody
2970     * @param array $optParams Optional parameters.
2971     * @return Google_Service_Analytics_Profile
2972     */
2973    public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
2974    {
2975      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2976      $params = array_merge($params, $optParams);
2977      return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
2978    }
2979    /**
2980     * Lists views (profiles) to which the user has access.
2981     * (profiles.listManagementProfiles)
2982     *
2983     * @param string $accountId
2984     * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
2985      * which refers to all the accounts to which the user has access.
2986     * @param string $webPropertyId
2987     * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
2988      * or '~all', which refers to all the web properties to which the user has access.
2989     * @param array $optParams Optional parameters.
2990     *
2991     * @opt_param int max-results
2992     * The maximum number of views (profiles) to include in this response.
2993     * @opt_param int start-index
2994     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2995      * with the max-results parameter.
2996     * @return Google_Service_Analytics_Profiles
2997     */
2998    public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
2999    {
3000      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3001      $params = array_merge($params, $optParams);
3002      return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
3003    }
3004    /**
3005     * Updates an existing view (profile). This method supports patch semantics.
3006     * (profiles.patch)
3007     *
3008     * @param string $accountId
3009     * Account ID to which the view (profile) belongs
3010     * @param string $webPropertyId
3011     * Web property ID to which the view (profile) belongs
3012     * @param string $profileId
3013     * ID of the view (profile) to be updated.
3014     * @param Google_Profile $postBody
3015     * @param array $optParams Optional parameters.
3016     * @return Google_Service_Analytics_Profile
3017     */
3018    public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
3019    {
3020      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3021      $params = array_merge($params, $optParams);
3022      return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
3023    }
3024    /**
3025     * Updates an existing view (profile). (profiles.update)
3026     *
3027     * @param string $accountId
3028     * Account ID to which the view (profile) belongs
3029     * @param string $webPropertyId
3030     * Web property ID to which the view (profile) belongs
3031     * @param string $profileId
3032     * ID of the view (profile) to be updated.
3033     * @param Google_Profile $postBody
3034     * @param array $optParams Optional parameters.
3035     * @return Google_Service_Analytics_Profile
3036     */
3037    public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
3038    {
3039      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3040      $params = array_merge($params, $optParams);
3041      return $this->call('update', array($params), "Google_Service_Analytics_Profile");
3042    }
3043  }
3044  /**
3045   * The "segments" collection of methods.
3046   * Typical usage is:
3047   *  <code>
3048   *   $analyticsService = new Google_Service_Analytics(...);
3049   *   $segments = $analyticsService->segments;
3050   *  </code>
3051   */
3052  class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
3053  {
3054  
3055    /**
3056     * Lists segments to which the user has access.
3057     * (segments.listManagementSegments)
3058     *
3059     * @param array $optParams Optional parameters.
3060     *
3061     * @opt_param int max-results
3062     * The maximum number of segments to include in this response.
3063     * @opt_param int start-index
3064     * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
3065      * with the max-results parameter.
3066     * @return Google_Service_Analytics_Segments
3067     */
3068    public function listManagementSegments($optParams = array())
3069    {
3070      $params = array();
3071      $params = array_merge($params, $optParams);
3072      return $this->call('list', array($params), "Google_Service_Analytics_Segments");
3073    }
3074  }
3075  /**
3076   * The "unsampledReports" collection of methods.
3077   * Typical usage is:
3078   *  <code>
3079   *   $analyticsService = new Google_Service_Analytics(...);
3080   *   $unsampledReports = $analyticsService->unsampledReports;
3081   *  </code>
3082   */
3083  class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource
3084  {
3085  
3086    /**
3087     * Returns a single unsampled report. (unsampledReports.get)
3088     *
3089     * @param string $accountId
3090     * Account ID to retrieve unsampled report for.
3091     * @param string $webPropertyId
3092     * Web property ID to retrieve unsampled reports for.
3093     * @param string $profileId
3094     * View (Profile) ID to retrieve unsampled report for.
3095     * @param string $unsampledReportId
3096     * ID of the unsampled report to retrieve.
3097     * @param array $optParams Optional parameters.
3098     * @return Google_Service_Analytics_UnsampledReport
3099     */
3100    public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
3101    {
3102      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
3103      $params = array_merge($params, $optParams);
3104      return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport");
3105    }
3106    /**
3107     * Create a new unsampled report. (unsampledReports.insert)
3108     *
3109     * @param string $accountId
3110     * Account ID to create the unsampled report for.
3111     * @param string $webPropertyId
3112     * Web property ID to create the unsampled report for.
3113     * @param string $profileId
3114     * View (Profile) ID to create the unsampled report for.
3115     * @param Google_UnsampledReport $postBody
3116     * @param array $optParams Optional parameters.
3117     * @return Google_Service_Analytics_UnsampledReport
3118     */
3119    public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
3120    {
3121      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3122      $params = array_merge($params, $optParams);
3123      return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport");
3124    }
3125    /**
3126     * Lists unsampled reports to which the user has access.
3127     * (unsampledReports.listManagementUnsampledReports)
3128     *
3129     * @param string $accountId
3130     * Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not
3131      * supported.
3132     * @param string $webPropertyId
3133     * Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is
3134      * not supported.
3135     * @param string $profileId
3136     * View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all
3137      * is not supported.
3138     * @param array $optParams Optional parameters.
3139     *
3140     * @opt_param int max-results
3141     * The maximum number of unsampled reports to include in this response.
3142     * @opt_param int start-index
3143     * An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism
3144      * along with the max-results parameter.
3145     * @return Google_Service_Analytics_UnsampledReports
3146     */
3147    public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
3148    {
3149      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3150      $params = array_merge($params, $optParams);
3151      return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports");
3152    }
3153  }
3154  /**
3155   * The "uploads" collection of methods.
3156   * Typical usage is:
3157   *  <code>
3158   *   $analyticsService = new Google_Service_Analytics(...);
3159   *   $uploads = $analyticsService->uploads;
3160   *  </code>
3161   */
3162  class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
3163  {
3164  
3165    /**
3166     * Delete data associated with a previous upload. (uploads.deleteUploadData)
3167     *
3168     * @param string $accountId
3169     * Account Id for the uploads to be deleted.
3170     * @param string $webPropertyId
3171     * Web property Id for the uploads to be deleted.
3172     * @param string $customDataSourceId
3173     * Custom data source Id for the uploads to be deleted.
3174     * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
3175     * @param array $optParams Optional parameters.
3176     */
3177    public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
3178    {
3179      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
3180      $params = array_merge($params, $optParams);
3181      return $this->call('deleteUploadData', array($params));
3182    }
3183    /**
3184     * List uploads to which the user has access. (uploads.get)
3185     *
3186     * @param string $accountId
3187     * Account Id for the upload to retrieve.
3188     * @param string $webPropertyId
3189     * Web property Id for the upload to retrieve.
3190     * @param string $customDataSourceId
3191     * Custom data source Id for upload to retrieve.
3192     * @param string $uploadId
3193     * Upload Id to retrieve.
3194     * @param array $optParams Optional parameters.
3195     * @return Google_Service_Analytics_Upload
3196     */
3197    public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
3198    {
3199      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
3200      $params = array_merge($params, $optParams);
3201      return $this->call('get', array($params), "Google_Service_Analytics_Upload");
3202    }
3203    /**
3204     * List uploads to which the user has access. (uploads.listManagementUploads)
3205     *
3206     * @param string $accountId
3207     * Account Id for the uploads to retrieve.
3208     * @param string $webPropertyId
3209     * Web property Id for the uploads to retrieve.
3210     * @param string $customDataSourceId
3211     * Custom data source Id for uploads to retrieve.
3212     * @param array $optParams Optional parameters.
3213     *
3214     * @opt_param int max-results
3215     * The maximum number of uploads to include in this response.
3216     * @opt_param int start-index
3217     * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
3218      * along with the max-results parameter.
3219     * @return Google_Service_Analytics_Uploads
3220     */
3221    public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3222    {
3223      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3224      $params = array_merge($params, $optParams);
3225      return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
3226    }
3227    /**
3228     * Migrate custom data source and data imports to latest version.
3229     * (uploads.migrateDataImport)
3230     *
3231     * @param string $accountId
3232     * Account Id for migration.
3233     * @param string $webPropertyId
3234     * Web property Id for migration.
3235     * @param string $customDataSourceId
3236     * Custom data source Id for migration.
3237     * @param array $optParams Optional parameters.
3238     */
3239    public function migrateDataImport($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3240    {
3241      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3242      $params = array_merge($params, $optParams);
3243      return $this->call('migrateDataImport', array($params));
3244    }
3245    /**
3246     * Upload data for a custom data source. (uploads.uploadData)
3247     *
3248     * @param string $accountId
3249     * Account Id associated with the upload.
3250     * @param string $webPropertyId
3251     * Web property UA-string associated with the upload.
3252     * @param string $customDataSourceId
3253     * Custom data source Id to which the data being uploaded belongs.
3254     * @param array $optParams Optional parameters.
3255     * @return Google_Service_Analytics_Upload
3256     */
3257    public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3258    {
3259      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3260      $params = array_merge($params, $optParams);
3261      return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
3262    }
3263  }
3264  /**
3265   * The "webPropertyAdWordsLinks" collection of methods.
3266   * Typical usage is:
3267   *  <code>
3268   *   $analyticsService = new Google_Service_Analytics(...);
3269   *   $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
3270   *  </code>
3271   */
3272  class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource
3273  {
3274  
3275    /**
3276     * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete)
3277     *
3278     * @param string $accountId
3279     * ID of the account which the given web property belongs to.
3280     * @param string $webPropertyId
3281     * Web property ID to delete the AdWords link for.
3282     * @param string $webPropertyAdWordsLinkId
3283     * Web property AdWords link ID.
3284     * @param array $optParams Optional parameters.
3285     */
3286    public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
3287    {
3288      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
3289      $params = array_merge($params, $optParams);
3290      return $this->call('delete', array($params));
3291    }
3292    /**
3293     * Returns a web property-AdWords link to which the user has access.
3294     * (webPropertyAdWordsLinks.get)
3295     *
3296     * @param string $accountId
3297     * ID of the account which the given web property belongs to.
3298     * @param string $webPropertyId
3299     * Web property ID to retrieve the AdWords link for.
3300     * @param string $webPropertyAdWordsLinkId
3301     * Web property-AdWords link ID.
3302     * @param array $optParams Optional parameters.
3303     * @return Google_Service_Analytics_EntityAdWordsLink
3304     */
3305    public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
3306    {
3307      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
3308      $params = array_merge($params, $optParams);
3309      return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3310    }
3311    /**
3312     * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert)
3313     *
3314     * @param string $accountId
3315     * ID of the Google Analytics account to create the link for.
3316     * @param string $webPropertyId
3317     * Web property ID to create the link for.
3318     * @param Google_EntityAdWordsLink $postBody
3319     * @param array $optParams Optional parameters.
3320     * @return Google_Service_Analytics_EntityAdWordsLink
3321     */
3322    public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3323    {
3324      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3325      $params = array_merge($params, $optParams);
3326      return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3327    }
3328    /**
3329     * Lists webProperty-AdWords links for a given web property.
3330     * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
3331     *
3332     * @param string $accountId
3333     * ID of the account which the given web property belongs to.
3334     * @param string $webPropertyId
3335     * Web property ID to retrieve the AdWords links for.
3336     * @param array $optParams Optional parameters.
3337     *
3338     * @opt_param int max-results
3339     * The maximum number of webProperty-AdWords links to include in this response.
3340     * @opt_param int start-index
3341     * An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination
3342      * mechanism along with the max-results parameter.
3343     * @return Google_Service_Analytics_EntityAdWordsLinks
3344     */
3345    public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
3346    {
3347      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3348      $params = array_merge($params, $optParams);
3349      return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks");
3350    }
3351    /**
3352     * Updates an existing webProperty-AdWords link. This method supports patch
3353     * semantics. (webPropertyAdWordsLinks.patch)
3354     *
3355     * @param string $accountId
3356     * ID of the account which the given web property belongs to.
3357     * @param string $webPropertyId
3358     * Web property ID to retrieve the AdWords link for.
3359     * @param string $webPropertyAdWordsLinkId
3360     * Web property-AdWords link ID.
3361     * @param Google_EntityAdWordsLink $postBody
3362     * @param array $optParams Optional parameters.
3363     * @return Google_Service_Analytics_EntityAdWordsLink
3364     */
3365    public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3366    {
3367      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3368      $params = array_merge($params, $optParams);
3369      return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3370    }
3371    /**
3372     * Updates an existing webProperty-AdWords link.
3373     * (webPropertyAdWordsLinks.update)
3374     *
3375     * @param string $accountId
3376     * ID of the account which the given web property belongs to.
3377     * @param string $webPropertyId
3378     * Web property ID to retrieve the AdWords link for.
3379     * @param string $webPropertyAdWordsLinkId
3380     * Web property-AdWords link ID.
3381     * @param Google_EntityAdWordsLink $postBody
3382     * @param array $optParams Optional parameters.
3383     * @return Google_Service_Analytics_EntityAdWordsLink
3384     */
3385    public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3386    {
3387      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3388      $params = array_merge($params, $optParams);
3389      return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink");
3390    }
3391  }
3392  /**
3393   * The "webproperties" collection of methods.
3394   * Typical usage is:
3395   *  <code>
3396   *   $analyticsService = new Google_Service_Analytics(...);
3397   *   $webproperties = $analyticsService->webproperties;
3398   *  </code>
3399   */
3400  class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
3401  {
3402  
3403    /**
3404     * Gets a web property to which the user has access. (webproperties.get)
3405     *
3406     * @param string $accountId
3407     * Account ID to retrieve the web property for.
3408     * @param string $webPropertyId
3409     * ID to retrieve the web property for.
3410     * @param array $optParams Optional parameters.
3411     * @return Google_Service_Analytics_Webproperty
3412     */
3413    public function get($accountId, $webPropertyId, $optParams = array())
3414    {
3415      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3416      $params = array_merge($params, $optParams);
3417      return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
3418    }
3419    /**
3420     * Create a new property if the account has fewer than 20 properties. Web
3421     * properties are visible in the Google Analytics interface only if they have at
3422     * least one profile. (webproperties.insert)
3423     *
3424     * @param string $accountId
3425     * Account ID to create the web property for.
3426     * @param Google_Webproperty $postBody
3427     * @param array $optParams Optional parameters.
3428     * @return Google_Service_Analytics_Webproperty
3429     */
3430    public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3431    {
3432      $params = array('accountId' => $accountId, 'postBody' => $postBody);
3433      $params = array_merge($params, $optParams);
3434      return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
3435    }
3436    /**
3437     * Lists web properties to which the user has access.
3438     * (webproperties.listManagementWebproperties)
3439     *
3440     * @param string $accountId
3441     * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
3442      * refers to all the accounts that user has access to.
3443     * @param array $optParams Optional parameters.
3444     *
3445     * @opt_param int max-results
3446     * The maximum number of web properties to include in this response.
3447     * @opt_param int start-index
3448     * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
3449      * with the max-results parameter.
3450     * @return Google_Service_Analytics_Webproperties
3451     */
3452    public function listManagementWebproperties($accountId, $optParams = array())
3453    {
3454      $params = array('accountId' => $accountId);
3455      $params = array_merge($params, $optParams);
3456      return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
3457    }
3458    /**
3459     * Updates an existing web property. This method supports patch semantics.
3460     * (webproperties.patch)
3461     *
3462     * @param string $accountId
3463     * Account ID to which the web property belongs
3464     * @param string $webPropertyId
3465     * Web property ID
3466     * @param Google_Webproperty $postBody
3467     * @param array $optParams Optional parameters.
3468     * @return Google_Service_Analytics_Webproperty
3469     */
3470    public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3471    {
3472      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3473      $params = array_merge($params, $optParams);
3474      return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
3475    }
3476    /**
3477     * Updates an existing web property. (webproperties.update)
3478     *
3479     * @param string $accountId
3480     * Account ID to which the web property belongs
3481     * @param string $webPropertyId
3482     * Web property ID
3483     * @param Google_Webproperty $postBody
3484     * @param array $optParams Optional parameters.
3485     * @return Google_Service_Analytics_Webproperty
3486     */
3487    public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
3488    {
3489      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3490      $params = array_merge($params, $optParams);
3491      return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
3492    }
3493  }
3494  /**
3495   * The "webpropertyUserLinks" collection of methods.
3496   * Typical usage is:
3497   *  <code>
3498   *   $analyticsService = new Google_Service_Analytics(...);
3499   *   $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
3500   *  </code>
3501   */
3502  class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
3503  {
3504  
3505    /**
3506     * Removes a user from the given web property. (webpropertyUserLinks.delete)
3507     *
3508     * @param string $accountId
3509     * Account ID to delete the user link for.
3510     * @param string $webPropertyId
3511     * Web Property ID to delete the user link for.
3512     * @param string $linkId
3513     * Link ID to delete the user link for.
3514     * @param array $optParams Optional parameters.
3515     */
3516    public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
3517    {
3518      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
3519      $params = array_merge($params, $optParams);
3520      return $this->call('delete', array($params));
3521    }
3522    /**
3523     * Adds a new user to the given web property. (webpropertyUserLinks.insert)
3524     *
3525     * @param string $accountId
3526     * Account ID to create the user link for.
3527     * @param string $webPropertyId
3528     * Web Property ID to create the user link for.
3529     * @param Google_EntityUserLink $postBody
3530     * @param array $optParams Optional parameters.
3531     * @return Google_Service_Analytics_EntityUserLink
3532     */
3533    public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3534    {
3535      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3536      $params = array_merge($params, $optParams);
3537      return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
3538    }
3539    /**
3540     * Lists webProperty-user links for a given web property.
3541     * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
3542     *
3543     * @param string $accountId
3544     * Account ID which the given web property belongs to.
3545     * @param string $webPropertyId
3546     * Web Property ID for the webProperty-user links to retrieve. Can either be a specific web
3547      * property ID or '~all', which refers to all the web properties that user has access to.
3548     * @param array $optParams Optional parameters.
3549     *
3550     * @opt_param int max-results
3551     * The maximum number of webProperty-user Links to include in this response.
3552     * @opt_param int start-index
3553     * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
3554      * mechanism along with the max-results parameter.
3555     * @return Google_Service_Analytics_EntityUserLinks
3556     */
3557    public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
3558    {
3559      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3560      $params = array_merge($params, $optParams);
3561      return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
3562    }
3563    /**
3564     * Updates permissions for an existing user on the given web property.
3565     * (webpropertyUserLinks.update)
3566     *
3567     * @param string $accountId
3568     * Account ID to update the account-user link for.
3569     * @param string $webPropertyId
3570     * Web property ID to update the account-user link for.
3571     * @param string $linkId
3572     * Link ID to update the account-user link for.
3573     * @param Google_EntityUserLink $postBody
3574     * @param array $optParams Optional parameters.
3575     * @return Google_Service_Analytics_EntityUserLink
3576     */
3577    public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
3578    {
3579      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
3580      $params = array_merge($params, $optParams);
3581      return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
3582    }
3583  }
3584  
3585  /**
3586   * The "metadata" collection of methods.
3587   * Typical usage is:
3588   *  <code>
3589   *   $analyticsService = new Google_Service_Analytics(...);
3590   *   $metadata = $analyticsService->metadata;
3591   *  </code>
3592   */
3593  class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
3594  {
3595  
3596  }
3597  
3598  /**
3599   * The "columns" collection of methods.
3600   * Typical usage is:
3601   *  <code>
3602   *   $analyticsService = new Google_Service_Analytics(...);
3603   *   $columns = $analyticsService->columns;
3604   *  </code>
3605   */
3606  class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
3607  {
3608  
3609    /**
3610     * Lists all columns for a report type (columns.listMetadataColumns)
3611     *
3612     * @param string $reportType
3613     * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
3614     * @param array $optParams Optional parameters.
3615     * @return Google_Service_Analytics_Columns
3616     */
3617    public function listMetadataColumns($reportType, $optParams = array())
3618    {
3619      $params = array('reportType' => $reportType);
3620      $params = array_merge($params, $optParams);
3621      return $this->call('list', array($params), "Google_Service_Analytics_Columns");
3622    }
3623  }
3624  
3625  /**
3626   * The "provisioning" collection of methods.
3627   * Typical usage is:
3628   *  <code>
3629   *   $analyticsService = new Google_Service_Analytics(...);
3630   *   $provisioning = $analyticsService->provisioning;
3631   *  </code>
3632   */
3633  class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource
3634  {
3635  
3636    /**
3637     * Creates an account ticket. (provisioning.createAccountTicket)
3638     *
3639     * @param Google_AccountTicket $postBody
3640     * @param array $optParams Optional parameters.
3641     * @return Google_Service_Analytics_AccountTicket
3642     */
3643    public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
3644    {
3645      $params = array('postBody' => $postBody);
3646      $params = array_merge($params, $optParams);
3647      return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket");
3648    }
3649  }
3650  
3651  
3652  
3653  
3654  class Google_Service_Analytics_Account extends Google_Model
3655  {
3656    protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
3657    protected $childLinkDataType = '';
3658    public $created;
3659    public $id;
3660    public $kind;
3661    public $name;
3662    protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
3663    protected $permissionsDataType = '';
3664    public $selfLink;
3665    public $updated;
3666  
3667    public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
3668    {
3669      $this->childLink = $childLink;
3670    }
3671  
3672    public function getChildLink()
3673    {
3674      return $this->childLink;
3675    }
3676  
3677    public function setCreated($created)
3678    {
3679      $this->created = $created;
3680    }
3681  
3682    public function getCreated()
3683    {
3684      return $this->created;
3685    }
3686  
3687    public function setId($id)
3688    {
3689      $this->id = $id;
3690    }
3691  
3692    public function getId()
3693    {
3694      return $this->id;
3695    }
3696  
3697    public function setKind($kind)
3698    {
3699      $this->kind = $kind;
3700    }
3701  
3702    public function getKind()
3703    {
3704      return $this->kind;
3705    }
3706  
3707    public function setName($name)
3708    {
3709      $this->name = $name;
3710    }
3711  
3712    public function getName()
3713    {
3714      return $this->name;
3715    }
3716  
3717    public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
3718    {
3719      $this->permissions = $permissions;
3720    }
3721  
3722    public function getPermissions()
3723    {
3724      return $this->permissions;
3725    }
3726  
3727    public function setSelfLink($selfLink)
3728    {
3729      $this->selfLink = $selfLink;
3730    }
3731  
3732    public function getSelfLink()
3733    {
3734      return $this->selfLink;
3735    }
3736  
3737    public function setUpdated($updated)
3738    {
3739      $this->updated = $updated;
3740    }
3741  
3742    public function getUpdated()
3743    {
3744      return $this->updated;
3745    }
3746  }
3747  
3748  class Google_Service_Analytics_AccountChildLink extends Google_Model
3749  {
3750    public $href;
3751    public $type;
3752  
3753    public function setHref($href)
3754    {
3755      $this->href = $href;
3756    }
3757  
3758    public function getHref()
3759    {
3760      return $this->href;
3761    }
3762  
3763    public function setType($type)
3764    {
3765      $this->type = $type;
3766    }
3767  
3768    public function getType()
3769    {
3770      return $this->type;
3771    }
3772  }
3773  
3774  class Google_Service_Analytics_AccountPermissions extends Google_Collection
3775  {
3776    protected $collection_key = 'effective';
3777    public $effective;
3778  
3779    public function setEffective($effective)
3780    {
3781      $this->effective = $effective;
3782    }
3783  
3784    public function getEffective()
3785    {
3786      return $this->effective;
3787    }
3788  }
3789  
3790  class Google_Service_Analytics_AccountRef extends Google_Model
3791  {
3792    public $href;
3793    public $id;
3794    public $kind;
3795    public $name;
3796  
3797    public function setHref($href)
3798    {
3799      $this->href = $href;
3800    }
3801  
3802    public function getHref()
3803    {
3804      return $this->href;
3805    }
3806  
3807    public function setId($id)
3808    {
3809      $this->id = $id;
3810    }
3811  
3812    public function getId()
3813    {
3814      return $this->id;
3815    }
3816  
3817    public function setKind($kind)
3818    {
3819      $this->kind = $kind;
3820    }
3821  
3822    public function getKind()
3823    {
3824      return $this->kind;
3825    }
3826  
3827    public function setName($name)
3828    {
3829      $this->name = $name;
3830    }
3831  
3832    public function getName()
3833    {
3834      return $this->name;
3835    }
3836  }
3837  
3838  class Google_Service_Analytics_AccountSummaries extends Google_Collection
3839  {
3840    protected $collection_key = 'items';
3841    protected $itemsType = 'Google_Service_Analytics_AccountSummary';
3842    protected $itemsDataType = 'array';
3843    public $itemsPerPage;
3844    public $kind;
3845    public $nextLink;
3846    public $previousLink;
3847    public $startIndex;
3848    public $totalResults;
3849    public $username;
3850  
3851    public function setItems($items)
3852    {
3853      $this->items = $items;
3854    }
3855  
3856    public function getItems()
3857    {
3858      return $this->items;
3859    }
3860  
3861    public function setItemsPerPage($itemsPerPage)
3862    {
3863      $this->itemsPerPage = $itemsPerPage;
3864    }
3865  
3866    public function getItemsPerPage()
3867    {
3868      return $this->itemsPerPage;
3869    }
3870  
3871    public function setKind($kind)
3872    {
3873      $this->kind = $kind;
3874    }
3875  
3876    public function getKind()
3877    {
3878      return $this->kind;
3879    }
3880  
3881    public function setNextLink($nextLink)
3882    {
3883      $this->nextLink = $nextLink;
3884    }
3885  
3886    public function getNextLink()
3887    {
3888      return $this->nextLink;
3889    }
3890  
3891    public function setPreviousLink($previousLink)
3892    {
3893      $this->previousLink = $previousLink;
3894    }
3895  
3896    public function getPreviousLink()
3897    {
3898      return $this->previousLink;
3899    }
3900  
3901    public function setStartIndex($startIndex)
3902    {
3903      $this->startIndex = $startIndex;
3904    }
3905  
3906    public function getStartIndex()
3907    {
3908      return $this->startIndex;
3909    }
3910  
3911    public function setTotalResults($totalResults)
3912    {
3913      $this->totalResults = $totalResults;
3914    }
3915  
3916    public function getTotalResults()
3917    {
3918      return $this->totalResults;
3919    }
3920  
3921    public function setUsername($username)
3922    {
3923      $this->username = $username;
3924    }
3925  
3926    public function getUsername()
3927    {
3928      return $this->username;
3929    }
3930  }
3931  
3932  class Google_Service_Analytics_AccountSummary extends Google_Collection
3933  {
3934    protected $collection_key = 'webProperties';
3935    public $id;
3936    public $kind;
3937    public $name;
3938    protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
3939    protected $webPropertiesDataType = 'array';
3940  
3941    public function setId($id)
3942    {
3943      $this->id = $id;
3944    }
3945  
3946    public function getId()
3947    {
3948      return $this->id;
3949    }
3950  
3951    public function setKind($kind)
3952    {
3953      $this->kind = $kind;
3954    }
3955  
3956    public function getKind()
3957    {
3958      return $this->kind;
3959    }
3960  
3961    public function setName($name)
3962    {
3963      $this->name = $name;
3964    }
3965  
3966    public function getName()
3967    {
3968      return $this->name;
3969    }
3970  
3971    public function setWebProperties($webProperties)
3972    {
3973      $this->webProperties = $webProperties;
3974    }
3975  
3976    public function getWebProperties()
3977    {
3978      return $this->webProperties;
3979    }
3980  }
3981  
3982  class Google_Service_Analytics_AccountTicket extends Google_Model
3983  {
3984    protected $accountType = 'Google_Service_Analytics_Account';
3985    protected $accountDataType = '';
3986    public $id;
3987    public $kind;
3988    protected $profileType = 'Google_Service_Analytics_Profile';
3989    protected $profileDataType = '';
3990    public $redirectUri;
3991    protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
3992    protected $webpropertyDataType = '';
3993  
3994    public function setAccount(Google_Service_Analytics_Account $account)
3995    {
3996      $this->account = $account;
3997    }
3998  
3999    public function getAccount()
4000    {
4001      return $this->account;
4002    }
4003  
4004    public function setId($id)
4005    {
4006      $this->id = $id;
4007    }
4008  
4009    public function getId()
4010    {
4011      return $this->id;
4012    }
4013  
4014    public function setKind($kind)
4015    {
4016      $this->kind = $kind;
4017    }
4018  
4019    public function getKind()
4020    {
4021      return $this->kind;
4022    }
4023  
4024    public function setProfile(Google_Service_Analytics_Profile $profile)
4025    {
4026      $this->profile = $profile;
4027    }
4028  
4029    public function getProfile()
4030    {
4031      return $this->profile;
4032    }
4033  
4034    public function setRedirectUri($redirectUri)
4035    {
4036      $this->redirectUri = $redirectUri;
4037    }
4038  
4039    public function getRedirectUri()
4040    {
4041      return $this->redirectUri;
4042    }
4043  
4044    public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty)
4045    {
4046      $this->webproperty = $webproperty;
4047    }
4048  
4049    public function getWebproperty()
4050    {
4051      return $this->webproperty;
4052    }
4053  }
4054  
4055  class Google_Service_Analytics_Accounts extends Google_Collection
4056  {
4057    protected $collection_key = 'items';
4058    protected $itemsType = 'Google_Service_Analytics_Account';
4059    protected $itemsDataType = 'array';
4060    public $itemsPerPage;
4061    public $kind;
4062    public $nextLink;
4063    public $previousLink;
4064    public $startIndex;
4065    public $totalResults;
4066    public $username;
4067  
4068    public function setItems($items)
4069    {
4070      $this->items = $items;
4071    }
4072  
4073    public function getItems()
4074    {
4075      return $this->items;
4076    }
4077  
4078    public function setItemsPerPage($itemsPerPage)
4079    {
4080      $this->itemsPerPage = $itemsPerPage;
4081    }
4082  
4083    public function getItemsPerPage()
4084    {
4085      return $this->itemsPerPage;
4086    }
4087  
4088    public function setKind($kind)
4089    {
4090      $this->kind = $kind;
4091    }
4092  
4093    public function getKind()
4094    {
4095      return $this->kind;
4096    }
4097  
4098    public function setNextLink($nextLink)
4099    {
4100      $this->nextLink = $nextLink;
4101    }
4102  
4103    public function getNextLink()
4104    {
4105      return $this->nextLink;
4106    }
4107  
4108    public function setPreviousLink($previousLink)
4109    {
4110      $this->previousLink = $previousLink;
4111    }
4112  
4113    public function getPreviousLink()
4114    {
4115      return $this->previousLink;
4116    }
4117  
4118    public function setStartIndex($startIndex)
4119    {
4120      $this->startIndex = $startIndex;
4121    }
4122  
4123    public function getStartIndex()
4124    {
4125      return $this->startIndex;
4126    }
4127  
4128    public function setTotalResults($totalResults)
4129    {
4130      $this->totalResults = $totalResults;
4131    }
4132  
4133    public function getTotalResults()
4134    {
4135      return $this->totalResults;
4136    }
4137  
4138    public function setUsername($username)
4139    {
4140      $this->username = $username;
4141    }
4142  
4143    public function getUsername()
4144    {
4145      return $this->username;
4146    }
4147  }
4148  
4149  class Google_Service_Analytics_AdWordsAccount extends Google_Model
4150  {
4151    public $autoTaggingEnabled;
4152    public $customerId;
4153    public $kind;
4154  
4155    public function setAutoTaggingEnabled($autoTaggingEnabled)
4156    {
4157      $this->autoTaggingEnabled = $autoTaggingEnabled;
4158    }
4159  
4160    public function getAutoTaggingEnabled()
4161    {
4162      return $this->autoTaggingEnabled;
4163    }
4164  
4165    public function setCustomerId($customerId)
4166    {
4167      $this->customerId = $customerId;
4168    }
4169  
4170    public function getCustomerId()
4171    {
4172      return $this->customerId;
4173    }
4174  
4175    public function setKind($kind)
4176    {
4177      $this->kind = $kind;
4178    }
4179  
4180    public function getKind()
4181    {
4182      return $this->kind;
4183    }
4184  }
4185  
4186  class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
4187  {
4188    protected $collection_key = 'customDataImportUids';
4189    public $customDataImportUids;
4190  
4191    public function setCustomDataImportUids($customDataImportUids)
4192    {
4193      $this->customDataImportUids = $customDataImportUids;
4194    }
4195  
4196    public function getCustomDataImportUids()
4197    {
4198      return $this->customDataImportUids;
4199    }
4200  }
4201  
4202  class Google_Service_Analytics_Column extends Google_Model
4203  {
4204    public $attributes;
4205    public $id;
4206    public $kind;
4207  
4208    public function setAttributes($attributes)
4209    {
4210      $this->attributes = $attributes;
4211    }
4212  
4213    public function getAttributes()
4214    {
4215      return $this->attributes;
4216    }
4217  
4218    public function setId($id)
4219    {
4220      $this->id = $id;
4221    }
4222  
4223    public function getId()
4224    {
4225      return $this->id;
4226    }
4227  
4228    public function setKind($kind)
4229    {
4230      $this->kind = $kind;
4231    }
4232  
4233    public function getKind()
4234    {
4235      return $this->kind;
4236    }
4237  }
4238  
4239  class Google_Service_Analytics_ColumnAttributes extends Google_Model
4240  {
4241  
4242  }
4243  
4244  class Google_Service_Analytics_Columns extends Google_Collection
4245  {
4246    protected $collection_key = 'items';
4247    public $attributeNames;
4248    public $etag;
4249    protected $itemsType = 'Google_Service_Analytics_Column';
4250    protected $itemsDataType = 'array';
4251    public $kind;
4252    public $totalResults;
4253  
4254    public function setAttributeNames($attributeNames)
4255    {
4256      $this->attributeNames = $attributeNames;
4257    }
4258  
4259    public function getAttributeNames()
4260    {
4261      return $this->attributeNames;
4262    }
4263  
4264    public function setEtag($etag)
4265    {
4266      $this->etag = $etag;
4267    }
4268  
4269    public function getEtag()
4270    {
4271      return $this->etag;
4272    }
4273  
4274    public function setItems($items)
4275    {
4276      $this->items = $items;
4277    }
4278  
4279    public function getItems()
4280    {
4281      return $this->items;
4282    }
4283  
4284    public function setKind($kind)
4285    {
4286      $this->kind = $kind;
4287    }
4288  
4289    public function getKind()
4290    {
4291      return $this->kind;
4292    }
4293  
4294    public function setTotalResults($totalResults)
4295    {
4296      $this->totalResults = $totalResults;
4297    }
4298  
4299    public function getTotalResults()
4300    {
4301      return $this->totalResults;
4302    }
4303  }
4304  
4305  class Google_Service_Analytics_CustomDataSource extends Google_Collection
4306  {
4307    protected $collection_key = 'profilesLinked';
4308    public $accountId;
4309    protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
4310    protected $childLinkDataType = '';
4311    public $created;
4312    public $description;
4313    public $id;
4314    public $importBehavior;
4315    public $kind;
4316    public $name;
4317    protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
4318    protected $parentLinkDataType = '';
4319    public $profilesLinked;
4320    public $selfLink;
4321    public $type;
4322    public $updated;
4323    public $uploadType;
4324    public $webPropertyId;
4325  
4326    public function setAccountId($accountId)
4327    {
4328      $this->accountId = $accountId;
4329    }
4330  
4331    public function getAccountId()
4332    {
4333      return $this->accountId;
4334    }
4335  
4336    public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
4337    {
4338      $this->childLink = $childLink;
4339    }
4340  
4341    public function getChildLink()
4342    {
4343      return $this->childLink;
4344    }
4345  
4346    public function setCreated($created)
4347    {
4348      $this->created = $created;
4349    }
4350  
4351    public function getCreated()
4352    {
4353      return $this->created;
4354    }
4355  
4356    public function setDescription($description)
4357    {
4358      $this->description = $description;
4359    }
4360  
4361    public function getDescription()
4362    {
4363      return $this->description;
4364    }
4365  
4366    public function setId($id)
4367    {
4368      $this->id = $id;
4369    }
4370  
4371    public function getId()
4372    {
4373      return $this->id;
4374    }
4375  
4376    public function setImportBehavior($importBehavior)
4377    {
4378      $this->importBehavior = $importBehavior;
4379    }
4380  
4381    public function getImportBehavior()
4382    {
4383      return $this->importBehavior;
4384    }
4385  
4386    public function setKind($kind)
4387    {
4388      $this->kind = $kind;
4389    }
4390  
4391    public function getKind()
4392    {
4393      return $this->kind;
4394    }
4395  
4396    public function setName($name)
4397    {
4398      $this->name = $name;
4399    }
4400  
4401    public function getName()
4402    {
4403      return $this->name;
4404    }
4405  
4406    public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
4407    {
4408      $this->parentLink = $parentLink;
4409    }
4410  
4411    public function getParentLink()
4412    {
4413      return $this->parentLink;
4414    }
4415  
4416    public function setProfilesLinked($profilesLinked)
4417    {
4418      $this->profilesLinked = $profilesLinked;
4419    }
4420  
4421    public function getProfilesLinked()
4422    {
4423      return $this->profilesLinked;
4424    }
4425  
4426    public function setSelfLink($selfLink)
4427    {
4428      $this->selfLink = $selfLink;
4429    }
4430  
4431    public function getSelfLink()
4432    {
4433      return $this->selfLink;
4434    }
4435  
4436    public function setType($type)
4437    {
4438      $this->type = $type;
4439    }
4440  
4441    public function getType()
4442    {
4443      return $this->type;
4444    }
4445  
4446    public function setUpdated($updated)
4447    {
4448      $this->updated = $updated;
4449    }
4450  
4451    public function getUpdated()
4452    {
4453      return $this->updated;
4454    }
4455  
4456    public function setUploadType($uploadType)
4457    {
4458      $this->uploadType = $uploadType;
4459    }
4460  
4461    public function getUploadType()
4462    {
4463      return $this->uploadType;
4464    }
4465  
4466    public function setWebPropertyId($webPropertyId)
4467    {
4468      $this->webPropertyId = $webPropertyId;
4469    }
4470  
4471    public function getWebPropertyId()
4472    {
4473      return $this->webPropertyId;
4474    }
4475  }
4476  
4477  class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
4478  {
4479    public $href;
4480    public $type;
4481  
4482    public function setHref($href)
4483    {
4484      $this->href = $href;
4485    }
4486  
4487    public function getHref()
4488    {
4489      return $this->href;
4490    }
4491  
4492    public function setType($type)
4493    {
4494      $this->type = $type;
4495    }
4496  
4497    public function getType()
4498    {
4499      return $this->type;
4500    }
4501  }
4502  
4503  class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
4504  {
4505    public $href;
4506    public $type;
4507  
4508    public function setHref($href)
4509    {
4510      $this->href = $href;
4511    }
4512  
4513    public function getHref()
4514    {
4515      return $this->href;
4516    }
4517  
4518    public function setType($type)
4519    {
4520      $this->type = $type;
4521    }
4522  
4523    public function getType()
4524    {
4525      return $this->type;
4526    }
4527  }
4528  
4529  class Google_Service_Analytics_CustomDataSources extends Google_Collection
4530  {
4531    protected $collection_key = 'items';
4532    protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
4533    protected $itemsDataType = 'array';
4534    public $itemsPerPage;
4535    public $kind;
4536    public $nextLink;
4537    public $previousLink;
4538    public $startIndex;
4539    public $totalResults;
4540    public $username;
4541  
4542    public function setItems($items)
4543    {
4544      $this->items = $items;
4545    }
4546  
4547    public function getItems()
4548    {
4549      return $this->items;
4550    }
4551  
4552    public function setItemsPerPage($itemsPerPage)
4553    {
4554      $this->itemsPerPage = $itemsPerPage;
4555    }
4556  
4557    public function getItemsPerPage()
4558    {
4559      return $this->itemsPerPage;
4560    }
4561  
4562    public function setKind($kind)
4563    {
4564      $this->kind = $kind;
4565    }
4566  
4567    public function getKind()
4568    {
4569      return $this->kind;
4570    }
4571  
4572    public function setNextLink($nextLink)
4573    {
4574      $this->nextLink = $nextLink;
4575    }
4576  
4577    public function getNextLink()
4578    {
4579      return $this->nextLink;
4580    }
4581  
4582    public function setPreviousLink($previousLink)
4583    {
4584      $this->previousLink = $previousLink;
4585    }
4586  
4587    public function getPreviousLink()
4588    {
4589      return $this->previousLink;
4590    }
4591  
4592    public function setStartIndex($startIndex)
4593    {
4594      $this->startIndex = $startIndex;
4595    }
4596  
4597    public function getStartIndex()
4598    {
4599      return $this->startIndex;
4600    }
4601  
4602    public function setTotalResults($totalResults)
4603    {
4604      $this->totalResults = $totalResults;
4605    }
4606  
4607    public function getTotalResults()
4608    {
4609      return $this->totalResults;
4610    }
4611  
4612    public function setUsername($username)
4613    {
4614      $this->username = $username;
4615    }
4616  
4617    public function getUsername()
4618    {
4619      return $this->username;
4620    }
4621  }
4622  
4623  class Google_Service_Analytics_DailyUpload extends Google_Collection
4624  {
4625    protected $collection_key = 'recentChanges';
4626    public $accountId;
4627    public $appendCount;
4628    public $createdTime;
4629    public $customDataSourceId;
4630    public $date;
4631    public $kind;
4632    public $modifiedTime;
4633    protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
4634    protected $parentLinkDataType = '';
4635    protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
4636    protected $recentChangesDataType = 'array';
4637    public $selfLink;
4638    public $webPropertyId;
4639  
4640    public function setAccountId($accountId)
4641    {
4642      $this->accountId = $accountId;
4643    }
4644  
4645    public function getAccountId()
4646    {
4647      return $this->accountId;
4648    }
4649  
4650    public function setAppendCount($appendCount)
4651    {
4652      $this->appendCount = $appendCount;
4653    }
4654  
4655    public function getAppendCount()
4656    {
4657      return $this->appendCount;
4658    }
4659  
4660    public function setCreatedTime($createdTime)
4661    {
4662      $this->createdTime = $createdTime;
4663    }
4664  
4665    public function getCreatedTime()
4666    {
4667      return $this->createdTime;
4668    }
4669  
4670    public function setCustomDataSourceId($customDataSourceId)
4671    {
4672      $this->customDataSourceId = $customDataSourceId;
4673    }
4674  
4675    public function getCustomDataSourceId()
4676    {
4677      return $this->customDataSourceId;
4678    }
4679  
4680    public function setDate($date)
4681    {
4682      $this->date = $date;
4683    }
4684  
4685    public function getDate()
4686    {
4687      return $this->date;
4688    }
4689  
4690    public function setKind($kind)
4691    {
4692      $this->kind = $kind;
4693    }
4694  
4695    public function getKind()
4696    {
4697      return $this->kind;
4698    }
4699  
4700    public function setModifiedTime($modifiedTime)
4701    {
4702      $this->modifiedTime = $modifiedTime;
4703    }
4704  
4705    public function getModifiedTime()
4706    {
4707      return $this->modifiedTime;
4708    }
4709  
4710    public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
4711    {
4712      $this->parentLink = $parentLink;
4713    }
4714  
4715    public function getParentLink()
4716    {
4717      return $this->parentLink;
4718    }
4719  
4720    public function setRecentChanges($recentChanges)
4721    {
4722      $this->recentChanges = $recentChanges;
4723    }
4724  
4725    public function getRecentChanges()
4726    {
4727      return $this->recentChanges;
4728    }
4729  
4730    public function setSelfLink($selfLink)
4731    {
4732      $this->selfLink = $selfLink;
4733    }
4734  
4735    public function getSelfLink()
4736    {
4737      return $this->selfLink;
4738    }
4739  
4740    public function setWebPropertyId($webPropertyId)
4741    {
4742      $this->webPropertyId = $webPropertyId;
4743    }
4744  
4745    public function getWebPropertyId()
4746    {
4747      return $this->webPropertyId;
4748    }
4749  }
4750  
4751  class Google_Service_Analytics_DailyUploadAppend extends Google_Model
4752  {
4753    public $accountId;
4754    public $appendNumber;
4755    public $customDataSourceId;
4756    public $date;
4757    public $kind;
4758    public $nextAppendLink;
4759    public $webPropertyId;
4760  
4761    public function setAccountId($accountId)
4762    {
4763      $this->accountId = $accountId;
4764    }
4765  
4766    public function getAccountId()
4767    {
4768      return $this->accountId;
4769    }
4770  
4771    public function setAppendNumber($appendNumber)
4772    {
4773      $this->appendNumber = $appendNumber;
4774    }
4775  
4776    public function getAppendNumber()
4777    {
4778      return $this->appendNumber;
4779    }
4780  
4781    public function setCustomDataSourceId($customDataSourceId)
4782    {
4783      $this->customDataSourceId = $customDataSourceId;
4784    }
4785  
4786    public function getCustomDataSourceId()
4787    {
4788      return $this->customDataSourceId;
4789    }
4790  
4791    public function setDate($date)
4792    {
4793      $this->date = $date;
4794    }
4795  
4796    public function getDate()
4797    {
4798      return $this->date;
4799    }
4800  
4801    public function setKind($kind)
4802    {
4803      $this->kind = $kind;
4804    }
4805  
4806    public function getKind()
4807    {
4808      return $this->kind;
4809    }
4810  
4811    public function setNextAppendLink($nextAppendLink)
4812    {
4813      $this->nextAppendLink = $nextAppendLink;
4814    }
4815  
4816    public function getNextAppendLink()
4817    {
4818      return $this->nextAppendLink;
4819    }
4820  
4821    public function setWebPropertyId($webPropertyId)
4822    {
4823      $this->webPropertyId = $webPropertyId;
4824    }
4825  
4826    public function getWebPropertyId()
4827    {
4828      return $this->webPropertyId;
4829    }
4830  }
4831  
4832  class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
4833  {
4834    public $href;
4835    public $type;
4836  
4837    public function setHref($href)
4838    {
4839      $this->href = $href;
4840    }
4841  
4842    public function getHref()
4843    {
4844      return $this->href;
4845    }
4846  
4847    public function setType($type)
4848    {
4849      $this->type = $type;
4850    }
4851  
4852    public function getType()
4853    {
4854      return $this->type;
4855    }
4856  }
4857  
4858  class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
4859  {
4860    public $change;
4861    public $time;
4862  
4863    public function setChange($change)
4864    {
4865      $this->change = $change;
4866    }
4867  
4868    public function getChange()
4869    {
4870      return $this->change;
4871    }
4872  
4873    public function setTime($time)
4874    {
4875      $this->time = $time;
4876    }
4877  
4878    public function getTime()
4879    {
4880      return $this->time;
4881    }
4882  }
4883  
4884  class Google_Service_Analytics_DailyUploads extends Google_Collection
4885  {
4886    protected $collection_key = 'items';
4887    protected $itemsType = 'Google_Service_Analytics_DailyUpload';
4888    protected $itemsDataType = 'array';
4889    public $itemsPerPage;
4890    public $kind;
4891    public $nextLink;
4892    public $previousLink;
4893    public $startIndex;
4894    public $totalResults;
4895    public $username;
4896  
4897    public function setItems($items)
4898    {
4899      $this->items = $items;
4900    }
4901  
4902    public function getItems()
4903    {
4904      return $this->items;
4905    }
4906  
4907    public function setItemsPerPage($itemsPerPage)
4908    {
4909      $this->itemsPerPage = $itemsPerPage;
4910    }
4911  
4912    public function getItemsPerPage()
4913    {
4914      return $this->itemsPerPage;
4915    }
4916  
4917    public function setKind($kind)
4918    {
4919      $this->kind = $kind;
4920    }
4921  
4922    public function getKind()
4923    {
4924      return $this->kind;
4925    }
4926  
4927    public function setNextLink($nextLink)
4928    {
4929      $this->nextLink = $nextLink;
4930    }
4931  
4932    public function getNextLink()
4933    {
4934      return $this->nextLink;
4935    }
4936  
4937    public function setPreviousLink($previousLink)
4938    {
4939      $this->previousLink = $previousLink;
4940    }
4941  
4942    public function getPreviousLink()
4943    {
4944      return $this->previousLink;
4945    }
4946  
4947    public function setStartIndex($startIndex)
4948    {
4949      $this->startIndex = $startIndex;
4950    }
4951  
4952    public function getStartIndex()
4953    {
4954      return $this->startIndex;
4955    }
4956  
4957    public function setTotalResults($totalResults)
4958    {
4959      $this->totalResults = $totalResults;
4960    }
4961  
4962    public function getTotalResults()
4963    {
4964      return $this->totalResults;
4965    }
4966  
4967    public function setUsername($username)
4968    {
4969      $this->username = $username;
4970    }
4971  
4972    public function getUsername()
4973    {
4974      return $this->username;
4975    }
4976  }
4977  
4978  class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
4979  {
4980    protected $collection_key = 'profileIds';
4981    protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
4982    protected $adWordsAccountsDataType = 'array';
4983    protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
4984    protected $entityDataType = '';
4985    public $id;
4986    public $kind;
4987    public $name;
4988    public $profileIds;
4989    public $selfLink;
4990  
4991    public function setAdWordsAccounts($adWordsAccounts)
4992    {
4993      $this->adWordsAccounts = $adWordsAccounts;
4994    }
4995  
4996    public function getAdWordsAccounts()
4997    {
4998      return $this->adWordsAccounts;
4999    }
5000  
5001    public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
5002    {
5003      $this->entity = $entity;
5004    }
5005  
5006    public function getEntity()
5007    {
5008      return $this->entity;
5009    }
5010  
5011    public function setId($id)
5012    {
5013      $this->id = $id;
5014    }
5015  
5016    public function getId()
5017    {
5018      return $this->id;
5019    }
5020  
5021    public function setKind($kind)
5022    {
5023      $this->kind = $kind;
5024    }
5025  
5026    public function getKind()
5027    {
5028      return $this->kind;
5029    }
5030  
5031    public function setName($name)
5032    {
5033      $this->name = $name;
5034    }
5035  
5036    public function getName()
5037    {
5038      return $this->name;
5039    }
5040  
5041    public function setProfileIds($profileIds)
5042    {
5043      $this->profileIds = $profileIds;
5044    }
5045  
5046    public function getProfileIds()
5047    {
5048      return $this->profileIds;
5049    }
5050  
5051    public function setSelfLink($selfLink)
5052    {
5053      $this->selfLink = $selfLink;
5054    }
5055  
5056    public function getSelfLink()
5057    {
5058      return $this->selfLink;
5059    }
5060  }
5061  
5062  class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
5063  {
5064    protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
5065    protected $webPropertyRefDataType = '';
5066  
5067    public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
5068    {
5069      $this->webPropertyRef = $webPropertyRef;
5070    }
5071  
5072    public function getWebPropertyRef()
5073    {
5074      return $this->webPropertyRef;
5075    }
5076  }
5077  
5078  class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
5079  {
5080    protected $collection_key = 'items';
5081    protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
5082    protected $itemsDataType = 'array';
5083    public $itemsPerPage;
5084    public $kind;
5085    public $nextLink;
5086    public $previousLink;
5087    public $startIndex;
5088    public $totalResults;
5089  
5090    public function setItems($items)
5091    {
5092      $this->items = $items;
5093    }
5094  
5095    public function getItems()
5096    {
5097      return $this->items;
5098    }
5099  
5100    public function setItemsPerPage($itemsPerPage)
5101    {
5102      $this->itemsPerPage = $itemsPerPage;
5103    }
5104  
5105    public function getItemsPerPage()
5106    {
5107      return $this->itemsPerPage;
5108    }
5109  
5110    public function setKind($kind)
5111    {
5112      $this->kind = $kind;
5113    }
5114  
5115    public function getKind()
5116    {
5117      return $this->kind;
5118    }
5119  
5120    public function setNextLink($nextLink)
5121    {
5122      $this->nextLink = $nextLink;
5123    }
5124  
5125    public function getNextLink()
5126    {
5127      return $this->nextLink;
5128    }
5129  
5130    public function setPreviousLink($previousLink)
5131    {
5132      $this->previousLink = $previousLink;
5133    }
5134  
5135    public function getPreviousLink()
5136    {
5137      return $this->previousLink;
5138    }
5139  
5140    public function setStartIndex($startIndex)
5141    {
5142      $this->startIndex = $startIndex;
5143    }
5144  
5145    public function getStartIndex()
5146    {
5147      return $this->startIndex;
5148    }
5149  
5150    public function setTotalResults($totalResults)
5151    {
5152      $this->totalResults = $totalResults;
5153    }
5154  
5155    public function getTotalResults()
5156    {
5157      return $this->totalResults;
5158    }
5159  }
5160  
5161  class Google_Service_Analytics_EntityUserLink extends Google_Model
5162  {
5163    protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
5164    protected $entityDataType = '';
5165    public $id;
5166    public $kind;
5167    protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
5168    protected $permissionsDataType = '';
5169    public $selfLink;
5170    protected $userRefType = 'Google_Service_Analytics_UserRef';
5171    protected $userRefDataType = '';
5172  
5173    public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
5174    {
5175      $this->entity = $entity;
5176    }
5177  
5178    public function getEntity()
5179    {
5180      return $this->entity;
5181    }
5182  
5183    public function setId($id)
5184    {
5185      $this->id = $id;
5186    }
5187  
5188    public function getId()
5189    {
5190      return $this->id;
5191    }
5192  
5193    public function setKind($kind)
5194    {
5195      $this->kind = $kind;
5196    }
5197  
5198    public function getKind()
5199    {
5200      return $this->kind;
5201    }
5202  
5203    public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
5204    {
5205      $this->permissions = $permissions;
5206    }
5207  
5208    public function getPermissions()
5209    {
5210      return $this->permissions;
5211    }
5212  
5213    public function setSelfLink($selfLink)
5214    {
5215      $this->selfLink = $selfLink;
5216    }
5217  
5218    public function getSelfLink()
5219    {
5220      return $this->selfLink;
5221    }
5222  
5223    public function setUserRef(Google_Service_Analytics_UserRef $userRef)
5224    {
5225      $this->userRef = $userRef;
5226    }
5227  
5228    public function getUserRef()
5229    {
5230      return $this->userRef;
5231    }
5232  }
5233  
5234  class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
5235  {
5236    protected $accountRefType = 'Google_Service_Analytics_AccountRef';
5237    protected $accountRefDataType = '';
5238    protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
5239    protected $profileRefDataType = '';
5240    protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
5241    protected $webPropertyRefDataType = '';
5242  
5243    public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
5244    {
5245      $this->accountRef = $accountRef;
5246    }
5247  
5248    public function getAccountRef()
5249    {
5250      return $this->accountRef;
5251    }
5252  
5253    public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
5254    {
5255      $this->profileRef = $profileRef;
5256    }
5257  
5258    public function getProfileRef()
5259    {
5260      return $this->profileRef;
5261    }
5262  
5263    public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
5264    {
5265      $this->webPropertyRef = $webPropertyRef;
5266    }
5267  
5268    public function getWebPropertyRef()
5269    {
5270      return $this->webPropertyRef;
5271    }
5272  }
5273  
5274  class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
5275  {
5276    protected $collection_key = 'local';
5277    public $effective;
5278    public $local;
5279  
5280    public function setEffective($effective)
5281    {
5282      $this->effective = $effective;
5283    }
5284  
5285    public function getEffective()
5286    {
5287      return $this->effective;
5288    }
5289  
5290    public function setLocal($local)
5291    {
5292      $this->local = $local;
5293    }
5294  
5295    public function getLocal()
5296    {
5297      return $this->local;
5298    }
5299  }
5300  
5301  class Google_Service_Analytics_EntityUserLinks extends Google_Collection
5302  {
5303    protected $collection_key = 'items';
5304    protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
5305    protected $itemsDataType = 'array';
5306    public $itemsPerPage;
5307    public $kind;
5308    public $nextLink;
5309    public $previousLink;
5310    public $startIndex;
5311    public $totalResults;
5312  
5313    public function setItems($items)
5314    {
5315      $this->items = $items;
5316    }
5317  
5318    public function getItems()
5319    {
5320      return $this->items;
5321    }
5322  
5323    public function setItemsPerPage($itemsPerPage)
5324    {
5325      $this->itemsPerPage = $itemsPerPage;
5326    }
5327  
5328    public function getItemsPerPage()
5329    {
5330      return $this->itemsPerPage;
5331    }
5332  
5333    public function setKind($kind)
5334    {
5335      $this->kind = $kind;
5336    }
5337  
5338    public function getKind()
5339    {
5340      return $this->kind;
5341    }
5342  
5343    public function setNextLink($nextLink)
5344    {
5345      $this->nextLink = $nextLink;
5346    }
5347  
5348    public function getNextLink()
5349    {
5350      return $this->nextLink;
5351    }
5352  
5353    public function setPreviousLink($previousLink)
5354    {
5355      $this->previousLink = $previousLink;
5356    }
5357  
5358    public function getPreviousLink()
5359    {
5360      return $this->previousLink;
5361    }
5362  
5363    public function setStartIndex($startIndex)
5364    {
5365      $this->startIndex = $startIndex;
5366    }
5367  
5368    public function getStartIndex()
5369    {
5370      return $this->startIndex;
5371    }
5372  
5373    public function setTotalResults($totalResults)
5374    {
5375      $this->totalResults = $totalResults;
5376    }
5377  
5378    public function getTotalResults()
5379    {
5380      return $this->totalResults;
5381    }
5382  }
5383  
5384  class Google_Service_Analytics_Experiment extends Google_Collection
5385  {
5386    protected $collection_key = 'variations';
5387    public $accountId;
5388    public $created;
5389    public $description;
5390    public $editableInGaUi;
5391    public $endTime;
5392    public $equalWeighting;
5393    public $id;
5394    public $internalWebPropertyId;
5395    public $kind;
5396    public $minimumExperimentLengthInDays;
5397    public $name;
5398    public $objectiveMetric;
5399    public $optimizationType;
5400    protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
5401    protected $parentLinkDataType = '';
5402    public $profileId;
5403    public $reasonExperimentEnded;
5404    public $rewriteVariationUrlsAsOriginal;
5405    public $selfLink;
5406    public $servingFramework;
5407    public $snippet;
5408    public $startTime;
5409    public $status;
5410    public $trafficCoverage;
5411    public $updated;
5412    protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
5413    protected $variationsDataType = 'array';
5414    public $webPropertyId;
5415    public $winnerConfidenceLevel;
5416    public $winnerFound;
5417  
5418    public function setAccountId($accountId)
5419    {
5420      $this->accountId = $accountId;
5421    }
5422  
5423    public function getAccountId()
5424    {
5425      return $this->accountId;
5426    }
5427  
5428    public function setCreated($created)
5429    {
5430      $this->created = $created;
5431    }
5432  
5433    public function getCreated()
5434    {
5435      return $this->created;
5436    }
5437  
5438    public function setDescription($description)
5439    {
5440      $this->description = $description;
5441    }
5442  
5443    public function getDescription()
5444    {
5445      return $this->description;
5446    }
5447  
5448    public function setEditableInGaUi($editableInGaUi)
5449    {
5450      $this->editableInGaUi = $editableInGaUi;
5451    }
5452  
5453    public function getEditableInGaUi()
5454    {
5455      return $this->editableInGaUi;
5456    }
5457  
5458    public function setEndTime($endTime)
5459    {
5460      $this->endTime = $endTime;
5461    }
5462  
5463    public function getEndTime()
5464    {
5465      return $this->endTime;
5466    }
5467  
5468    public function setEqualWeighting($equalWeighting)
5469    {
5470      $this->equalWeighting = $equalWeighting;
5471    }
5472  
5473    public function getEqualWeighting()
5474    {
5475      return $this->equalWeighting;
5476    }
5477  
5478    public function setId($id)
5479    {
5480      $this->id = $id;
5481    }
5482  
5483    public function getId()
5484    {
5485      return $this->id;
5486    }
5487  
5488    public function setInternalWebPropertyId($internalWebPropertyId)
5489    {
5490      $this->internalWebPropertyId = $internalWebPropertyId;
5491    }
5492  
5493    public function getInternalWebPropertyId()
5494    {
5495      return $this->internalWebPropertyId;
5496    }
5497  
5498    public function setKind($kind)
5499    {
5500      $this->kind = $kind;
5501    }
5502  
5503    public function getKind()
5504    {
5505      return $this->kind;
5506    }
5507  
5508    public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
5509    {
5510      $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
5511    }
5512  
5513    public function getMinimumExperimentLengthInDays()
5514    {
5515      return $this->minimumExperimentLengthInDays;
5516    }
5517  
5518    public function setName($name)
5519    {
5520      $this->name = $name;
5521    }
5522  
5523    public function getName()
5524    {
5525      return $this->name;
5526    }
5527  
5528    public function setObjectiveMetric($objectiveMetric)
5529    {
5530      $this->objectiveMetric = $objectiveMetric;
5531    }
5532  
5533    public function getObjectiveMetric()
5534    {
5535      return $this->objectiveMetric;
5536    }
5537  
5538    public function setOptimizationType($optimizationType)
5539    {
5540      $this->optimizationType = $optimizationType;
5541    }
5542  
5543    public function getOptimizationType()
5544    {
5545      return $this->optimizationType;
5546    }
5547  
5548    public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
5549    {
5550      $this->parentLink = $parentLink;
5551    }
5552  
5553    public function getParentLink()
5554    {
5555      return $this->parentLink;
5556    }
5557  
5558    public function setProfileId($profileId)
5559    {
5560      $this->profileId = $profileId;
5561    }
5562  
5563    public function getProfileId()
5564    {
5565      return $this->profileId;
5566    }
5567  
5568    public function setReasonExperimentEnded($reasonExperimentEnded)
5569    {
5570      $this->reasonExperimentEnded = $reasonExperimentEnded;
5571    }
5572  
5573    public function getReasonExperimentEnded()
5574    {
5575      return $this->reasonExperimentEnded;
5576    }
5577  
5578    public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
5579    {
5580      $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
5581    }
5582  
5583    public function getRewriteVariationUrlsAsOriginal()
5584    {
5585      return $this->rewriteVariationUrlsAsOriginal;
5586    }
5587  
5588    public function setSelfLink($selfLink)
5589    {
5590      $this->selfLink = $selfLink;
5591    }
5592  
5593    public function getSelfLink()
5594    {
5595      return $this->selfLink;
5596    }
5597  
5598    public function setServingFramework($servingFramework)
5599    {
5600      $this->servingFramework = $servingFramework;
5601    }
5602  
5603    public function getServingFramework()
5604    {
5605      return $this->servingFramework;
5606    }
5607  
5608    public function setSnippet($snippet)
5609    {
5610      $this->snippet = $snippet;
5611    }
5612  
5613    public function getSnippet()
5614    {
5615      return $this->snippet;
5616    }
5617  
5618    public function setStartTime($startTime)
5619    {
5620      $this->startTime = $startTime;
5621    }
5622  
5623    public function getStartTime()
5624    {
5625      return $this->startTime;
5626    }
5627  
5628    public function setStatus($status)
5629    {
5630      $this->status = $status;
5631    }
5632  
5633    public function getStatus()
5634    {
5635      return $this->status;
5636    }
5637  
5638    public function setTrafficCoverage($trafficCoverage)
5639    {
5640      $this->trafficCoverage = $trafficCoverage;
5641    }
5642  
5643    public function getTrafficCoverage()
5644    {
5645      return $this->trafficCoverage;
5646    }
5647  
5648    public function setUpdated($updated)
5649    {
5650      $this->updated = $updated;
5651    }
5652  
5653    public function getUpdated()
5654    {
5655      return $this->updated;
5656    }
5657  
5658    public function setVariations($variations)
5659    {
5660      $this->variations = $variations;
5661    }
5662  
5663    public function getVariations()
5664    {
5665      return $this->variations;
5666    }
5667  
5668    public function setWebPropertyId($webPropertyId)
5669    {
5670      $this->webPropertyId = $webPropertyId;
5671    }
5672  
5673    public function getWebPropertyId()
5674    {
5675      return $this->webPropertyId;
5676    }
5677  
5678    public function setWinnerConfidenceLevel($winnerConfidenceLevel)
5679    {
5680      $this->winnerConfidenceLevel = $winnerConfidenceLevel;
5681    }
5682  
5683    public function getWinnerConfidenceLevel()
5684    {
5685      return $this->winnerConfidenceLevel;
5686    }
5687  
5688    public function setWinnerFound($winnerFound)
5689    {
5690      $this->winnerFound = $winnerFound;
5691    }
5692  
5693    public function getWinnerFound()
5694    {
5695      return $this->winnerFound;
5696    }
5697  }
5698  
5699  class Google_Service_Analytics_ExperimentParentLink extends Google_Model
5700  {
5701    public $href;
5702    public $type;
5703  
5704    public function setHref($href)
5705    {
5706      $this->href = $href;
5707    }
5708  
5709    public function getHref()
5710    {
5711      return $this->href;
5712    }
5713  
5714    public function setType($type)
5715    {
5716      $this->type = $type;
5717    }
5718  
5719    public function getType()
5720    {
5721      return $this->type;
5722    }
5723  }
5724  
5725  class Google_Service_Analytics_ExperimentVariations extends Google_Model
5726  {
5727    public $name;
5728    public $status;
5729    public $url;
5730    public $weight;
5731    public $won;
5732  
5733    public function setName($name)
5734    {
5735      $this->name = $name;
5736    }
5737  
5738    public function getName()
5739    {
5740      return $this->name;
5741    }
5742  
5743    public function setStatus($status)
5744    {
5745      $this->status = $status;
5746    }
5747  
5748    public function getStatus()
5749    {
5750      return $this->status;
5751    }
5752  
5753    public function setUrl($url)
5754    {
5755      $this->url = $url;
5756    }
5757  
5758    public function getUrl()
5759    {
5760      return $this->url;
5761    }
5762  
5763    public function setWeight($weight)
5764    {
5765      $this->weight = $weight;
5766    }
5767  
5768    public function getWeight()
5769    {
5770      return $this->weight;
5771    }
5772  
5773    public function setWon($won)
5774    {
5775      $this->won = $won;
5776    }
5777  
5778    public function getWon()
5779    {
5780      return $this->won;
5781    }
5782  }
5783  
5784  class Google_Service_Analytics_Experiments extends Google_Collection
5785  {
5786    protected $collection_key = 'items';
5787    protected $itemsType = 'Google_Service_Analytics_Experiment';
5788    protected $itemsDataType = 'array';
5789    public $itemsPerPage;
5790    public $kind;
5791    public $nextLink;
5792    public $previousLink;
5793    public $startIndex;
5794    public $totalResults;
5795    public $username;
5796  
5797    public function setItems($items)
5798    {
5799      $this->items = $items;
5800    }
5801  
5802    public function getItems()
5803    {
5804      return $this->items;
5805    }
5806  
5807    public function setItemsPerPage($itemsPerPage)
5808    {
5809      $this->itemsPerPage = $itemsPerPage;
5810    }
5811  
5812    public function getItemsPerPage()
5813    {
5814      return $this->itemsPerPage;
5815    }
5816  
5817    public function setKind($kind)
5818    {
5819      $this->kind = $kind;
5820    }
5821  
5822    public function getKind()
5823    {
5824      return $this->kind;
5825    }
5826  
5827    public function setNextLink($nextLink)
5828    {
5829      $this->nextLink = $nextLink;
5830    }
5831  
5832    public function getNextLink()
5833    {
5834      return $this->nextLink;
5835    }
5836  
5837    public function setPreviousLink($previousLink)
5838    {
5839      $this->previousLink = $previousLink;
5840    }
5841  
5842    public function getPreviousLink()
5843    {
5844      return $this->previousLink;
5845    }
5846  
5847    public function setStartIndex($startIndex)
5848    {
5849      $this->startIndex = $startIndex;
5850    }
5851  
5852    public function getStartIndex()
5853    {
5854      return $this->startIndex;
5855    }
5856  
5857    public function setTotalResults($totalResults)
5858    {
5859      $this->totalResults = $totalResults;
5860    }
5861  
5862    public function getTotalResults()
5863    {
5864      return $this->totalResults;
5865    }
5866  
5867    public function setUsername($username)
5868    {
5869      $this->username = $username;
5870    }
5871  
5872    public function getUsername()
5873    {
5874      return $this->username;
5875    }
5876  }
5877  
5878  class Google_Service_Analytics_Filter extends Google_Model
5879  {
5880    public $accountId;
5881    protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
5882    protected $advancedDetailsDataType = '';
5883    public $created;
5884    protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
5885    protected $excludeDetailsDataType = '';
5886    public $id;
5887    protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
5888    protected $includeDetailsDataType = '';
5889    public $kind;
5890    protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
5891    protected $lowercaseDetailsDataType = '';
5892    public $name;
5893    protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
5894    protected $parentLinkDataType = '';
5895    protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
5896    protected $searchAndReplaceDetailsDataType = '';
5897    public $selfLink;
5898    public $type;
5899    public $updated;
5900    protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
5901    protected $uppercaseDetailsDataType = '';
5902  
5903    public function setAccountId($accountId)
5904    {
5905      $this->accountId = $accountId;
5906    }
5907  
5908    public function getAccountId()
5909    {
5910      return $this->accountId;
5911    }
5912  
5913    public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
5914    {
5915      $this->advancedDetails = $advancedDetails;
5916    }
5917  
5918    public function getAdvancedDetails()
5919    {
5920      return $this->advancedDetails;
5921    }
5922  
5923    public function setCreated($created)
5924    {
5925      $this->created = $created;
5926    }
5927  
5928    public function getCreated()
5929    {
5930      return $this->created;
5931    }
5932  
5933    public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails)
5934    {
5935      $this->excludeDetails = $excludeDetails;
5936    }
5937  
5938    public function getExcludeDetails()
5939    {
5940      return $this->excludeDetails;
5941    }
5942  
5943    public function setId($id)
5944    {
5945      $this->id = $id;
5946    }
5947  
5948    public function getId()
5949    {
5950      return $this->id;
5951    }
5952  
5953    public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails)
5954    {
5955      $this->includeDetails = $includeDetails;
5956    }
5957  
5958    public function getIncludeDetails()
5959    {
5960      return $this->includeDetails;
5961    }
5962  
5963    public function setKind($kind)
5964    {
5965      $this->kind = $kind;
5966    }
5967  
5968    public function getKind()
5969    {
5970      return $this->kind;
5971    }
5972  
5973    public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
5974    {
5975      $this->lowercaseDetails = $lowercaseDetails;
5976    }
5977  
5978    public function getLowercaseDetails()
5979    {
5980      return $this->lowercaseDetails;
5981    }
5982  
5983    public function setName($name)
5984    {
5985      $this->name = $name;
5986    }
5987  
5988    public function getName()
5989    {
5990      return $this->name;
5991    }
5992  
5993    public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink)
5994    {
5995      $this->parentLink = $parentLink;
5996    }
5997  
5998    public function getParentLink()
5999    {
6000      return $this->parentLink;
6001    }
6002  
6003    public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
6004    {
6005      $this->searchAndReplaceDetails = $searchAndReplaceDetails;
6006    }
6007  
6008    public function getSearchAndReplaceDetails()
6009    {
6010      return $this->searchAndReplaceDetails;
6011    }
6012  
6013    public function setSelfLink($selfLink)
6014    {
6015      $this->selfLink = $selfLink;
6016    }
6017  
6018    public function getSelfLink()
6019    {
6020      return $this->selfLink;
6021    }
6022  
6023    public function setType($type)
6024    {
6025      $this->type = $type;
6026    }
6027  
6028    public function getType()
6029    {
6030      return $this->type;
6031    }
6032  
6033    public function setUpdated($updated)
6034    {
6035      $this->updated = $updated;
6036    }
6037  
6038    public function getUpdated()
6039    {
6040      return $this->updated;
6041    }
6042  
6043    public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
6044    {
6045      $this->uppercaseDetails = $uppercaseDetails;
6046    }
6047  
6048    public function getUppercaseDetails()
6049    {
6050      return $this->uppercaseDetails;
6051    }
6052  }
6053  
6054  class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
6055  {
6056    public $caseSensitive;
6057    public $extractA;
6058    public $extractB;
6059    public $fieldA;
6060    public $fieldARequired;
6061    public $fieldB;
6062    public $fieldBRequired;
6063    public $outputConstructor;
6064    public $outputToField;
6065    public $overrideOutputField;
6066  
6067    public function setCaseSensitive($caseSensitive)
6068    {
6069      $this->caseSensitive = $caseSensitive;
6070    }
6071  
6072    public function getCaseSensitive()
6073    {
6074      return $this->caseSensitive;
6075    }
6076  
6077    public function setExtractA($extractA)
6078    {
6079      $this->extractA = $extractA;
6080    }
6081  
6082    public function getExtractA()
6083    {
6084      return $this->extractA;
6085    }
6086  
6087    public function setExtractB($extractB)
6088    {
6089      $this->extractB = $extractB;
6090    }
6091  
6092    public function getExtractB()
6093    {
6094      return $this->extractB;
6095    }
6096  
6097    public function setFieldA($fieldA)
6098    {
6099      $this->fieldA = $fieldA;
6100    }
6101  
6102    public function getFieldA()
6103    {
6104      return $this->fieldA;
6105    }
6106  
6107    public function setFieldARequired($fieldARequired)
6108    {
6109      $this->fieldARequired = $fieldARequired;
6110    }
6111  
6112    public function getFieldARequired()
6113    {
6114      return $this->fieldARequired;
6115    }
6116  
6117    public function setFieldB($fieldB)
6118    {
6119      $this->fieldB = $fieldB;
6120    }
6121  
6122    public function getFieldB()
6123    {
6124      return $this->fieldB;
6125    }
6126  
6127    public function setFieldBRequired($fieldBRequired)
6128    {
6129      $this->fieldBRequired = $fieldBRequired;
6130    }
6131  
6132    public function getFieldBRequired()
6133    {
6134      return $this->fieldBRequired;
6135    }
6136  
6137    public function setOutputConstructor($outputConstructor)
6138    {
6139      $this->outputConstructor = $outputConstructor;
6140    }
6141  
6142    public function getOutputConstructor()
6143    {
6144      return $this->outputConstructor;
6145    }
6146  
6147    public function setOutputToField($outputToField)
6148    {
6149      $this->outputToField = $outputToField;
6150    }
6151  
6152    public function getOutputToField()
6153    {
6154      return $this->outputToField;
6155    }
6156  
6157    public function setOverrideOutputField($overrideOutputField)
6158    {
6159      $this->overrideOutputField = $overrideOutputField;
6160    }
6161  
6162    public function getOverrideOutputField()
6163    {
6164      return $this->overrideOutputField;
6165    }
6166  }
6167  
6168  class Google_Service_Analytics_FilterExpression extends Google_Model
6169  {
6170    public $caseSensitive;
6171    public $expressionValue;
6172    public $field;
6173    public $kind;
6174    public $matchType;
6175  
6176    public function setCaseSensitive($caseSensitive)
6177    {
6178      $this->caseSensitive = $caseSensitive;
6179    }
6180  
6181    public function getCaseSensitive()
6182    {
6183      return $this->caseSensitive;
6184    }
6185  
6186    public function setExpressionValue($expressionValue)
6187    {
6188      $this->expressionValue = $expressionValue;
6189    }
6190  
6191    public function getExpressionValue()
6192    {
6193      return $this->expressionValue;
6194    }
6195  
6196    public function setField($field)
6197    {
6198      $this->field = $field;
6199    }
6200  
6201    public function getField()
6202    {
6203      return $this->field;
6204    }
6205  
6206    public function setKind($kind)
6207    {
6208      $this->kind = $kind;
6209    }
6210  
6211    public function getKind()
6212    {
6213      return $this->kind;
6214    }
6215  
6216    public function setMatchType($matchType)
6217    {
6218      $this->matchType = $matchType;
6219    }
6220  
6221    public function getMatchType()
6222    {
6223      return $this->matchType;
6224    }
6225  }
6226  
6227  class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
6228  {
6229    public $field;
6230  
6231    public function setField($field)
6232    {
6233      $this->field = $field;
6234    }
6235  
6236    public function getField()
6237    {
6238      return $this->field;
6239    }
6240  }
6241  
6242  class Google_Service_Analytics_FilterParentLink extends Google_Model
6243  {
6244    public $href;
6245    public $type;
6246  
6247    public function setHref($href)
6248    {
6249      $this->href = $href;
6250    }
6251  
6252    public function getHref()
6253    {
6254      return $this->href;
6255    }
6256  
6257    public function setType($type)
6258    {
6259      $this->type = $type;
6260    }
6261  
6262    public function getType()
6263    {
6264      return $this->type;
6265    }
6266  }
6267  
6268  class Google_Service_Analytics_FilterRef extends Google_Model
6269  {
6270    public $accountId;
6271    public $href;
6272    public $id;
6273    public $kind;
6274    public $name;
6275  
6276    public function setAccountId($accountId)
6277    {
6278      $this->accountId = $accountId;
6279    }
6280  
6281    public function getAccountId()
6282    {
6283      return $this->accountId;
6284    }
6285  
6286    public function setHref($href)
6287    {
6288      $this->href = $href;
6289    }
6290  
6291    public function getHref()
6292    {
6293      return $this->href;
6294    }
6295  
6296    public function setId($id)
6297    {
6298      $this->id = $id;
6299    }
6300  
6301    public function getId()
6302    {
6303      return $this->id;
6304    }
6305  
6306    public function setKind($kind)
6307    {
6308      $this->kind = $kind;
6309    }
6310  
6311    public function getKind()
6312    {
6313      return $this->kind;
6314    }
6315  
6316    public function setName($name)
6317    {
6318      $this->name = $name;
6319    }
6320  
6321    public function getName()
6322    {
6323      return $this->name;
6324    }
6325  }
6326  
6327  class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
6328  {
6329    public $caseSensitive;
6330    public $field;
6331    public $replaceString;
6332    public $searchString;
6333  
6334    public function setCaseSensitive($caseSensitive)
6335    {
6336      $this->caseSensitive = $caseSensitive;
6337    }
6338  
6339    public function getCaseSensitive()
6340    {
6341      return $this->caseSensitive;
6342    }
6343  
6344    public function setField($field)
6345    {
6346      $this->field = $field;
6347    }
6348  
6349    public function getField()
6350    {
6351      return $this->field;
6352    }
6353  
6354    public function setReplaceString($replaceString)
6355    {
6356      $this->replaceString = $replaceString;
6357    }
6358  
6359    public function getReplaceString()
6360    {
6361      return $this->replaceString;
6362    }
6363  
6364    public function setSearchString($searchString)
6365    {
6366      $this->searchString = $searchString;
6367    }
6368  
6369    public function getSearchString()
6370    {
6371      return $this->searchString;
6372    }
6373  }
6374  
6375  class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
6376  {
6377    public $field;
6378  
6379    public function setField($field)
6380    {
6381      $this->field = $field;
6382    }
6383  
6384    public function getField()
6385    {
6386      return $this->field;
6387    }
6388  }
6389  
6390  class Google_Service_Analytics_Filters extends Google_Collection
6391  {
6392    protected $collection_key = 'items';
6393    protected $itemsType = 'Google_Service_Analytics_Filter';
6394    protected $itemsDataType = 'array';
6395    public $itemsPerPage;
6396    public $kind;
6397    public $nextLink;
6398    public $previousLink;
6399    public $startIndex;
6400    public $totalResults;
6401    public $username;
6402  
6403    public function setItems($items)
6404    {
6405      $this->items = $items;
6406    }
6407  
6408    public function getItems()
6409    {
6410      return $this->items;
6411    }
6412  
6413    public function setItemsPerPage($itemsPerPage)
6414    {
6415      $this->itemsPerPage = $itemsPerPage;
6416    }
6417  
6418    public function getItemsPerPage()
6419    {
6420      return $this->itemsPerPage;
6421    }
6422  
6423    public function setKind($kind)
6424    {
6425      $this->kind = $kind;
6426    }
6427  
6428    public function getKind()
6429    {
6430      return $this->kind;
6431    }
6432  
6433    public function setNextLink($nextLink)
6434    {
6435      $this->nextLink = $nextLink;
6436    }
6437  
6438    public function getNextLink()
6439    {
6440      return $this->nextLink;
6441    }
6442  
6443    public function setPreviousLink($previousLink)
6444    {
6445      $this->previousLink = $previousLink;
6446    }
6447  
6448    public function getPreviousLink()
6449    {
6450      return $this->previousLink;
6451    }
6452  
6453    public function setStartIndex($startIndex)
6454    {
6455      $this->startIndex = $startIndex;
6456    }
6457  
6458    public function getStartIndex()
6459    {
6460      return $this->startIndex;
6461    }
6462  
6463    public function setTotalResults($totalResults)
6464    {
6465      $this->totalResults = $totalResults;
6466    }
6467  
6468    public function getTotalResults()
6469    {
6470      return $this->totalResults;
6471    }
6472  
6473    public function setUsername($username)
6474    {
6475      $this->username = $username;
6476    }
6477  
6478    public function getUsername()
6479    {
6480      return $this->username;
6481    }
6482  }
6483  
6484  class Google_Service_Analytics_GaData extends Google_Collection
6485  {
6486    protected $collection_key = 'rows';
6487    protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
6488    protected $columnHeadersDataType = 'array';
6489    public $containsSampledData;
6490    protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
6491    protected $dataTableDataType = '';
6492    public $id;
6493    public $itemsPerPage;
6494    public $kind;
6495    public $nextLink;
6496    public $previousLink;
6497    protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
6498    protected $profileInfoDataType = '';
6499    protected $queryType = 'Google_Service_Analytics_GaDataQuery';
6500    protected $queryDataType = '';
6501    public $rows;
6502    public $sampleSize;
6503    public $sampleSpace;
6504    public $selfLink;
6505    public $totalResults;
6506    public $totalsForAllResults;
6507  
6508    public function setColumnHeaders($columnHeaders)
6509    {
6510      $this->columnHeaders = $columnHeaders;
6511    }
6512  
6513    public function getColumnHeaders()
6514    {
6515      return $this->columnHeaders;
6516    }
6517  
6518    public function setContainsSampledData($containsSampledData)
6519    {
6520      $this->containsSampledData = $containsSampledData;
6521    }
6522  
6523    public function getContainsSampledData()
6524    {
6525      return $this->containsSampledData;
6526    }
6527  
6528    public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
6529    {
6530      $this->dataTable = $dataTable;
6531    }
6532  
6533    public function getDataTable()
6534    {
6535      return $this->dataTable;
6536    }
6537  
6538    public function setId($id)
6539    {
6540      $this->id = $id;
6541    }
6542  
6543    public function getId()
6544    {
6545      return $this->id;
6546    }
6547  
6548    public function setItemsPerPage($itemsPerPage)
6549    {
6550      $this->itemsPerPage = $itemsPerPage;
6551    }
6552  
6553    public function getItemsPerPage()
6554    {
6555      return $this->itemsPerPage;
6556    }
6557  
6558    public function setKind($kind)
6559    {
6560      $this->kind = $kind;
6561    }
6562  
6563    public function getKind()
6564    {
6565      return $this->kind;
6566    }
6567  
6568    public function setNextLink($nextLink)
6569    {
6570      $this->nextLink = $nextLink;
6571    }
6572  
6573    public function getNextLink()
6574    {
6575      return $this->nextLink;
6576    }
6577  
6578    public function setPreviousLink($previousLink)
6579    {
6580      $this->previousLink = $previousLink;
6581    }
6582  
6583    public function getPreviousLink()
6584    {
6585      return $this->previousLink;
6586    }
6587  
6588    public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
6589    {
6590      $this->profileInfo = $profileInfo;
6591    }
6592  
6593    public function getProfileInfo()
6594    {
6595      return $this->profileInfo;
6596    }
6597  
6598    public function setQuery(Google_Service_Analytics_GaDataQuery $query)
6599    {
6600      $this->query = $query;
6601    }
6602  
6603    public function getQuery()
6604    {
6605      return $this->query;
6606    }
6607  
6608    public function setRows($rows)
6609    {
6610      $this->rows = $rows;
6611    }
6612  
6613    public function getRows()
6614    {
6615      return $this->rows;
6616    }
6617  
6618    public function setSampleSize($sampleSize)
6619    {
6620      $this->sampleSize = $sampleSize;
6621    }
6622  
6623    public function getSampleSize()
6624    {
6625      return $this->sampleSize;
6626    }
6627  
6628    public function setSampleSpace($sampleSpace)
6629    {
6630      $this->sampleSpace = $sampleSpace;
6631    }
6632  
6633    public function getSampleSpace()
6634    {
6635      return $this->sampleSpace;
6636    }
6637  
6638    public function setSelfLink($selfLink)
6639    {
6640      $this->selfLink = $selfLink;
6641    }
6642  
6643    public function getSelfLink()
6644    {
6645      return $this->selfLink;
6646    }
6647  
6648    public function setTotalResults($totalResults)
6649    {
6650      $this->totalResults = $totalResults;
6651    }
6652  
6653    public function getTotalResults()
6654    {
6655      return $this->totalResults;
6656    }
6657  
6658    public function setTotalsForAllResults($totalsForAllResults)
6659    {
6660      $this->totalsForAllResults = $totalsForAllResults;
6661    }
6662  
6663    public function getTotalsForAllResults()
6664    {
6665      return $this->totalsForAllResults;
6666    }
6667  }
6668  
6669  class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
6670  {
6671    public $columnType;
6672    public $dataType;
6673    public $name;
6674  
6675    public function setColumnType($columnType)
6676    {
6677      $this->columnType = $columnType;
6678    }
6679  
6680    public function getColumnType()
6681    {
6682      return $this->columnType;
6683    }
6684  
6685    public function setDataType($dataType)
6686    {
6687      $this->dataType = $dataType;
6688    }
6689  
6690    public function getDataType()
6691    {
6692      return $this->dataType;
6693    }
6694  
6695    public function setName($name)
6696    {
6697      $this->name = $name;
6698    }
6699  
6700    public function getName()
6701    {
6702      return $this->name;
6703    }
6704  }
6705  
6706  class Google_Service_Analytics_GaDataDataTable extends Google_Collection
6707  {
6708    protected $collection_key = 'rows';
6709    protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
6710    protected $colsDataType = 'array';
6711    protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
6712    protected $rowsDataType = 'array';
6713  
6714    public function setCols($cols)
6715    {
6716      $this->cols = $cols;
6717    }
6718  
6719    public function getCols()
6720    {
6721      return $this->cols;
6722    }
6723  
6724    public function setRows($rows)
6725    {
6726      $this->rows = $rows;
6727    }
6728  
6729    public function getRows()
6730    {
6731      return $this->rows;
6732    }
6733  }
6734  
6735  class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
6736  {
6737    public $id;
6738    public $label;
6739    public $type;
6740  
6741    public function setId($id)
6742    {
6743      $this->id = $id;
6744    }
6745  
6746    public function getId()
6747    {
6748      return $this->id;
6749    }
6750  
6751    public function setLabel($label)
6752    {
6753      $this->label = $label;
6754    }
6755  
6756    public function getLabel()
6757    {
6758      return $this->label;
6759    }
6760  
6761    public function setType($type)
6762    {
6763      $this->type = $type;
6764    }
6765  
6766    public function getType()
6767    {
6768      return $this->type;
6769    }
6770  }
6771  
6772  class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
6773  {
6774    protected $collection_key = 'c';
6775    protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
6776    protected $cDataType = 'array';
6777  
6778    public function setC($c)
6779    {
6780      $this->c = $c;
6781    }
6782  
6783    public function getC()
6784    {
6785      return $this->c;
6786    }
6787  }
6788  
6789  class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
6790  {
6791    public $v;
6792  
6793    public function setV($v)
6794    {
6795      $this->v = $v;
6796    }
6797  
6798    public function getV()
6799    {
6800      return $this->v;
6801    }
6802  }
6803  
6804  class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
6805  {
6806    public $accountId;
6807    public $internalWebPropertyId;
6808    public $profileId;
6809    public $profileName;
6810    public $tableId;
6811    public $webPropertyId;
6812  
6813    public function setAccountId($accountId)
6814    {
6815      $this->accountId = $accountId;
6816    }
6817  
6818    public function getAccountId()
6819    {
6820      return $this->accountId;
6821    }
6822  
6823    public function setInternalWebPropertyId($internalWebPropertyId)
6824    {
6825      $this->internalWebPropertyId = $internalWebPropertyId;
6826    }
6827  
6828    public function getInternalWebPropertyId()
6829    {
6830      return $this->internalWebPropertyId;
6831    }
6832  
6833    public function setProfileId($profileId)
6834    {
6835      $this->profileId = $profileId;
6836    }
6837  
6838    public function getProfileId()
6839    {
6840      return $this->profileId;
6841    }
6842  
6843    public function setProfileName($profileName)
6844    {
6845      $this->profileName = $profileName;
6846    }
6847  
6848    public function getProfileName()
6849    {
6850      return $this->profileName;
6851    }
6852  
6853    public function setTableId($tableId)
6854    {
6855      $this->tableId = $tableId;
6856    }
6857  
6858    public function getTableId()
6859    {
6860      return $this->tableId;
6861    }
6862  
6863    public function setWebPropertyId($webPropertyId)
6864    {
6865      $this->webPropertyId = $webPropertyId;
6866    }
6867  
6868    public function getWebPropertyId()
6869    {
6870      return $this->webPropertyId;
6871    }
6872  }
6873  
6874  class Google_Service_Analytics_GaDataQuery extends Google_Collection
6875  {
6876    protected $collection_key = 'sort';
6877    public $dimensions;
6878    public $endDate;
6879    public $filters;
6880    public $ids;
6881    public $maxResults;
6882    public $metrics;
6883    public $samplingLevel;
6884    public $segment;
6885    public $sort;
6886    public $startDate;
6887    public $startIndex;
6888  
6889    public function setDimensions($dimensions)
6890    {
6891      $this->dimensions = $dimensions;
6892    }
6893  
6894    public function getDimensions()
6895    {
6896      return $this->dimensions;
6897    }
6898  
6899    public function setEndDate($endDate)
6900    {
6901      $this->endDate = $endDate;
6902    }
6903  
6904    public function getEndDate()
6905    {
6906      return $this->endDate;
6907    }
6908  
6909    public function setFilters($filters)
6910    {
6911      $this->filters = $filters;
6912    }
6913  
6914    public function getFilters()
6915    {
6916      return $this->filters;
6917    }
6918  
6919    public function setIds($ids)
6920    {
6921      $this->ids = $ids;
6922    }
6923  
6924    public function getIds()
6925    {
6926      return $this->ids;
6927    }
6928  
6929    public function setMaxResults($maxResults)
6930    {
6931      $this->maxResults = $maxResults;
6932    }
6933  
6934    public function getMaxResults()
6935    {
6936      return $this->maxResults;
6937    }
6938  
6939    public function setMetrics($metrics)
6940    {
6941      $this->metrics = $metrics;
6942    }
6943  
6944    public function getMetrics()
6945    {
6946      return $this->metrics;
6947    }
6948  
6949    public function setSamplingLevel($samplingLevel)
6950    {
6951      $this->samplingLevel = $samplingLevel;
6952    }
6953  
6954    public function getSamplingLevel()
6955    {
6956      return $this->samplingLevel;
6957    }
6958  
6959    public function setSegment($segment)
6960    {
6961      $this->segment = $segment;
6962    }
6963  
6964    public function getSegment()
6965    {
6966      return $this->segment;
6967    }
6968  
6969    public function setSort($sort)
6970    {
6971      $this->sort = $sort;
6972    }
6973  
6974    public function getSort()
6975    {
6976      return $this->sort;
6977    }
6978  
6979    public function setStartDate($startDate)
6980    {
6981      $this->startDate = $startDate;
6982    }
6983  
6984    public function getStartDate()
6985    {
6986      return $this->startDate;
6987    }
6988  
6989    public function setStartIndex($startIndex)
6990    {
6991      $this->startIndex = $startIndex;
6992    }
6993  
6994    public function getStartIndex()
6995    {
6996      return $this->startIndex;
6997    }
6998  }
6999  
7000  class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model
7001  {
7002  
7003  }
7004  
7005  class Google_Service_Analytics_Goal extends Google_Model
7006  {
7007    public $accountId;
7008    public $active;
7009    public $created;
7010    protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
7011    protected $eventDetailsDataType = '';
7012    public $id;
7013    public $internalWebPropertyId;
7014    public $kind;
7015    public $name;
7016    protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
7017    protected $parentLinkDataType = '';
7018    public $profileId;
7019    public $selfLink;
7020    public $type;
7021    public $updated;
7022    protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
7023    protected $urlDestinationDetailsDataType = '';
7024    public $value;
7025    protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
7026    protected $visitNumPagesDetailsDataType = '';
7027    protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
7028    protected $visitTimeOnSiteDetailsDataType = '';
7029    public $webPropertyId;
7030  
7031    public function setAccountId($accountId)
7032    {
7033      $this->accountId = $accountId;
7034    }
7035  
7036    public function getAccountId()
7037    {
7038      return $this->accountId;
7039    }
7040  
7041    public function setActive($active)
7042    {
7043      $this->active = $active;
7044    }
7045  
7046    public function getActive()
7047    {
7048      return $this->active;
7049    }
7050  
7051    public function setCreated($created)
7052    {
7053      $this->created = $created;
7054    }
7055  
7056    public function getCreated()
7057    {
7058      return $this->created;
7059    }
7060  
7061    public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
7062    {
7063      $this->eventDetails = $eventDetails;
7064    }
7065  
7066    public function getEventDetails()
7067    {
7068      return $this->eventDetails;
7069    }
7070  
7071    public function setId($id)
7072    {
7073      $this->id = $id;
7074    }
7075  
7076    public function getId()
7077    {
7078      return $this->id;
7079    }
7080  
7081    public function setInternalWebPropertyId($internalWebPropertyId)
7082    {
7083      $this->internalWebPropertyId = $internalWebPropertyId;
7084    }
7085  
7086    public function getInternalWebPropertyId()
7087    {
7088      return $this->internalWebPropertyId;
7089    }
7090  
7091    public function setKind($kind)
7092    {
7093      $this->kind = $kind;
7094    }
7095  
7096    public function getKind()
7097    {
7098      return $this->kind;
7099    }
7100  
7101    public function setName($name)
7102    {
7103      $this->name = $name;
7104    }
7105  
7106    public function getName()
7107    {
7108      return $this->name;
7109    }
7110  
7111    public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
7112    {
7113      $this->parentLink = $parentLink;
7114    }
7115  
7116    public function getParentLink()
7117    {
7118      return $this->parentLink;
7119    }
7120  
7121    public function setProfileId($profileId)
7122    {
7123      $this->profileId = $profileId;
7124    }
7125  
7126    public function getProfileId()
7127    {
7128      return $this->profileId;
7129    }
7130  
7131    public function setSelfLink($selfLink)
7132    {
7133      $this->selfLink = $selfLink;
7134    }
7135  
7136    public function getSelfLink()
7137    {
7138      return $this->selfLink;
7139    }
7140  
7141    public function setType($type)
7142    {
7143      $this->type = $type;
7144    }
7145  
7146    public function getType()
7147    {
7148      return $this->type;
7149    }
7150  
7151    public function setUpdated($updated)
7152    {
7153      $this->updated = $updated;
7154    }
7155  
7156    public function getUpdated()
7157    {
7158      return $this->updated;
7159    }
7160  
7161    public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
7162    {
7163      $this->urlDestinationDetails = $urlDestinationDetails;
7164    }
7165  
7166    public function getUrlDestinationDetails()
7167    {
7168      return $this->urlDestinationDetails;
7169    }
7170  
7171    public function setValue($value)
7172    {
7173      $this->value = $value;
7174    }
7175  
7176    public function getValue()
7177    {
7178      return $this->value;
7179    }
7180  
7181    public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
7182    {
7183      $this->visitNumPagesDetails = $visitNumPagesDetails;
7184    }
7185  
7186    public function getVisitNumPagesDetails()
7187    {
7188      return $this->visitNumPagesDetails;
7189    }
7190  
7191    public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
7192    {
7193      $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
7194    }
7195  
7196    public function getVisitTimeOnSiteDetails()
7197    {
7198      return $this->visitTimeOnSiteDetails;
7199    }
7200  
7201    public function setWebPropertyId($webPropertyId)
7202    {
7203      $this->webPropertyId = $webPropertyId;
7204    }
7205  
7206    public function getWebPropertyId()
7207    {
7208      return $this->webPropertyId;
7209    }
7210  }
7211  
7212  class Google_Service_Analytics_GoalEventDetails extends Google_Collection
7213  {
7214    protected $collection_key = 'eventConditions';
7215    protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
7216    protected $eventConditionsDataType = 'array';
7217    public $useEventValue;
7218  
7219    public function setEventConditions($eventConditions)
7220    {
7221      $this->eventConditions = $eventConditions;
7222    }
7223  
7224    public function getEventConditions()
7225    {
7226      return $this->eventConditions;
7227    }
7228  
7229    public function setUseEventValue($useEventValue)
7230    {
7231      $this->useEventValue = $useEventValue;
7232    }
7233  
7234    public function getUseEventValue()
7235    {
7236      return $this->useEventValue;
7237    }
7238  }
7239  
7240  class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
7241  {
7242    public $comparisonType;
7243    public $comparisonValue;
7244    public $expression;
7245    public $matchType;
7246    public $type;
7247  
7248    public function setComparisonType($comparisonType)
7249    {
7250      $this->comparisonType = $comparisonType;
7251    }
7252  
7253    public function getComparisonType()
7254    {
7255      return $this->comparisonType;
7256    }
7257  
7258    public function setComparisonValue($comparisonValue)
7259    {
7260      $this->comparisonValue = $comparisonValue;
7261    }
7262  
7263    public function getComparisonValue()
7264    {
7265      return $this->comparisonValue;
7266    }
7267  
7268    public function setExpression($expression)
7269    {
7270      $this->expression = $expression;
7271    }
7272  
7273    public function getExpression()
7274    {
7275      return $this->expression;
7276    }
7277  
7278    public function setMatchType($matchType)
7279    {
7280      $this->matchType = $matchType;
7281    }
7282  
7283    public function getMatchType()
7284    {
7285      return $this->matchType;
7286    }
7287  
7288    public function setType($type)
7289    {
7290      $this->type = $type;
7291    }
7292  
7293    public function getType()
7294    {
7295      return $this->type;
7296    }
7297  }
7298  
7299  class Google_Service_Analytics_GoalParentLink extends Google_Model
7300  {
7301    public $href;
7302    public $type;
7303  
7304    public function setHref($href)
7305    {
7306      $this->href = $href;
7307    }
7308  
7309    public function getHref()
7310    {
7311      return $this->href;
7312    }
7313  
7314    public function setType($type)
7315    {
7316      $this->type = $type;
7317    }
7318  
7319    public function getType()
7320    {
7321      return $this->type;
7322    }
7323  }
7324  
7325  class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
7326  {
7327    protected $collection_key = 'steps';
7328    public $caseSensitive;
7329    public $firstStepRequired;
7330    public $matchType;
7331    protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
7332    protected $stepsDataType = 'array';
7333    public $url;
7334  
7335    public function setCaseSensitive($caseSensitive)
7336    {
7337      $this->caseSensitive = $caseSensitive;
7338    }
7339  
7340    public function getCaseSensitive()
7341    {
7342      return $this->caseSensitive;
7343    }
7344  
7345    public function setFirstStepRequired($firstStepRequired)
7346    {
7347      $this->firstStepRequired = $firstStepRequired;
7348    }
7349  
7350    public function getFirstStepRequired()
7351    {
7352      return $this->firstStepRequired;
7353    }
7354  
7355    public function setMatchType($matchType)
7356    {
7357      $this->matchType = $matchType;
7358    }
7359  
7360    public function getMatchType()
7361    {
7362      return $this->matchType;
7363    }
7364  
7365    public function setSteps($steps)
7366    {
7367      $this->steps = $steps;
7368    }
7369  
7370    public function getSteps()
7371    {
7372      return $this->steps;
7373    }
7374  
7375    public function setUrl($url)
7376    {
7377      $this->url = $url;
7378    }
7379  
7380    public function getUrl()
7381    {
7382      return $this->url;
7383    }
7384  }
7385  
7386  class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
7387  {
7388    public $name;
7389    public $number;
7390    public $url;
7391  
7392    public function setName($name)
7393    {
7394      $this->name = $name;
7395    }
7396  
7397    public function getName()
7398    {
7399      return $this->name;
7400    }
7401  
7402    public function setNumber($number)
7403    {
7404      $this->number = $number;
7405    }
7406  
7407    public function getNumber()
7408    {
7409      return $this->number;
7410    }
7411  
7412    public function setUrl($url)
7413    {
7414      $this->url = $url;
7415    }
7416  
7417    public function getUrl()
7418    {
7419      return $this->url;
7420    }
7421  }
7422  
7423  class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
7424  {
7425    public $comparisonType;
7426    public $comparisonValue;
7427  
7428    public function setComparisonType($comparisonType)
7429    {
7430      $this->comparisonType = $comparisonType;
7431    }
7432  
7433    public function getComparisonType()
7434    {
7435      return $this->comparisonType;
7436    }
7437  
7438    public function setComparisonValue($comparisonValue)
7439    {
7440      $this->comparisonValue = $comparisonValue;
7441    }
7442  
7443    public function getComparisonValue()
7444    {
7445      return $this->comparisonValue;
7446    }
7447  }
7448  
7449  class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
7450  {
7451    public $comparisonType;
7452    public $comparisonValue;
7453  
7454    public function setComparisonType($comparisonType)
7455    {
7456      $this->comparisonType = $comparisonType;
7457    }
7458  
7459    public function getComparisonType()
7460    {
7461      return $this->comparisonType;
7462    }
7463  
7464    public function setComparisonValue($comparisonValue)
7465    {
7466      $this->comparisonValue = $comparisonValue;
7467    }
7468  
7469    public function getComparisonValue()
7470    {
7471      return $this->comparisonValue;
7472    }
7473  }
7474  
7475  class Google_Service_Analytics_Goals extends Google_Collection
7476  {
7477    protected $collection_key = 'items';
7478    protected $itemsType = 'Google_Service_Analytics_Goal';
7479    protected $itemsDataType = 'array';
7480    public $itemsPerPage;
7481    public $kind;
7482    public $nextLink;
7483    public $previousLink;
7484    public $startIndex;
7485    public $totalResults;
7486    public $username;
7487  
7488    public function setItems($items)
7489    {
7490      $this->items = $items;
7491    }
7492  
7493    public function getItems()
7494    {
7495      return $this->items;
7496    }
7497  
7498    public function setItemsPerPage($itemsPerPage)
7499    {
7500      $this->itemsPerPage = $itemsPerPage;
7501    }
7502  
7503    public function getItemsPerPage()
7504    {
7505      return $this->itemsPerPage;
7506    }
7507  
7508    public function setKind($kind)
7509    {
7510      $this->kind = $kind;
7511    }
7512  
7513    public function getKind()
7514    {
7515      return $this->kind;
7516    }
7517  
7518    public function setNextLink($nextLink)
7519    {
7520      $this->nextLink = $nextLink;
7521    }
7522  
7523    public function getNextLink()
7524    {
7525      return $this->nextLink;
7526    }
7527  
7528    public function setPreviousLink($previousLink)
7529    {
7530      $this->previousLink = $previousLink;
7531    }
7532  
7533    public function getPreviousLink()
7534    {
7535      return $this->previousLink;
7536    }
7537  
7538    public function setStartIndex($startIndex)
7539    {
7540      $this->startIndex = $startIndex;
7541    }
7542  
7543    public function getStartIndex()
7544    {
7545      return $this->startIndex;
7546    }
7547  
7548    public function setTotalResults($totalResults)
7549    {
7550      $this->totalResults = $totalResults;
7551    }
7552  
7553    public function getTotalResults()
7554    {
7555      return $this->totalResults;
7556    }
7557  
7558    public function setUsername($username)
7559    {
7560      $this->username = $username;
7561    }
7562  
7563    public function getUsername()
7564    {
7565      return $this->username;
7566    }
7567  }
7568  
7569  class Google_Service_Analytics_McfData extends Google_Collection
7570  {
7571    protected $collection_key = 'rows';
7572    protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
7573    protected $columnHeadersDataType = 'array';
7574    public $containsSampledData;
7575    public $id;
7576    public $itemsPerPage;
7577    public $kind;
7578    public $nextLink;
7579    public $previousLink;
7580    protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
7581    protected $profileInfoDataType = '';
7582    protected $queryType = 'Google_Service_Analytics_McfDataQuery';
7583    protected $queryDataType = '';
7584    protected $rowsType = 'Google_Service_Analytics_McfDataRows';
7585    protected $rowsDataType = 'array';
7586    public $sampleSize;
7587    public $sampleSpace;
7588    public $selfLink;
7589    public $totalResults;
7590    public $totalsForAllResults;
7591  
7592    public function setColumnHeaders($columnHeaders)
7593    {
7594      $this->columnHeaders = $columnHeaders;
7595    }
7596  
7597    public function getColumnHeaders()
7598    {
7599      return $this->columnHeaders;
7600    }
7601  
7602    public function setContainsSampledData($containsSampledData)
7603    {
7604      $this->containsSampledData = $containsSampledData;
7605    }
7606  
7607    public function getContainsSampledData()
7608    {
7609      return $this->containsSampledData;
7610    }
7611  
7612    public function setId($id)
7613    {
7614      $this->id = $id;
7615    }
7616  
7617    public function getId()
7618    {
7619      return $this->id;
7620    }
7621  
7622    public function setItemsPerPage($itemsPerPage)
7623    {
7624      $this->itemsPerPage = $itemsPerPage;
7625    }
7626  
7627    public function getItemsPerPage()
7628    {
7629      return $this->itemsPerPage;
7630    }
7631  
7632    public function setKind($kind)
7633    {
7634      $this->kind = $kind;
7635    }
7636  
7637    public function getKind()
7638    {
7639      return $this->kind;
7640    }
7641  
7642    public function setNextLink($nextLink)
7643    {
7644      $this->nextLink = $nextLink;
7645    }
7646  
7647    public function getNextLink()
7648    {
7649      return $this->nextLink;
7650    }
7651  
7652    public function setPreviousLink($previousLink)
7653    {
7654      $this->previousLink = $previousLink;
7655    }
7656  
7657    public function getPreviousLink()
7658    {
7659      return $this->previousLink;
7660    }
7661  
7662    public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
7663    {
7664      $this->profileInfo = $profileInfo;
7665    }
7666  
7667    public function getProfileInfo()
7668    {
7669      return $this->profileInfo;
7670    }
7671  
7672    public function setQuery(Google_Service_Analytics_McfDataQuery $query)
7673    {
7674      $this->query = $query;
7675    }
7676  
7677    public function getQuery()
7678    {
7679      return $this->query;
7680    }
7681  
7682    public function setRows($rows)
7683    {
7684      $this->rows = $rows;
7685    }
7686  
7687    public function getRows()
7688    {
7689      return $this->rows;
7690    }
7691  
7692    public function setSampleSize($sampleSize)
7693    {
7694      $this->sampleSize = $sampleSize;
7695    }
7696  
7697    public function getSampleSize()
7698    {
7699      return $this->sampleSize;
7700    }
7701  
7702    public function setSampleSpace($sampleSpace)
7703    {
7704      $this->sampleSpace = $sampleSpace;
7705    }
7706  
7707    public function getSampleSpace()
7708    {
7709      return $this->sampleSpace;
7710    }
7711  
7712    public function setSelfLink($selfLink)
7713    {
7714      $this->selfLink = $selfLink;
7715    }
7716  
7717    public function getSelfLink()
7718    {
7719      return $this->selfLink;
7720    }
7721  
7722    public function setTotalResults($totalResults)
7723    {
7724      $this->totalResults = $totalResults;
7725    }
7726  
7727    public function getTotalResults()
7728    {
7729      return $this->totalResults;
7730    }
7731  
7732    public function setTotalsForAllResults($totalsForAllResults)
7733    {
7734      $this->totalsForAllResults = $totalsForAllResults;
7735    }
7736  
7737    public function getTotalsForAllResults()
7738    {
7739      return $this->totalsForAllResults;
7740    }
7741  }
7742  
7743  class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
7744  {
7745    public $columnType;
7746    public $dataType;
7747    public $name;
7748  
7749    public function setColumnType($columnType)
7750    {
7751      $this->columnType = $columnType;
7752    }
7753  
7754    public function getColumnType()
7755    {
7756      return $this->columnType;
7757    }
7758  
7759    public function setDataType($dataType)
7760    {
7761      $this->dataType = $dataType;
7762    }
7763  
7764    public function getDataType()
7765    {
7766      return $this->dataType;
7767    }
7768  
7769    public function setName($name)
7770    {
7771      $this->name = $name;
7772    }
7773  
7774    public function getName()
7775    {
7776      return $this->name;
7777    }
7778  }
7779  
7780  class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
7781  {
7782    public $accountId;
7783    public $internalWebPropertyId;
7784    public $profileId;
7785    public $profileName;
7786    public $tableId;
7787    public $webPropertyId;
7788  
7789    public function setAccountId($accountId)
7790    {
7791      $this->accountId = $accountId;
7792    }
7793  
7794    public function getAccountId()
7795    {
7796      return $this->accountId;
7797    }
7798  
7799    public function setInternalWebPropertyId($internalWebPropertyId)
7800    {
7801      $this->internalWebPropertyId = $internalWebPropertyId;
7802    }
7803  
7804    public function getInternalWebPropertyId()
7805    {
7806      return $this->internalWebPropertyId;
7807    }
7808  
7809    public function setProfileId($profileId)
7810    {
7811      $this->profileId = $profileId;
7812    }
7813  
7814    public function getProfileId()
7815    {
7816      return $this->profileId;
7817    }
7818  
7819    public function setProfileName($profileName)
7820    {
7821      $this->profileName = $profileName;
7822    }
7823  
7824    public function getProfileName()
7825    {
7826      return $this->profileName;
7827    }
7828  
7829    public function setTableId($tableId)
7830    {
7831      $this->tableId = $tableId;
7832    }
7833  
7834    public function getTableId()
7835    {
7836      return $this->tableId;
7837    }
7838  
7839    public function setWebPropertyId($webPropertyId)
7840    {
7841      $this->webPropertyId = $webPropertyId;
7842    }
7843  
7844    public function getWebPropertyId()
7845    {
7846      return $this->webPropertyId;
7847    }
7848  }
7849  
7850  class Google_Service_Analytics_McfDataQuery extends Google_Collection
7851  {
7852    protected $collection_key = 'sort';
7853    public $dimensions;
7854    public $endDate;
7855    public $filters;
7856    public $ids;
7857    public $maxResults;
7858    public $metrics;
7859    public $samplingLevel;
7860    public $segment;
7861    public $sort;
7862    public $startDate;
7863    public $startIndex;
7864  
7865    public function setDimensions($dimensions)
7866    {
7867      $this->dimensions = $dimensions;
7868    }
7869  
7870    public function getDimensions()
7871    {
7872      return $this->dimensions;
7873    }
7874  
7875    public function setEndDate($endDate)
7876    {
7877      $this->endDate = $endDate;
7878    }
7879  
7880    public function getEndDate()
7881    {
7882      return $this->endDate;
7883    }
7884  
7885    public function setFilters($filters)
7886    {
7887      $this->filters = $filters;
7888    }
7889  
7890    public function getFilters()
7891    {
7892      return $this->filters;
7893    }
7894  
7895    public function setIds($ids)
7896    {
7897      $this->ids = $ids;
7898    }
7899  
7900    public function getIds()
7901    {
7902      return $this->ids;
7903    }
7904  
7905    public function setMaxResults($maxResults)
7906    {
7907      $this->maxResults = $maxResults;
7908    }
7909  
7910    public function getMaxResults()
7911    {
7912      return $this->maxResults;
7913    }
7914  
7915    public function setMetrics($metrics)
7916    {
7917      $this->metrics = $metrics;
7918    }
7919  
7920    public function getMetrics()
7921    {
7922      return $this->metrics;
7923    }
7924  
7925    public function setSamplingLevel($samplingLevel)
7926    {
7927      $this->samplingLevel = $samplingLevel;
7928    }
7929  
7930    public function getSamplingLevel()
7931    {
7932      return $this->samplingLevel;
7933    }
7934  
7935    public function setSegment($segment)
7936    {
7937      $this->segment = $segment;
7938    }
7939  
7940    public function getSegment()
7941    {
7942      return $this->segment;
7943    }
7944  
7945    public function setSort($sort)
7946    {
7947      $this->sort = $sort;
7948    }
7949  
7950    public function getSort()
7951    {
7952      return $this->sort;
7953    }
7954  
7955    public function setStartDate($startDate)
7956    {
7957      $this->startDate = $startDate;
7958    }
7959  
7960    public function getStartDate()
7961    {
7962      return $this->startDate;
7963    }
7964  
7965    public function setStartIndex($startIndex)
7966    {
7967      $this->startIndex = $startIndex;
7968    }
7969  
7970    public function getStartIndex()
7971    {
7972      return $this->startIndex;
7973    }
7974  }
7975  
7976  class Google_Service_Analytics_McfDataRows extends Google_Collection
7977  {
7978    protected $collection_key = 'conversionPathValue';
7979    protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
7980    protected $conversionPathValueDataType = 'array';
7981    public $primitiveValue;
7982  
7983    public function setConversionPathValue($conversionPathValue)
7984    {
7985      $this->conversionPathValue = $conversionPathValue;
7986    }
7987  
7988    public function getConversionPathValue()
7989    {
7990      return $this->conversionPathValue;
7991    }
7992  
7993    public function setPrimitiveValue($primitiveValue)
7994    {
7995      $this->primitiveValue = $primitiveValue;
7996    }
7997  
7998    public function getPrimitiveValue()
7999    {
8000      return $this->primitiveValue;
8001    }
8002  }
8003  
8004  class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
8005  {
8006    public $interactionType;
8007    public $nodeValue;
8008  
8009    public function setInteractionType($interactionType)
8010    {
8011      $this->interactionType = $interactionType;
8012    }
8013  
8014    public function getInteractionType()
8015    {
8016      return $this->interactionType;
8017    }
8018  
8019    public function setNodeValue($nodeValue)
8020    {
8021      $this->nodeValue = $nodeValue;
8022    }
8023  
8024    public function getNodeValue()
8025    {
8026      return $this->nodeValue;
8027    }
8028  }
8029  
8030  class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model
8031  {
8032  
8033  }
8034  
8035  class Google_Service_Analytics_Profile extends Google_Model
8036  {
8037    public $accountId;
8038    protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
8039    protected $childLinkDataType = '';
8040    public $created;
8041    public $currency;
8042    public $defaultPage;
8043    public $eCommerceTracking;
8044    public $excludeQueryParameters;
8045    public $id;
8046    public $internalWebPropertyId;
8047    public $kind;
8048    public $name;
8049    protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
8050    protected $parentLinkDataType = '';
8051    protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
8052    protected $permissionsDataType = '';
8053    public $selfLink;
8054    public $siteSearchCategoryParameters;
8055    public $siteSearchQueryParameters;
8056    public $stripSiteSearchCategoryParameters;
8057    public $stripSiteSearchQueryParameters;
8058    public $timezone;
8059    public $type;
8060    public $updated;
8061    public $webPropertyId;
8062    public $websiteUrl;
8063  
8064    public function setAccountId($accountId)
8065    {
8066      $this->accountId = $accountId;
8067    }
8068  
8069    public function getAccountId()
8070    {
8071      return $this->accountId;
8072    }
8073  
8074    public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
8075    {
8076      $this->childLink = $childLink;
8077    }
8078  
8079    public function getChildLink()
8080    {
8081      return $this->childLink;
8082    }
8083  
8084    public function setCreated($created)
8085    {
8086      $this->created = $created;
8087    }
8088  
8089    public function getCreated()
8090    {
8091      return $this->created;
8092    }
8093  
8094    public function setCurrency($currency)
8095    {
8096      $this->currency = $currency;
8097    }
8098  
8099    public function getCurrency()
8100    {
8101      return $this->currency;
8102    }
8103  
8104    public function setDefaultPage($defaultPage)
8105    {
8106      $this->defaultPage = $defaultPage;
8107    }
8108  
8109    public function getDefaultPage()
8110    {
8111      return $this->defaultPage;
8112    }
8113  
8114    public function setECommerceTracking($eCommerceTracking)
8115    {
8116      $this->eCommerceTracking = $eCommerceTracking;
8117    }
8118  
8119    public function getECommerceTracking()
8120    {
8121      return $this->eCommerceTracking;
8122    }
8123  
8124    public function setExcludeQueryParameters($excludeQueryParameters)
8125    {
8126      $this->excludeQueryParameters = $excludeQueryParameters;
8127    }
8128  
8129    public function getExcludeQueryParameters()
8130    {
8131      return $this->excludeQueryParameters;
8132    }
8133  
8134    public function setId($id)
8135    {
8136      $this->id = $id;
8137    }
8138  
8139    public function getId()
8140    {
8141      return $this->id;
8142    }
8143  
8144    public function setInternalWebPropertyId($internalWebPropertyId)
8145    {
8146      $this->internalWebPropertyId = $internalWebPropertyId;
8147    }
8148  
8149    public function getInternalWebPropertyId()
8150    {
8151      return $this->internalWebPropertyId;
8152    }
8153  
8154    public function setKind($kind)
8155    {
8156      $this->kind = $kind;
8157    }
8158  
8159    public function getKind()
8160    {
8161      return $this->kind;
8162    }
8163  
8164    public function setName($name)
8165    {
8166      $this->name = $name;
8167    }
8168  
8169    public function getName()
8170    {
8171      return $this->name;
8172    }
8173  
8174    public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
8175    {
8176      $this->parentLink = $parentLink;
8177    }
8178  
8179    public function getParentLink()
8180    {
8181      return $this->parentLink;
8182    }
8183  
8184    public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
8185    {
8186      $this->permissions = $permissions;
8187    }
8188  
8189    public function getPermissions()
8190    {
8191      return $this->permissions;
8192    }
8193  
8194    public function setSelfLink($selfLink)
8195    {
8196      $this->selfLink = $selfLink;
8197    }
8198  
8199    public function getSelfLink()
8200    {
8201      return $this->selfLink;
8202    }
8203  
8204    public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
8205    {
8206      $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
8207    }
8208  
8209    public function getSiteSearchCategoryParameters()
8210    {
8211      return $this->siteSearchCategoryParameters;
8212    }
8213  
8214    public function setSiteSearchQueryParameters($siteSearchQueryParameters)
8215    {
8216      $this->siteSearchQueryParameters = $siteSearchQueryParameters;
8217    }
8218  
8219    public function getSiteSearchQueryParameters()
8220    {
8221      return $this->siteSearchQueryParameters;
8222    }
8223  
8224    public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
8225    {
8226      $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
8227    }
8228  
8229    public function getStripSiteSearchCategoryParameters()
8230    {
8231      return $this->stripSiteSearchCategoryParameters;
8232    }
8233  
8234    public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
8235    {
8236      $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
8237    }
8238  
8239    public function getStripSiteSearchQueryParameters()
8240    {
8241      return $this->stripSiteSearchQueryParameters;
8242    }
8243  
8244    public function setTimezone($timezone)
8245    {
8246      $this->timezone = $timezone;
8247    }
8248  
8249    public function getTimezone()
8250    {
8251      return $this->timezone;
8252    }
8253  
8254    public function setType($type)
8255    {
8256      $this->type = $type;
8257    }
8258  
8259    public function getType()
8260    {
8261      return $this->type;
8262    }
8263  
8264    public function setUpdated($updated)
8265    {
8266      $this->updated = $updated;
8267    }
8268  
8269    public function getUpdated()
8270    {
8271      return $this->updated;
8272    }
8273  
8274    public function setWebPropertyId($webPropertyId)
8275    {
8276      $this->webPropertyId = $webPropertyId;
8277    }
8278  
8279    public function getWebPropertyId()
8280    {
8281      return $this->webPropertyId;
8282    }
8283  
8284    public function setWebsiteUrl($websiteUrl)
8285    {
8286      $this->websiteUrl = $websiteUrl;
8287    }
8288  
8289    public function getWebsiteUrl()
8290    {
8291      return $this->websiteUrl;
8292    }
8293  }
8294  
8295  class Google_Service_Analytics_ProfileChildLink extends Google_Model
8296  {
8297    public $href;
8298    public $type;
8299  
8300    public function setHref($href)
8301    {
8302      $this->href = $href;
8303    }
8304  
8305    public function getHref()
8306    {
8307      return $this->href;
8308    }
8309  
8310    public function setType($type)
8311    {
8312      $this->type = $type;
8313    }
8314  
8315    public function getType()
8316    {
8317      return $this->type;
8318    }
8319  }
8320  
8321  class Google_Service_Analytics_ProfileFilterLink extends Google_Model
8322  {
8323    protected $filterRefType = 'Google_Service_Analytics_FilterRef';
8324    protected $filterRefDataType = '';
8325    public $id;
8326    public $kind;
8327    protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
8328    protected $profileRefDataType = '';
8329    public $rank;
8330    public $selfLink;
8331  
8332    public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef)
8333    {
8334      $this->filterRef = $filterRef;
8335    }
8336  
8337    public function getFilterRef()
8338    {
8339      return $this->filterRef;
8340    }
8341  
8342    public function setId($id)
8343    {
8344      $this->id = $id;
8345    }
8346  
8347    public function getId()
8348    {
8349      return $this->id;
8350    }
8351  
8352    public function setKind($kind)
8353    {
8354      $this->kind = $kind;
8355    }
8356  
8357    public function getKind()
8358    {
8359      return $this->kind;
8360    }
8361  
8362    public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
8363    {
8364      $this->profileRef = $profileRef;
8365    }
8366  
8367    public function getProfileRef()
8368    {
8369      return $this->profileRef;
8370    }
8371  
8372    public function setRank($rank)
8373    {
8374      $this->rank = $rank;
8375    }
8376  
8377    public function getRank()
8378    {
8379      return $this->rank;
8380    }
8381  
8382    public function setSelfLink($selfLink)
8383    {
8384      $this->selfLink = $selfLink;
8385    }
8386  
8387    public function getSelfLink()
8388    {
8389      return $this->selfLink;
8390    }
8391  }
8392  
8393  class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
8394  {
8395    protected $collection_key = 'items';
8396    protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
8397    protected $itemsDataType = 'array';
8398    public $itemsPerPage;
8399    public $kind;
8400    public $nextLink;
8401    public $previousLink;
8402    public $startIndex;
8403    public $totalResults;
8404    public $username;
8405  
8406    public function setItems($items)
8407    {
8408      $this->items = $items;
8409    }
8410  
8411    public function getItems()
8412    {
8413      return $this->items;
8414    }
8415  
8416    public function setItemsPerPage($itemsPerPage)
8417    {
8418      $this->itemsPerPage = $itemsPerPage;
8419    }
8420  
8421    public function getItemsPerPage()
8422    {
8423      return $this->itemsPerPage;
8424    }
8425  
8426    public function setKind($kind)
8427    {
8428      $this->kind = $kind;
8429    }
8430  
8431    public function getKind()
8432    {
8433      return $this->kind;
8434    }
8435  
8436    public function setNextLink($nextLink)
8437    {
8438      $this->nextLink = $nextLink;
8439    }
8440  
8441    public function getNextLink()
8442    {
8443      return $this->nextLink;
8444    }
8445  
8446    public function setPreviousLink($previousLink)
8447    {
8448      $this->previousLink = $previousLink;
8449    }
8450  
8451    public function getPreviousLink()
8452    {
8453      return $this->previousLink;
8454    }
8455  
8456    public function setStartIndex($startIndex)
8457    {
8458      $this->startIndex = $startIndex;
8459    }
8460  
8461    public function getStartIndex()
8462    {
8463      return $this->startIndex;
8464    }
8465  
8466    public function setTotalResults($totalResults)
8467    {
8468      $this->totalResults = $totalResults;
8469    }
8470  
8471    public function getTotalResults()
8472    {
8473      return $this->totalResults;
8474    }
8475  
8476    public function setUsername($username)
8477    {
8478      $this->username = $username;
8479    }
8480  
8481    public function getUsername()
8482    {
8483      return $this->username;
8484    }
8485  }
8486  
8487  class Google_Service_Analytics_ProfileParentLink extends Google_Model
8488  {
8489    public $href;
8490    public $type;
8491  
8492    public function setHref($href)
8493    {
8494      $this->href = $href;
8495    }
8496  
8497    public function getHref()
8498    {
8499      return $this->href;
8500    }
8501  
8502    public function setType($type)
8503    {
8504      $this->type = $type;
8505    }
8506  
8507    public function getType()
8508    {
8509      return $this->type;
8510    }
8511  }
8512  
8513  class Google_Service_Analytics_ProfilePermissions extends Google_Collection
8514  {
8515    protected $collection_key = 'effective';
8516    public $effective;
8517  
8518    public function setEffective($effective)
8519    {
8520      $this->effective = $effective;
8521    }
8522  
8523    public function getEffective()
8524    {
8525      return $this->effective;
8526    }
8527  }
8528  
8529  class Google_Service_Analytics_ProfileRef extends Google_Model
8530  {
8531    public $accountId;
8532    public $href;
8533    public $id;
8534    public $internalWebPropertyId;
8535    public $kind;
8536    public $name;
8537    public $webPropertyId;
8538  
8539    public function setAccountId($accountId)
8540    {
8541      $this->accountId = $accountId;
8542    }
8543  
8544    public function getAccountId()
8545    {
8546      return $this->accountId;
8547    }
8548  
8549    public function setHref($href)
8550    {
8551      $this->href = $href;
8552    }
8553  
8554    public function getHref()
8555    {
8556      return $this->href;
8557    }
8558  
8559    public function setId($id)
8560    {
8561      $this->id = $id;
8562    }
8563  
8564    public function getId()
8565    {
8566      return $this->id;
8567    }
8568  
8569    public function setInternalWebPropertyId($internalWebPropertyId)
8570    {
8571      $this->internalWebPropertyId = $internalWebPropertyId;
8572    }
8573  
8574    public function getInternalWebPropertyId()
8575    {
8576      return $this->internalWebPropertyId;
8577    }
8578  
8579    public function setKind($kind)
8580    {
8581      $this->kind = $kind;
8582    }
8583  
8584    public function getKind()
8585    {
8586      return $this->kind;
8587    }
8588  
8589    public function setName($name)
8590    {
8591      $this->name = $name;
8592    }
8593  
8594    public function getName()
8595    {
8596      return $this->name;
8597    }
8598  
8599    public function setWebPropertyId($webPropertyId)
8600    {
8601      $this->webPropertyId = $webPropertyId;
8602    }
8603  
8604    public function getWebPropertyId()
8605    {
8606      return $this->webPropertyId;
8607    }
8608  }
8609  
8610  class Google_Service_Analytics_ProfileSummary extends Google_Model
8611  {
8612    public $id;
8613    public $kind;
8614    public $name;
8615    public $type;
8616  
8617    public function setId($id)
8618    {
8619      $this->id = $id;
8620    }
8621  
8622    public function getId()
8623    {
8624      return $this->id;
8625    }
8626  
8627    public function setKind($kind)
8628    {
8629      $this->kind = $kind;
8630    }
8631  
8632    public function getKind()
8633    {
8634      return $this->kind;
8635    }
8636  
8637    public function setName($name)
8638    {
8639      $this->name = $name;
8640    }
8641  
8642    public function getName()
8643    {
8644      return $this->name;
8645    }
8646  
8647    public function setType($type)
8648    {
8649      $this->type = $type;
8650    }
8651  
8652    public function getType()
8653    {
8654      return $this->type;
8655    }
8656  }
8657  
8658  class Google_Service_Analytics_Profiles extends Google_Collection
8659  {
8660    protected $collection_key = 'items';
8661    protected $itemsType = 'Google_Service_Analytics_Profile';
8662    protected $itemsDataType = 'array';
8663    public $itemsPerPage;
8664    public $kind;
8665    public $nextLink;
8666    public $previousLink;
8667    public $startIndex;
8668    public $totalResults;
8669    public $username;
8670  
8671    public function setItems($items)
8672    {
8673      $this->items = $items;
8674    }
8675  
8676    public function getItems()
8677    {
8678      return $this->items;
8679    }
8680  
8681    public function setItemsPerPage($itemsPerPage)
8682    {
8683      $this->itemsPerPage = $itemsPerPage;
8684    }
8685  
8686    public function getItemsPerPage()
8687    {
8688      return $this->itemsPerPage;
8689    }
8690  
8691    public function setKind($kind)
8692    {
8693      $this->kind = $kind;
8694    }
8695  
8696    public function getKind()
8697    {
8698      return $this->kind;
8699    }
8700  
8701    public function setNextLink($nextLink)
8702    {
8703      $this->nextLink = $nextLink;
8704    }
8705  
8706    public function getNextLink()
8707    {
8708      return $this->nextLink;
8709    }
8710  
8711    public function setPreviousLink($previousLink)
8712    {
8713      $this->previousLink = $previousLink;
8714    }
8715  
8716    public function getPreviousLink()
8717    {
8718      return $this->previousLink;
8719    }
8720  
8721    public function setStartIndex($startIndex)
8722    {
8723      $this->startIndex = $startIndex;
8724    }
8725  
8726    public function getStartIndex()
8727    {
8728      return $this->startIndex;
8729    }
8730  
8731    public function setTotalResults($totalResults)
8732    {
8733      $this->totalResults = $totalResults;
8734    }
8735  
8736    public function getTotalResults()
8737    {
8738      return $this->totalResults;
8739    }
8740  
8741    public function setUsername($username)
8742    {
8743      $this->username = $username;
8744    }
8745  
8746    public function getUsername()
8747    {
8748      return $this->username;
8749    }
8750  }
8751  
8752  class Google_Service_Analytics_RealtimeData extends Google_Collection
8753  {
8754    protected $collection_key = 'rows';
8755    protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
8756    protected $columnHeadersDataType = 'array';
8757    public $id;
8758    public $kind;
8759    protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
8760    protected $profileInfoDataType = '';
8761    protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
8762    protected $queryDataType = '';
8763    public $rows;
8764    public $selfLink;
8765    public $totalResults;
8766    public $totalsForAllResults;
8767  
8768    public function setColumnHeaders($columnHeaders)
8769    {
8770      $this->columnHeaders = $columnHeaders;
8771    }
8772  
8773    public function getColumnHeaders()
8774    {
8775      return $this->columnHeaders;
8776    }
8777  
8778    public function setId($id)
8779    {
8780      $this->id = $id;
8781    }
8782  
8783    public function getId()
8784    {
8785      return $this->id;
8786    }
8787  
8788    public function setKind($kind)
8789    {
8790      $this->kind = $kind;
8791    }
8792  
8793    public function getKind()
8794    {
8795      return $this->kind;
8796    }
8797  
8798    public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
8799    {
8800      $this->profileInfo = $profileInfo;
8801    }
8802  
8803    public function getProfileInfo()
8804    {
8805      return $this->profileInfo;
8806    }
8807  
8808    public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
8809    {
8810      $this->query = $query;
8811    }
8812  
8813    public function getQuery()
8814    {
8815      return $this->query;
8816    }
8817  
8818    public function setRows($rows)
8819    {
8820      $this->rows = $rows;
8821    }
8822  
8823    public function getRows()
8824    {
8825      return $this->rows;
8826    }
8827  
8828    public function setSelfLink($selfLink)
8829    {
8830      $this->selfLink = $selfLink;
8831    }
8832  
8833    public function getSelfLink()
8834    {
8835      return $this->selfLink;
8836    }
8837  
8838    public function setTotalResults($totalResults)
8839    {
8840      $this->totalResults = $totalResults;
8841    }
8842  
8843    public function getTotalResults()
8844    {
8845      return $this->totalResults;
8846    }
8847  
8848    public function setTotalsForAllResults($totalsForAllResults)
8849    {
8850      $this->totalsForAllResults = $totalsForAllResults;
8851    }
8852  
8853    public function getTotalsForAllResults()
8854    {
8855      return $this->totalsForAllResults;
8856    }
8857  }
8858  
8859  class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
8860  {
8861    public $columnType;
8862    public $dataType;
8863    public $name;
8864  
8865    public function setColumnType($columnType)
8866    {
8867      $this->columnType = $columnType;
8868    }
8869  
8870    public function getColumnType()
8871    {
8872      return $this->columnType;
8873    }
8874  
8875    public function setDataType($dataType)
8876    {
8877      $this->dataType = $dataType;
8878    }
8879  
8880    public function getDataType()
8881    {
8882      return $this->dataType;
8883    }
8884  
8885    public function setName($name)
8886    {
8887      $this->name = $name;
8888    }
8889  
8890    public function getName()
8891    {
8892      return $this->name;
8893    }
8894  }
8895  
8896  class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
8897  {
8898    public $accountId;
8899    public $internalWebPropertyId;
8900    public $profileId;
8901    public $profileName;
8902    public $tableId;
8903    public $webPropertyId;
8904  
8905    public function setAccountId($accountId)
8906    {
8907      $this->accountId = $accountId;
8908    }
8909  
8910    public function getAccountId()
8911    {
8912      return $this->accountId;
8913    }
8914  
8915    public function setInternalWebPropertyId($internalWebPropertyId)
8916    {
8917      $this->internalWebPropertyId = $internalWebPropertyId;
8918    }
8919  
8920    public function getInternalWebPropertyId()
8921    {
8922      return $this->internalWebPropertyId;
8923    }
8924  
8925    public function setProfileId($profileId)
8926    {
8927      $this->profileId = $profileId;
8928    }
8929  
8930    public function getProfileId()
8931    {
8932      return $this->profileId;
8933    }
8934  
8935    public function setProfileName($profileName)
8936    {
8937      $this->profileName = $profileName;
8938    }
8939  
8940    public function getProfileName()
8941    {
8942      return $this->profileName;
8943    }
8944  
8945    public function setTableId($tableId)
8946    {
8947      $this->tableId = $tableId;
8948    }
8949  
8950    public function getTableId()
8951    {
8952      return $this->tableId;
8953    }
8954  
8955    public function setWebPropertyId($webPropertyId)
8956    {
8957      $this->webPropertyId = $webPropertyId;
8958    }
8959  
8960    public function getWebPropertyId()
8961    {
8962      return $this->webPropertyId;
8963    }
8964  }
8965  
8966  class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
8967  {
8968    protected $collection_key = 'sort';
8969    public $dimensions;
8970    public $filters;
8971    public $ids;
8972    public $maxResults;
8973    public $metrics;
8974    public $sort;
8975  
8976    public function setDimensions($dimensions)
8977    {
8978      $this->dimensions = $dimensions;
8979    }
8980  
8981    public function getDimensions()
8982    {
8983      return $this->dimensions;
8984    }
8985  
8986    public function setFilters($filters)
8987    {
8988      $this->filters = $filters;
8989    }
8990  
8991    public function getFilters()
8992    {
8993      return $this->filters;
8994    }
8995  
8996    public function setIds($ids)
8997    {
8998      $this->ids = $ids;
8999    }
9000  
9001    public function getIds()
9002    {
9003      return $this->ids;
9004    }
9005  
9006    public function setMaxResults($maxResults)
9007    {
9008      $this->maxResults = $maxResults;
9009    }
9010  
9011    public function getMaxResults()
9012    {
9013      return $this->maxResults;
9014    }
9015  
9016    public function setMetrics($metrics)
9017    {
9018      $this->metrics = $metrics;
9019    }
9020  
9021    public function getMetrics()
9022    {
9023      return $this->metrics;
9024    }
9025  
9026    public function setSort($sort)
9027    {
9028      $this->sort = $sort;
9029    }
9030  
9031    public function getSort()
9032    {
9033      return $this->sort;
9034    }
9035  }
9036  
9037  class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model
9038  {
9039  
9040  }
9041  
9042  class Google_Service_Analytics_Segment extends Google_Model
9043  {
9044    public $created;
9045    public $definition;
9046    public $id;
9047    public $kind;
9048    public $name;
9049    public $segmentId;
9050    public $selfLink;
9051    public $type;
9052    public $updated;
9053  
9054    public function setCreated($created)
9055    {
9056      $this->created = $created;
9057    }
9058  
9059    public function getCreated()
9060    {
9061      return $this->created;
9062    }
9063  
9064    public function setDefinition($definition)
9065    {
9066      $this->definition = $definition;
9067    }
9068  
9069    public function getDefinition()
9070    {
9071      return $this->definition;
9072    }
9073  
9074    public function setId($id)
9075    {
9076      $this->id = $id;
9077    }
9078  
9079    public function getId()
9080    {
9081      return $this->id;
9082    }
9083  
9084    public function setKind($kind)
9085    {
9086      $this->kind = $kind;
9087    }
9088  
9089    public function getKind()
9090    {
9091      return $this->kind;
9092    }
9093  
9094    public function setName($name)
9095    {
9096      $this->name = $name;
9097    }
9098  
9099    public function getName()
9100    {
9101      return $this->name;
9102    }
9103  
9104    public function setSegmentId($segmentId)
9105    {
9106      $this->segmentId = $segmentId;
9107    }
9108  
9109    public function getSegmentId()
9110    {
9111      return $this->segmentId;
9112    }
9113  
9114    public function setSelfLink($selfLink)
9115    {
9116      $this->selfLink = $selfLink;
9117    }
9118  
9119    public function getSelfLink()
9120    {
9121      return $this->selfLink;
9122    }
9123  
9124    public function setType($type)
9125    {
9126      $this->type = $type;
9127    }
9128  
9129    public function getType()
9130    {
9131      return $this->type;
9132    }
9133  
9134    public function setUpdated($updated)
9135    {
9136      $this->updated = $updated;
9137    }
9138  
9139    public function getUpdated()
9140    {
9141      return $this->updated;
9142    }
9143  }
9144  
9145  class Google_Service_Analytics_Segments extends Google_Collection
9146  {
9147    protected $collection_key = 'items';
9148    protected $itemsType = 'Google_Service_Analytics_Segment';
9149    protected $itemsDataType = 'array';
9150    public $itemsPerPage;
9151    public $kind;
9152    public $nextLink;
9153    public $previousLink;
9154    public $startIndex;
9155    public $totalResults;
9156    public $username;
9157  
9158    public function setItems($items)
9159    {
9160      $this->items = $items;
9161    }
9162  
9163    public function getItems()
9164    {
9165      return $this->items;
9166    }
9167  
9168    public function setItemsPerPage($itemsPerPage)
9169    {
9170      $this->itemsPerPage = $itemsPerPage;
9171    }
9172  
9173    public function getItemsPerPage()
9174    {
9175      return $this->itemsPerPage;
9176    }
9177  
9178    public function setKind($kind)
9179    {
9180      $this->kind = $kind;
9181    }
9182  
9183    public function getKind()
9184    {
9185      return $this->kind;
9186    }
9187  
9188    public function setNextLink($nextLink)
9189    {
9190      $this->nextLink = $nextLink;
9191    }
9192  
9193    public function getNextLink()
9194    {
9195      return $this->nextLink;
9196    }
9197  
9198    public function setPreviousLink($previousLink)
9199    {
9200      $this->previousLink = $previousLink;
9201    }
9202  
9203    public function getPreviousLink()
9204    {
9205      return $this->previousLink;
9206    }
9207  
9208    public function setStartIndex($startIndex)
9209    {
9210      $this->startIndex = $startIndex;
9211    }
9212  
9213    public function getStartIndex()
9214    {
9215      return $this->startIndex;
9216    }
9217  
9218    public function setTotalResults($totalResults)
9219    {
9220      $this->totalResults = $totalResults;
9221    }
9222  
9223    public function getTotalResults()
9224    {
9225      return $this->totalResults;
9226    }
9227  
9228    public function setUsername($username)
9229    {
9230      $this->username = $username;
9231    }
9232  
9233    public function getUsername()
9234    {
9235      return $this->username;
9236    }
9237  }
9238  
9239  class Google_Service_Analytics_UnsampledReport extends Google_Model
9240  {
9241    public $accountId;
9242    protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
9243    protected $cloudStorageDownloadDetailsDataType = '';
9244    public $created;
9245    public $dimensions;
9246    public $downloadType;
9247    protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
9248    protected $driveDownloadDetailsDataType = '';
9249    public $endDate;
9250    public $filters;
9251    public $id;
9252    public $kind;
9253    public $metrics;
9254    public $profileId;
9255    public $segment;
9256    public $selfLink;
9257    public $startDate;
9258    public $status;
9259    public $title;
9260    public $updated;
9261    public $webPropertyId;
9262  
9263    public function setAccountId($accountId)
9264    {
9265      $this->accountId = $accountId;
9266    }
9267  
9268    public function getAccountId()
9269    {
9270      return $this->accountId;
9271    }
9272  
9273    public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
9274    {
9275      $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
9276    }
9277  
9278    public function getCloudStorageDownloadDetails()
9279    {
9280      return $this->cloudStorageDownloadDetails;
9281    }
9282  
9283    public function setCreated($created)
9284    {
9285      $this->created = $created;
9286    }
9287  
9288    public function getCreated()
9289    {
9290      return $this->created;
9291    }
9292  
9293    public function setDimensions($dimensions)
9294    {
9295      $this->dimensions = $dimensions;
9296    }
9297  
9298    public function getDimensions()
9299    {
9300      return $this->dimensions;
9301    }
9302  
9303    public function setDownloadType($downloadType)
9304    {
9305      $this->downloadType = $downloadType;
9306    }
9307  
9308    public function getDownloadType()
9309    {
9310      return $this->downloadType;
9311    }
9312  
9313    public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
9314    {
9315      $this->driveDownloadDetails = $driveDownloadDetails;
9316    }
9317  
9318    public function getDriveDownloadDetails()
9319    {
9320      return $this->driveDownloadDetails;
9321    }
9322  
9323    public function setEndDate($endDate)
9324    {
9325      $this->endDate = $endDate;
9326    }
9327  
9328    public function getEndDate()
9329    {
9330      return $this->endDate;
9331    }
9332  
9333    public function setFilters($filters)
9334    {
9335      $this->filters = $filters;
9336    }
9337  
9338    public function getFilters()
9339    {
9340      return $this->filters;
9341    }
9342  
9343    public function setId($id)
9344    {
9345      $this->id = $id;
9346    }
9347  
9348    public function getId()
9349    {
9350      return $this->id;
9351    }
9352  
9353    public function setKind($kind)
9354    {
9355      $this->kind = $kind;
9356    }
9357  
9358    public function getKind()
9359    {
9360      return $this->kind;
9361    }
9362  
9363    public function setMetrics($metrics)
9364    {
9365      $this->metrics = $metrics;
9366    }
9367  
9368    public function getMetrics()
9369    {
9370      return $this->metrics;
9371    }
9372  
9373    public function setProfileId($profileId)
9374    {
9375      $this->profileId = $profileId;
9376    }
9377  
9378    public function getProfileId()
9379    {
9380      return $this->profileId;
9381    }
9382  
9383    public function setSegment($segment)
9384    {
9385      $this->segment = $segment;
9386    }
9387  
9388    public function getSegment()
9389    {
9390      return $this->segment;
9391    }
9392  
9393    public function setSelfLink($selfLink)
9394    {
9395      $this->selfLink = $selfLink;
9396    }
9397  
9398    public function getSelfLink()
9399    {
9400      return $this->selfLink;
9401    }
9402  
9403    public function setStartDate($startDate)
9404    {
9405      $this->startDate = $startDate;
9406    }
9407  
9408    public function getStartDate()
9409    {
9410      return $this->startDate;
9411    }
9412  
9413    public function setStatus($status)
9414    {
9415      $this->status = $status;
9416    }
9417  
9418    public function getStatus()
9419    {
9420      return $this->status;
9421    }
9422  
9423    public function setTitle($title)
9424    {
9425      $this->title = $title;
9426    }
9427  
9428    public function getTitle()
9429    {
9430      return $this->title;
9431    }
9432  
9433    public function setUpdated($updated)
9434    {
9435      $this->updated = $updated;
9436    }
9437  
9438    public function getUpdated()
9439    {
9440      return $this->updated;
9441    }
9442  
9443    public function setWebPropertyId($webPropertyId)
9444    {
9445      $this->webPropertyId = $webPropertyId;
9446    }
9447  
9448    public function getWebPropertyId()
9449    {
9450      return $this->webPropertyId;
9451    }
9452  }
9453  
9454  class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model
9455  {
9456    public $bucketId;
9457    public $objectId;
9458  
9459    public function setBucketId($bucketId)
9460    {
9461      $this->bucketId = $bucketId;
9462    }
9463  
9464    public function getBucketId()
9465    {
9466      return $this->bucketId;
9467    }
9468  
9469    public function setObjectId($objectId)
9470    {
9471      $this->objectId = $objectId;
9472    }
9473  
9474    public function getObjectId()
9475    {
9476      return $this->objectId;
9477    }
9478  }
9479  
9480  class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model
9481  {
9482    public $documentId;
9483  
9484    public function setDocumentId($documentId)
9485    {
9486      $this->documentId = $documentId;
9487    }
9488  
9489    public function getDocumentId()
9490    {
9491      return $this->documentId;
9492    }
9493  }
9494  
9495  class Google_Service_Analytics_UnsampledReports extends Google_Collection
9496  {
9497    protected $collection_key = 'items';
9498    protected $itemsType = 'Google_Service_Analytics_UnsampledReport';
9499    protected $itemsDataType = 'array';
9500    public $itemsPerPage;
9501    public $kind;
9502    public $nextLink;
9503    public $previousLink;
9504    public $startIndex;
9505    public $totalResults;
9506    public $username;
9507  
9508    public function setItems($items)
9509    {
9510      $this->items = $items;
9511    }
9512  
9513    public function getItems()
9514    {
9515      return $this->items;
9516    }
9517  
9518    public function setItemsPerPage($itemsPerPage)
9519    {
9520      $this->itemsPerPage = $itemsPerPage;
9521    }
9522  
9523    public function getItemsPerPage()
9524    {
9525      return $this->itemsPerPage;
9526    }
9527  
9528    public function setKind($kind)
9529    {
9530      $this->kind = $kind;
9531    }
9532  
9533    public function getKind()
9534    {
9535      return $this->kind;
9536    }
9537  
9538    public function setNextLink($nextLink)
9539    {
9540      $this->nextLink = $nextLink;
9541    }
9542  
9543    public function getNextLink()
9544    {
9545      return $this->nextLink;
9546    }
9547  
9548    public function setPreviousLink($previousLink)
9549    {
9550      $this->previousLink = $previousLink;
9551    }
9552  
9553    public function getPreviousLink()
9554    {
9555      return $this->previousLink;
9556    }
9557  
9558    public function setStartIndex($startIndex)
9559    {
9560      $this->startIndex = $startIndex;
9561    }
9562  
9563    public function getStartIndex()
9564    {
9565      return $this->startIndex;
9566    }
9567  
9568    public function setTotalResults($totalResults)
9569    {
9570      $this->totalResults = $totalResults;
9571    }
9572  
9573    public function getTotalResults()
9574    {
9575      return $this->totalResults;
9576    }
9577  
9578    public function setUsername($username)
9579    {
9580      $this->username = $username;
9581    }
9582  
9583    public function getUsername()
9584    {
9585      return $this->username;
9586    }
9587  }
9588  
9589  class Google_Service_Analytics_Upload extends Google_Collection
9590  {
9591    protected $collection_key = 'errors';
9592    public $accountId;
9593    public $customDataSourceId;
9594    public $errors;
9595    public $id;
9596    public $kind;
9597    public $status;
9598  
9599    public function setAccountId($accountId)
9600    {
9601      $this->accountId = $accountId;
9602    }
9603  
9604    public function getAccountId()
9605    {
9606      return $this->accountId;
9607    }
9608  
9609    public function setCustomDataSourceId($customDataSourceId)
9610    {
9611      $this->customDataSourceId = $customDataSourceId;
9612    }
9613  
9614    public function getCustomDataSourceId()
9615    {
9616      return $this->customDataSourceId;
9617    }
9618  
9619    public function setErrors($errors)
9620    {
9621      $this->errors = $errors;
9622    }
9623  
9624    public function getErrors()
9625    {
9626      return $this->errors;
9627    }
9628  
9629    public function setId($id)
9630    {
9631      $this->id = $id;
9632    }
9633  
9634    public function getId()
9635    {
9636      return $this->id;
9637    }
9638  
9639    public function setKind($kind)
9640    {
9641      $this->kind = $kind;
9642    }
9643  
9644    public function getKind()
9645    {
9646      return $this->kind;
9647    }
9648  
9649    public function setStatus($status)
9650    {
9651      $this->status = $status;
9652    }
9653  
9654    public function getStatus()
9655    {
9656      return $this->status;
9657    }
9658  }
9659  
9660  class Google_Service_Analytics_Uploads extends Google_Collection
9661  {
9662    protected $collection_key = 'items';
9663    protected $itemsType = 'Google_Service_Analytics_Upload';
9664    protected $itemsDataType = 'array';
9665    public $itemsPerPage;
9666    public $kind;
9667    public $nextLink;
9668    public $previousLink;
9669    public $startIndex;
9670    public $totalResults;
9671  
9672    public function setItems($items)
9673    {
9674      $this->items = $items;
9675    }
9676  
9677    public function getItems()
9678    {
9679      return $this->items;
9680    }
9681  
9682    public function setItemsPerPage($itemsPerPage)
9683    {
9684      $this->itemsPerPage = $itemsPerPage;
9685    }
9686  
9687    public function getItemsPerPage()
9688    {
9689      return $this->itemsPerPage;
9690    }
9691  
9692    public function setKind($kind)
9693    {
9694      $this->kind = $kind;
9695    }
9696  
9697    public function getKind()
9698    {
9699      return $this->kind;
9700    }
9701  
9702    public function setNextLink($nextLink)
9703    {
9704      $this->nextLink = $nextLink;
9705    }
9706  
9707    public function getNextLink()
9708    {
9709      return $this->nextLink;
9710    }
9711  
9712    public function setPreviousLink($previousLink)
9713    {
9714      $this->previousLink = $previousLink;
9715    }
9716  
9717    public function getPreviousLink()
9718    {
9719      return $this->previousLink;
9720    }
9721  
9722    public function setStartIndex($startIndex)
9723    {
9724      $this->startIndex = $startIndex;
9725    }
9726  
9727    public function getStartIndex()
9728    {
9729      return $this->startIndex;
9730    }
9731  
9732    public function setTotalResults($totalResults)
9733    {
9734      $this->totalResults = $totalResults;
9735    }
9736  
9737    public function getTotalResults()
9738    {
9739      return $this->totalResults;
9740    }
9741  }
9742  
9743  class Google_Service_Analytics_UserRef extends Google_Model
9744  {
9745    public $email;
9746    public $id;
9747    public $kind;
9748  
9749    public function setEmail($email)
9750    {
9751      $this->email = $email;
9752    }
9753  
9754    public function getEmail()
9755    {
9756      return $this->email;
9757    }
9758  
9759    public function setId($id)
9760    {
9761      $this->id = $id;
9762    }
9763  
9764    public function getId()
9765    {
9766      return $this->id;
9767    }
9768  
9769    public function setKind($kind)
9770    {
9771      $this->kind = $kind;
9772    }
9773  
9774    public function getKind()
9775    {
9776      return $this->kind;
9777    }
9778  }
9779  
9780  class Google_Service_Analytics_WebPropertyRef extends Google_Model
9781  {
9782    public $accountId;
9783    public $href;
9784    public $id;
9785    public $internalWebPropertyId;
9786    public $kind;
9787    public $name;
9788  
9789    public function setAccountId($accountId)
9790    {
9791      $this->accountId = $accountId;
9792    }
9793  
9794    public function getAccountId()
9795    {
9796      return $this->accountId;
9797    }
9798  
9799    public function setHref($href)
9800    {
9801      $this->href = $href;
9802    }
9803  
9804    public function getHref()
9805    {
9806      return $this->href;
9807    }
9808  
9809    public function setId($id)
9810    {
9811      $this->id = $id;
9812    }
9813  
9814    public function getId()
9815    {
9816      return $this->id;
9817    }
9818  
9819    public function setInternalWebPropertyId($internalWebPropertyId)
9820    {
9821      $this->internalWebPropertyId = $internalWebPropertyId;
9822    }
9823  
9824    public function getInternalWebPropertyId()
9825    {
9826      return $this->internalWebPropertyId;
9827    }
9828  
9829    public function setKind($kind)
9830    {
9831      $this->kind = $kind;
9832    }
9833  
9834    public function getKind()
9835    {
9836      return $this->kind;
9837    }
9838  
9839    public function setName($name)
9840    {
9841      $this->name = $name;
9842    }
9843  
9844    public function getName()
9845    {
9846      return $this->name;
9847    }
9848  }
9849  
9850  class Google_Service_Analytics_WebPropertySummary extends Google_Collection
9851  {
9852    protected $collection_key = 'profiles';
9853    public $id;
9854    public $internalWebPropertyId;
9855    public $kind;
9856    public $level;
9857    public $name;
9858    protected $profilesType = 'Google_Service_Analytics_ProfileSummary';
9859    protected $profilesDataType = 'array';
9860    public $websiteUrl;
9861  
9862    public function setId($id)
9863    {
9864      $this->id = $id;
9865    }
9866  
9867    public function getId()
9868    {
9869      return $this->id;
9870    }
9871  
9872    public function setInternalWebPropertyId($internalWebPropertyId)
9873    {
9874      $this->internalWebPropertyId = $internalWebPropertyId;
9875    }
9876  
9877    public function getInternalWebPropertyId()
9878    {
9879      return $this->internalWebPropertyId;
9880    }
9881  
9882    public function setKind($kind)
9883    {
9884      $this->kind = $kind;
9885    }
9886  
9887    public function getKind()
9888    {
9889      return $this->kind;
9890    }
9891  
9892    public function setLevel($level)
9893    {
9894      $this->level = $level;
9895    }
9896  
9897    public function getLevel()
9898    {
9899      return $this->level;
9900    }
9901  
9902    public function setName($name)
9903    {
9904      $this->name = $name;
9905    }
9906  
9907    public function getName()
9908    {
9909      return $this->name;
9910    }
9911  
9912    public function setProfiles($profiles)
9913    {
9914      $this->profiles = $profiles;
9915    }
9916  
9917    public function getProfiles()
9918    {
9919      return $this->profiles;
9920    }
9921  
9922    public function setWebsiteUrl($websiteUrl)
9923    {
9924      $this->websiteUrl = $websiteUrl;
9925    }
9926  
9927    public function getWebsiteUrl()
9928    {
9929      return $this->websiteUrl;
9930    }
9931  }
9932  
9933  class Google_Service_Analytics_Webproperties extends Google_Collection
9934  {
9935    protected $collection_key = 'items';
9936    protected $itemsType = 'Google_Service_Analytics_Webproperty';
9937    protected $itemsDataType = 'array';
9938    public $itemsPerPage;
9939    public $kind;
9940    public $nextLink;
9941    public $previousLink;
9942    public $startIndex;
9943    public $totalResults;
9944    public $username;
9945  
9946    public function setItems($items)
9947    {
9948      $this->items = $items;
9949    }
9950  
9951    public function getItems()
9952    {
9953      return $this->items;
9954    }
9955  
9956    public function setItemsPerPage($itemsPerPage)
9957    {
9958      $this->itemsPerPage = $itemsPerPage;
9959    }
9960  
9961    public function getItemsPerPage()
9962    {
9963      return $this->itemsPerPage;
9964    }
9965  
9966    public function setKind($kind)
9967    {
9968      $this->kind = $kind;
9969    }
9970  
9971    public function getKind()
9972    {
9973      return $this->kind;
9974    }
9975  
9976    public function setNextLink($nextLink)
9977    {
9978      $this->nextLink = $nextLink;
9979    }
9980  
9981    public function getNextLink()
9982    {
9983      return $this->nextLink;
9984    }
9985  
9986    public function setPreviousLink($previousLink)
9987    {
9988      $this->previousLink = $previousLink;
9989    }
9990  
9991    public function getPreviousLink()
9992    {
9993      return $this->previousLink;
9994    }
9995  
9996    public function setStartIndex($startIndex)
9997    {
9998      $this->startIndex = $startIndex;
9999    }
10000  
10001    public function getStartIndex()
10002    {
10003      return $this->startIndex;
10004    }
10005  
10006    public function setTotalResults($totalResults)
10007    {
10008      $this->totalResults = $totalResults;
10009    }
10010  
10011    public function getTotalResults()
10012    {
10013      return $this->totalResults;
10014    }
10015  
10016    public function setUsername($username)
10017    {
10018      $this->username = $username;
10019    }
10020  
10021    public function getUsername()
10022    {
10023      return $this->username;
10024    }
10025  }
10026  
10027  class Google_Service_Analytics_Webproperty extends Google_Model
10028  {
10029    public $accountId;
10030    protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink';
10031    protected $childLinkDataType = '';
10032    public $created;
10033    public $defaultProfileId;
10034    public $id;
10035    public $industryVertical;
10036    public $internalWebPropertyId;
10037    public $kind;
10038    public $level;
10039    public $name;
10040    protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink';
10041    protected $parentLinkDataType = '';
10042    protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions';
10043    protected $permissionsDataType = '';
10044    public $profileCount;
10045    public $selfLink;
10046    public $updated;
10047    public $websiteUrl;
10048  
10049    public function setAccountId($accountId)
10050    {
10051      $this->accountId = $accountId;
10052    }
10053  
10054    public function getAccountId()
10055    {
10056      return $this->accountId;
10057    }
10058  
10059    public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink)
10060    {
10061      $this->childLink = $childLink;
10062    }
10063  
10064    public function getChildLink()
10065    {
10066      return $this->childLink;
10067    }
10068  
10069    public function setCreated($created)
10070    {
10071      $this->created = $created;
10072    }
10073  
10074    public function getCreated()
10075    {
10076      return $this->created;
10077    }
10078  
10079    public function setDefaultProfileId($defaultProfileId)
10080    {
10081      $this->defaultProfileId = $defaultProfileId;
10082    }
10083  
10084    public function getDefaultProfileId()
10085    {
10086      return $this->defaultProfileId;
10087    }
10088  
10089    public function setId($id)
10090    {
10091      $this->id = $id;
10092    }
10093  
10094    public function getId()
10095    {
10096      return $this->id;
10097    }
10098  
10099    public function setIndustryVertical($industryVertical)
10100    {
10101      $this->industryVertical = $industryVertical;
10102    }
10103  
10104    public function getIndustryVertical()
10105    {
10106      return $this->industryVertical;
10107    }
10108  
10109    public function setInternalWebPropertyId($internalWebPropertyId)
10110    {
10111      $this->internalWebPropertyId = $internalWebPropertyId;
10112    }
10113  
10114    public function getInternalWebPropertyId()
10115    {
10116      return $this->internalWebPropertyId;
10117    }
10118  
10119    public function setKind($kind)
10120    {
10121      $this->kind = $kind;
10122    }
10123  
10124    public function getKind()
10125    {
10126      return $this->kind;
10127    }
10128  
10129    public function setLevel($level)
10130    {
10131      $this->level = $level;
10132    }
10133  
10134    public function getLevel()
10135    {
10136      return $this->level;
10137    }
10138  
10139    public function setName($name)
10140    {
10141      $this->name = $name;
10142    }
10143  
10144    public function getName()
10145    {
10146      return $this->name;
10147    }
10148  
10149    public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink)
10150    {
10151      $this->parentLink = $parentLink;
10152    }
10153  
10154    public function getParentLink()
10155    {
10156      return $this->parentLink;
10157    }
10158  
10159    public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions)
10160    {
10161      $this->permissions = $permissions;
10162    }
10163  
10164    public function getPermissions()
10165    {
10166      return $this->permissions;
10167    }
10168  
10169    public function setProfileCount($profileCount)
10170    {
10171      $this->profileCount = $profileCount;
10172    }
10173  
10174    public function getProfileCount()
10175    {
10176      return $this->profileCount;
10177    }
10178  
10179    public function setSelfLink($selfLink)
10180    {
10181      $this->selfLink = $selfLink;
10182    }
10183  
10184    public function getSelfLink()
10185    {
10186      return $this->selfLink;
10187    }
10188  
10189    public function setUpdated($updated)
10190    {
10191      $this->updated = $updated;
10192    }
10193  
10194    public function getUpdated()
10195    {
10196      return $this->updated;
10197    }
10198  
10199    public function setWebsiteUrl($websiteUrl)
10200    {
10201      $this->websiteUrl = $websiteUrl;
10202    }
10203  
10204    public function getWebsiteUrl()
10205    {
10206      return $this->websiteUrl;
10207    }
10208  }
10209  
10210  class Google_Service_Analytics_WebpropertyChildLink extends Google_Model
10211  {
10212    public $href;
10213    public $type;
10214  
10215    public function setHref($href)
10216    {
10217      $this->href = $href;
10218    }
10219  
10220    public function getHref()
10221    {
10222      return $this->href;
10223    }
10224  
10225    public function setType($type)
10226    {
10227      $this->type = $type;
10228    }
10229  
10230    public function getType()
10231    {
10232      return $this->type;
10233    }
10234  }
10235  
10236  class Google_Service_Analytics_WebpropertyParentLink extends Google_Model
10237  {
10238    public $href;
10239    public $type;
10240  
10241    public function setHref($href)
10242    {
10243      $this->href = $href;
10244    }
10245  
10246    public function getHref()
10247    {
10248      return $this->href;
10249    }
10250  
10251    public function setType($type)
10252    {
10253      $this->type = $type;
10254    }
10255  
10256    public function getType()
10257    {
10258      return $this->type;
10259    }
10260  }
10261  
10262  class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection
10263  {
10264    protected $collection_key = 'effective';
10265    public $effective;
10266  
10267    public function setEffective($effective)
10268    {
10269      $this->effective = $effective;
10270    }
10271  
10272    public function getEffective()
10273    {
10274      return $this->effective;
10275    }
10276  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1