1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18/**
19 * Service definition for Analytics (v3).
20 *
21 * <p>
22 * Views and manages 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 */
31class 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  /** Manage Google Analytics user deletion requests. */
52  const ANALYTICS_USER_DELETION =
53      "https://www.googleapis.com/auth/analytics.user.deletion";
54
55  public $data_ga;
56  public $data_mcf;
57  public $data_realtime;
58  public $management_accountSummaries;
59  public $management_accountUserLinks;
60  public $management_accounts;
61  public $management_clientId;
62  public $management_customDataSources;
63  public $management_customDimensions;
64  public $management_customMetrics;
65  public $management_experiments;
66  public $management_filters;
67  public $management_goals;
68  public $management_profileFilterLinks;
69  public $management_profileUserLinks;
70  public $management_profiles;
71  public $management_remarketingAudience;
72  public $management_segments;
73  public $management_unsampledReports;
74  public $management_uploads;
75  public $management_webPropertyAdWordsLinks;
76  public $management_webproperties;
77  public $management_webpropertyUserLinks;
78  public $metadata_columns;
79  public $provisioning;
80  public $userDeletion_userDeletionRequest;
81
82  /**
83   * Constructs the internal representation of the Analytics service.
84   *
85   * @param Google_Client $client
86   */
87  public function __construct(Google_Client $client)
88  {
89    parent::__construct($client);
90    $this->rootUrl = 'https://www.googleapis.com/';
91    $this->servicePath = 'analytics/v3/';
92    $this->batchPath = 'batch/analytics/v3';
93    $this->version = 'v3';
94    $this->serviceName = 'analytics';
95
96    $this->data_ga = new Google_Service_Analytics_Resource_DataGa(
97        $this,
98        $this->serviceName,
99        'ga',
100        array(
101          'methods' => array(
102            'get' => array(
103              'path' => 'data/ga',
104              'httpMethod' => 'GET',
105              'parameters' => array(
106                'ids' => array(
107                  'location' => 'query',
108                  'type' => 'string',
109                  'required' => true,
110                ),
111                'start-date' => array(
112                  'location' => 'query',
113                  'type' => 'string',
114                  'required' => true,
115                ),
116                'end-date' => array(
117                  'location' => 'query',
118                  'type' => 'string',
119                  'required' => true,
120                ),
121                'metrics' => array(
122                  'location' => 'query',
123                  'type' => 'string',
124                  'required' => true,
125                ),
126                'dimensions' => array(
127                  'location' => 'query',
128                  'type' => 'string',
129                ),
130                'filters' => array(
131                  'location' => 'query',
132                  'type' => 'string',
133                ),
134                'include-empty-rows' => array(
135                  'location' => 'query',
136                  'type' => 'boolean',
137                ),
138                'max-results' => array(
139                  'location' => 'query',
140                  'type' => 'integer',
141                ),
142                'output' => array(
143                  'location' => 'query',
144                  'type' => 'string',
145                ),
146                'samplingLevel' => array(
147                  'location' => 'query',
148                  'type' => 'string',
149                ),
150                'segment' => array(
151                  'location' => 'query',
152                  'type' => 'string',
153                ),
154                'sort' => array(
155                  'location' => 'query',
156                  'type' => 'string',
157                ),
158                'start-index' => array(
159                  'location' => 'query',
160                  'type' => 'integer',
161                ),
162              ),
163            ),
164          )
165        )
166    );
167    $this->data_mcf = new Google_Service_Analytics_Resource_DataMcf(
168        $this,
169        $this->serviceName,
170        'mcf',
171        array(
172          'methods' => array(
173            'get' => array(
174              'path' => 'data/mcf',
175              'httpMethod' => 'GET',
176              'parameters' => array(
177                'ids' => array(
178                  'location' => 'query',
179                  'type' => 'string',
180                  'required' => true,
181                ),
182                'start-date' => array(
183                  'location' => 'query',
184                  'type' => 'string',
185                  'required' => true,
186                ),
187                'end-date' => array(
188                  'location' => 'query',
189                  'type' => 'string',
190                  'required' => true,
191                ),
192                'metrics' => array(
193                  'location' => 'query',
194                  'type' => 'string',
195                  'required' => true,
196                ),
197                'dimensions' => array(
198                  'location' => 'query',
199                  'type' => 'string',
200                ),
201                'filters' => array(
202                  'location' => 'query',
203                  'type' => 'string',
204                ),
205                'max-results' => array(
206                  'location' => 'query',
207                  'type' => 'integer',
208                ),
209                'samplingLevel' => array(
210                  'location' => 'query',
211                  'type' => 'string',
212                ),
213                'sort' => array(
214                  'location' => 'query',
215                  'type' => 'string',
216                ),
217                'start-index' => array(
218                  'location' => 'query',
219                  'type' => 'integer',
220                ),
221              ),
222            ),
223          )
224        )
225    );
226    $this->data_realtime = new Google_Service_Analytics_Resource_DataRealtime(
227        $this,
228        $this->serviceName,
229        'realtime',
230        array(
231          'methods' => array(
232            'get' => array(
233              'path' => 'data/realtime',
234              'httpMethod' => 'GET',
235              'parameters' => array(
236                'ids' => array(
237                  'location' => 'query',
238                  'type' => 'string',
239                  'required' => true,
240                ),
241                'metrics' => array(
242                  'location' => 'query',
243                  'type' => 'string',
244                  'required' => true,
245                ),
246                'dimensions' => array(
247                  'location' => 'query',
248                  'type' => 'string',
249                ),
250                'filters' => array(
251                  'location' => 'query',
252                  'type' => 'string',
253                ),
254                'max-results' => array(
255                  'location' => 'query',
256                  'type' => 'integer',
257                ),
258                'sort' => array(
259                  'location' => 'query',
260                  'type' => 'string',
261                ),
262              ),
263            ),
264          )
265        )
266    );
267    $this->management_accountSummaries = new Google_Service_Analytics_Resource_ManagementAccountSummaries(
268        $this,
269        $this->serviceName,
270        'accountSummaries',
271        array(
272          'methods' => array(
273            'list' => array(
274              'path' => 'management/accountSummaries',
275              'httpMethod' => 'GET',
276              'parameters' => array(
277                'max-results' => array(
278                  'location' => 'query',
279                  'type' => 'integer',
280                ),
281                'start-index' => array(
282                  'location' => 'query',
283                  'type' => 'integer',
284                ),
285              ),
286            ),
287          )
288        )
289    );
290    $this->management_accountUserLinks = new Google_Service_Analytics_Resource_ManagementAccountUserLinks(
291        $this,
292        $this->serviceName,
293        'accountUserLinks',
294        array(
295          'methods' => array(
296            'delete' => array(
297              'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
298              'httpMethod' => 'DELETE',
299              'parameters' => array(
300                'accountId' => array(
301                  'location' => 'path',
302                  'type' => 'string',
303                  'required' => true,
304                ),
305                'linkId' => array(
306                  'location' => 'path',
307                  'type' => 'string',
308                  'required' => true,
309                ),
310              ),
311            ),'insert' => array(
312              'path' => 'management/accounts/{accountId}/entityUserLinks',
313              'httpMethod' => 'POST',
314              'parameters' => array(
315                'accountId' => array(
316                  'location' => 'path',
317                  'type' => 'string',
318                  'required' => true,
319                ),
320              ),
321            ),'list' => array(
322              'path' => 'management/accounts/{accountId}/entityUserLinks',
323              'httpMethod' => 'GET',
324              'parameters' => array(
325                'accountId' => array(
326                  'location' => 'path',
327                  'type' => 'string',
328                  'required' => true,
329                ),
330                'max-results' => array(
331                  'location' => 'query',
332                  'type' => 'integer',
333                ),
334                'start-index' => array(
335                  'location' => 'query',
336                  'type' => 'integer',
337                ),
338              ),
339            ),'update' => array(
340              'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
341              'httpMethod' => 'PUT',
342              'parameters' => array(
343                'accountId' => array(
344                  'location' => 'path',
345                  'type' => 'string',
346                  'required' => true,
347                ),
348                'linkId' => array(
349                  'location' => 'path',
350                  'type' => 'string',
351                  'required' => true,
352                ),
353              ),
354            ),
355          )
356        )
357    );
358    $this->management_accounts = new Google_Service_Analytics_Resource_ManagementAccounts(
359        $this,
360        $this->serviceName,
361        'accounts',
362        array(
363          'methods' => array(
364            'list' => array(
365              'path' => 'management/accounts',
366              'httpMethod' => 'GET',
367              'parameters' => array(
368                'max-results' => array(
369                  'location' => 'query',
370                  'type' => 'integer',
371                ),
372                'start-index' => array(
373                  'location' => 'query',
374                  'type' => 'integer',
375                ),
376              ),
377            ),
378          )
379        )
380    );
381    $this->management_clientId = new Google_Service_Analytics_Resource_ManagementClientId(
382        $this,
383        $this->serviceName,
384        'clientId',
385        array(
386          'methods' => array(
387            'hashClientId' => array(
388              'path' => 'management/clientId:hashClientId',
389              'httpMethod' => 'POST',
390              'parameters' => array(),
391            ),
392          )
393        )
394    );
395    $this->management_customDataSources = new Google_Service_Analytics_Resource_ManagementCustomDataSources(
396        $this,
397        $this->serviceName,
398        'customDataSources',
399        array(
400          'methods' => array(
401            'list' => array(
402              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',
403              'httpMethod' => 'GET',
404              'parameters' => array(
405                'accountId' => array(
406                  'location' => 'path',
407                  'type' => 'string',
408                  'required' => true,
409                ),
410                'webPropertyId' => array(
411                  'location' => 'path',
412                  'type' => 'string',
413                  'required' => true,
414                ),
415                'max-results' => array(
416                  'location' => 'query',
417                  'type' => 'integer',
418                ),
419                'start-index' => array(
420                  'location' => 'query',
421                  'type' => 'integer',
422                ),
423              ),
424            ),
425          )
426        )
427    );
428    $this->management_customDimensions = new Google_Service_Analytics_Resource_ManagementCustomDimensions(
429        $this,
430        $this->serviceName,
431        'customDimensions',
432        array(
433          'methods' => array(
434            'get' => array(
435              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
436              'httpMethod' => 'GET',
437              'parameters' => array(
438                'accountId' => array(
439                  'location' => 'path',
440                  'type' => 'string',
441                  'required' => true,
442                ),
443                'webPropertyId' => array(
444                  'location' => 'path',
445                  'type' => 'string',
446                  'required' => true,
447                ),
448                'customDimensionId' => array(
449                  'location' => 'path',
450                  'type' => 'string',
451                  'required' => true,
452                ),
453              ),
454            ),'insert' => array(
455              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
456              'httpMethod' => 'POST',
457              'parameters' => array(
458                'accountId' => array(
459                  'location' => 'path',
460                  'type' => 'string',
461                  'required' => true,
462                ),
463                'webPropertyId' => array(
464                  'location' => 'path',
465                  'type' => 'string',
466                  'required' => true,
467                ),
468              ),
469            ),'list' => array(
470              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
471              'httpMethod' => 'GET',
472              'parameters' => array(
473                'accountId' => array(
474                  'location' => 'path',
475                  'type' => 'string',
476                  'required' => true,
477                ),
478                'webPropertyId' => array(
479                  'location' => 'path',
480                  'type' => 'string',
481                  'required' => true,
482                ),
483                'max-results' => array(
484                  'location' => 'query',
485                  'type' => 'integer',
486                ),
487                'start-index' => array(
488                  'location' => 'query',
489                  'type' => 'integer',
490                ),
491              ),
492            ),'patch' => array(
493              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
494              'httpMethod' => 'PATCH',
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            ),'update' => array(
517              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
518              'httpMethod' => 'PUT',
519              'parameters' => array(
520                'accountId' => array(
521                  'location' => 'path',
522                  'type' => 'string',
523                  'required' => true,
524                ),
525                'webPropertyId' => array(
526                  'location' => 'path',
527                  'type' => 'string',
528                  'required' => true,
529                ),
530                'customDimensionId' => array(
531                  'location' => 'path',
532                  'type' => 'string',
533                  'required' => true,
534                ),
535                'ignoreCustomDataSourceLinks' => array(
536                  'location' => 'query',
537                  'type' => 'boolean',
538                ),
539              ),
540            ),
541          )
542        )
543    );
544    $this->management_customMetrics = new Google_Service_Analytics_Resource_ManagementCustomMetrics(
545        $this,
546        $this->serviceName,
547        'customMetrics',
548        array(
549          'methods' => array(
550            'get' => array(
551              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
552              'httpMethod' => 'GET',
553              'parameters' => array(
554                'accountId' => array(
555                  'location' => 'path',
556                  'type' => 'string',
557                  'required' => true,
558                ),
559                'webPropertyId' => array(
560                  'location' => 'path',
561                  'type' => 'string',
562                  'required' => true,
563                ),
564                'customMetricId' => array(
565                  'location' => 'path',
566                  'type' => 'string',
567                  'required' => true,
568                ),
569              ),
570            ),'insert' => array(
571              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
572              'httpMethod' => 'POST',
573              'parameters' => array(
574                'accountId' => array(
575                  'location' => 'path',
576                  'type' => 'string',
577                  'required' => true,
578                ),
579                'webPropertyId' => array(
580                  'location' => 'path',
581                  'type' => 'string',
582                  'required' => true,
583                ),
584              ),
585            ),'list' => array(
586              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
587              'httpMethod' => 'GET',
588              'parameters' => array(
589                'accountId' => array(
590                  'location' => 'path',
591                  'type' => 'string',
592                  'required' => true,
593                ),
594                'webPropertyId' => array(
595                  'location' => 'path',
596                  'type' => 'string',
597                  'required' => true,
598                ),
599                'max-results' => array(
600                  'location' => 'query',
601                  'type' => 'integer',
602                ),
603                'start-index' => array(
604                  'location' => 'query',
605                  'type' => 'integer',
606                ),
607              ),
608            ),'patch' => array(
609              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
610              'httpMethod' => 'PATCH',
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            ),'update' => array(
633              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
634              'httpMethod' => 'PUT',
635              'parameters' => array(
636                'accountId' => array(
637                  'location' => 'path',
638                  'type' => 'string',
639                  'required' => true,
640                ),
641                'webPropertyId' => array(
642                  'location' => 'path',
643                  'type' => 'string',
644                  'required' => true,
645                ),
646                'customMetricId' => array(
647                  'location' => 'path',
648                  'type' => 'string',
649                  'required' => true,
650                ),
651                'ignoreCustomDataSourceLinks' => array(
652                  'location' => 'query',
653                  'type' => 'boolean',
654                ),
655              ),
656            ),
657          )
658        )
659    );
660    $this->management_experiments = new Google_Service_Analytics_Resource_ManagementExperiments(
661        $this,
662        $this->serviceName,
663        'experiments',
664        array(
665          'methods' => array(
666            'delete' => array(
667              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
668              'httpMethod' => 'DELETE',
669              'parameters' => array(
670                'accountId' => array(
671                  'location' => 'path',
672                  'type' => 'string',
673                  'required' => true,
674                ),
675                'webPropertyId' => array(
676                  'location' => 'path',
677                  'type' => 'string',
678                  'required' => true,
679                ),
680                'profileId' => array(
681                  'location' => 'path',
682                  'type' => 'string',
683                  'required' => true,
684                ),
685                'experimentId' => array(
686                  'location' => 'path',
687                  'type' => 'string',
688                  'required' => true,
689                ),
690              ),
691            ),'get' => array(
692              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
693              'httpMethod' => 'GET',
694              'parameters' => array(
695                'accountId' => array(
696                  'location' => 'path',
697                  'type' => 'string',
698                  'required' => true,
699                ),
700                'webPropertyId' => array(
701                  'location' => 'path',
702                  'type' => 'string',
703                  'required' => true,
704                ),
705                'profileId' => array(
706                  'location' => 'path',
707                  'type' => 'string',
708                  'required' => true,
709                ),
710                'experimentId' => array(
711                  'location' => 'path',
712                  'type' => 'string',
713                  'required' => true,
714                ),
715              ),
716            ),'insert' => array(
717              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
718              'httpMethod' => 'POST',
719              'parameters' => array(
720                'accountId' => array(
721                  'location' => 'path',
722                  'type' => 'string',
723                  'required' => true,
724                ),
725                'webPropertyId' => array(
726                  'location' => 'path',
727                  'type' => 'string',
728                  'required' => true,
729                ),
730                'profileId' => array(
731                  'location' => 'path',
732                  'type' => 'string',
733                  'required' => true,
734                ),
735              ),
736            ),'list' => array(
737              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
738              'httpMethod' => 'GET',
739              'parameters' => array(
740                'accountId' => array(
741                  'location' => 'path',
742                  'type' => 'string',
743                  'required' => true,
744                ),
745                'webPropertyId' => array(
746                  'location' => 'path',
747                  'type' => 'string',
748                  'required' => true,
749                ),
750                'profileId' => array(
751                  'location' => 'path',
752                  'type' => 'string',
753                  'required' => true,
754                ),
755                'max-results' => array(
756                  'location' => 'query',
757                  'type' => 'integer',
758                ),
759                'start-index' => array(
760                  'location' => 'query',
761                  'type' => 'integer',
762                ),
763              ),
764            ),'patch' => array(
765              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
766              'httpMethod' => 'PATCH',
767              'parameters' => array(
768                'accountId' => array(
769                  'location' => 'path',
770                  'type' => 'string',
771                  'required' => true,
772                ),
773                'webPropertyId' => array(
774                  'location' => 'path',
775                  'type' => 'string',
776                  'required' => true,
777                ),
778                'profileId' => array(
779                  'location' => 'path',
780                  'type' => 'string',
781                  'required' => true,
782                ),
783                'experimentId' => array(
784                  'location' => 'path',
785                  'type' => 'string',
786                  'required' => true,
787                ),
788              ),
789            ),'update' => array(
790              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
791              'httpMethod' => 'PUT',
792              'parameters' => array(
793                'accountId' => array(
794                  'location' => 'path',
795                  'type' => 'string',
796                  'required' => true,
797                ),
798                'webPropertyId' => array(
799                  'location' => 'path',
800                  'type' => 'string',
801                  'required' => true,
802                ),
803                'profileId' => array(
804                  'location' => 'path',
805                  'type' => 'string',
806                  'required' => true,
807                ),
808                'experimentId' => array(
809                  'location' => 'path',
810                  'type' => 'string',
811                  'required' => true,
812                ),
813              ),
814            ),
815          )
816        )
817    );
818    $this->management_filters = new Google_Service_Analytics_Resource_ManagementFilters(
819        $this,
820        $this->serviceName,
821        'filters',
822        array(
823          'methods' => array(
824            'delete' => array(
825              'path' => 'management/accounts/{accountId}/filters/{filterId}',
826              'httpMethod' => 'DELETE',
827              'parameters' => array(
828                'accountId' => array(
829                  'location' => 'path',
830                  'type' => 'string',
831                  'required' => true,
832                ),
833                'filterId' => array(
834                  'location' => 'path',
835                  'type' => 'string',
836                  'required' => true,
837                ),
838              ),
839            ),'get' => array(
840              'path' => 'management/accounts/{accountId}/filters/{filterId}',
841              'httpMethod' => 'GET',
842              'parameters' => array(
843                'accountId' => array(
844                  'location' => 'path',
845                  'type' => 'string',
846                  'required' => true,
847                ),
848                'filterId' => array(
849                  'location' => 'path',
850                  'type' => 'string',
851                  'required' => true,
852                ),
853              ),
854            ),'insert' => array(
855              'path' => 'management/accounts/{accountId}/filters',
856              'httpMethod' => 'POST',
857              'parameters' => array(
858                'accountId' => array(
859                  'location' => 'path',
860                  'type' => 'string',
861                  'required' => true,
862                ),
863              ),
864            ),'list' => array(
865              'path' => 'management/accounts/{accountId}/filters',
866              'httpMethod' => 'GET',
867              'parameters' => array(
868                'accountId' => array(
869                  'location' => 'path',
870                  'type' => 'string',
871                  'required' => true,
872                ),
873                'max-results' => array(
874                  'location' => 'query',
875                  'type' => 'integer',
876                ),
877                'start-index' => array(
878                  'location' => 'query',
879                  'type' => 'integer',
880                ),
881              ),
882            ),'patch' => array(
883              'path' => 'management/accounts/{accountId}/filters/{filterId}',
884              'httpMethod' => 'PATCH',
885              'parameters' => array(
886                'accountId' => array(
887                  'location' => 'path',
888                  'type' => 'string',
889                  'required' => true,
890                ),
891                'filterId' => array(
892                  'location' => 'path',
893                  'type' => 'string',
894                  'required' => true,
895                ),
896              ),
897            ),'update' => array(
898              'path' => 'management/accounts/{accountId}/filters/{filterId}',
899              'httpMethod' => 'PUT',
900              'parameters' => array(
901                'accountId' => array(
902                  'location' => 'path',
903                  'type' => 'string',
904                  'required' => true,
905                ),
906                'filterId' => array(
907                  'location' => 'path',
908                  'type' => 'string',
909                  'required' => true,
910                ),
911              ),
912            ),
913          )
914        )
915    );
916    $this->management_goals = new Google_Service_Analytics_Resource_ManagementGoals(
917        $this,
918        $this->serviceName,
919        'goals',
920        array(
921          'methods' => array(
922            'get' => array(
923              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
924              'httpMethod' => 'GET',
925              'parameters' => array(
926                'accountId' => array(
927                  'location' => 'path',
928                  'type' => 'string',
929                  'required' => true,
930                ),
931                'webPropertyId' => array(
932                  'location' => 'path',
933                  'type' => 'string',
934                  'required' => true,
935                ),
936                'profileId' => array(
937                  'location' => 'path',
938                  'type' => 'string',
939                  'required' => true,
940                ),
941                'goalId' => array(
942                  'location' => 'path',
943                  'type' => 'string',
944                  'required' => true,
945                ),
946              ),
947            ),'insert' => array(
948              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
949              'httpMethod' => 'POST',
950              'parameters' => array(
951                'accountId' => array(
952                  'location' => 'path',
953                  'type' => 'string',
954                  'required' => true,
955                ),
956                'webPropertyId' => array(
957                  'location' => 'path',
958                  'type' => 'string',
959                  'required' => true,
960                ),
961                'profileId' => array(
962                  'location' => 'path',
963                  'type' => 'string',
964                  'required' => true,
965                ),
966              ),
967            ),'list' => array(
968              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
969              'httpMethod' => 'GET',
970              'parameters' => array(
971                'accountId' => array(
972                  'location' => 'path',
973                  'type' => 'string',
974                  'required' => true,
975                ),
976                'webPropertyId' => array(
977                  'location' => 'path',
978                  'type' => 'string',
979                  'required' => true,
980                ),
981                'profileId' => array(
982                  'location' => 'path',
983                  'type' => 'string',
984                  'required' => true,
985                ),
986                'max-results' => array(
987                  'location' => 'query',
988                  'type' => 'integer',
989                ),
990                'start-index' => array(
991                  'location' => 'query',
992                  'type' => 'integer',
993                ),
994              ),
995            ),'patch' => array(
996              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
997              'httpMethod' => 'PATCH',
998              'parameters' => array(
999                'accountId' => array(
1000                  'location' => 'path',
1001                  'type' => 'string',
1002                  'required' => true,
1003                ),
1004                'webPropertyId' => array(
1005                  'location' => 'path',
1006                  'type' => 'string',
1007                  'required' => true,
1008                ),
1009                'profileId' => array(
1010                  'location' => 'path',
1011                  'type' => 'string',
1012                  'required' => true,
1013                ),
1014                'goalId' => array(
1015                  'location' => 'path',
1016                  'type' => 'string',
1017                  'required' => true,
1018                ),
1019              ),
1020            ),'update' => array(
1021              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
1022              'httpMethod' => 'PUT',
1023              'parameters' => array(
1024                'accountId' => array(
1025                  'location' => 'path',
1026                  'type' => 'string',
1027                  'required' => true,
1028                ),
1029                'webPropertyId' => array(
1030                  'location' => 'path',
1031                  'type' => 'string',
1032                  'required' => true,
1033                ),
1034                'profileId' => array(
1035                  'location' => 'path',
1036                  'type' => 'string',
1037                  'required' => true,
1038                ),
1039                'goalId' => array(
1040                  'location' => 'path',
1041                  'type' => 'string',
1042                  'required' => true,
1043                ),
1044              ),
1045            ),
1046          )
1047        )
1048    );
1049    $this->management_profileFilterLinks = new Google_Service_Analytics_Resource_ManagementProfileFilterLinks(
1050        $this,
1051        $this->serviceName,
1052        'profileFilterLinks',
1053        array(
1054          'methods' => array(
1055            'delete' => array(
1056              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1057              'httpMethod' => 'DELETE',
1058              'parameters' => array(
1059                'accountId' => array(
1060                  'location' => 'path',
1061                  'type' => 'string',
1062                  'required' => true,
1063                ),
1064                'webPropertyId' => array(
1065                  'location' => 'path',
1066                  'type' => 'string',
1067                  'required' => true,
1068                ),
1069                'profileId' => array(
1070                  'location' => 'path',
1071                  'type' => 'string',
1072                  'required' => true,
1073                ),
1074                'linkId' => array(
1075                  'location' => 'path',
1076                  'type' => 'string',
1077                  'required' => true,
1078                ),
1079              ),
1080            ),'get' => array(
1081              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1082              'httpMethod' => 'GET',
1083              'parameters' => array(
1084                'accountId' => array(
1085                  'location' => 'path',
1086                  'type' => 'string',
1087                  'required' => true,
1088                ),
1089                'webPropertyId' => array(
1090                  'location' => 'path',
1091                  'type' => 'string',
1092                  'required' => true,
1093                ),
1094                'profileId' => array(
1095                  'location' => 'path',
1096                  'type' => 'string',
1097                  'required' => true,
1098                ),
1099                'linkId' => array(
1100                  'location' => 'path',
1101                  'type' => 'string',
1102                  'required' => true,
1103                ),
1104              ),
1105            ),'insert' => array(
1106              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
1107              'httpMethod' => 'POST',
1108              'parameters' => array(
1109                'accountId' => array(
1110                  'location' => 'path',
1111                  'type' => 'string',
1112                  'required' => true,
1113                ),
1114                'webPropertyId' => array(
1115                  'location' => 'path',
1116                  'type' => 'string',
1117                  'required' => true,
1118                ),
1119                'profileId' => array(
1120                  'location' => 'path',
1121                  'type' => 'string',
1122                  'required' => true,
1123                ),
1124              ),
1125            ),'list' => array(
1126              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
1127              'httpMethod' => 'GET',
1128              'parameters' => array(
1129                'accountId' => array(
1130                  'location' => 'path',
1131                  'type' => 'string',
1132                  'required' => true,
1133                ),
1134                'webPropertyId' => array(
1135                  'location' => 'path',
1136                  'type' => 'string',
1137                  'required' => true,
1138                ),
1139                'profileId' => array(
1140                  'location' => 'path',
1141                  'type' => 'string',
1142                  'required' => true,
1143                ),
1144                'max-results' => array(
1145                  'location' => 'query',
1146                  'type' => 'integer',
1147                ),
1148                'start-index' => array(
1149                  'location' => 'query',
1150                  'type' => 'integer',
1151                ),
1152              ),
1153            ),'patch' => array(
1154              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1155              'httpMethod' => 'PATCH',
1156              'parameters' => array(
1157                'accountId' => array(
1158                  'location' => 'path',
1159                  'type' => 'string',
1160                  'required' => true,
1161                ),
1162                'webPropertyId' => array(
1163                  'location' => 'path',
1164                  'type' => 'string',
1165                  'required' => true,
1166                ),
1167                'profileId' => array(
1168                  'location' => 'path',
1169                  'type' => 'string',
1170                  'required' => true,
1171                ),
1172                'linkId' => array(
1173                  'location' => 'path',
1174                  'type' => 'string',
1175                  'required' => true,
1176                ),
1177              ),
1178            ),'update' => array(
1179              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1180              'httpMethod' => 'PUT',
1181              'parameters' => array(
1182                'accountId' => array(
1183                  'location' => 'path',
1184                  'type' => 'string',
1185                  'required' => true,
1186                ),
1187                'webPropertyId' => array(
1188                  'location' => 'path',
1189                  'type' => 'string',
1190                  'required' => true,
1191                ),
1192                'profileId' => array(
1193                  'location' => 'path',
1194                  'type' => 'string',
1195                  'required' => true,
1196                ),
1197                'linkId' => array(
1198                  'location' => 'path',
1199                  'type' => 'string',
1200                  'required' => true,
1201                ),
1202              ),
1203            ),
1204          )
1205        )
1206    );
1207    $this->management_profileUserLinks = new Google_Service_Analytics_Resource_ManagementProfileUserLinks(
1208        $this,
1209        $this->serviceName,
1210        'profileUserLinks',
1211        array(
1212          'methods' => array(
1213            'delete' => array(
1214              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
1215              'httpMethod' => 'DELETE',
1216              'parameters' => array(
1217                'accountId' => array(
1218                  'location' => 'path',
1219                  'type' => 'string',
1220                  'required' => true,
1221                ),
1222                'webPropertyId' => array(
1223                  'location' => 'path',
1224                  'type' => 'string',
1225                  'required' => true,
1226                ),
1227                'profileId' => array(
1228                  'location' => 'path',
1229                  'type' => 'string',
1230                  'required' => true,
1231                ),
1232                'linkId' => array(
1233                  'location' => 'path',
1234                  'type' => 'string',
1235                  'required' => true,
1236                ),
1237              ),
1238            ),'insert' => array(
1239              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
1240              'httpMethod' => 'POST',
1241              'parameters' => array(
1242                'accountId' => array(
1243                  'location' => 'path',
1244                  'type' => 'string',
1245                  'required' => true,
1246                ),
1247                'webPropertyId' => array(
1248                  'location' => 'path',
1249                  'type' => 'string',
1250                  'required' => true,
1251                ),
1252                'profileId' => array(
1253                  'location' => 'path',
1254                  'type' => 'string',
1255                  'required' => true,
1256                ),
1257              ),
1258            ),'list' => array(
1259              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
1260              'httpMethod' => 'GET',
1261              'parameters' => array(
1262                'accountId' => array(
1263                  'location' => 'path',
1264                  'type' => 'string',
1265                  'required' => true,
1266                ),
1267                'webPropertyId' => array(
1268                  'location' => 'path',
1269                  'type' => 'string',
1270                  'required' => true,
1271                ),
1272                'profileId' => array(
1273                  'location' => 'path',
1274                  'type' => 'string',
1275                  'required' => true,
1276                ),
1277                'max-results' => array(
1278                  'location' => 'query',
1279                  'type' => 'integer',
1280                ),
1281                'start-index' => array(
1282                  'location' => 'query',
1283                  'type' => 'integer',
1284                ),
1285              ),
1286            ),'update' => array(
1287              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
1288              'httpMethod' => 'PUT',
1289              'parameters' => array(
1290                'accountId' => array(
1291                  'location' => 'path',
1292                  'type' => 'string',
1293                  'required' => true,
1294                ),
1295                'webPropertyId' => array(
1296                  'location' => 'path',
1297                  'type' => 'string',
1298                  'required' => true,
1299                ),
1300                'profileId' => array(
1301                  'location' => 'path',
1302                  'type' => 'string',
1303                  'required' => true,
1304                ),
1305                'linkId' => array(
1306                  'location' => 'path',
1307                  'type' => 'string',
1308                  'required' => true,
1309                ),
1310              ),
1311            ),
1312          )
1313        )
1314    );
1315    $this->management_profiles = new Google_Service_Analytics_Resource_ManagementProfiles(
1316        $this,
1317        $this->serviceName,
1318        'profiles',
1319        array(
1320          'methods' => array(
1321            'delete' => array(
1322              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1323              'httpMethod' => 'DELETE',
1324              'parameters' => array(
1325                'accountId' => array(
1326                  'location' => 'path',
1327                  'type' => 'string',
1328                  'required' => true,
1329                ),
1330                'webPropertyId' => array(
1331                  'location' => 'path',
1332                  'type' => 'string',
1333                  'required' => true,
1334                ),
1335                'profileId' => array(
1336                  'location' => 'path',
1337                  'type' => 'string',
1338                  'required' => true,
1339                ),
1340              ),
1341            ),'get' => array(
1342              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1343              'httpMethod' => 'GET',
1344              'parameters' => array(
1345                'accountId' => array(
1346                  'location' => 'path',
1347                  'type' => 'string',
1348                  'required' => true,
1349                ),
1350                'webPropertyId' => array(
1351                  'location' => 'path',
1352                  'type' => 'string',
1353                  'required' => true,
1354                ),
1355                'profileId' => array(
1356                  'location' => 'path',
1357                  'type' => 'string',
1358                  'required' => true,
1359                ),
1360              ),
1361            ),'insert' => array(
1362              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
1363              'httpMethod' => 'POST',
1364              'parameters' => array(
1365                'accountId' => array(
1366                  'location' => 'path',
1367                  'type' => 'string',
1368                  'required' => true,
1369                ),
1370                'webPropertyId' => array(
1371                  'location' => 'path',
1372                  'type' => 'string',
1373                  'required' => true,
1374                ),
1375              ),
1376            ),'list' => array(
1377              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
1378              'httpMethod' => 'GET',
1379              'parameters' => array(
1380                'accountId' => array(
1381                  'location' => 'path',
1382                  'type' => 'string',
1383                  'required' => true,
1384                ),
1385                'webPropertyId' => array(
1386                  'location' => 'path',
1387                  'type' => 'string',
1388                  'required' => true,
1389                ),
1390                'max-results' => array(
1391                  'location' => 'query',
1392                  'type' => 'integer',
1393                ),
1394                'start-index' => array(
1395                  'location' => 'query',
1396                  'type' => 'integer',
1397                ),
1398              ),
1399            ),'patch' => array(
1400              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1401              'httpMethod' => 'PATCH',
1402              'parameters' => array(
1403                'accountId' => array(
1404                  'location' => 'path',
1405                  'type' => 'string',
1406                  'required' => true,
1407                ),
1408                'webPropertyId' => array(
1409                  'location' => 'path',
1410                  'type' => 'string',
1411                  'required' => true,
1412                ),
1413                'profileId' => array(
1414                  'location' => 'path',
1415                  'type' => 'string',
1416                  'required' => true,
1417                ),
1418              ),
1419            ),'update' => array(
1420              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1421              'httpMethod' => 'PUT',
1422              'parameters' => array(
1423                'accountId' => array(
1424                  'location' => 'path',
1425                  'type' => 'string',
1426                  'required' => true,
1427                ),
1428                'webPropertyId' => array(
1429                  'location' => 'path',
1430                  'type' => 'string',
1431                  'required' => true,
1432                ),
1433                'profileId' => array(
1434                  'location' => 'path',
1435                  'type' => 'string',
1436                  'required' => true,
1437                ),
1438              ),
1439            ),
1440          )
1441        )
1442    );
1443    $this->management_remarketingAudience = new Google_Service_Analytics_Resource_ManagementRemarketingAudience(
1444        $this,
1445        $this->serviceName,
1446        'remarketingAudience',
1447        array(
1448          'methods' => array(
1449            'delete' => array(
1450              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
1451              'httpMethod' => 'DELETE',
1452              'parameters' => array(
1453                'accountId' => array(
1454                  'location' => 'path',
1455                  'type' => 'string',
1456                  'required' => true,
1457                ),
1458                'webPropertyId' => array(
1459                  'location' => 'path',
1460                  'type' => 'string',
1461                  'required' => true,
1462                ),
1463                'remarketingAudienceId' => array(
1464                  'location' => 'path',
1465                  'type' => 'string',
1466                  'required' => true,
1467                ),
1468              ),
1469            ),'get' => array(
1470              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
1471              'httpMethod' => 'GET',
1472              'parameters' => array(
1473                'accountId' => array(
1474                  'location' => 'path',
1475                  'type' => 'string',
1476                  'required' => true,
1477                ),
1478                'webPropertyId' => array(
1479                  'location' => 'path',
1480                  'type' => 'string',
1481                  'required' => true,
1482                ),
1483                'remarketingAudienceId' => array(
1484                  'location' => 'path',
1485                  'type' => 'string',
1486                  'required' => true,
1487                ),
1488              ),
1489            ),'insert' => array(
1490              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences',
1491              'httpMethod' => 'POST',
1492              'parameters' => array(
1493                'accountId' => array(
1494                  'location' => 'path',
1495                  'type' => 'string',
1496                  'required' => true,
1497                ),
1498                'webPropertyId' => array(
1499                  'location' => 'path',
1500                  'type' => 'string',
1501                  'required' => true,
1502                ),
1503              ),
1504            ),'list' => array(
1505              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences',
1506              'httpMethod' => 'GET',
1507              'parameters' => array(
1508                'accountId' => array(
1509                  'location' => 'path',
1510                  'type' => 'string',
1511                  'required' => true,
1512                ),
1513                'webPropertyId' => array(
1514                  'location' => 'path',
1515                  'type' => 'string',
1516                  'required' => true,
1517                ),
1518                'max-results' => array(
1519                  'location' => 'query',
1520                  'type' => 'integer',
1521                ),
1522                'start-index' => array(
1523                  'location' => 'query',
1524                  'type' => 'integer',
1525                ),
1526                'type' => array(
1527                  'location' => 'query',
1528                  'type' => 'string',
1529                ),
1530              ),
1531            ),'patch' => array(
1532              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
1533              'httpMethod' => 'PATCH',
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                'remarketingAudienceId' => array(
1546                  'location' => 'path',
1547                  'type' => 'string',
1548                  'required' => true,
1549                ),
1550              ),
1551            ),'update' => array(
1552              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}',
1553              'httpMethod' => 'PUT',
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                'remarketingAudienceId' => array(
1566                  'location' => 'path',
1567                  'type' => 'string',
1568                  'required' => true,
1569                ),
1570              ),
1571            ),
1572          )
1573        )
1574    );
1575    $this->management_segments = new Google_Service_Analytics_Resource_ManagementSegments(
1576        $this,
1577        $this->serviceName,
1578        'segments',
1579        array(
1580          'methods' => array(
1581            'list' => array(
1582              'path' => 'management/segments',
1583              'httpMethod' => 'GET',
1584              'parameters' => array(
1585                'max-results' => array(
1586                  'location' => 'query',
1587                  'type' => 'integer',
1588                ),
1589                'start-index' => array(
1590                  'location' => 'query',
1591                  'type' => 'integer',
1592                ),
1593              ),
1594            ),
1595          )
1596        )
1597    );
1598    $this->management_unsampledReports = new Google_Service_Analytics_Resource_ManagementUnsampledReports(
1599        $this,
1600        $this->serviceName,
1601        'unsampledReports',
1602        array(
1603          'methods' => array(
1604            'delete' => array(
1605              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
1606              'httpMethod' => 'DELETE',
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                'profileId' => array(
1619                  'location' => 'path',
1620                  'type' => 'string',
1621                  'required' => true,
1622                ),
1623                'unsampledReportId' => array(
1624                  'location' => 'path',
1625                  'type' => 'string',
1626                  'required' => true,
1627                ),
1628              ),
1629            ),'get' => array(
1630              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
1631              'httpMethod' => 'GET',
1632              'parameters' => array(
1633                'accountId' => array(
1634                  'location' => 'path',
1635                  'type' => 'string',
1636                  'required' => true,
1637                ),
1638                'webPropertyId' => array(
1639                  'location' => 'path',
1640                  'type' => 'string',
1641                  'required' => true,
1642                ),
1643                'profileId' => array(
1644                  'location' => 'path',
1645                  'type' => 'string',
1646                  'required' => true,
1647                ),
1648                'unsampledReportId' => array(
1649                  'location' => 'path',
1650                  'type' => 'string',
1651                  'required' => true,
1652                ),
1653              ),
1654            ),'insert' => array(
1655              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1656              'httpMethod' => 'POST',
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                'profileId' => array(
1669                  'location' => 'path',
1670                  'type' => 'string',
1671                  'required' => true,
1672                ),
1673              ),
1674            ),'list' => array(
1675              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1676              'httpMethod' => 'GET',
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                'profileId' => array(
1689                  'location' => 'path',
1690                  'type' => 'string',
1691                  'required' => true,
1692                ),
1693                'max-results' => array(
1694                  'location' => 'query',
1695                  'type' => 'integer',
1696                ),
1697                'start-index' => array(
1698                  'location' => 'query',
1699                  'type' => 'integer',
1700                ),
1701              ),
1702            ),
1703          )
1704        )
1705    );
1706    $this->management_uploads = new Google_Service_Analytics_Resource_ManagementUploads(
1707        $this,
1708        $this->serviceName,
1709        'uploads',
1710        array(
1711          'methods' => array(
1712            'deleteUploadData' => array(
1713              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
1714              'httpMethod' => 'POST',
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                'customDataSourceId' => array(
1727                  'location' => 'path',
1728                  'type' => 'string',
1729                  'required' => true,
1730                ),
1731              ),
1732            ),'get' => array(
1733              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
1734              'httpMethod' => 'GET',
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                'customDataSourceId' => array(
1747                  'location' => 'path',
1748                  'type' => 'string',
1749                  'required' => true,
1750                ),
1751                'uploadId' => array(
1752                  'location' => 'path',
1753                  'type' => 'string',
1754                  'required' => true,
1755                ),
1756              ),
1757            ),'list' => array(
1758              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1759              'httpMethod' => 'GET',
1760              'parameters' => array(
1761                'accountId' => array(
1762                  'location' => 'path',
1763                  'type' => 'string',
1764                  'required' => true,
1765                ),
1766                'webPropertyId' => array(
1767                  'location' => 'path',
1768                  'type' => 'string',
1769                  'required' => true,
1770                ),
1771                'customDataSourceId' => array(
1772                  'location' => 'path',
1773                  'type' => 'string',
1774                  'required' => true,
1775                ),
1776                'max-results' => array(
1777                  'location' => 'query',
1778                  'type' => 'integer',
1779                ),
1780                'start-index' => array(
1781                  'location' => 'query',
1782                  'type' => 'integer',
1783                ),
1784              ),
1785            ),'uploadData' => array(
1786              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1787              'httpMethod' => 'POST',
1788              'parameters' => array(
1789                'accountId' => array(
1790                  'location' => 'path',
1791                  'type' => 'string',
1792                  'required' => true,
1793                ),
1794                'webPropertyId' => array(
1795                  'location' => 'path',
1796                  'type' => 'string',
1797                  'required' => true,
1798                ),
1799                'customDataSourceId' => array(
1800                  'location' => 'path',
1801                  'type' => 'string',
1802                  'required' => true,
1803                ),
1804              ),
1805            ),
1806          )
1807        )
1808    );
1809    $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_Resource_ManagementWebPropertyAdWordsLinks(
1810        $this,
1811        $this->serviceName,
1812        'webPropertyAdWordsLinks',
1813        array(
1814          'methods' => array(
1815            'delete' => array(
1816              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1817              'httpMethod' => 'DELETE',
1818              'parameters' => array(
1819                'accountId' => array(
1820                  'location' => 'path',
1821                  'type' => 'string',
1822                  'required' => true,
1823                ),
1824                'webPropertyId' => array(
1825                  'location' => 'path',
1826                  'type' => 'string',
1827                  'required' => true,
1828                ),
1829                'webPropertyAdWordsLinkId' => array(
1830                  'location' => 'path',
1831                  'type' => 'string',
1832                  'required' => true,
1833                ),
1834              ),
1835            ),'get' => array(
1836              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1837              'httpMethod' => 'GET',
1838              'parameters' => array(
1839                'accountId' => array(
1840                  'location' => 'path',
1841                  'type' => 'string',
1842                  'required' => true,
1843                ),
1844                'webPropertyId' => array(
1845                  'location' => 'path',
1846                  'type' => 'string',
1847                  'required' => true,
1848                ),
1849                'webPropertyAdWordsLinkId' => array(
1850                  'location' => 'path',
1851                  'type' => 'string',
1852                  'required' => true,
1853                ),
1854              ),
1855            ),'insert' => array(
1856              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1857              'httpMethod' => 'POST',
1858              'parameters' => array(
1859                'accountId' => array(
1860                  'location' => 'path',
1861                  'type' => 'string',
1862                  'required' => true,
1863                ),
1864                'webPropertyId' => array(
1865                  'location' => 'path',
1866                  'type' => 'string',
1867                  'required' => true,
1868                ),
1869              ),
1870            ),'list' => array(
1871              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1872              'httpMethod' => 'GET',
1873              'parameters' => array(
1874                'accountId' => array(
1875                  'location' => 'path',
1876                  'type' => 'string',
1877                  'required' => true,
1878                ),
1879                'webPropertyId' => array(
1880                  'location' => 'path',
1881                  'type' => 'string',
1882                  'required' => true,
1883                ),
1884                'max-results' => array(
1885                  'location' => 'query',
1886                  'type' => 'integer',
1887                ),
1888                'start-index' => array(
1889                  'location' => 'query',
1890                  'type' => 'integer',
1891                ),
1892              ),
1893            ),'patch' => array(
1894              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1895              'httpMethod' => 'PATCH',
1896              'parameters' => array(
1897                'accountId' => array(
1898                  'location' => 'path',
1899                  'type' => 'string',
1900                  'required' => true,
1901                ),
1902                'webPropertyId' => array(
1903                  'location' => 'path',
1904                  'type' => 'string',
1905                  'required' => true,
1906                ),
1907                'webPropertyAdWordsLinkId' => array(
1908                  'location' => 'path',
1909                  'type' => 'string',
1910                  'required' => true,
1911                ),
1912              ),
1913            ),'update' => array(
1914              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1915              'httpMethod' => 'PUT',
1916              'parameters' => array(
1917                'accountId' => array(
1918                  'location' => 'path',
1919                  'type' => 'string',
1920                  'required' => true,
1921                ),
1922                'webPropertyId' => array(
1923                  'location' => 'path',
1924                  'type' => 'string',
1925                  'required' => true,
1926                ),
1927                'webPropertyAdWordsLinkId' => array(
1928                  'location' => 'path',
1929                  'type' => 'string',
1930                  'required' => true,
1931                ),
1932              ),
1933            ),
1934          )
1935        )
1936    );
1937    $this->management_webproperties = new Google_Service_Analytics_Resource_ManagementWebproperties(
1938        $this,
1939        $this->serviceName,
1940        'webproperties',
1941        array(
1942          'methods' => array(
1943            'get' => array(
1944              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1945              'httpMethod' => 'GET',
1946              'parameters' => array(
1947                'accountId' => array(
1948                  'location' => 'path',
1949                  'type' => 'string',
1950                  'required' => true,
1951                ),
1952                'webPropertyId' => array(
1953                  'location' => 'path',
1954                  'type' => 'string',
1955                  'required' => true,
1956                ),
1957              ),
1958            ),'insert' => array(
1959              'path' => 'management/accounts/{accountId}/webproperties',
1960              'httpMethod' => 'POST',
1961              'parameters' => array(
1962                'accountId' => array(
1963                  'location' => 'path',
1964                  'type' => 'string',
1965                  'required' => true,
1966                ),
1967              ),
1968            ),'list' => array(
1969              'path' => 'management/accounts/{accountId}/webproperties',
1970              'httpMethod' => 'GET',
1971              'parameters' => array(
1972                'accountId' => array(
1973                  'location' => 'path',
1974                  'type' => 'string',
1975                  'required' => true,
1976                ),
1977                'max-results' => array(
1978                  'location' => 'query',
1979                  'type' => 'integer',
1980                ),
1981                'start-index' => array(
1982                  'location' => 'query',
1983                  'type' => 'integer',
1984                ),
1985              ),
1986            ),'patch' => array(
1987              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1988              'httpMethod' => 'PATCH',
1989              'parameters' => array(
1990                'accountId' => array(
1991                  'location' => 'path',
1992                  'type' => 'string',
1993                  'required' => true,
1994                ),
1995                'webPropertyId' => array(
1996                  'location' => 'path',
1997                  'type' => 'string',
1998                  'required' => true,
1999                ),
2000              ),
2001            ),'update' => array(
2002              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
2003              'httpMethod' => 'PUT',
2004              'parameters' => array(
2005                'accountId' => array(
2006                  'location' => 'path',
2007                  'type' => 'string',
2008                  'required' => true,
2009                ),
2010                'webPropertyId' => array(
2011                  'location' => 'path',
2012                  'type' => 'string',
2013                  'required' => true,
2014                ),
2015              ),
2016            ),
2017          )
2018        )
2019    );
2020    $this->management_webpropertyUserLinks = new Google_Service_Analytics_Resource_ManagementWebpropertyUserLinks(
2021        $this,
2022        $this->serviceName,
2023        'webpropertyUserLinks',
2024        array(
2025          'methods' => array(
2026            'delete' => array(
2027              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
2028              'httpMethod' => 'DELETE',
2029              'parameters' => array(
2030                'accountId' => array(
2031                  'location' => 'path',
2032                  'type' => 'string',
2033                  'required' => true,
2034                ),
2035                'webPropertyId' => array(
2036                  'location' => 'path',
2037                  'type' => 'string',
2038                  'required' => true,
2039                ),
2040                'linkId' => array(
2041                  'location' => 'path',
2042                  'type' => 'string',
2043                  'required' => true,
2044                ),
2045              ),
2046            ),'insert' => array(
2047              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
2048              'httpMethod' => 'POST',
2049              'parameters' => array(
2050                'accountId' => array(
2051                  'location' => 'path',
2052                  'type' => 'string',
2053                  'required' => true,
2054                ),
2055                'webPropertyId' => array(
2056                  'location' => 'path',
2057                  'type' => 'string',
2058                  'required' => true,
2059                ),
2060              ),
2061            ),'list' => array(
2062              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
2063              'httpMethod' => 'GET',
2064              'parameters' => array(
2065                'accountId' => array(
2066                  'location' => 'path',
2067                  'type' => 'string',
2068                  'required' => true,
2069                ),
2070                'webPropertyId' => array(
2071                  'location' => 'path',
2072                  'type' => 'string',
2073                  'required' => true,
2074                ),
2075                'max-results' => array(
2076                  'location' => 'query',
2077                  'type' => 'integer',
2078                ),
2079                'start-index' => array(
2080                  'location' => 'query',
2081                  'type' => 'integer',
2082                ),
2083              ),
2084            ),'update' => array(
2085              'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
2086              'httpMethod' => 'PUT',
2087              'parameters' => array(
2088                'accountId' => array(
2089                  'location' => 'path',
2090                  'type' => 'string',
2091                  'required' => true,
2092                ),
2093                'webPropertyId' => array(
2094                  'location' => 'path',
2095                  'type' => 'string',
2096                  'required' => true,
2097                ),
2098                'linkId' => array(
2099                  'location' => 'path',
2100                  'type' => 'string',
2101                  'required' => true,
2102                ),
2103              ),
2104            ),
2105          )
2106        )
2107    );
2108    $this->metadata_columns = new Google_Service_Analytics_Resource_MetadataColumns(
2109        $this,
2110        $this->serviceName,
2111        'columns',
2112        array(
2113          'methods' => array(
2114            'list' => array(
2115              'path' => 'metadata/{reportType}/columns',
2116              'httpMethod' => 'GET',
2117              'parameters' => array(
2118                'reportType' => array(
2119                  'location' => 'path',
2120                  'type' => 'string',
2121                  'required' => true,
2122                ),
2123              ),
2124            ),
2125          )
2126        )
2127    );
2128    $this->provisioning = new Google_Service_Analytics_Resource_Provisioning(
2129        $this,
2130        $this->serviceName,
2131        'provisioning',
2132        array(
2133          'methods' => array(
2134            'createAccountTicket' => array(
2135              'path' => 'provisioning/createAccountTicket',
2136              'httpMethod' => 'POST',
2137              'parameters' => array(),
2138            ),'createAccountTree' => array(
2139              'path' => 'provisioning/createAccountTree',
2140              'httpMethod' => 'POST',
2141              'parameters' => array(),
2142            ),
2143          )
2144        )
2145    );
2146    $this->userDeletion_userDeletionRequest = new Google_Service_Analytics_Resource_UserDeletionUserDeletionRequest(
2147        $this,
2148        $this->serviceName,
2149        'userDeletionRequest',
2150        array(
2151          'methods' => array(
2152            'upsert' => array(
2153              'path' => 'userDeletion/userDeletionRequests:upsert',
2154              'httpMethod' => 'POST',
2155              'parameters' => array(),
2156            ),
2157          )
2158        )
2159    );
2160  }
2161}
2162