PluginProbe
Authorizer / 2.8.0
Authorizer v2.8.0
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Analytics.php

Analytics.php in Authorizer 2.8.0, at vendor/google-api-php-client/src/Google/Service/Analytics.php

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