Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

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

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

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