PluginProbe
Authorizer / 2.2
Authorizer v2.2
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 / inc / google-api-php-client / src / Google / Service / Analytics.php

Analytics.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Analytics.php

7,770 lines 185.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for Analytics (v3).
20 *
21 * <p>
22 * View and manage your Google Analytics data
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Analytics extends Google_Service
33 {
34 /** View and manage your Google Analytics data. */
35 const ANALYTICS = "https://www.googleapis.com/auth/analytics";
36 /** Edit Google Analytics management entities. */
37 const ANALYTICS_EDIT = "https://www.googleapis.com/auth/analytics.edit";
38 /** Manage Google Analytics Account users by email address. */
39 const ANALYTICS_MANAGE_USERS = "https://www.googleapis.com/auth/analytics.manage.users";
40 /** View your Google Analytics data. */
41 const ANALYTICS_READONLY = "https://www.googleapis.com/auth/analytics.readonly";
42
43 public $data_ga;
44 public $data_mcf;
45 public $data_realtime;
46 public $management_accountSummaries;
47 public $management_accountUserLinks;
48 public $management_accounts;
49 public $management_customDataSources;
50 public $management_dailyUploads;
51 public $management_experiments;
52 public $management_goals;
53 public $management_profileUserLinks;
54 public $management_profiles;
55 public $management_segments;
56 public $management_uploads;
57 public $management_webproperties;
58 public $management_webpropertyUserLinks;
59 public $metadata_columns;
60
61
62 /**
63 * Constructs the internal representation of the Analytics service.
64 *
65 * @param Google_Client $client
66 */
67 public function __construct(Google_Client $client)
68 {
69 parent::__construct($client);
70 $this->servicePath = 'analytics/v3/';
71 $this->version = 'v3';
72 $this->serviceName = 'analytics';
73
74 $this->data_ga = new Google_Service_Analytics_DataGa_Resource(
75 $this,
76 $this->serviceName,
77 'ga',
78 array(
79 'methods' => array(
80 'get' => array(
81 'path' => 'data/ga',
82 'httpMethod' => 'GET',
83 'parameters' => array(
84 'ids' => array(
85 'location' => 'query',
86 'type' => 'string',
87 'required' => true,
88 ),
89 'start-date' => array(
90 'location' => 'query',
91 'type' => 'string',
92 'required' => true,
93 ),
94 'end-date' => array(
95 'location' => 'query',
96 'type' => 'string',
97 'required' => true,
98 ),
99 'metrics' => array(
100 'location' => 'query',
101 'type' => 'string',
102 'required' => true,
103 ),
104 'max-results' => array(
105 'location' => 'query',
106 'type' => 'integer',
107 ),
108 'sort' => array(
109 'location' => 'query',
110 'type' => 'string',
111 ),
112 'dimensions' => array(
113 'location' => 'query',
114 'type' => 'string',
115 ),
116 'start-index' => array(
117 'location' => 'query',
118 'type' => 'integer',
119 ),
120 'segment' => array(
121 'location' => 'query',
122 'type' => 'string',
123 ),
124 'samplingLevel' => array(
125 'location' => 'query',
126 'type' => 'string',
127 ),
128 'filters' => array(
129 'location' => 'query',
130 'type' => 'string',
131 ),
132 'output' => array(
133 'location' => 'query',
134 'type' => 'string',
135 ),
136 ),
137 ),
138 )
139 )
140 );
141 $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource(
142 $this,
143 $this->serviceName,
144 'mcf',
145 array(
146 'methods' => array(
147 'get' => array(
148 'path' => 'data/mcf',
149 'httpMethod' => 'GET',
150 'parameters' => array(
151 'ids' => array(
152 'location' => 'query',
153 'type' => 'string',
154 'required' => true,
155 ),
156 'start-date' => array(
157 'location' => 'query',
158 'type' => 'string',
159 'required' => true,
160 ),
161 'end-date' => array(
162 'location' => 'query',
163 'type' => 'string',
164 'required' => true,
165 ),
166 'metrics' => array(
167 'location' => 'query',
168 'type' => 'string',
169 'required' => true,
170 ),
171 'max-results' => array(
172 'location' => 'query',
173 'type' => 'integer',
174 ),
175 'sort' => array(
176 'location' => 'query',
177 'type' => 'string',
178 ),
179 'dimensions' => array(
180 'location' => 'query',
181 'type' => 'string',
182 ),
183 'start-index' => array(
184 'location' => 'query',
185 'type' => 'integer',
186 ),
187 'samplingLevel' => array(
188 'location' => 'query',
189 'type' => 'string',
190 ),
191 'filters' => array(
192 'location' => 'query',
193 'type' => 'string',
194 ),
195 ),
196 ),
197 )
198 )
199 );
200 $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource(
201 $this,
202 $this->serviceName,
203 'realtime',
204 array(
205 'methods' => array(
206 'get' => array(
207 'path' => 'data/realtime',
208 'httpMethod' => 'GET',
209 'parameters' => array(
210 'ids' => array(
211 'location' => 'query',
212 'type' => 'string',
213 'required' => true,
214 ),
215 'metrics' => array(
216 'location' => 'query',
217 'type' => 'string',
218 'required' => true,
219 ),
220 'max-results' => array(
221 'location' => 'query',
222 'type' => 'integer',
223 ),
224 'sort' => array(
225 'location' => 'query',
226 'type' => 'string',
227 ),
228 'dimensions' => array(
229 'location' => 'query',
230 'type' => 'string',
231 ),
232 'filters' => array(
233 'location' => 'query',
234 'type' => 'string',
235 ),
236 ),
237 ),
238 )
239 )
240 );
241 $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource(
242 $this,
243 $this->serviceName,
244 'accountSummaries',
245 array(
246 'methods' => array(
247 'list' => array(
248 'path' => 'management/accountSummaries',
249 'httpMethod' => 'GET',
250 'parameters' => array(
251 'max-results' => array(
252 'location' => 'query',
253 'type' => 'integer',
254 ),
255 'start-index' => array(
256 'location' => 'query',
257 'type' => 'integer',
258 ),
259 ),
260 ),
261 )
262 )
263 );
264 $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource(
265 $this,
266 $this->serviceName,
267 'accountUserLinks',
268 array(
269 'methods' => array(
270 'delete' => array(
271 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
272 'httpMethod' => 'DELETE',
273 'parameters' => array(
274 'accountId' => array(
275 'location' => 'path',
276 'type' => 'string',
277 'required' => true,
278 ),
279 'linkId' => array(
280 'location' => 'path',
281 'type' => 'string',
282 'required' => true,
283 ),
284 ),
285 ),'insert' => array(
286 'path' => 'management/accounts/{accountId}/entityUserLinks',
287 'httpMethod' => 'POST',
288 'parameters' => array(
289 'accountId' => array(
290 'location' => 'path',
291 'type' => 'string',
292 'required' => true,
293 ),
294 ),
295 ),'list' => array(
296 'path' => 'management/accounts/{accountId}/entityUserLinks',
297 'httpMethod' => 'GET',
298 'parameters' => array(
299 'accountId' => array(
300 'location' => 'path',
301 'type' => 'string',
302 'required' => true,
303 ),
304 'max-results' => array(
305 'location' => 'query',
306 'type' => 'integer',
307 ),
308 'start-index' => array(
309 'location' => 'query',
310 'type' => 'integer',
311 ),
312 ),
313 ),'update' => array(
314 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
315 'httpMethod' => 'PUT',
316 'parameters' => array(
317 'accountId' => array(
318 'location' => 'path',
319 'type' => 'string',
320 'required' => true,
321 ),
322 'linkId' => array(
323 'location' => 'path',
324 'type' => 'string',
325 'required' => true,
326 ),
327 ),
328 ),
329 )
330 )
331 );
332 $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource(
333 $this,
334 $this->serviceName,
335 'accounts',
336 array(
337 'methods' => array(
338 'list' => array(
339 'path' => 'management/accounts',
340 'httpMethod' => 'GET',
341 'parameters' => array(
342 'max-results' => array(
343 'location' => 'query',
344 'type' => 'integer',
345 ),
346 'start-index' => array(
347 'location' => 'query',
348 'type' => 'integer',
349 ),
350 ),
351 ),
352 )
353 )
354 );
355 $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource(
356 $this,
357 $this->serviceName,
358 'customDataSources',
359 array(
360 'methods' => array(
361 'list' => array(
362 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',
363 'httpMethod' => 'GET',
364 'parameters' => array(
365 'accountId' => array(
366 'location' => 'path',
367 'type' => 'string',
368 'required' => true,
369 ),
370 'webPropertyId' => array(
371 'location' => 'path',
372 'type' => 'string',
373 'required' => true,
374 ),
375 'max-results' => array(
376 'location' => 'query',
377 'type' => 'integer',
378 ),
379 'start-index' => array(
380 'location' => 'query',
381 'type' => 'integer',
382 ),
383 ),
384 ),
385 )
386 )
387 );
388 $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource(
389 $this,
390 $this->serviceName,
391 'dailyUploads',
392 array(
393 'methods' => array(
394 'delete' => array(
395 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}',
396 'httpMethod' => 'DELETE',
397 'parameters' => array(
398 'accountId' => array(
399 'location' => 'path',
400 'type' => 'string',
401 'required' => true,
402 ),
403 'webPropertyId' => array(
404 'location' => 'path',
405 'type' => 'string',
406 'required' => true,
407 ),
408 'customDataSourceId' => array(
409 'location' => 'path',
410 'type' => 'string',
411 'required' => true,
412 ),
413 'date' => array(
414 'location' => 'path',
415 'type' => 'string',
416 'required' => true,
417 ),
418 'type' => array(
419 'location' => 'query',
420 'type' => 'string',
421 'required' => true,
422 ),
423 ),
424 ),'list' => array(
425 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads',
426 'httpMethod' => 'GET',
427 'parameters' => array(
428 'accountId' => array(
429 'location' => 'path',
430 'type' => 'string',
431 'required' => true,
432 ),
433 'webPropertyId' => array(
434 'location' => 'path',
435 'type' => 'string',
436 'required' => true,
437 ),
438 'customDataSourceId' => array(
439 'location' => 'path',
440 'type' => 'string',
441 'required' => true,
442 ),
443 'start-date' => array(
444 'location' => 'query',
445 'type' => 'string',
446 'required' => true,
447 ),
448 'end-date' => array(
449 'location' => 'query',
450 'type' => 'string',
451 'required' => true,
452 ),
453 'max-results' => array(
454 'location' => 'query',
455 'type' => 'integer',
456 ),
457 'start-index' => array(
458 'location' => 'query',
459 'type' => 'integer',
460 ),
461 ),
462 ),'upload' => array(
463 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads',
464 'httpMethod' => 'POST',
465 'parameters' => array(
466 'accountId' => array(
467 'location' => 'path',
468 'type' => 'string',
469 'required' => true,
470 ),
471 'webPropertyId' => array(
472 'location' => 'path',
473 'type' => 'string',
474 'required' => true,
475 ),
476 'customDataSourceId' => array(
477 'location' => 'path',
478 'type' => 'string',
479 'required' => true,
480 ),
481 'date' => array(
482 'location' => 'path',
483 'type' => 'string',
484 'required' => true,
485 ),
486 'appendNumber' => array(
487 'location' => 'query',
488 'type' => 'integer',
489 'required' => true,
490 ),
491 'type' => array(
492 'location' => 'query',
493 'type' => 'string',
494 'required' => true,
495 ),
496 'reset' => array(
497 'location' => 'query',
498 'type' => 'boolean',
499 ),
500 ),
501 ),
502 )
503 )
504 );
505 $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource(
506 $this,
507 $this->serviceName,
508 'experiments',
509 array(
510 'methods' => array(
511 'delete' => array(
512 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
513 'httpMethod' => 'DELETE',
514 'parameters' => array(
515 'accountId' => array(
516 'location' => 'path',
517 'type' => 'string',
518 'required' => true,
519 ),
520 'webPropertyId' => array(
521 'location' => 'path',
522 'type' => 'string',
523 'required' => true,
524 ),
525 'profileId' => array(
526 'location' => 'path',
527 'type' => 'string',
528 'required' => true,
529 ),
530 'experimentId' => array(
531 'location' => 'path',
532 'type' => 'string',
533 'required' => true,
534 ),
535 ),
536 ),'get' => array(
537 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
538 'httpMethod' => 'GET',
539 'parameters' => array(
540 'accountId' => array(
541 'location' => 'path',
542 'type' => 'string',
543 'required' => true,
544 ),
545 'webPropertyId' => array(
546 'location' => 'path',
547 'type' => 'string',
548 'required' => true,
549 ),
550 'profileId' => array(
551 'location' => 'path',
552 'type' => 'string',
553 'required' => true,
554 ),
555 'experimentId' => array(
556 'location' => 'path',
557 'type' => 'string',
558 'required' => true,
559 ),
560 ),
561 ),'insert' => array(
562 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
563 'httpMethod' => 'POST',
564 'parameters' => array(
565 'accountId' => array(
566 'location' => 'path',
567 'type' => 'string',
568 'required' => true,
569 ),
570 'webPropertyId' => array(
571 'location' => 'path',
572 'type' => 'string',
573 'required' => true,
574 ),
575 'profileId' => array(
576 'location' => 'path',
577 'type' => 'string',
578 'required' => true,
579 ),
580 ),
581 ),'list' => array(
582 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
583 'httpMethod' => 'GET',
584 'parameters' => array(
585 'accountId' => array(
586 'location' => 'path',
587 'type' => 'string',
588 'required' => true,
589 ),
590 'webPropertyId' => array(
591 'location' => 'path',
592 'type' => 'string',
593 'required' => true,
594 ),
595 'profileId' => array(
596 'location' => 'path',
597 'type' => 'string',
598 'required' => true,
599 ),
600 'max-results' => array(
601 'location' => 'query',
602 'type' => 'integer',
603 ),
604 'start-index' => array(
605 'location' => 'query',
606 'type' => 'integer',
607 ),
608 ),
609 ),'patch' => array(
610 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
611 'httpMethod' => 'PATCH',
612 'parameters' => array(
613 'accountId' => array(
614 'location' => 'path',
615 'type' => 'string',
616 'required' => true,
617 ),
618 'webPropertyId' => array(
619 'location' => 'path',
620 'type' => 'string',
621 'required' => true,
622 ),
623 'profileId' => array(
624 'location' => 'path',
625 'type' => 'string',
626 'required' => true,
627 ),
628 'experimentId' => array(
629 'location' => 'path',
630 'type' => 'string',
631 'required' => true,
632 ),
633 ),
634 ),'update' => array(
635 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
636 'httpMethod' => 'PUT',
637 'parameters' => array(
638 'accountId' => array(
639 'location' => 'path',
640 'type' => 'string',
641 'required' => true,
642 ),
643 'webPropertyId' => array(
644 'location' => 'path',
645 'type' => 'string',
646 'required' => true,
647 ),
648 'profileId' => array(
649 'location' => 'path',
650 'type' => 'string',
651 'required' => true,
652 ),
653 'experimentId' => array(
654 'location' => 'path',
655 'type' => 'string',
656 'required' => true,
657 ),
658 ),
659 ),
660 )
661 )
662 );
663 $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource(
664 $this,
665 $this->serviceName,
666 'goals',
667 array(
668 'methods' => array(
669 'get' => array(
670 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
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 'goalId' => array(
689 'location' => 'path',
690 'type' => 'string',
691 'required' => true,
692 ),
693 ),
694 ),'insert' => array(
695 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
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}/goals',
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}/goals/{goalId}',
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 'goalId' => array(
762 'location' => 'path',
763 'type' => 'string',
764 'required' => true,
765 ),
766 ),
767 ),'update' => array(
768 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
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 'goalId' => array(
787 'location' => 'path',
788 'type' => 'string',
789 'required' => true,
790 ),
791 ),
792 ),
793 )
794 )
795 );
796 $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource(
797 $this,
798 $this->serviceName,
799 'profileUserLinks',
800 array(
801 'methods' => array(
802 'delete' => array(
803 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
804 'httpMethod' => 'DELETE',
805 'parameters' => array(
806 'accountId' => array(
807 'location' => 'path',
808 'type' => 'string',
809 'required' => true,
810 ),
811 'webPropertyId' => array(
812 'location' => 'path',
813 'type' => 'string',
814 'required' => true,
815 ),
816 'profileId' => array(
817 'location' => 'path',
818 'type' => 'string',
819 'required' => true,
820 ),
821 'linkId' => array(
822 'location' => 'path',
823 'type' => 'string',
824 'required' => true,
825 ),
826 ),
827 ),'insert' => array(
828 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
829 'httpMethod' => 'POST',
830 'parameters' => array(
831 'accountId' => array(
832 'location' => 'path',
833 'type' => 'string',
834 'required' => true,
835 ),
836 'webPropertyId' => array(
837 'location' => 'path',
838 'type' => 'string',
839 'required' => true,
840 ),
841 'profileId' => array(
842 'location' => 'path',
843 'type' => 'string',
844 'required' => true,
845 ),
846 ),
847 ),'list' => array(
848 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
849 'httpMethod' => 'GET',
850 'parameters' => array(
851 'accountId' => array(
852 'location' => 'path',
853 'type' => 'string',
854 'required' => true,
855 ),
856 'webPropertyId' => array(
857 'location' => 'path',
858 'type' => 'string',
859 'required' => true,
860 ),
861 'profileId' => array(
862 'location' => 'path',
863 'type' => 'string',
864 'required' => true,
865 ),
866 'max-results' => array(
867 'location' => 'query',
868 'type' => 'integer',
869 ),
870 'start-index' => array(
871 'location' => 'query',
872 'type' => 'integer',
873 ),
874 ),
875 ),'update' => array(
876 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
877 'httpMethod' => 'PUT',
878 'parameters' => array(
879 'accountId' => array(
880 'location' => 'path',
881 'type' => 'string',
882 'required' => true,
883 ),
884 'webPropertyId' => array(
885 'location' => 'path',
886 'type' => 'string',
887 'required' => true,
888 ),
889 'profileId' => array(
890 'location' => 'path',
891 'type' => 'string',
892 'required' => true,
893 ),
894 'linkId' => array(
895 'location' => 'path',
896 'type' => 'string',
897 'required' => true,
898 ),
899 ),
900 ),
901 )
902 )
903 );
904 $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource(
905 $this,
906 $this->serviceName,
907 'profiles',
908 array(
909 'methods' => array(
910 'delete' => array(
911 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
912 'httpMethod' => 'DELETE',
913 'parameters' => array(
914 'accountId' => array(
915 'location' => 'path',
916 'type' => 'string',
917 'required' => true,
918 ),
919 'webPropertyId' => array(
920 'location' => 'path',
921 'type' => 'string',
922 'required' => true,
923 ),
924 'profileId' => array(
925 'location' => 'path',
926 'type' => 'string',
927 'required' => true,
928 ),
929 ),
930 ),'get' => array(
931 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
932 'httpMethod' => 'GET',
933 'parameters' => array(
934 'accountId' => array(
935 'location' => 'path',
936 'type' => 'string',
937 'required' => true,
938 ),
939 'webPropertyId' => array(
940 'location' => 'path',
941 'type' => 'string',
942 'required' => true,
943 ),
944 'profileId' => array(
945 'location' => 'path',
946 'type' => 'string',
947 'required' => true,
948 ),
949 ),
950 ),'insert' => array(
951 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
952 'httpMethod' => 'POST',
953 'parameters' => array(
954 'accountId' => array(
955 'location' => 'path',
956 'type' => 'string',
957 'required' => true,
958 ),
959 'webPropertyId' => array(
960 'location' => 'path',
961 'type' => 'string',
962 'required' => true,
963 ),
964 ),
965 ),'list' => array(
966 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
967 'httpMethod' => 'GET',
968 'parameters' => array(
969 'accountId' => array(
970 'location' => 'path',
971 'type' => 'string',
972 'required' => true,
973 ),
974 'webPropertyId' => array(
975 'location' => 'path',
976 'type' => 'string',
977 'required' => true,
978 ),
979 'max-results' => array(
980 'location' => 'query',
981 'type' => 'integer',
982 ),
983 'start-index' => array(
984 'location' => 'query',
985 'type' => 'integer',
986 ),
987 ),
988 ),'patch' => array(
989 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
990 'httpMethod' => 'PATCH',
991 'parameters' => array(
992 'accountId' => array(
993 'location' => 'path',
994 'type' => 'string',
995 'required' => true,
996 ),
997 'webPropertyId' => array(
998 'location' => 'path',
999 'type' => 'string',
1000 'required' => true,
1001 ),
1002 'profileId' => array(
1003 'location' => 'path',
1004 'type' => 'string',
1005 'required' => true,
1006 ),
1007 ),
1008 ),'update' => array(
1009 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1010 'httpMethod' => 'PUT',
1011 'parameters' => array(
1012 'accountId' => array(
1013 'location' => 'path',
1014 'type' => 'string',
1015 'required' => true,
1016 ),
1017 'webPropertyId' => array(
1018 'location' => 'path',
1019 'type' => 'string',
1020 'required' => true,
1021 ),
1022 'profileId' => array(
1023 'location' => 'path',
1024 'type' => 'string',
1025 'required' => true,
1026 ),
1027 ),
1028 ),
1029 )
1030 )
1031 );
1032 $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource(
1033 $this,
1034 $this->serviceName,
1035 'segments',
1036 array(
1037 'methods' => array(
1038 'list' => array(
1039 'path' => 'management/segments',
1040 'httpMethod' => 'GET',
1041 'parameters' => array(
1042 'max-results' => array(
1043 'location' => 'query',
1044 'type' => 'integer',
1045 ),
1046 'start-index' => array(
1047 'location' => 'query',
1048 'type' => 'integer',
1049 ),
1050 ),
1051 ),
1052 )
1053 )
1054 );
1055 $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource(
1056 $this,
1057 $this->serviceName,
1058 'uploads',
1059 array(
1060 'methods' => array(
1061 'deleteUploadData' => array(
1062 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
1063 'httpMethod' => 'POST',
1064 'parameters' => array(
1065 'accountId' => array(
1066 'location' => 'path',
1067 'type' => 'string',
1068 'required' => true,
1069 ),
1070 'webPropertyId' => array(
1071 'location' => 'path',
1072 'type' => 'string',
1073 'required' => true,
1074 ),
1075 'customDataSourceId' => array(
1076 'location' => 'path',
1077 'type' => 'string',
1078 'required' => true,
1079 ),
1080 ),
1081 ),'get' => array(
1082 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
1083 'httpMethod' => 'GET',
1084 'parameters' => array(
1085 'accountId' => array(
1086 'location' => 'path',
1087 'type' => 'string',
1088 'required' => true,
1089 ),
1090 'webPropertyId' => array(
1091 'location' => 'path',
1092 'type' => 'string',
1093 'required' => true,
1094 ),
1095 'customDataSourceId' => array(
1096 'location' => 'path',
1097 'type' => 'string',
1098 'required' => true,
1099 ),
1100 'uploadId' => array(
1101 'location' => 'path',
1102 'type' => 'string',
1103 'required' => true,
1104 ),
1105 ),
1106 ),'list' => array(
1107 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1108 'httpMethod' => 'GET',
1109 'parameters' => array(
1110 'accountId' => array(
1111 'location' => 'path',
1112 'type' => 'string',
1113 'required' => true,
1114 ),
1115 'webPropertyId' => array(
1116 'location' => 'path',
1117 'type' => 'string',
1118 'required' => true,
1119 ),
1120 'customDataSourceId' => array(
1121 'location' => 'path',
1122 'type' => 'string',
1123 'required' => true,
1124 ),
1125 'max-results' => array(
1126 'location' => 'query',
1127 'type' => 'integer',
1128 ),
1129 'start-index' => array(
1130 'location' => 'query',
1131 'type' => 'integer',
1132 ),
1133 ),
1134 ),'uploadData' => array(
1135 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1136 'httpMethod' => 'POST',
1137 'parameters' => array(
1138 'accountId' => array(
1139 'location' => 'path',
1140 'type' => 'string',
1141 'required' => true,
1142 ),
1143 'webPropertyId' => array(
1144 'location' => 'path',
1145 'type' => 'string',
1146 'required' => true,
1147 ),
1148 'customDataSourceId' => array(
1149 'location' => 'path',
1150 'type' => 'string',
1151 'required' => true,
1152 ),
1153 ),
1154 ),
1155 )
1156 )
1157 );
1158 $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource(
1159 $this,
1160 $this->serviceName,
1161 'webproperties',
1162 array(
1163 'methods' => array(
1164 'get' => array(
1165 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1166 'httpMethod' => 'GET',
1167 'parameters' => array(
1168 'accountId' => array(
1169 'location' => 'path',
1170 'type' => 'string',
1171 'required' => true,
1172 ),
1173 'webPropertyId' => array(
1174 'location' => 'path',
1175 'type' => 'string',
1176 'required' => true,
1177 ),
1178 ),
1179 ),'insert' => array(
1180 'path' => 'management/accounts/{accountId}/webproperties',
1181 'httpMethod' => 'POST',
1182 'parameters' => array(
1183 'accountId' => array(
1184 'location' => 'path',
1185 'type' => 'string',
1186 'required' => true,
1187 ),
1188 ),
1189 ),'list' => array(
1190 'path' => 'management/accounts/{accountId}/webproperties',
1191 'httpMethod' => 'GET',
1192 'parameters' => array(
1193 'accountId' => array(
1194 'location' => 'path',
1195 'type' => 'string',
1196 'required' => true,
1197 ),
1198 'max-results' => array(
1199 'location' => 'query',
1200 'type' => 'integer',
1201 ),
1202 'start-index' => array(
1203 'location' => 'query',
1204 'type' => 'integer',
1205 ),
1206 ),
1207 ),'patch' => array(
1208 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1209 'httpMethod' => 'PATCH',
1210 'parameters' => array(
1211 'accountId' => array(
1212 'location' => 'path',
1213 'type' => 'string',
1214 'required' => true,
1215 ),
1216 'webPropertyId' => array(
1217 'location' => 'path',
1218 'type' => 'string',
1219 'required' => true,
1220 ),
1221 ),
1222 ),'update' => array(
1223 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1224 'httpMethod' => 'PUT',
1225 'parameters' => array(
1226 'accountId' => array(
1227 'location' => 'path',
1228 'type' => 'string',
1229 'required' => true,
1230 ),
1231 'webPropertyId' => array(
1232 'location' => 'path',
1233 'type' => 'string',
1234 'required' => true,
1235 ),
1236 ),
1237 ),
1238 )
1239 )
1240 );
1241 $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
1242 $this,
1243 $this->serviceName,
1244 'webpropertyUserLinks',
1245 array(
1246 'methods' => array(
1247 'delete' => array(
1248 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
1249 'httpMethod' => 'DELETE',
1250 'parameters' => array(
1251 'accountId' => array(
1252 'location' => 'path',
1253 'type' => 'string',
1254 'required' => true,
1255 ),
1256 'webPropertyId' => array(
1257 'location' => 'path',
1258 'type' => 'string',
1259 'required' => true,
1260 ),
1261 'linkId' => array(
1262 'location' => 'path',
1263 'type' => 'string',
1264 'required' => true,
1265 ),
1266 ),
1267 ),'insert' => array(
1268 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
1269 'httpMethod' => 'POST',
1270 'parameters' => array(
1271 'accountId' => array(
1272 'location' => 'path',
1273 'type' => 'string',
1274 'required' => true,
1275 ),
1276 'webPropertyId' => array(
1277 'location' => 'path',
1278 'type' => 'string',
1279 'required' => true,
1280 ),
1281 ),
1282 ),'list' => array(
1283 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
1284 'httpMethod' => 'GET',
1285 'parameters' => array(
1286 'accountId' => array(
1287 'location' => 'path',
1288 'type' => 'string',
1289 'required' => true,
1290 ),
1291 'webPropertyId' => array(
1292 'location' => 'path',
1293 'type' => 'string',
1294 'required' => true,
1295 ),
1296 'max-results' => array(
1297 'location' => 'query',
1298 'type' => 'integer',
1299 ),
1300 'start-index' => array(
1301 'location' => 'query',
1302 'type' => 'integer',
1303 ),
1304 ),
1305 ),'update' => array(
1306 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
1307 'httpMethod' => 'PUT',
1308 'parameters' => array(
1309 'accountId' => array(
1310 'location' => 'path',
1311 'type' => 'string',
1312 'required' => true,
1313 ),
1314 'webPropertyId' => array(
1315 'location' => 'path',
1316 'type' => 'string',
1317 'required' => true,
1318 ),
1319 'linkId' => array(
1320 'location' => 'path',
1321 'type' => 'string',
1322 'required' => true,
1323 ),
1324 ),
1325 ),
1326 )
1327 )
1328 );
1329 $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource(
1330 $this,
1331 $this->serviceName,
1332 'columns',
1333 array(
1334 'methods' => array(
1335 'list' => array(
1336 'path' => 'metadata/{reportType}/columns',
1337 'httpMethod' => 'GET',
1338 'parameters' => array(
1339 'reportType' => array(
1340 'location' => 'path',
1341 'type' => 'string',
1342 'required' => true,
1343 ),
1344 ),
1345 ),
1346 )
1347 )
1348 );
1349 }
1350 }
1351
1352
1353 /**
1354 * The "data" collection of methods.
1355 * Typical usage is:
1356 * <code>
1357 * $analyticsService = new Google_Service_Analytics(...);
1358 * $data = $analyticsService->data;
1359 * </code>
1360 */
1361 class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
1362 {
1363
1364 }
1365
1366 /**
1367 * The "ga" collection of methods.
1368 * Typical usage is:
1369 * <code>
1370 * $analyticsService = new Google_Service_Analytics(...);
1371 * $ga = $analyticsService->ga;
1372 * </code>
1373 */
1374 class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
1375 {
1376
1377 /**
1378 * Returns Analytics data for a view (profile). (ga.get)
1379 *
1380 * @param string $ids
1381 * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
1382 * the Analytics view (profile) ID.
1383 * @param string $startDate
1384 * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
1385 * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1386 * @param string $endDate
1387 * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
1388 * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
1389 * yesterday.
1390 * @param string $metrics
1391 * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
1392 * metric must be specified.
1393 * @param array $optParams Optional parameters.
1394 *
1395 * @opt_param int max-results
1396 * The maximum number of entries to include in this feed.
1397 * @opt_param string sort
1398 * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
1399 * data.
1400 * @opt_param string dimensions
1401 * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
1402 * @opt_param int start-index
1403 * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1404 * with the max-results parameter.
1405 * @opt_param string segment
1406 * An Analytics segment to be applied to data.
1407 * @opt_param string samplingLevel
1408 * The desired sampling level.
1409 * @opt_param string filters
1410 * A comma-separated list of dimension or metric filters to be applied to Analytics data.
1411 * @opt_param string output
1412 * The selected format for the response. Default format is JSON.
1413 * @return Google_Service_Analytics_GaData
1414 */
1415 public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
1416 {
1417 $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
1418 $params = array_merge($params, $optParams);
1419 return $this->call('get', array($params), "Google_Service_Analytics_GaData");
1420 }
1421 }
1422 /**
1423 * The "mcf" collection of methods.
1424 * Typical usage is:
1425 * <code>
1426 * $analyticsService = new Google_Service_Analytics(...);
1427 * $mcf = $analyticsService->mcf;
1428 * </code>
1429 */
1430 class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
1431 {
1432
1433 /**
1434 * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
1435 *
1436 * @param string $ids
1437 * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
1438 * the Analytics view (profile) ID.
1439 * @param string $startDate
1440 * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
1441 * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1442 * @param string $endDate
1443 * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
1444 * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1445 * @param string $metrics
1446 * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
1447 * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
1448 * @param array $optParams Optional parameters.
1449 *
1450 * @opt_param int max-results
1451 * The maximum number of entries to include in this feed.
1452 * @opt_param string sort
1453 * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
1454 * data.
1455 * @opt_param string dimensions
1456 * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
1457 * @opt_param int start-index
1458 * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1459 * with the max-results parameter.
1460 * @opt_param string samplingLevel
1461 * The desired sampling level.
1462 * @opt_param string filters
1463 * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
1464 * @return Google_Service_Analytics_McfData
1465 */
1466 public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
1467 {
1468 $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
1469 $params = array_merge($params, $optParams);
1470 return $this->call('get', array($params), "Google_Service_Analytics_McfData");
1471 }
1472 }
1473 /**
1474 * The "realtime" collection of methods.
1475 * Typical usage is:
1476 * <code>
1477 * $analyticsService = new Google_Service_Analytics(...);
1478 * $realtime = $analyticsService->realtime;
1479 * </code>
1480 */
1481 class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
1482 {
1483
1484 /**
1485 * Returns real time data for a view (profile). (realtime.get)
1486 *
1487 * @param string $ids
1488 * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
1489 * the Analytics view (profile) ID.
1490 * @param string $metrics
1491 * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
1492 * specified.
1493 * @param array $optParams Optional parameters.
1494 *
1495 * @opt_param int max-results
1496 * The maximum number of entries to include in this feed.
1497 * @opt_param string sort
1498 * A comma-separated list of dimensions or metrics that determine the sort order for real time
1499 * data.
1500 * @opt_param string dimensions
1501 * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
1502 * @opt_param string filters
1503 * A comma-separated list of dimension or metric filters to be applied to real time data.
1504 * @return Google_Service_Analytics_RealtimeData
1505 */
1506 public function get($ids, $metrics, $optParams = array())
1507 {
1508 $params = array('ids' => $ids, 'metrics' => $metrics);
1509 $params = array_merge($params, $optParams);
1510 return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
1511 }
1512 }
1513
1514 /**
1515 * The "management" collection of methods.
1516 * Typical usage is:
1517 * <code>
1518 * $analyticsService = new Google_Service_Analytics(...);
1519 * $management = $analyticsService->management;
1520 * </code>
1521 */
1522 class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
1523 {
1524
1525 }
1526
1527 /**
1528 * The "accountSummaries" collection of methods.
1529 * Typical usage is:
1530 * <code>
1531 * $analyticsService = new Google_Service_Analytics(...);
1532 * $accountSummaries = $analyticsService->accountSummaries;
1533 * </code>
1534 */
1535 class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
1536 {
1537
1538 /**
1539 * Lists account summaries (lightweight tree comprised of
1540 * accounts/properties/profiles) to which the user has access.
1541 * (accountSummaries.listManagementAccountSummaries)
1542 *
1543 * @param array $optParams Optional parameters.
1544 *
1545 * @opt_param int max-results
1546 * The maximum number of filters to include in this response.
1547 * @opt_param int start-index
1548 * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1549 * with the max-results parameter.
1550 * @return Google_Service_Analytics_AccountSummaries
1551 */
1552 public function listManagementAccountSummaries($optParams = array())
1553 {
1554 $params = array();
1555 $params = array_merge($params, $optParams);
1556 return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
1557 }
1558 }
1559 /**
1560 * The "accountUserLinks" collection of methods.
1561 * Typical usage is:
1562 * <code>
1563 * $analyticsService = new Google_Service_Analytics(...);
1564 * $accountUserLinks = $analyticsService->accountUserLinks;
1565 * </code>
1566 */
1567 class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
1568 {
1569
1570 /**
1571 * Removes a user from the given account. (accountUserLinks.delete)
1572 *
1573 * @param string $accountId
1574 * Account ID to delete the user link for.
1575 * @param string $linkId
1576 * Link ID to delete the user link for.
1577 * @param array $optParams Optional parameters.
1578 */
1579 public function delete($accountId, $linkId, $optParams = array())
1580 {
1581 $params = array('accountId' => $accountId, 'linkId' => $linkId);
1582 $params = array_merge($params, $optParams);
1583 return $this->call('delete', array($params));
1584 }
1585 /**
1586 * Adds a new user to the given account. (accountUserLinks.insert)
1587 *
1588 * @param string $accountId
1589 * Account ID to create the user link for.
1590 * @param Google_EntityUserLink $postBody
1591 * @param array $optParams Optional parameters.
1592 * @return Google_Service_Analytics_EntityUserLink
1593 */
1594 public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
1595 {
1596 $params = array('accountId' => $accountId, 'postBody' => $postBody);
1597 $params = array_merge($params, $optParams);
1598 return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
1599 }
1600 /**
1601 * Lists account-user links for a given account.
1602 * (accountUserLinks.listManagementAccountUserLinks)
1603 *
1604 * @param string $accountId
1605 * Account ID to retrieve the user links for.
1606 * @param array $optParams Optional parameters.
1607 *
1608 * @opt_param int max-results
1609 * The maximum number of account-user links to include in this response.
1610 * @opt_param int start-index
1611 * An index of the first account-user link to retrieve. Use this parameter as a pagination
1612 * mechanism along with the max-results parameter.
1613 * @return Google_Service_Analytics_EntityUserLinks
1614 */
1615 public function listManagementAccountUserLinks($accountId, $optParams = array())
1616 {
1617 $params = array('accountId' => $accountId);
1618 $params = array_merge($params, $optParams);
1619 return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
1620 }
1621 /**
1622 * Updates permissions for an existing user on the given account.
1623 * (accountUserLinks.update)
1624 *
1625 * @param string $accountId
1626 * Account ID to update the account-user link for.
1627 * @param string $linkId
1628 * Link ID to update the account-user link for.
1629 * @param Google_EntityUserLink $postBody
1630 * @param array $optParams Optional parameters.
1631 * @return Google_Service_Analytics_EntityUserLink
1632 */
1633 public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
1634 {
1635 $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
1636 $params = array_merge($params, $optParams);
1637 return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
1638 }
1639 }
1640 /**
1641 * The "accounts" collection of methods.
1642 * Typical usage is:
1643 * <code>
1644 * $analyticsService = new Google_Service_Analytics(...);
1645 * $accounts = $analyticsService->accounts;
1646 * </code>
1647 */
1648 class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
1649 {
1650
1651 /**
1652 * Lists all accounts to which the user has access.
1653 * (accounts.listManagementAccounts)
1654 *
1655 * @param array $optParams Optional parameters.
1656 *
1657 * @opt_param int max-results
1658 * The maximum number of accounts to include in this response.
1659 * @opt_param int start-index
1660 * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
1661 * with the max-results parameter.
1662 * @return Google_Service_Analytics_Accounts
1663 */
1664 public function listManagementAccounts($optParams = array())
1665 {
1666 $params = array();
1667 $params = array_merge($params, $optParams);
1668 return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
1669 }
1670 }
1671 /**
1672 * The "customDataSources" collection of methods.
1673 * Typical usage is:
1674 * <code>
1675 * $analyticsService = new Google_Service_Analytics(...);
1676 * $customDataSources = $analyticsService->customDataSources;
1677 * </code>
1678 */
1679 class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
1680 {
1681
1682 /**
1683 * List custom data sources to which the user has access.
1684 * (customDataSources.listManagementCustomDataSources)
1685 *
1686 * @param string $accountId
1687 * Account Id for the custom data sources to retrieve.
1688 * @param string $webPropertyId
1689 * Web property Id for the custom data sources to retrieve.
1690 * @param array $optParams Optional parameters.
1691 *
1692 * @opt_param int max-results
1693 * The maximum number of custom data sources to include in this response.
1694 * @opt_param int start-index
1695 * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
1696 * mechanism along with the max-results parameter.
1697 * @return Google_Service_Analytics_CustomDataSources
1698 */
1699 public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
1700 {
1701 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
1702 $params = array_merge($params, $optParams);
1703 return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
1704 }
1705 }
1706 /**
1707 * The "dailyUploads" collection of methods.
1708 * Typical usage is:
1709 * <code>
1710 * $analyticsService = new Google_Service_Analytics(...);
1711 * $dailyUploads = $analyticsService->dailyUploads;
1712 * </code>
1713 */
1714 class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
1715 {
1716
1717 /**
1718 * Delete uploaded data for the given date. (dailyUploads.delete)
1719 *
1720 * @param string $accountId
1721 * Account Id associated with daily upload delete.
1722 * @param string $webPropertyId
1723 * Web property Id associated with daily upload delete.
1724 * @param string $customDataSourceId
1725 * Custom data source Id associated with daily upload delete.
1726 * @param string $date
1727 * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
1728 * @param string $type
1729 * Type of data for this delete.
1730 * @param array $optParams Optional parameters.
1731 */
1732 public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
1733 {
1734 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
1735 $params = array_merge($params, $optParams);
1736 return $this->call('delete', array($params));
1737 }
1738 /**
1739 * List daily uploads to which the user has access.
1740 * (dailyUploads.listManagementDailyUploads)
1741 *
1742 * @param string $accountId
1743 * Account Id for the daily uploads to retrieve.
1744 * @param string $webPropertyId
1745 * Web property Id for the daily uploads to retrieve.
1746 * @param string $customDataSourceId
1747 * Custom data source Id for daily uploads to retrieve.
1748 * @param string $startDate
1749 * Start date of the form YYYY-MM-DD.
1750 * @param string $endDate
1751 * End date of the form YYYY-MM-DD.
1752 * @param array $optParams Optional parameters.
1753 *
1754 * @opt_param int max-results
1755 * The maximum number of custom data sources to include in this response.
1756 * @opt_param int start-index
1757 * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
1758 * mechanism along with the max-results parameter.
1759 * @return Google_Service_Analytics_DailyUploads
1760 */
1761 public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
1762 {
1763 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
1764 $params = array_merge($params, $optParams);
1765 return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
1766 }
1767 /**
1768 * Update/Overwrite data for a custom data source. (dailyUploads.upload)
1769 *
1770 * @param string $accountId
1771 * Account Id associated with daily upload.
1772 * @param string $webPropertyId
1773 * Web property Id associated with daily upload.
1774 * @param string $customDataSourceId
1775 * Custom data source Id to which the data being uploaded belongs.
1776 * @param string $date
1777 * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
1778 * @param int $appendNumber
1779 * Append number for this upload indexed from 1.
1780 * @param string $type
1781 * Type of data for this upload.
1782 * @param array $optParams Optional parameters.
1783 *
1784 * @opt_param bool reset
1785 * Reset/Overwrite all previous appends for this date and start over with this file as the first
1786 * upload.
1787 * @return Google_Service_Analytics_DailyUploadAppend
1788 */
1789 public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
1790 {
1791 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
1792 $params = array_merge($params, $optParams);
1793 return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
1794 }
1795 }
1796 /**
1797 * The "experiments" collection of methods.
1798 * Typical usage is:
1799 * <code>
1800 * $analyticsService = new Google_Service_Analytics(...);
1801 * $experiments = $analyticsService->experiments;
1802 * </code>
1803 */
1804 class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
1805 {
1806
1807 /**
1808 * Delete an experiment. (experiments.delete)
1809 *
1810 * @param string $accountId
1811 * Account ID to which the experiment belongs
1812 * @param string $webPropertyId
1813 * Web property ID to which the experiment belongs
1814 * @param string $profileId
1815 * View (Profile) ID to which the experiment belongs
1816 * @param string $experimentId
1817 * ID of the experiment to delete
1818 * @param array $optParams Optional parameters.
1819 */
1820 public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
1821 {
1822 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
1823 $params = array_merge($params, $optParams);
1824 return $this->call('delete', array($params));
1825 }
1826 /**
1827 * Returns an experiment to which the user has access. (experiments.get)
1828 *
1829 * @param string $accountId
1830 * Account ID to retrieve the experiment for.
1831 * @param string $webPropertyId
1832 * Web property ID to retrieve the experiment for.
1833 * @param string $profileId
1834 * View (Profile) ID to retrieve the experiment for.
1835 * @param string $experimentId
1836 * Experiment ID to retrieve the experiment for.
1837 * @param array $optParams Optional parameters.
1838 * @return Google_Service_Analytics_Experiment
1839 */
1840 public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
1841 {
1842 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
1843 $params = array_merge($params, $optParams);
1844 return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
1845 }
1846 /**
1847 * Create a new experiment. (experiments.insert)
1848 *
1849 * @param string $accountId
1850 * Account ID to create the experiment for.
1851 * @param string $webPropertyId
1852 * Web property ID to create the experiment for.
1853 * @param string $profileId
1854 * View (Profile) ID to create the experiment for.
1855 * @param Google_Experiment $postBody
1856 * @param array $optParams Optional parameters.
1857 * @return Google_Service_Analytics_Experiment
1858 */
1859 public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
1860 {
1861 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
1862 $params = array_merge($params, $optParams);
1863 return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
1864 }
1865 /**
1866 * Lists experiments to which the user has access.
1867 * (experiments.listManagementExperiments)
1868 *
1869 * @param string $accountId
1870 * Account ID to retrieve experiments for.
1871 * @param string $webPropertyId
1872 * Web property ID to retrieve experiments for.
1873 * @param string $profileId
1874 * View (Profile) ID to retrieve experiments for.
1875 * @param array $optParams Optional parameters.
1876 *
1877 * @opt_param int max-results
1878 * The maximum number of experiments to include in this response.
1879 * @opt_param int start-index
1880 * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
1881 * with the max-results parameter.
1882 * @return Google_Service_Analytics_Experiments
1883 */
1884 public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
1885 {
1886 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
1887 $params = array_merge($params, $optParams);
1888 return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
1889 }
1890 /**
1891 * Update an existing experiment. This method supports patch semantics.
1892 * (experiments.patch)
1893 *
1894 * @param string $accountId
1895 * Account ID of the experiment to update.
1896 * @param string $webPropertyId
1897 * Web property ID of the experiment to update.
1898 * @param string $profileId
1899 * View (Profile) ID of the experiment to update.
1900 * @param string $experimentId
1901 * Experiment ID of the experiment to update.
1902 * @param Google_Experiment $postBody
1903 * @param array $optParams Optional parameters.
1904 * @return Google_Service_Analytics_Experiment
1905 */
1906 public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
1907 {
1908 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
1909 $params = array_merge($params, $optParams);
1910 return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
1911 }
1912 /**
1913 * Update an existing experiment. (experiments.update)
1914 *
1915 * @param string $accountId
1916 * Account ID of the experiment to update.
1917 * @param string $webPropertyId
1918 * Web property ID of the experiment to update.
1919 * @param string $profileId
1920 * View (Profile) ID of the experiment to update.
1921 * @param string $experimentId
1922 * Experiment ID of the experiment to update.
1923 * @param Google_Experiment $postBody
1924 * @param array $optParams Optional parameters.
1925 * @return Google_Service_Analytics_Experiment
1926 */
1927 public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
1928 {
1929 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
1930 $params = array_merge($params, $optParams);
1931 return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
1932 }
1933 }
1934 /**
1935 * The "goals" collection of methods.
1936 * Typical usage is:
1937 * <code>
1938 * $analyticsService = new Google_Service_Analytics(...);
1939 * $goals = $analyticsService->goals;
1940 * </code>
1941 */
1942 class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
1943 {
1944
1945 /**
1946 * Gets a goal to which the user has access. (goals.get)
1947 *
1948 * @param string $accountId
1949 * Account ID to retrieve the goal for.
1950 * @param string $webPropertyId
1951 * Web property ID to retrieve the goal for.
1952 * @param string $profileId
1953 * View (Profile) ID to retrieve the goal for.
1954 * @param string $goalId
1955 * Goal ID to retrieve the goal for.
1956 * @param array $optParams Optional parameters.
1957 * @return Google_Service_Analytics_Goal
1958 */
1959 public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
1960 {
1961 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
1962 $params = array_merge($params, $optParams);
1963 return $this->call('get', array($params), "Google_Service_Analytics_Goal");
1964 }
1965 /**
1966 * Create a new goal. (goals.insert)
1967 *
1968 * @param string $accountId
1969 * Account ID to create the goal for.
1970 * @param string $webPropertyId
1971 * Web property ID to create the goal for.
1972 * @param string $profileId
1973 * View (Profile) ID to create the goal for.
1974 * @param Google_Goal $postBody
1975 * @param array $optParams Optional parameters.
1976 * @return Google_Service_Analytics_Goal
1977 */
1978 public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
1979 {
1980 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
1981 $params = array_merge($params, $optParams);
1982 return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
1983 }
1984 /**
1985 * Lists goals to which the user has access. (goals.listManagementGoals)
1986 *
1987 * @param string $accountId
1988 * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
1989 * all the accounts that user has access to.
1990 * @param string $webPropertyId
1991 * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
1992 * refers to all the web properties that user has access to.
1993 * @param string $profileId
1994 * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
1995 * which refers to all the views (profiles) that user has access to.
1996 * @param array $optParams Optional parameters.
1997 *
1998 * @opt_param int max-results
1999 * The maximum number of goals to include in this response.
2000 * @opt_param int start-index
2001 * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
2002 * the max-results parameter.
2003 * @return Google_Service_Analytics_Goals
2004 */
2005 public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
2006 {
2007 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2008 $params = array_merge($params, $optParams);
2009 return $this->call('list', array($params), "Google_Service_Analytics_Goals");
2010 }
2011 /**
2012 * Updates an existing view (profile). This method supports patch semantics.
2013 * (goals.patch)
2014 *
2015 * @param string $accountId
2016 * Account ID to update the goal.
2017 * @param string $webPropertyId
2018 * Web property ID to update the goal.
2019 * @param string $profileId
2020 * View (Profile) ID to update the goal.
2021 * @param string $goalId
2022 * Index of the goal to be updated.
2023 * @param Google_Goal $postBody
2024 * @param array $optParams Optional parameters.
2025 * @return Google_Service_Analytics_Goal
2026 */
2027 public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2028 {
2029 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2030 $params = array_merge($params, $optParams);
2031 return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
2032 }
2033 /**
2034 * Updates an existing view (profile). (goals.update)
2035 *
2036 * @param string $accountId
2037 * Account ID to update the goal.
2038 * @param string $webPropertyId
2039 * Web property ID to update the goal.
2040 * @param string $profileId
2041 * View (Profile) ID to update the goal.
2042 * @param string $goalId
2043 * Index of the goal to be updated.
2044 * @param Google_Goal $postBody
2045 * @param array $optParams Optional parameters.
2046 * @return Google_Service_Analytics_Goal
2047 */
2048 public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
2049 {
2050 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
2051 $params = array_merge($params, $optParams);
2052 return $this->call('update', array($params), "Google_Service_Analytics_Goal");
2053 }
2054 }
2055 /**
2056 * The "profileUserLinks" collection of methods.
2057 * Typical usage is:
2058 * <code>
2059 * $analyticsService = new Google_Service_Analytics(...);
2060 * $profileUserLinks = $analyticsService->profileUserLinks;
2061 * </code>
2062 */
2063 class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
2064 {
2065
2066 /**
2067 * Removes a user from the given view (profile). (profileUserLinks.delete)
2068 *
2069 * @param string $accountId
2070 * Account ID to delete the user link for.
2071 * @param string $webPropertyId
2072 * Web Property ID to delete the user link for.
2073 * @param string $profileId
2074 * View (Profile) ID to delete the user link for.
2075 * @param string $linkId
2076 * Link ID to delete the user link for.
2077 * @param array $optParams Optional parameters.
2078 */
2079 public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2080 {
2081 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2082 $params = array_merge($params, $optParams);
2083 return $this->call('delete', array($params));
2084 }
2085 /**
2086 * Adds a new user to the given view (profile). (profileUserLinks.insert)
2087 *
2088 * @param string $accountId
2089 * Account ID to create the user link for.
2090 * @param string $webPropertyId
2091 * Web Property ID to create the user link for.
2092 * @param string $profileId
2093 * View (Profile) ID to create the user link for.
2094 * @param Google_EntityUserLink $postBody
2095 * @param array $optParams Optional parameters.
2096 * @return Google_Service_Analytics_EntityUserLink
2097 */
2098 public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2099 {
2100 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2101 $params = array_merge($params, $optParams);
2102 return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
2103 }
2104 /**
2105 * Lists profile-user links for a given view (profile).
2106 * (profileUserLinks.listManagementProfileUserLinks)
2107 *
2108 * @param string $accountId
2109 * Account ID which the given view (profile) belongs to.
2110 * @param string $webPropertyId
2111 * Web Property ID which the given view (profile) belongs to.
2112 * @param string $profileId
2113 * View (Profile) ID to retrieve the profile-user links for
2114 * @param array $optParams Optional parameters.
2115 *
2116 * @opt_param int max-results
2117 * The maximum number of profile-user links to include in this response.
2118 * @opt_param int start-index
2119 * An index of the first profile-user link to retrieve. Use this parameter as a pagination
2120 * mechanism along with the max-results parameter.
2121 * @return Google_Service_Analytics_EntityUserLinks
2122 */
2123 public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2124 {
2125 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2126 $params = array_merge($params, $optParams);
2127 return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
2128 }
2129 /**
2130 * Updates permissions for an existing user on the given view (profile).
2131 * (profileUserLinks.update)
2132 *
2133 * @param string $accountId
2134 * Account ID to update the user link for.
2135 * @param string $webPropertyId
2136 * Web Property ID to update the user link for.
2137 * @param string $profileId
2138 * View (Profile ID) to update the user link for.
2139 * @param string $linkId
2140 * Link ID to update the user link for.
2141 * @param Google_EntityUserLink $postBody
2142 * @param array $optParams Optional parameters.
2143 * @return Google_Service_Analytics_EntityUserLink
2144 */
2145 public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2146 {
2147 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2148 $params = array_merge($params, $optParams);
2149 return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
2150 }
2151 }
2152 /**
2153 * The "profiles" collection of methods.
2154 * Typical usage is:
2155 * <code>
2156 * $analyticsService = new Google_Service_Analytics(...);
2157 * $profiles = $analyticsService->profiles;
2158 * </code>
2159 */
2160 class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
2161 {
2162
2163 /**
2164 * Deletes a view (profile). (profiles.delete)
2165 *
2166 * @param string $accountId
2167 * Account ID to delete the view (profile) for.
2168 * @param string $webPropertyId
2169 * Web property ID to delete the view (profile) for.
2170 * @param string $profileId
2171 * ID of the view (profile) to be deleted.
2172 * @param array $optParams Optional parameters.
2173 */
2174 public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
2175 {
2176 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2177 $params = array_merge($params, $optParams);
2178 return $this->call('delete', array($params));
2179 }
2180 /**
2181 * Gets a view (profile) to which the user has access. (profiles.get)
2182 *
2183 * @param string $accountId
2184 * Account ID to retrieve the goal for.
2185 * @param string $webPropertyId
2186 * Web property ID to retrieve the goal for.
2187 * @param string $profileId
2188 * View (Profile) ID to retrieve the goal for.
2189 * @param array $optParams Optional parameters.
2190 * @return Google_Service_Analytics_Profile
2191 */
2192 public function get($accountId, $webPropertyId, $profileId, $optParams = array())
2193 {
2194 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2195 $params = array_merge($params, $optParams);
2196 return $this->call('get', array($params), "Google_Service_Analytics_Profile");
2197 }
2198 /**
2199 * Create a new view (profile). (profiles.insert)
2200 *
2201 * @param string $accountId
2202 * Account ID to create the view (profile) for.
2203 * @param string $webPropertyId
2204 * Web property ID to create the view (profile) for.
2205 * @param Google_Profile $postBody
2206 * @param array $optParams Optional parameters.
2207 * @return Google_Service_Analytics_Profile
2208 */
2209 public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
2210 {
2211 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2212 $params = array_merge($params, $optParams);
2213 return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
2214 }
2215 /**
2216 * Lists views (profiles) to which the user has access.
2217 * (profiles.listManagementProfiles)
2218 *
2219 * @param string $accountId
2220 * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
2221 * which refers to all the accounts to which the user has access.
2222 * @param string $webPropertyId
2223 * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
2224 * or '~all', which refers to all the web properties to which the user has access.
2225 * @param array $optParams Optional parameters.
2226 *
2227 * @opt_param int max-results
2228 * The maximum number of views (profiles) to include in this response.
2229 * @opt_param int start-index
2230 * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2231 * with the max-results parameter.
2232 * @return Google_Service_Analytics_Profiles
2233 */
2234 public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
2235 {
2236 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2237 $params = array_merge($params, $optParams);
2238 return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
2239 }
2240 /**
2241 * Updates an existing view (profile). This method supports patch semantics.
2242 * (profiles.patch)
2243 *
2244 * @param string $accountId
2245 * Account ID to which the view (profile) belongs
2246 * @param string $webPropertyId
2247 * Web property ID to which the view (profile) belongs
2248 * @param string $profileId
2249 * ID of the view (profile) to be updated.
2250 * @param Google_Profile $postBody
2251 * @param array $optParams Optional parameters.
2252 * @return Google_Service_Analytics_Profile
2253 */
2254 public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
2255 {
2256 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2257 $params = array_merge($params, $optParams);
2258 return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
2259 }
2260 /**
2261 * Updates an existing view (profile). (profiles.update)
2262 *
2263 * @param string $accountId
2264 * Account ID to which the view (profile) belongs
2265 * @param string $webPropertyId
2266 * Web property ID to which the view (profile) belongs
2267 * @param string $profileId
2268 * ID of the view (profile) to be updated.
2269 * @param Google_Profile $postBody
2270 * @param array $optParams Optional parameters.
2271 * @return Google_Service_Analytics_Profile
2272 */
2273 public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
2274 {
2275 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2276 $params = array_merge($params, $optParams);
2277 return $this->call('update', array($params), "Google_Service_Analytics_Profile");
2278 }
2279 }
2280 /**
2281 * The "segments" collection of methods.
2282 * Typical usage is:
2283 * <code>
2284 * $analyticsService = new Google_Service_Analytics(...);
2285 * $segments = $analyticsService->segments;
2286 * </code>
2287 */
2288 class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
2289 {
2290
2291 /**
2292 * Lists segments to which the user has access.
2293 * (segments.listManagementSegments)
2294 *
2295 * @param array $optParams Optional parameters.
2296 *
2297 * @opt_param int max-results
2298 * The maximum number of segments to include in this response.
2299 * @opt_param int start-index
2300 * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
2301 * with the max-results parameter.
2302 * @return Google_Service_Analytics_Segments
2303 */
2304 public function listManagementSegments($optParams = array())
2305 {
2306 $params = array();
2307 $params = array_merge($params, $optParams);
2308 return $this->call('list', array($params), "Google_Service_Analytics_Segments");
2309 }
2310 }
2311 /**
2312 * The "uploads" collection of methods.
2313 * Typical usage is:
2314 * <code>
2315 * $analyticsService = new Google_Service_Analytics(...);
2316 * $uploads = $analyticsService->uploads;
2317 * </code>
2318 */
2319 class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
2320 {
2321
2322 /**
2323 * Delete data associated with a previous upload. (uploads.deleteUploadData)
2324 *
2325 * @param string $accountId
2326 * Account Id for the uploads to be deleted.
2327 * @param string $webPropertyId
2328 * Web property Id for the uploads to be deleted.
2329 * @param string $customDataSourceId
2330 * Custom data source Id for the uploads to be deleted.
2331 * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
2332 * @param array $optParams Optional parameters.
2333 */
2334 public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
2335 {
2336 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
2337 $params = array_merge($params, $optParams);
2338 return $this->call('deleteUploadData', array($params));
2339 }
2340 /**
2341 * List uploads to which the user has access. (uploads.get)
2342 *
2343 * @param string $accountId
2344 * Account Id for the upload to retrieve.
2345 * @param string $webPropertyId
2346 * Web property Id for the upload to retrieve.
2347 * @param string $customDataSourceId
2348 * Custom data source Id for upload to retrieve.
2349 * @param string $uploadId
2350 * Upload Id to retrieve.
2351 * @param array $optParams Optional parameters.
2352 * @return Google_Service_Analytics_Upload
2353 */
2354 public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
2355 {
2356 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
2357 $params = array_merge($params, $optParams);
2358 return $this->call('get', array($params), "Google_Service_Analytics_Upload");
2359 }
2360 /**
2361 * List uploads to which the user has access. (uploads.listManagementUploads)
2362 *
2363 * @param string $accountId
2364 * Account Id for the uploads to retrieve.
2365 * @param string $webPropertyId
2366 * Web property Id for the uploads to retrieve.
2367 * @param string $customDataSourceId
2368 * Custom data source Id for uploads to retrieve.
2369 * @param array $optParams Optional parameters.
2370 *
2371 * @opt_param int max-results
2372 * The maximum number of uploads to include in this response.
2373 * @opt_param int start-index
2374 * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
2375 * along with the max-results parameter.
2376 * @return Google_Service_Analytics_Uploads
2377 */
2378 public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
2379 {
2380 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
2381 $params = array_merge($params, $optParams);
2382 return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
2383 }
2384 /**
2385 * Upload data for a custom data source. (uploads.uploadData)
2386 *
2387 * @param string $accountId
2388 * Account Id associated with the upload.
2389 * @param string $webPropertyId
2390 * Web property UA-string associated with the upload.
2391 * @param string $customDataSourceId
2392 * Custom data source Id to which the data being uploaded belongs.
2393 * @param array $optParams Optional parameters.
2394 * @return Google_Service_Analytics_Upload
2395 */
2396 public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
2397 {
2398 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
2399 $params = array_merge($params, $optParams);
2400 return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
2401 }
2402 }
2403 /**
2404 * The "webproperties" collection of methods.
2405 * Typical usage is:
2406 * <code>
2407 * $analyticsService = new Google_Service_Analytics(...);
2408 * $webproperties = $analyticsService->webproperties;
2409 * </code>
2410 */
2411 class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
2412 {
2413
2414 /**
2415 * Gets a web property to which the user has access. (webproperties.get)
2416 *
2417 * @param string $accountId
2418 * Account ID to retrieve the web property for.
2419 * @param string $webPropertyId
2420 * ID to retrieve the web property for.
2421 * @param array $optParams Optional parameters.
2422 * @return Google_Service_Analytics_Webproperty
2423 */
2424 public function get($accountId, $webPropertyId, $optParams = array())
2425 {
2426 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2427 $params = array_merge($params, $optParams);
2428 return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
2429 }
2430 /**
2431 * Create a new property if the account has fewer than 20 properties. Web
2432 * properties are visible in the Google Analytics interface only if they have at
2433 * least one profile. (webproperties.insert)
2434 *
2435 * @param string $accountId
2436 * Account ID to create the web property for.
2437 * @param Google_Webproperty $postBody
2438 * @param array $optParams Optional parameters.
2439 * @return Google_Service_Analytics_Webproperty
2440 */
2441 public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
2442 {
2443 $params = array('accountId' => $accountId, 'postBody' => $postBody);
2444 $params = array_merge($params, $optParams);
2445 return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
2446 }
2447 /**
2448 * Lists web properties to which the user has access.
2449 * (webproperties.listManagementWebproperties)
2450 *
2451 * @param string $accountId
2452 * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
2453 * refers to all the accounts that user has access to.
2454 * @param array $optParams Optional parameters.
2455 *
2456 * @opt_param int max-results
2457 * The maximum number of web properties to include in this response.
2458 * @opt_param int start-index
2459 * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2460 * with the max-results parameter.
2461 * @return Google_Service_Analytics_Webproperties
2462 */
2463 public function listManagementWebproperties($accountId, $optParams = array())
2464 {
2465 $params = array('accountId' => $accountId);
2466 $params = array_merge($params, $optParams);
2467 return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
2468 }
2469 /**
2470 * Updates an existing web property. This method supports patch semantics.
2471 * (webproperties.patch)
2472 *
2473 * @param string $accountId
2474 * Account ID to which the web property belongs
2475 * @param string $webPropertyId
2476 * Web property ID
2477 * @param Google_Webproperty $postBody
2478 * @param array $optParams Optional parameters.
2479 * @return Google_Service_Analytics_Webproperty
2480 */
2481 public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
2482 {
2483 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2484 $params = array_merge($params, $optParams);
2485 return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
2486 }
2487 /**
2488 * Updates an existing web property. (webproperties.update)
2489 *
2490 * @param string $accountId
2491 * Account ID to which the web property belongs
2492 * @param string $webPropertyId
2493 * Web property ID
2494 * @param Google_Webproperty $postBody
2495 * @param array $optParams Optional parameters.
2496 * @return Google_Service_Analytics_Webproperty
2497 */
2498 public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
2499 {
2500 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2501 $params = array_merge($params, $optParams);
2502 return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
2503 }
2504 }
2505 /**
2506 * The "webpropertyUserLinks" collection of methods.
2507 * Typical usage is:
2508 * <code>
2509 * $analyticsService = new Google_Service_Analytics(...);
2510 * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
2511 * </code>
2512 */
2513 class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
2514 {
2515
2516 /**
2517 * Removes a user from the given web property. (webpropertyUserLinks.delete)
2518 *
2519 * @param string $accountId
2520 * Account ID to delete the user link for.
2521 * @param string $webPropertyId
2522 * Web Property ID to delete the user link for.
2523 * @param string $linkId
2524 * Link ID to delete the user link for.
2525 * @param array $optParams Optional parameters.
2526 */
2527 public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
2528 {
2529 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
2530 $params = array_merge($params, $optParams);
2531 return $this->call('delete', array($params));
2532 }
2533 /**
2534 * Adds a new user to the given web property. (webpropertyUserLinks.insert)
2535 *
2536 * @param string $accountId
2537 * Account ID to create the user link for.
2538 * @param string $webPropertyId
2539 * Web Property ID to create the user link for.
2540 * @param Google_EntityUserLink $postBody
2541 * @param array $optParams Optional parameters.
2542 * @return Google_Service_Analytics_EntityUserLink
2543 */
2544 public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2545 {
2546 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2547 $params = array_merge($params, $optParams);
2548 return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
2549 }
2550 /**
2551 * Lists webProperty-user links for a given web property.
2552 * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
2553 *
2554 * @param string $accountId
2555 * Account ID which the given web property belongs to.
2556 * @param string $webPropertyId
2557 * Web Property ID for the webProperty-user links to retrieve.
2558 * @param array $optParams Optional parameters.
2559 *
2560 * @opt_param int max-results
2561 * The maximum number of webProperty-user Links to include in this response.
2562 * @opt_param int start-index
2563 * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
2564 * mechanism along with the max-results parameter.
2565 * @return Google_Service_Analytics_EntityUserLinks
2566 */
2567 public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
2568 {
2569 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2570 $params = array_merge($params, $optParams);
2571 return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
2572 }
2573 /**
2574 * Updates permissions for an existing user on the given web property.
2575 * (webpropertyUserLinks.update)
2576 *
2577 * @param string $accountId
2578 * Account ID to update the account-user link for.
2579 * @param string $webPropertyId
2580 * Web property ID to update the account-user link for.
2581 * @param string $linkId
2582 * Link ID to update the account-user link for.
2583 * @param Google_EntityUserLink $postBody
2584 * @param array $optParams Optional parameters.
2585 * @return Google_Service_Analytics_EntityUserLink
2586 */
2587 public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
2588 {
2589 $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
2590 $params = array_merge($params, $optParams);
2591 return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
2592 }
2593 }
2594
2595 /**
2596 * The "metadata" collection of methods.
2597 * Typical usage is:
2598 * <code>
2599 * $analyticsService = new Google_Service_Analytics(...);
2600 * $metadata = $analyticsService->metadata;
2601 * </code>
2602 */
2603 class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
2604 {
2605
2606 }
2607
2608 /**
2609 * The "columns" collection of methods.
2610 * Typical usage is:
2611 * <code>
2612 * $analyticsService = new Google_Service_Analytics(...);
2613 * $columns = $analyticsService->columns;
2614 * </code>
2615 */
2616 class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
2617 {
2618
2619 /**
2620 * Lists all columns for a report type (columns.listMetadataColumns)
2621 *
2622 * @param string $reportType
2623 * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
2624 * @param array $optParams Optional parameters.
2625 * @return Google_Service_Analytics_Columns
2626 */
2627 public function listMetadataColumns($reportType, $optParams = array())
2628 {
2629 $params = array('reportType' => $reportType);
2630 $params = array_merge($params, $optParams);
2631 return $this->call('list', array($params), "Google_Service_Analytics_Columns");
2632 }
2633 }
2634
2635
2636
2637
2638 class Google_Service_Analytics_Account extends Google_Model
2639 {
2640 protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
2641 protected $childLinkDataType = '';
2642 public $created;
2643 public $id;
2644 public $kind;
2645 public $name;
2646 protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
2647 protected $permissionsDataType = '';
2648 public $selfLink;
2649 public $updated;
2650
2651 public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
2652 {
2653 $this->childLink = $childLink;
2654 }
2655
2656 public function getChildLink()
2657 {
2658 return $this->childLink;
2659 }
2660
2661 public function setCreated($created)
2662 {
2663 $this->created = $created;
2664 }
2665
2666 public function getCreated()
2667 {
2668 return $this->created;
2669 }
2670
2671 public function setId($id)
2672 {
2673 $this->id = $id;
2674 }
2675
2676 public function getId()
2677 {
2678 return $this->id;
2679 }
2680
2681 public function setKind($kind)
2682 {
2683 $this->kind = $kind;
2684 }
2685
2686 public function getKind()
2687 {
2688 return $this->kind;
2689 }
2690
2691 public function setName($name)
2692 {
2693 $this->name = $name;
2694 }
2695
2696 public function getName()
2697 {
2698 return $this->name;
2699 }
2700
2701 public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
2702 {
2703 $this->permissions = $permissions;
2704 }
2705
2706 public function getPermissions()
2707 {
2708 return $this->permissions;
2709 }
2710
2711 public function setSelfLink($selfLink)
2712 {
2713 $this->selfLink = $selfLink;
2714 }
2715
2716 public function getSelfLink()
2717 {
2718 return $this->selfLink;
2719 }
2720
2721 public function setUpdated($updated)
2722 {
2723 $this->updated = $updated;
2724 }
2725
2726 public function getUpdated()
2727 {
2728 return $this->updated;
2729 }
2730 }
2731
2732 class Google_Service_Analytics_AccountChildLink extends Google_Model
2733 {
2734 public $href;
2735 public $type;
2736
2737 public function setHref($href)
2738 {
2739 $this->href = $href;
2740 }
2741
2742 public function getHref()
2743 {
2744 return $this->href;
2745 }
2746
2747 public function setType($type)
2748 {
2749 $this->type = $type;
2750 }
2751
2752 public function getType()
2753 {
2754 return $this->type;
2755 }
2756 }
2757
2758 class Google_Service_Analytics_AccountPermissions extends Google_Collection
2759 {
2760 public $effective;
2761
2762 public function setEffective($effective)
2763 {
2764 $this->effective = $effective;
2765 }
2766
2767 public function getEffective()
2768 {
2769 return $this->effective;
2770 }
2771 }
2772
2773 class Google_Service_Analytics_AccountRef extends Google_Model
2774 {
2775 public $href;
2776 public $id;
2777 public $kind;
2778 public $name;
2779
2780 public function setHref($href)
2781 {
2782 $this->href = $href;
2783 }
2784
2785 public function getHref()
2786 {
2787 return $this->href;
2788 }
2789
2790 public function setId($id)
2791 {
2792 $this->id = $id;
2793 }
2794
2795 public function getId()
2796 {
2797 return $this->id;
2798 }
2799
2800 public function setKind($kind)
2801 {
2802 $this->kind = $kind;
2803 }
2804
2805 public function getKind()
2806 {
2807 return $this->kind;
2808 }
2809
2810 public function setName($name)
2811 {
2812 $this->name = $name;
2813 }
2814
2815 public function getName()
2816 {
2817 return $this->name;
2818 }
2819 }
2820
2821 class Google_Service_Analytics_AccountSummaries extends Google_Collection
2822 {
2823 protected $itemsType = 'Google_Service_Analytics_AccountSummary';
2824 protected $itemsDataType = 'array';
2825 public $itemsPerPage;
2826 public $kind;
2827 public $nextLink;
2828 public $previousLink;
2829 public $startIndex;
2830 public $totalResults;
2831 public $username;
2832
2833 public function setItems($items)
2834 {
2835 $this->items = $items;
2836 }
2837
2838 public function getItems()
2839 {
2840 return $this->items;
2841 }
2842
2843 public function setItemsPerPage($itemsPerPage)
2844 {
2845 $this->itemsPerPage = $itemsPerPage;
2846 }
2847
2848 public function getItemsPerPage()
2849 {
2850 return $this->itemsPerPage;
2851 }
2852
2853 public function setKind($kind)
2854 {
2855 $this->kind = $kind;
2856 }
2857
2858 public function getKind()
2859 {
2860 return $this->kind;
2861 }
2862
2863 public function setNextLink($nextLink)
2864 {
2865 $this->nextLink = $nextLink;
2866 }
2867
2868 public function getNextLink()
2869 {
2870 return $this->nextLink;
2871 }
2872
2873 public function setPreviousLink($previousLink)
2874 {
2875 $this->previousLink = $previousLink;
2876 }
2877
2878 public function getPreviousLink()
2879 {
2880 return $this->previousLink;
2881 }
2882
2883 public function setStartIndex($startIndex)
2884 {
2885 $this->startIndex = $startIndex;
2886 }
2887
2888 public function getStartIndex()
2889 {
2890 return $this->startIndex;
2891 }
2892
2893 public function setTotalResults($totalResults)
2894 {
2895 $this->totalResults = $totalResults;
2896 }
2897
2898 public function getTotalResults()
2899 {
2900 return $this->totalResults;
2901 }
2902
2903 public function setUsername($username)
2904 {
2905 $this->username = $username;
2906 }
2907
2908 public function getUsername()
2909 {
2910 return $this->username;
2911 }
2912 }
2913
2914 class Google_Service_Analytics_AccountSummary extends Google_Collection
2915 {
2916 public $id;
2917 public $kind;
2918 public $name;
2919 protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
2920 protected $webPropertiesDataType = 'array';
2921
2922 public function setId($id)
2923 {
2924 $this->id = $id;
2925 }
2926
2927 public function getId()
2928 {
2929 return $this->id;
2930 }
2931
2932 public function setKind($kind)
2933 {
2934 $this->kind = $kind;
2935 }
2936
2937 public function getKind()
2938 {
2939 return $this->kind;
2940 }
2941
2942 public function setName($name)
2943 {
2944 $this->name = $name;
2945 }
2946
2947 public function getName()
2948 {
2949 return $this->name;
2950 }
2951
2952 public function setWebProperties($webProperties)
2953 {
2954 $this->webProperties = $webProperties;
2955 }
2956
2957 public function getWebProperties()
2958 {
2959 return $this->webProperties;
2960 }
2961 }
2962
2963 class Google_Service_Analytics_Accounts extends Google_Collection
2964 {
2965 protected $itemsType = 'Google_Service_Analytics_Account';
2966 protected $itemsDataType = 'array';
2967 public $itemsPerPage;
2968 public $kind;
2969 public $nextLink;
2970 public $previousLink;
2971 public $startIndex;
2972 public $totalResults;
2973 public $username;
2974
2975 public function setItems($items)
2976 {
2977 $this->items = $items;
2978 }
2979
2980 public function getItems()
2981 {
2982 return $this->items;
2983 }
2984
2985 public function setItemsPerPage($itemsPerPage)
2986 {
2987 $this->itemsPerPage = $itemsPerPage;
2988 }
2989
2990 public function getItemsPerPage()
2991 {
2992 return $this->itemsPerPage;
2993 }
2994
2995 public function setKind($kind)
2996 {
2997 $this->kind = $kind;
2998 }
2999
3000 public function getKind()
3001 {
3002 return $this->kind;
3003 }
3004
3005 public function setNextLink($nextLink)
3006 {
3007 $this->nextLink = $nextLink;
3008 }
3009
3010 public function getNextLink()
3011 {
3012 return $this->nextLink;
3013 }
3014
3015 public function setPreviousLink($previousLink)
3016 {
3017 $this->previousLink = $previousLink;
3018 }
3019
3020 public function getPreviousLink()
3021 {
3022 return $this->previousLink;
3023 }
3024
3025 public function setStartIndex($startIndex)
3026 {
3027 $this->startIndex = $startIndex;
3028 }
3029
3030 public function getStartIndex()
3031 {
3032 return $this->startIndex;
3033 }
3034
3035 public function setTotalResults($totalResults)
3036 {
3037 $this->totalResults = $totalResults;
3038 }
3039
3040 public function getTotalResults()
3041 {
3042 return $this->totalResults;
3043 }
3044
3045 public function setUsername($username)
3046 {
3047 $this->username = $username;
3048 }
3049
3050 public function getUsername()
3051 {
3052 return $this->username;
3053 }
3054 }
3055
3056 class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
3057 {
3058 public $customDataImportUids;
3059
3060 public function setCustomDataImportUids($customDataImportUids)
3061 {
3062 $this->customDataImportUids = $customDataImportUids;
3063 }
3064
3065 public function getCustomDataImportUids()
3066 {
3067 return $this->customDataImportUids;
3068 }
3069 }
3070
3071 class Google_Service_Analytics_Column extends Google_Model
3072 {
3073 public $attributes;
3074 public $id;
3075 public $kind;
3076
3077 public function setAttributes($attributes)
3078 {
3079 $this->attributes = $attributes;
3080 }
3081
3082 public function getAttributes()
3083 {
3084 return $this->attributes;
3085 }
3086
3087 public function setId($id)
3088 {
3089 $this->id = $id;
3090 }
3091
3092 public function getId()
3093 {
3094 return $this->id;
3095 }
3096
3097 public function setKind($kind)
3098 {
3099 $this->kind = $kind;
3100 }
3101
3102 public function getKind()
3103 {
3104 return $this->kind;
3105 }
3106 }
3107
3108 class Google_Service_Analytics_Columns extends Google_Collection
3109 {
3110 public $attributeNames;
3111 public $etag;
3112 protected $itemsType = 'Google_Service_Analytics_Column';
3113 protected $itemsDataType = 'array';
3114 public $kind;
3115 public $totalResults;
3116
3117 public function setAttributeNames($attributeNames)
3118 {
3119 $this->attributeNames = $attributeNames;
3120 }
3121
3122 public function getAttributeNames()
3123 {
3124 return $this->attributeNames;
3125 }
3126
3127 public function setEtag($etag)
3128 {
3129 $this->etag = $etag;
3130 }
3131
3132 public function getEtag()
3133 {
3134 return $this->etag;
3135 }
3136
3137 public function setItems($items)
3138 {
3139 $this->items = $items;
3140 }
3141
3142 public function getItems()
3143 {
3144 return $this->items;
3145 }
3146
3147 public function setKind($kind)
3148 {
3149 $this->kind = $kind;
3150 }
3151
3152 public function getKind()
3153 {
3154 return $this->kind;
3155 }
3156
3157 public function setTotalResults($totalResults)
3158 {
3159 $this->totalResults = $totalResults;
3160 }
3161
3162 public function getTotalResults()
3163 {
3164 return $this->totalResults;
3165 }
3166 }
3167
3168 class Google_Service_Analytics_CustomDataSource extends Google_Collection
3169 {
3170 public $accountId;
3171 protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
3172 protected $childLinkDataType = '';
3173 public $created;
3174 public $description;
3175 public $id;
3176 public $kind;
3177 public $name;
3178 protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
3179 protected $parentLinkDataType = '';
3180 public $profilesLinked;
3181 public $selfLink;
3182 public $type;
3183 public $updated;
3184 public $webPropertyId;
3185
3186 public function setAccountId($accountId)
3187 {
3188 $this->accountId = $accountId;
3189 }
3190
3191 public function getAccountId()
3192 {
3193 return $this->accountId;
3194 }
3195
3196 public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
3197 {
3198 $this->childLink = $childLink;
3199 }
3200
3201 public function getChildLink()
3202 {
3203 return $this->childLink;
3204 }
3205
3206 public function setCreated($created)
3207 {
3208 $this->created = $created;
3209 }
3210
3211 public function getCreated()
3212 {
3213 return $this->created;
3214 }
3215
3216 public function setDescription($description)
3217 {
3218 $this->description = $description;
3219 }
3220
3221 public function getDescription()
3222 {
3223 return $this->description;
3224 }
3225
3226 public function setId($id)
3227 {
3228 $this->id = $id;
3229 }
3230
3231 public function getId()
3232 {
3233 return $this->id;
3234 }
3235
3236 public function setKind($kind)
3237 {
3238 $this->kind = $kind;
3239 }
3240
3241 public function getKind()
3242 {
3243 return $this->kind;
3244 }
3245
3246 public function setName($name)
3247 {
3248 $this->name = $name;
3249 }
3250
3251 public function getName()
3252 {
3253 return $this->name;
3254 }
3255
3256 public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
3257 {
3258 $this->parentLink = $parentLink;
3259 }
3260
3261 public function getParentLink()
3262 {
3263 return $this->parentLink;
3264 }
3265
3266 public function setProfilesLinked($profilesLinked)
3267 {
3268 $this->profilesLinked = $profilesLinked;
3269 }
3270
3271 public function getProfilesLinked()
3272 {
3273 return $this->profilesLinked;
3274 }
3275
3276 public function setSelfLink($selfLink)
3277 {
3278 $this->selfLink = $selfLink;
3279 }
3280
3281 public function getSelfLink()
3282 {
3283 return $this->selfLink;
3284 }
3285
3286 public function setType($type)
3287 {
3288 $this->type = $type;
3289 }
3290
3291 public function getType()
3292 {
3293 return $this->type;
3294 }
3295
3296 public function setUpdated($updated)
3297 {
3298 $this->updated = $updated;
3299 }
3300
3301 public function getUpdated()
3302 {
3303 return $this->updated;
3304 }
3305
3306 public function setWebPropertyId($webPropertyId)
3307 {
3308 $this->webPropertyId = $webPropertyId;
3309 }
3310
3311 public function getWebPropertyId()
3312 {
3313 return $this->webPropertyId;
3314 }
3315 }
3316
3317 class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
3318 {
3319 public $href;
3320 public $type;
3321
3322 public function setHref($href)
3323 {
3324 $this->href = $href;
3325 }
3326
3327 public function getHref()
3328 {
3329 return $this->href;
3330 }
3331
3332 public function setType($type)
3333 {
3334 $this->type = $type;
3335 }
3336
3337 public function getType()
3338 {
3339 return $this->type;
3340 }
3341 }
3342
3343 class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
3344 {
3345 public $href;
3346 public $type;
3347
3348 public function setHref($href)
3349 {
3350 $this->href = $href;
3351 }
3352
3353 public function getHref()
3354 {
3355 return $this->href;
3356 }
3357
3358 public function setType($type)
3359 {
3360 $this->type = $type;
3361 }
3362
3363 public function getType()
3364 {
3365 return $this->type;
3366 }
3367 }
3368
3369 class Google_Service_Analytics_CustomDataSources extends Google_Collection
3370 {
3371 protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
3372 protected $itemsDataType = 'array';
3373 public $itemsPerPage;
3374 public $kind;
3375 public $nextLink;
3376 public $previousLink;
3377 public $startIndex;
3378 public $totalResults;
3379 public $username;
3380
3381 public function setItems($items)
3382 {
3383 $this->items = $items;
3384 }
3385
3386 public function getItems()
3387 {
3388 return $this->items;
3389 }
3390
3391 public function setItemsPerPage($itemsPerPage)
3392 {
3393 $this->itemsPerPage = $itemsPerPage;
3394 }
3395
3396 public function getItemsPerPage()
3397 {
3398 return $this->itemsPerPage;
3399 }
3400
3401 public function setKind($kind)
3402 {
3403 $this->kind = $kind;
3404 }
3405
3406 public function getKind()
3407 {
3408 return $this->kind;
3409 }
3410
3411 public function setNextLink($nextLink)
3412 {
3413 $this->nextLink = $nextLink;
3414 }
3415
3416 public function getNextLink()
3417 {
3418 return $this->nextLink;
3419 }
3420
3421 public function setPreviousLink($previousLink)
3422 {
3423 $this->previousLink = $previousLink;
3424 }
3425
3426 public function getPreviousLink()
3427 {
3428 return $this->previousLink;
3429 }
3430
3431 public function setStartIndex($startIndex)
3432 {
3433 $this->startIndex = $startIndex;
3434 }
3435
3436 public function getStartIndex()
3437 {
3438 return $this->startIndex;
3439 }
3440
3441 public function setTotalResults($totalResults)
3442 {
3443 $this->totalResults = $totalResults;
3444 }
3445
3446 public function getTotalResults()
3447 {
3448 return $this->totalResults;
3449 }
3450
3451 public function setUsername($username)
3452 {
3453 $this->username = $username;
3454 }
3455
3456 public function getUsername()
3457 {
3458 return $this->username;
3459 }
3460 }
3461
3462 class Google_Service_Analytics_DailyUpload extends Google_Collection
3463 {
3464 public $accountId;
3465 public $appendCount;
3466 public $createdTime;
3467 public $customDataSourceId;
3468 public $date;
3469 public $kind;
3470 public $modifiedTime;
3471 protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
3472 protected $parentLinkDataType = '';
3473 protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
3474 protected $recentChangesDataType = 'array';
3475 public $selfLink;
3476 public $webPropertyId;
3477
3478 public function setAccountId($accountId)
3479 {
3480 $this->accountId = $accountId;
3481 }
3482
3483 public function getAccountId()
3484 {
3485 return $this->accountId;
3486 }
3487
3488 public function setAppendCount($appendCount)
3489 {
3490 $this->appendCount = $appendCount;
3491 }
3492
3493 public function getAppendCount()
3494 {
3495 return $this->appendCount;
3496 }
3497
3498 public function setCreatedTime($createdTime)
3499 {
3500 $this->createdTime = $createdTime;
3501 }
3502
3503 public function getCreatedTime()
3504 {
3505 return $this->createdTime;
3506 }
3507
3508 public function setCustomDataSourceId($customDataSourceId)
3509 {
3510 $this->customDataSourceId = $customDataSourceId;
3511 }
3512
3513 public function getCustomDataSourceId()
3514 {
3515 return $this->customDataSourceId;
3516 }
3517
3518 public function setDate($date)
3519 {
3520 $this->date = $date;
3521 }
3522
3523 public function getDate()
3524 {
3525 return $this->date;
3526 }
3527
3528 public function setKind($kind)
3529 {
3530 $this->kind = $kind;
3531 }
3532
3533 public function getKind()
3534 {
3535 return $this->kind;
3536 }
3537
3538 public function setModifiedTime($modifiedTime)
3539 {
3540 $this->modifiedTime = $modifiedTime;
3541 }
3542
3543 public function getModifiedTime()
3544 {
3545 return $this->modifiedTime;
3546 }
3547
3548 public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
3549 {
3550 $this->parentLink = $parentLink;
3551 }
3552
3553 public function getParentLink()
3554 {
3555 return $this->parentLink;
3556 }
3557
3558 public function setRecentChanges($recentChanges)
3559 {
3560 $this->recentChanges = $recentChanges;
3561 }
3562
3563 public function getRecentChanges()
3564 {
3565 return $this->recentChanges;
3566 }
3567
3568 public function setSelfLink($selfLink)
3569 {
3570 $this->selfLink = $selfLink;
3571 }
3572
3573 public function getSelfLink()
3574 {
3575 return $this->selfLink;
3576 }
3577
3578 public function setWebPropertyId($webPropertyId)
3579 {
3580 $this->webPropertyId = $webPropertyId;
3581 }
3582
3583 public function getWebPropertyId()
3584 {
3585 return $this->webPropertyId;
3586 }
3587 }
3588
3589 class Google_Service_Analytics_DailyUploadAppend extends Google_Model
3590 {
3591 public $accountId;
3592 public $appendNumber;
3593 public $customDataSourceId;
3594 public $date;
3595 public $kind;
3596 public $nextAppendLink;
3597 public $webPropertyId;
3598
3599 public function setAccountId($accountId)
3600 {
3601 $this->accountId = $accountId;
3602 }
3603
3604 public function getAccountId()
3605 {
3606 return $this->accountId;
3607 }
3608
3609 public function setAppendNumber($appendNumber)
3610 {
3611 $this->appendNumber = $appendNumber;
3612 }
3613
3614 public function getAppendNumber()
3615 {
3616 return $this->appendNumber;
3617 }
3618
3619 public function setCustomDataSourceId($customDataSourceId)
3620 {
3621 $this->customDataSourceId = $customDataSourceId;
3622 }
3623
3624 public function getCustomDataSourceId()
3625 {
3626 return $this->customDataSourceId;
3627 }
3628
3629 public function setDate($date)
3630 {
3631 $this->date = $date;
3632 }
3633
3634 public function getDate()
3635 {
3636 return $this->date;
3637 }
3638
3639 public function setKind($kind)
3640 {
3641 $this->kind = $kind;
3642 }
3643
3644 public function getKind()
3645 {
3646 return $this->kind;
3647 }
3648
3649 public function setNextAppendLink($nextAppendLink)
3650 {
3651 $this->nextAppendLink = $nextAppendLink;
3652 }
3653
3654 public function getNextAppendLink()
3655 {
3656 return $this->nextAppendLink;
3657 }
3658
3659 public function setWebPropertyId($webPropertyId)
3660 {
3661 $this->webPropertyId = $webPropertyId;
3662 }
3663
3664 public function getWebPropertyId()
3665 {
3666 return $this->webPropertyId;
3667 }
3668 }
3669
3670 class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
3671 {
3672 public $href;
3673 public $type;
3674
3675 public function setHref($href)
3676 {
3677 $this->href = $href;
3678 }
3679
3680 public function getHref()
3681 {
3682 return $this->href;
3683 }
3684
3685 public function setType($type)
3686 {
3687 $this->type = $type;
3688 }
3689
3690 public function getType()
3691 {
3692 return $this->type;
3693 }
3694 }
3695
3696 class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
3697 {
3698 public $change;
3699 public $time;
3700
3701 public function setChange($change)
3702 {
3703 $this->change = $change;
3704 }
3705
3706 public function getChange()
3707 {
3708 return $this->change;
3709 }
3710
3711 public function setTime($time)
3712 {
3713 $this->time = $time;
3714 }
3715
3716 public function getTime()
3717 {
3718 return $this->time;
3719 }
3720 }
3721
3722 class Google_Service_Analytics_DailyUploads extends Google_Collection
3723 {
3724 protected $itemsType = 'Google_Service_Analytics_DailyUpload';
3725 protected $itemsDataType = 'array';
3726 public $itemsPerPage;
3727 public $kind;
3728 public $nextLink;
3729 public $previousLink;
3730 public $startIndex;
3731 public $totalResults;
3732 public $username;
3733
3734 public function setItems($items)
3735 {
3736 $this->items = $items;
3737 }
3738
3739 public function getItems()
3740 {
3741 return $this->items;
3742 }
3743
3744 public function setItemsPerPage($itemsPerPage)
3745 {
3746 $this->itemsPerPage = $itemsPerPage;
3747 }
3748
3749 public function getItemsPerPage()
3750 {
3751 return $this->itemsPerPage;
3752 }
3753
3754 public function setKind($kind)
3755 {
3756 $this->kind = $kind;
3757 }
3758
3759 public function getKind()
3760 {
3761 return $this->kind;
3762 }
3763
3764 public function setNextLink($nextLink)
3765 {
3766 $this->nextLink = $nextLink;
3767 }
3768
3769 public function getNextLink()
3770 {
3771 return $this->nextLink;
3772 }
3773
3774 public function setPreviousLink($previousLink)
3775 {
3776 $this->previousLink = $previousLink;
3777 }
3778
3779 public function getPreviousLink()
3780 {
3781 return $this->previousLink;
3782 }
3783
3784 public function setStartIndex($startIndex)
3785 {
3786 $this->startIndex = $startIndex;
3787 }
3788
3789 public function getStartIndex()
3790 {
3791 return $this->startIndex;
3792 }
3793
3794 public function setTotalResults($totalResults)
3795 {
3796 $this->totalResults = $totalResults;
3797 }
3798
3799 public function getTotalResults()
3800 {
3801 return $this->totalResults;
3802 }
3803
3804 public function setUsername($username)
3805 {
3806 $this->username = $username;
3807 }
3808
3809 public function getUsername()
3810 {
3811 return $this->username;
3812 }
3813 }
3814
3815 class Google_Service_Analytics_EntityUserLink extends Google_Model
3816 {
3817 protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
3818 protected $entityDataType = '';
3819 public $id;
3820 public $kind;
3821 protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
3822 protected $permissionsDataType = '';
3823 public $selfLink;
3824 protected $userRefType = 'Google_Service_Analytics_UserRef';
3825 protected $userRefDataType = '';
3826
3827 public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
3828 {
3829 $this->entity = $entity;
3830 }
3831
3832 public function getEntity()
3833 {
3834 return $this->entity;
3835 }
3836
3837 public function setId($id)
3838 {
3839 $this->id = $id;
3840 }
3841
3842 public function getId()
3843 {
3844 return $this->id;
3845 }
3846
3847 public function setKind($kind)
3848 {
3849 $this->kind = $kind;
3850 }
3851
3852 public function getKind()
3853 {
3854 return $this->kind;
3855 }
3856
3857 public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
3858 {
3859 $this->permissions = $permissions;
3860 }
3861
3862 public function getPermissions()
3863 {
3864 return $this->permissions;
3865 }
3866
3867 public function setSelfLink($selfLink)
3868 {
3869 $this->selfLink = $selfLink;
3870 }
3871
3872 public function getSelfLink()
3873 {
3874 return $this->selfLink;
3875 }
3876
3877 public function setUserRef(Google_Service_Analytics_UserRef $userRef)
3878 {
3879 $this->userRef = $userRef;
3880 }
3881
3882 public function getUserRef()
3883 {
3884 return $this->userRef;
3885 }
3886 }
3887
3888 class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
3889 {
3890 protected $accountRefType = 'Google_Service_Analytics_AccountRef';
3891 protected $accountRefDataType = '';
3892 protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
3893 protected $profileRefDataType = '';
3894 protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
3895 protected $webPropertyRefDataType = '';
3896
3897 public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
3898 {
3899 $this->accountRef = $accountRef;
3900 }
3901
3902 public function getAccountRef()
3903 {
3904 return $this->accountRef;
3905 }
3906
3907 public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
3908 {
3909 $this->profileRef = $profileRef;
3910 }
3911
3912 public function getProfileRef()
3913 {
3914 return $this->profileRef;
3915 }
3916
3917 public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
3918 {
3919 $this->webPropertyRef = $webPropertyRef;
3920 }
3921
3922 public function getWebPropertyRef()
3923 {
3924 return $this->webPropertyRef;
3925 }
3926 }
3927
3928 class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
3929 {
3930 public $effective;
3931 public $local;
3932
3933 public function setEffective($effective)
3934 {
3935 $this->effective = $effective;
3936 }
3937
3938 public function getEffective()
3939 {
3940 return $this->effective;
3941 }
3942
3943 public function setLocal($local)
3944 {
3945 $this->local = $local;
3946 }
3947
3948 public function getLocal()
3949 {
3950 return $this->local;
3951 }
3952 }
3953
3954 class Google_Service_Analytics_EntityUserLinks extends Google_Collection
3955 {
3956 protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
3957 protected $itemsDataType = 'array';
3958 public $itemsPerPage;
3959 public $kind;
3960 public $nextLink;
3961 public $previousLink;
3962 public $startIndex;
3963 public $totalResults;
3964
3965 public function setItems($items)
3966 {
3967 $this->items = $items;
3968 }
3969
3970 public function getItems()
3971 {
3972 return $this->items;
3973 }
3974
3975 public function setItemsPerPage($itemsPerPage)
3976 {
3977 $this->itemsPerPage = $itemsPerPage;
3978 }
3979
3980 public function getItemsPerPage()
3981 {
3982 return $this->itemsPerPage;
3983 }
3984
3985 public function setKind($kind)
3986 {
3987 $this->kind = $kind;
3988 }
3989
3990 public function getKind()
3991 {
3992 return $this->kind;
3993 }
3994
3995 public function setNextLink($nextLink)
3996 {
3997 $this->nextLink = $nextLink;
3998 }
3999
4000 public function getNextLink()
4001 {
4002 return $this->nextLink;
4003 }
4004
4005 public function setPreviousLink($previousLink)
4006 {
4007 $this->previousLink = $previousLink;
4008 }
4009
4010 public function getPreviousLink()
4011 {
4012 return $this->previousLink;
4013 }
4014
4015 public function setStartIndex($startIndex)
4016 {
4017 $this->startIndex = $startIndex;
4018 }
4019
4020 public function getStartIndex()
4021 {
4022 return $this->startIndex;
4023 }
4024
4025 public function setTotalResults($totalResults)
4026 {
4027 $this->totalResults = $totalResults;
4028 }
4029
4030 public function getTotalResults()
4031 {
4032 return $this->totalResults;
4033 }
4034 }
4035
4036 class Google_Service_Analytics_Experiment extends Google_Collection
4037 {
4038 public $accountId;
4039 public $created;
4040 public $description;
4041 public $editableInGaUi;
4042 public $endTime;
4043 public $equalWeighting;
4044 public $id;
4045 public $internalWebPropertyId;
4046 public $kind;
4047 public $minimumExperimentLengthInDays;
4048 public $name;
4049 public $objectiveMetric;
4050 public $optimizationType;
4051 protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
4052 protected $parentLinkDataType = '';
4053 public $profileId;
4054 public $reasonExperimentEnded;
4055 public $rewriteVariationUrlsAsOriginal;
4056 public $selfLink;
4057 public $servingFramework;
4058 public $snippet;
4059 public $startTime;
4060 public $status;
4061 public $trafficCoverage;
4062 public $updated;
4063 protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
4064 protected $variationsDataType = 'array';
4065 public $webPropertyId;
4066 public $winnerConfidenceLevel;
4067 public $winnerFound;
4068
4069 public function setAccountId($accountId)
4070 {
4071 $this->accountId = $accountId;
4072 }
4073
4074 public function getAccountId()
4075 {
4076 return $this->accountId;
4077 }
4078
4079 public function setCreated($created)
4080 {
4081 $this->created = $created;
4082 }
4083
4084 public function getCreated()
4085 {
4086 return $this->created;
4087 }
4088
4089 public function setDescription($description)
4090 {
4091 $this->description = $description;
4092 }
4093
4094 public function getDescription()
4095 {
4096 return $this->description;
4097 }
4098
4099 public function setEditableInGaUi($editableInGaUi)
4100 {
4101 $this->editableInGaUi = $editableInGaUi;
4102 }
4103
4104 public function getEditableInGaUi()
4105 {
4106 return $this->editableInGaUi;
4107 }
4108
4109 public function setEndTime($endTime)
4110 {
4111 $this->endTime = $endTime;
4112 }
4113
4114 public function getEndTime()
4115 {
4116 return $this->endTime;
4117 }
4118
4119 public function setEqualWeighting($equalWeighting)
4120 {
4121 $this->equalWeighting = $equalWeighting;
4122 }
4123
4124 public function getEqualWeighting()
4125 {
4126 return $this->equalWeighting;
4127 }
4128
4129 public function setId($id)
4130 {
4131 $this->id = $id;
4132 }
4133
4134 public function getId()
4135 {
4136 return $this->id;
4137 }
4138
4139 public function setInternalWebPropertyId($internalWebPropertyId)
4140 {
4141 $this->internalWebPropertyId = $internalWebPropertyId;
4142 }
4143
4144 public function getInternalWebPropertyId()
4145 {
4146 return $this->internalWebPropertyId;
4147 }
4148
4149 public function setKind($kind)
4150 {
4151 $this->kind = $kind;
4152 }
4153
4154 public function getKind()
4155 {
4156 return $this->kind;
4157 }
4158
4159 public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
4160 {
4161 $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
4162 }
4163
4164 public function getMinimumExperimentLengthInDays()
4165 {
4166 return $this->minimumExperimentLengthInDays;
4167 }
4168
4169 public function setName($name)
4170 {
4171 $this->name = $name;
4172 }
4173
4174 public function getName()
4175 {
4176 return $this->name;
4177 }
4178
4179 public function setObjectiveMetric($objectiveMetric)
4180 {
4181 $this->objectiveMetric = $objectiveMetric;
4182 }
4183
4184 public function getObjectiveMetric()
4185 {
4186 return $this->objectiveMetric;
4187 }
4188
4189 public function setOptimizationType($optimizationType)
4190 {
4191 $this->optimizationType = $optimizationType;
4192 }
4193
4194 public function getOptimizationType()
4195 {
4196 return $this->optimizationType;
4197 }
4198
4199 public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
4200 {
4201 $this->parentLink = $parentLink;
4202 }
4203
4204 public function getParentLink()
4205 {
4206 return $this->parentLink;
4207 }
4208
4209 public function setProfileId($profileId)
4210 {
4211 $this->profileId = $profileId;
4212 }
4213
4214 public function getProfileId()
4215 {
4216 return $this->profileId;
4217 }
4218
4219 public function setReasonExperimentEnded($reasonExperimentEnded)
4220 {
4221 $this->reasonExperimentEnded = $reasonExperimentEnded;
4222 }
4223
4224 public function getReasonExperimentEnded()
4225 {
4226 return $this->reasonExperimentEnded;
4227 }
4228
4229 public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
4230 {
4231 $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
4232 }
4233
4234 public function getRewriteVariationUrlsAsOriginal()
4235 {
4236 return $this->rewriteVariationUrlsAsOriginal;
4237 }
4238
4239 public function setSelfLink($selfLink)
4240 {
4241 $this->selfLink = $selfLink;
4242 }
4243
4244 public function getSelfLink()
4245 {
4246 return $this->selfLink;
4247 }
4248
4249 public function setServingFramework($servingFramework)
4250 {
4251 $this->servingFramework = $servingFramework;
4252 }
4253
4254 public function getServingFramework()
4255 {
4256 return $this->servingFramework;
4257 }
4258
4259 public function setSnippet($snippet)
4260 {
4261 $this->snippet = $snippet;
4262 }
4263
4264 public function getSnippet()
4265 {
4266 return $this->snippet;
4267 }
4268
4269 public function setStartTime($startTime)
4270 {
4271 $this->startTime = $startTime;
4272 }
4273
4274 public function getStartTime()
4275 {
4276 return $this->startTime;
4277 }
4278
4279 public function setStatus($status)
4280 {
4281 $this->status = $status;
4282 }
4283
4284 public function getStatus()
4285 {
4286 return $this->status;
4287 }
4288
4289 public function setTrafficCoverage($trafficCoverage)
4290 {
4291 $this->trafficCoverage = $trafficCoverage;
4292 }
4293
4294 public function getTrafficCoverage()
4295 {
4296 return $this->trafficCoverage;
4297 }
4298
4299 public function setUpdated($updated)
4300 {
4301 $this->updated = $updated;
4302 }
4303
4304 public function getUpdated()
4305 {
4306 return $this->updated;
4307 }
4308
4309 public function setVariations($variations)
4310 {
4311 $this->variations = $variations;
4312 }
4313
4314 public function getVariations()
4315 {
4316 return $this->variations;
4317 }
4318
4319 public function setWebPropertyId($webPropertyId)
4320 {
4321 $this->webPropertyId = $webPropertyId;
4322 }
4323
4324 public function getWebPropertyId()
4325 {
4326 return $this->webPropertyId;
4327 }
4328
4329 public function setWinnerConfidenceLevel($winnerConfidenceLevel)
4330 {
4331 $this->winnerConfidenceLevel = $winnerConfidenceLevel;
4332 }
4333
4334 public function getWinnerConfidenceLevel()
4335 {
4336 return $this->winnerConfidenceLevel;
4337 }
4338
4339 public function setWinnerFound($winnerFound)
4340 {
4341 $this->winnerFound = $winnerFound;
4342 }
4343
4344 public function getWinnerFound()
4345 {
4346 return $this->winnerFound;
4347 }
4348 }
4349
4350 class Google_Service_Analytics_ExperimentParentLink extends Google_Model
4351 {
4352 public $href;
4353 public $type;
4354
4355 public function setHref($href)
4356 {
4357 $this->href = $href;
4358 }
4359
4360 public function getHref()
4361 {
4362 return $this->href;
4363 }
4364
4365 public function setType($type)
4366 {
4367 $this->type = $type;
4368 }
4369
4370 public function getType()
4371 {
4372 return $this->type;
4373 }
4374 }
4375
4376 class Google_Service_Analytics_ExperimentVariations extends Google_Model
4377 {
4378 public $name;
4379 public $status;
4380 public $url;
4381 public $weight;
4382 public $won;
4383
4384 public function setName($name)
4385 {
4386 $this->name = $name;
4387 }
4388
4389 public function getName()
4390 {
4391 return $this->name;
4392 }
4393
4394 public function setStatus($status)
4395 {
4396 $this->status = $status;
4397 }
4398
4399 public function getStatus()
4400 {
4401 return $this->status;
4402 }
4403
4404 public function setUrl($url)
4405 {
4406 $this->url = $url;
4407 }
4408
4409 public function getUrl()
4410 {
4411 return $this->url;
4412 }
4413
4414 public function setWeight($weight)
4415 {
4416 $this->weight = $weight;
4417 }
4418
4419 public function getWeight()
4420 {
4421 return $this->weight;
4422 }
4423
4424 public function setWon($won)
4425 {
4426 $this->won = $won;
4427 }
4428
4429 public function getWon()
4430 {
4431 return $this->won;
4432 }
4433 }
4434
4435 class Google_Service_Analytics_Experiments extends Google_Collection
4436 {
4437 protected $itemsType = 'Google_Service_Analytics_Experiment';
4438 protected $itemsDataType = 'array';
4439 public $itemsPerPage;
4440 public $kind;
4441 public $nextLink;
4442 public $previousLink;
4443 public $startIndex;
4444 public $totalResults;
4445 public $username;
4446
4447 public function setItems($items)
4448 {
4449 $this->items = $items;
4450 }
4451
4452 public function getItems()
4453 {
4454 return $this->items;
4455 }
4456
4457 public function setItemsPerPage($itemsPerPage)
4458 {
4459 $this->itemsPerPage = $itemsPerPage;
4460 }
4461
4462 public function getItemsPerPage()
4463 {
4464 return $this->itemsPerPage;
4465 }
4466
4467 public function setKind($kind)
4468 {
4469 $this->kind = $kind;
4470 }
4471
4472 public function getKind()
4473 {
4474 return $this->kind;
4475 }
4476
4477 public function setNextLink($nextLink)
4478 {
4479 $this->nextLink = $nextLink;
4480 }
4481
4482 public function getNextLink()
4483 {
4484 return $this->nextLink;
4485 }
4486
4487 public function setPreviousLink($previousLink)
4488 {
4489 $this->previousLink = $previousLink;
4490 }
4491
4492 public function getPreviousLink()
4493 {
4494 return $this->previousLink;
4495 }
4496
4497 public function setStartIndex($startIndex)
4498 {
4499 $this->startIndex = $startIndex;
4500 }
4501
4502 public function getStartIndex()
4503 {
4504 return $this->startIndex;
4505 }
4506
4507 public function setTotalResults($totalResults)
4508 {
4509 $this->totalResults = $totalResults;
4510 }
4511
4512 public function getTotalResults()
4513 {
4514 return $this->totalResults;
4515 }
4516
4517 public function setUsername($username)
4518 {
4519 $this->username = $username;
4520 }
4521
4522 public function getUsername()
4523 {
4524 return $this->username;
4525 }
4526 }
4527
4528 class Google_Service_Analytics_GaData extends Google_Collection
4529 {
4530 protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
4531 protected $columnHeadersDataType = 'array';
4532 public $containsSampledData;
4533 protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
4534 protected $dataTableDataType = '';
4535 public $id;
4536 public $itemsPerPage;
4537 public $kind;
4538 public $nextLink;
4539 public $previousLink;
4540 protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
4541 protected $profileInfoDataType = '';
4542 protected $queryType = 'Google_Service_Analytics_GaDataQuery';
4543 protected $queryDataType = '';
4544 public $rows;
4545 public $sampleSize;
4546 public $sampleSpace;
4547 public $selfLink;
4548 public $totalResults;
4549 public $totalsForAllResults;
4550
4551 public function setColumnHeaders($columnHeaders)
4552 {
4553 $this->columnHeaders = $columnHeaders;
4554 }
4555
4556 public function getColumnHeaders()
4557 {
4558 return $this->columnHeaders;
4559 }
4560
4561 public function setContainsSampledData($containsSampledData)
4562 {
4563 $this->containsSampledData = $containsSampledData;
4564 }
4565
4566 public function getContainsSampledData()
4567 {
4568 return $this->containsSampledData;
4569 }
4570
4571 public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
4572 {
4573 $this->dataTable = $dataTable;
4574 }
4575
4576 public function getDataTable()
4577 {
4578 return $this->dataTable;
4579 }
4580
4581 public function setId($id)
4582 {
4583 $this->id = $id;
4584 }
4585
4586 public function getId()
4587 {
4588 return $this->id;
4589 }
4590
4591 public function setItemsPerPage($itemsPerPage)
4592 {
4593 $this->itemsPerPage = $itemsPerPage;
4594 }
4595
4596 public function getItemsPerPage()
4597 {
4598 return $this->itemsPerPage;
4599 }
4600
4601 public function setKind($kind)
4602 {
4603 $this->kind = $kind;
4604 }
4605
4606 public function getKind()
4607 {
4608 return $this->kind;
4609 }
4610
4611 public function setNextLink($nextLink)
4612 {
4613 $this->nextLink = $nextLink;
4614 }
4615
4616 public function getNextLink()
4617 {
4618 return $this->nextLink;
4619 }
4620
4621 public function setPreviousLink($previousLink)
4622 {
4623 $this->previousLink = $previousLink;
4624 }
4625
4626 public function getPreviousLink()
4627 {
4628 return $this->previousLink;
4629 }
4630
4631 public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
4632 {
4633 $this->profileInfo = $profileInfo;
4634 }
4635
4636 public function getProfileInfo()
4637 {
4638 return $this->profileInfo;
4639 }
4640
4641 public function setQuery(Google_Service_Analytics_GaDataQuery $query)
4642 {
4643 $this->query = $query;
4644 }
4645
4646 public function getQuery()
4647 {
4648 return $this->query;
4649 }
4650
4651 public function setRows($rows)
4652 {
4653 $this->rows = $rows;
4654 }
4655
4656 public function getRows()
4657 {
4658 return $this->rows;
4659 }
4660
4661 public function setSampleSize($sampleSize)
4662 {
4663 $this->sampleSize = $sampleSize;
4664 }
4665
4666 public function getSampleSize()
4667 {
4668 return $this->sampleSize;
4669 }
4670
4671 public function setSampleSpace($sampleSpace)
4672 {
4673 $this->sampleSpace = $sampleSpace;
4674 }
4675
4676 public function getSampleSpace()
4677 {
4678 return $this->sampleSpace;
4679 }
4680
4681 public function setSelfLink($selfLink)
4682 {
4683 $this->selfLink = $selfLink;
4684 }
4685
4686 public function getSelfLink()
4687 {
4688 return $this->selfLink;
4689 }
4690
4691 public function setTotalResults($totalResults)
4692 {
4693 $this->totalResults = $totalResults;
4694 }
4695
4696 public function getTotalResults()
4697 {
4698 return $this->totalResults;
4699 }
4700
4701 public function setTotalsForAllResults($totalsForAllResults)
4702 {
4703 $this->totalsForAllResults = $totalsForAllResults;
4704 }
4705
4706 public function getTotalsForAllResults()
4707 {
4708 return $this->totalsForAllResults;
4709 }
4710 }
4711
4712 class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
4713 {
4714 public $columnType;
4715 public $dataType;
4716 public $name;
4717
4718 public function setColumnType($columnType)
4719 {
4720 $this->columnType = $columnType;
4721 }
4722
4723 public function getColumnType()
4724 {
4725 return $this->columnType;
4726 }
4727
4728 public function setDataType($dataType)
4729 {
4730 $this->dataType = $dataType;
4731 }
4732
4733 public function getDataType()
4734 {
4735 return $this->dataType;
4736 }
4737
4738 public function setName($name)
4739 {
4740 $this->name = $name;
4741 }
4742
4743 public function getName()
4744 {
4745 return $this->name;
4746 }
4747 }
4748
4749 class Google_Service_Analytics_GaDataDataTable extends Google_Collection
4750 {
4751 protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
4752 protected $colsDataType = 'array';
4753 protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
4754 protected $rowsDataType = 'array';
4755
4756 public function setCols($cols)
4757 {
4758 $this->cols = $cols;
4759 }
4760
4761 public function getCols()
4762 {
4763 return $this->cols;
4764 }
4765
4766 public function setRows($rows)
4767 {
4768 $this->rows = $rows;
4769 }
4770
4771 public function getRows()
4772 {
4773 return $this->rows;
4774 }
4775 }
4776
4777 class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
4778 {
4779 public $id;
4780 public $label;
4781 public $type;
4782
4783 public function setId($id)
4784 {
4785 $this->id = $id;
4786 }
4787
4788 public function getId()
4789 {
4790 return $this->id;
4791 }
4792
4793 public function setLabel($label)
4794 {
4795 $this->label = $label;
4796 }
4797
4798 public function getLabel()
4799 {
4800 return $this->label;
4801 }
4802
4803 public function setType($type)
4804 {
4805 $this->type = $type;
4806 }
4807
4808 public function getType()
4809 {
4810 return $this->type;
4811 }
4812 }
4813
4814 class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
4815 {
4816 protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
4817 protected $cDataType = 'array';
4818
4819 public function setC($c)
4820 {
4821 $this->c = $c;
4822 }
4823
4824 public function getC()
4825 {
4826 return $this->c;
4827 }
4828 }
4829
4830 class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
4831 {
4832 public $v;
4833
4834 public function setV($v)
4835 {
4836 $this->v = $v;
4837 }
4838
4839 public function getV()
4840 {
4841 return $this->v;
4842 }
4843 }
4844
4845 class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
4846 {
4847 public $accountId;
4848 public $internalWebPropertyId;
4849 public $profileId;
4850 public $profileName;
4851 public $tableId;
4852 public $webPropertyId;
4853
4854 public function setAccountId($accountId)
4855 {
4856 $this->accountId = $accountId;
4857 }
4858
4859 public function getAccountId()
4860 {
4861 return $this->accountId;
4862 }
4863
4864 public function setInternalWebPropertyId($internalWebPropertyId)
4865 {
4866 $this->internalWebPropertyId = $internalWebPropertyId;
4867 }
4868
4869 public function getInternalWebPropertyId()
4870 {
4871 return $this->internalWebPropertyId;
4872 }
4873
4874 public function setProfileId($profileId)
4875 {
4876 $this->profileId = $profileId;
4877 }
4878
4879 public function getProfileId()
4880 {
4881 return $this->profileId;
4882 }
4883
4884 public function setProfileName($profileName)
4885 {
4886 $this->profileName = $profileName;
4887 }
4888
4889 public function getProfileName()
4890 {
4891 return $this->profileName;
4892 }
4893
4894 public function setTableId($tableId)
4895 {
4896 $this->tableId = $tableId;
4897 }
4898
4899 public function getTableId()
4900 {
4901 return $this->tableId;
4902 }
4903
4904 public function setWebPropertyId($webPropertyId)
4905 {
4906 $this->webPropertyId = $webPropertyId;
4907 }
4908
4909 public function getWebPropertyId()
4910 {
4911 return $this->webPropertyId;
4912 }
4913 }
4914
4915 class Google_Service_Analytics_GaDataQuery extends Google_Collection
4916 {
4917 public $dimensions;
4918 public $endDate;
4919 public $filters;
4920 public $ids;
4921 public $maxResults;
4922 public $metrics;
4923 public $samplingLevel;
4924 public $segment;
4925 public $sort;
4926 public $startDate;
4927 public $startIndex;
4928
4929 public function setDimensions($dimensions)
4930 {
4931 $this->dimensions = $dimensions;
4932 }
4933
4934 public function getDimensions()
4935 {
4936 return $this->dimensions;
4937 }
4938
4939 public function setEndDate($endDate)
4940 {
4941 $this->endDate = $endDate;
4942 }
4943
4944 public function getEndDate()
4945 {
4946 return $this->endDate;
4947 }
4948
4949 public function setFilters($filters)
4950 {
4951 $this->filters = $filters;
4952 }
4953
4954 public function getFilters()
4955 {
4956 return $this->filters;
4957 }
4958
4959 public function setIds($ids)
4960 {
4961 $this->ids = $ids;
4962 }
4963
4964 public function getIds()
4965 {
4966 return $this->ids;
4967 }
4968
4969 public function setMaxResults($maxResults)
4970 {
4971 $this->maxResults = $maxResults;
4972 }
4973
4974 public function getMaxResults()
4975 {
4976 return $this->maxResults;
4977 }
4978
4979 public function setMetrics($metrics)
4980 {
4981 $this->metrics = $metrics;
4982 }
4983
4984 public function getMetrics()
4985 {
4986 return $this->metrics;
4987 }
4988
4989 public function setSamplingLevel($samplingLevel)
4990 {
4991 $this->samplingLevel = $samplingLevel;
4992 }
4993
4994 public function getSamplingLevel()
4995 {
4996 return $this->samplingLevel;
4997 }
4998
4999 public function setSegment($segment)
5000 {
5001 $this->segment = $segment;
5002 }
5003
5004 public function getSegment()
5005 {
5006 return $this->segment;
5007 }
5008
5009 public function setSort($sort)
5010 {
5011 $this->sort = $sort;
5012 }
5013
5014 public function getSort()
5015 {
5016 return $this->sort;
5017 }
5018
5019 public function setStartDate($startDate)
5020 {
5021 $this->startDate = $startDate;
5022 }
5023
5024 public function getStartDate()
5025 {
5026 return $this->startDate;
5027 }
5028
5029 public function setStartIndex($startIndex)
5030 {
5031 $this->startIndex = $startIndex;
5032 }
5033
5034 public function getStartIndex()
5035 {
5036 return $this->startIndex;
5037 }
5038 }
5039
5040 class Google_Service_Analytics_Goal extends Google_Model
5041 {
5042 public $accountId;
5043 public $active;
5044 public $created;
5045 protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
5046 protected $eventDetailsDataType = '';
5047 public $id;
5048 public $internalWebPropertyId;
5049 public $kind;
5050 public $name;
5051 protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
5052 protected $parentLinkDataType = '';
5053 public $profileId;
5054 public $selfLink;
5055 public $type;
5056 public $updated;
5057 protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
5058 protected $urlDestinationDetailsDataType = '';
5059 public $value;
5060 protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
5061 protected $visitNumPagesDetailsDataType = '';
5062 protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
5063 protected $visitTimeOnSiteDetailsDataType = '';
5064 public $webPropertyId;
5065
5066 public function setAccountId($accountId)
5067 {
5068 $this->accountId = $accountId;
5069 }
5070
5071 public function getAccountId()
5072 {
5073 return $this->accountId;
5074 }
5075
5076 public function setActive($active)
5077 {
5078 $this->active = $active;
5079 }
5080
5081 public function getActive()
5082 {
5083 return $this->active;
5084 }
5085
5086 public function setCreated($created)
5087 {
5088 $this->created = $created;
5089 }
5090
5091 public function getCreated()
5092 {
5093 return $this->created;
5094 }
5095
5096 public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
5097 {
5098 $this->eventDetails = $eventDetails;
5099 }
5100
5101 public function getEventDetails()
5102 {
5103 return $this->eventDetails;
5104 }
5105
5106 public function setId($id)
5107 {
5108 $this->id = $id;
5109 }
5110
5111 public function getId()
5112 {
5113 return $this->id;
5114 }
5115
5116 public function setInternalWebPropertyId($internalWebPropertyId)
5117 {
5118 $this->internalWebPropertyId = $internalWebPropertyId;
5119 }
5120
5121 public function getInternalWebPropertyId()
5122 {
5123 return $this->internalWebPropertyId;
5124 }
5125
5126 public function setKind($kind)
5127 {
5128 $this->kind = $kind;
5129 }
5130
5131 public function getKind()
5132 {
5133 return $this->kind;
5134 }
5135
5136 public function setName($name)
5137 {
5138 $this->name = $name;
5139 }
5140
5141 public function getName()
5142 {
5143 return $this->name;
5144 }
5145
5146 public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
5147 {
5148 $this->parentLink = $parentLink;
5149 }
5150
5151 public function getParentLink()
5152 {
5153 return $this->parentLink;
5154 }
5155
5156 public function setProfileId($profileId)
5157 {
5158 $this->profileId = $profileId;
5159 }
5160
5161 public function getProfileId()
5162 {
5163 return $this->profileId;
5164 }
5165
5166 public function setSelfLink($selfLink)
5167 {
5168 $this->selfLink = $selfLink;
5169 }
5170
5171 public function getSelfLink()
5172 {
5173 return $this->selfLink;
5174 }
5175
5176 public function setType($type)
5177 {
5178 $this->type = $type;
5179 }
5180
5181 public function getType()
5182 {
5183 return $this->type;
5184 }
5185
5186 public function setUpdated($updated)
5187 {
5188 $this->updated = $updated;
5189 }
5190
5191 public function getUpdated()
5192 {
5193 return $this->updated;
5194 }
5195
5196 public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
5197 {
5198 $this->urlDestinationDetails = $urlDestinationDetails;
5199 }
5200
5201 public function getUrlDestinationDetails()
5202 {
5203 return $this->urlDestinationDetails;
5204 }
5205
5206 public function setValue($value)
5207 {
5208 $this->value = $value;
5209 }
5210
5211 public function getValue()
5212 {
5213 return $this->value;
5214 }
5215
5216 public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
5217 {
5218 $this->visitNumPagesDetails = $visitNumPagesDetails;
5219 }
5220
5221 public function getVisitNumPagesDetails()
5222 {
5223 return $this->visitNumPagesDetails;
5224 }
5225
5226 public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
5227 {
5228 $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
5229 }
5230
5231 public function getVisitTimeOnSiteDetails()
5232 {
5233 return $this->visitTimeOnSiteDetails;
5234 }
5235
5236 public function setWebPropertyId($webPropertyId)
5237 {
5238 $this->webPropertyId = $webPropertyId;
5239 }
5240
5241 public function getWebPropertyId()
5242 {
5243 return $this->webPropertyId;
5244 }
5245 }
5246
5247 class Google_Service_Analytics_GoalEventDetails extends Google_Collection
5248 {
5249 protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
5250 protected $eventConditionsDataType = 'array';
5251 public $useEventValue;
5252
5253 public function setEventConditions($eventConditions)
5254 {
5255 $this->eventConditions = $eventConditions;
5256 }
5257
5258 public function getEventConditions()
5259 {
5260 return $this->eventConditions;
5261 }
5262
5263 public function setUseEventValue($useEventValue)
5264 {
5265 $this->useEventValue = $useEventValue;
5266 }
5267
5268 public function getUseEventValue()
5269 {
5270 return $this->useEventValue;
5271 }
5272 }
5273
5274 class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
5275 {
5276 public $comparisonType;
5277 public $comparisonValue;
5278 public $expression;
5279 public $matchType;
5280 public $type;
5281
5282 public function setComparisonType($comparisonType)
5283 {
5284 $this->comparisonType = $comparisonType;
5285 }
5286
5287 public function getComparisonType()
5288 {
5289 return $this->comparisonType;
5290 }
5291
5292 public function setComparisonValue($comparisonValue)
5293 {
5294 $this->comparisonValue = $comparisonValue;
5295 }
5296
5297 public function getComparisonValue()
5298 {
5299 return $this->comparisonValue;
5300 }
5301
5302 public function setExpression($expression)
5303 {
5304 $this->expression = $expression;
5305 }
5306
5307 public function getExpression()
5308 {
5309 return $this->expression;
5310 }
5311
5312 public function setMatchType($matchType)
5313 {
5314 $this->matchType = $matchType;
5315 }
5316
5317 public function getMatchType()
5318 {
5319 return $this->matchType;
5320 }
5321
5322 public function setType($type)
5323 {
5324 $this->type = $type;
5325 }
5326
5327 public function getType()
5328 {
5329 return $this->type;
5330 }
5331 }
5332
5333 class Google_Service_Analytics_GoalParentLink extends Google_Model
5334 {
5335 public $href;
5336 public $type;
5337
5338 public function setHref($href)
5339 {
5340 $this->href = $href;
5341 }
5342
5343 public function getHref()
5344 {
5345 return $this->href;
5346 }
5347
5348 public function setType($type)
5349 {
5350 $this->type = $type;
5351 }
5352
5353 public function getType()
5354 {
5355 return $this->type;
5356 }
5357 }
5358
5359 class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
5360 {
5361 public $caseSensitive;
5362 public $firstStepRequired;
5363 public $matchType;
5364 protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
5365 protected $stepsDataType = 'array';
5366 public $url;
5367
5368 public function setCaseSensitive($caseSensitive)
5369 {
5370 $this->caseSensitive = $caseSensitive;
5371 }
5372
5373 public function getCaseSensitive()
5374 {
5375 return $this->caseSensitive;
5376 }
5377
5378 public function setFirstStepRequired($firstStepRequired)
5379 {
5380 $this->firstStepRequired = $firstStepRequired;
5381 }
5382
5383 public function getFirstStepRequired()
5384 {
5385 return $this->firstStepRequired;
5386 }
5387
5388 public function setMatchType($matchType)
5389 {
5390 $this->matchType = $matchType;
5391 }
5392
5393 public function getMatchType()
5394 {
5395 return $this->matchType;
5396 }
5397
5398 public function setSteps($steps)
5399 {
5400 $this->steps = $steps;
5401 }
5402
5403 public function getSteps()
5404 {
5405 return $this->steps;
5406 }
5407
5408 public function setUrl($url)
5409 {
5410 $this->url = $url;
5411 }
5412
5413 public function getUrl()
5414 {
5415 return $this->url;
5416 }
5417 }
5418
5419 class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
5420 {
5421 public $name;
5422 public $number;
5423 public $url;
5424
5425 public function setName($name)
5426 {
5427 $this->name = $name;
5428 }
5429
5430 public function getName()
5431 {
5432 return $this->name;
5433 }
5434
5435 public function setNumber($number)
5436 {
5437 $this->number = $number;
5438 }
5439
5440 public function getNumber()
5441 {
5442 return $this->number;
5443 }
5444
5445 public function setUrl($url)
5446 {
5447 $this->url = $url;
5448 }
5449
5450 public function getUrl()
5451 {
5452 return $this->url;
5453 }
5454 }
5455
5456 class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
5457 {
5458 public $comparisonType;
5459 public $comparisonValue;
5460
5461 public function setComparisonType($comparisonType)
5462 {
5463 $this->comparisonType = $comparisonType;
5464 }
5465
5466 public function getComparisonType()
5467 {
5468 return $this->comparisonType;
5469 }
5470
5471 public function setComparisonValue($comparisonValue)
5472 {
5473 $this->comparisonValue = $comparisonValue;
5474 }
5475
5476 public function getComparisonValue()
5477 {
5478 return $this->comparisonValue;
5479 }
5480 }
5481
5482 class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
5483 {
5484 public $comparisonType;
5485 public $comparisonValue;
5486
5487 public function setComparisonType($comparisonType)
5488 {
5489 $this->comparisonType = $comparisonType;
5490 }
5491
5492 public function getComparisonType()
5493 {
5494 return $this->comparisonType;
5495 }
5496
5497 public function setComparisonValue($comparisonValue)
5498 {
5499 $this->comparisonValue = $comparisonValue;
5500 }
5501
5502 public function getComparisonValue()
5503 {
5504 return $this->comparisonValue;
5505 }
5506 }
5507
5508 class Google_Service_Analytics_Goals extends Google_Collection
5509 {
5510 protected $itemsType = 'Google_Service_Analytics_Goal';
5511 protected $itemsDataType = 'array';
5512 public $itemsPerPage;
5513 public $kind;
5514 public $nextLink;
5515 public $previousLink;
5516 public $startIndex;
5517 public $totalResults;
5518 public $username;
5519
5520 public function setItems($items)
5521 {
5522 $this->items = $items;
5523 }
5524
5525 public function getItems()
5526 {
5527 return $this->items;
5528 }
5529
5530 public function setItemsPerPage($itemsPerPage)
5531 {
5532 $this->itemsPerPage = $itemsPerPage;
5533 }
5534
5535 public function getItemsPerPage()
5536 {
5537 return $this->itemsPerPage;
5538 }
5539
5540 public function setKind($kind)
5541 {
5542 $this->kind = $kind;
5543 }
5544
5545 public function getKind()
5546 {
5547 return $this->kind;
5548 }
5549
5550 public function setNextLink($nextLink)
5551 {
5552 $this->nextLink = $nextLink;
5553 }
5554
5555 public function getNextLink()
5556 {
5557 return $this->nextLink;
5558 }
5559
5560 public function setPreviousLink($previousLink)
5561 {
5562 $this->previousLink = $previousLink;
5563 }
5564
5565 public function getPreviousLink()
5566 {
5567 return $this->previousLink;
5568 }
5569
5570 public function setStartIndex($startIndex)
5571 {
5572 $this->startIndex = $startIndex;
5573 }
5574
5575 public function getStartIndex()
5576 {
5577 return $this->startIndex;
5578 }
5579
5580 public function setTotalResults($totalResults)
5581 {
5582 $this->totalResults = $totalResults;
5583 }
5584
5585 public function getTotalResults()
5586 {
5587 return $this->totalResults;
5588 }
5589
5590 public function setUsername($username)
5591 {
5592 $this->username = $username;
5593 }
5594
5595 public function getUsername()
5596 {
5597 return $this->username;
5598 }
5599 }
5600
5601 class Google_Service_Analytics_McfData extends Google_Collection
5602 {
5603 protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
5604 protected $columnHeadersDataType = 'array';
5605 public $containsSampledData;
5606 public $id;
5607 public $itemsPerPage;
5608 public $kind;
5609 public $nextLink;
5610 public $previousLink;
5611 protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
5612 protected $profileInfoDataType = '';
5613 protected $queryType = 'Google_Service_Analytics_McfDataQuery';
5614 protected $queryDataType = '';
5615 protected $rowsType = 'Google_Service_Analytics_McfDataRows';
5616 protected $rowsDataType = 'array';
5617 public $sampleSize;
5618 public $sampleSpace;
5619 public $selfLink;
5620 public $totalResults;
5621 public $totalsForAllResults;
5622
5623 public function setColumnHeaders($columnHeaders)
5624 {
5625 $this->columnHeaders = $columnHeaders;
5626 }
5627
5628 public function getColumnHeaders()
5629 {
5630 return $this->columnHeaders;
5631 }
5632
5633 public function setContainsSampledData($containsSampledData)
5634 {
5635 $this->containsSampledData = $containsSampledData;
5636 }
5637
5638 public function getContainsSampledData()
5639 {
5640 return $this->containsSampledData;
5641 }
5642
5643 public function setId($id)
5644 {
5645 $this->id = $id;
5646 }
5647
5648 public function getId()
5649 {
5650 return $this->id;
5651 }
5652
5653 public function setItemsPerPage($itemsPerPage)
5654 {
5655 $this->itemsPerPage = $itemsPerPage;
5656 }
5657
5658 public function getItemsPerPage()
5659 {
5660 return $this->itemsPerPage;
5661 }
5662
5663 public function setKind($kind)
5664 {
5665 $this->kind = $kind;
5666 }
5667
5668 public function getKind()
5669 {
5670 return $this->kind;
5671 }
5672
5673 public function setNextLink($nextLink)
5674 {
5675 $this->nextLink = $nextLink;
5676 }
5677
5678 public function getNextLink()
5679 {
5680 return $this->nextLink;
5681 }
5682
5683 public function setPreviousLink($previousLink)
5684 {
5685 $this->previousLink = $previousLink;
5686 }
5687
5688 public function getPreviousLink()
5689 {
5690 return $this->previousLink;
5691 }
5692
5693 public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
5694 {
5695 $this->profileInfo = $profileInfo;
5696 }
5697
5698 public function getProfileInfo()
5699 {
5700 return $this->profileInfo;
5701 }
5702
5703 public function setQuery(Google_Service_Analytics_McfDataQuery $query)
5704 {
5705 $this->query = $query;
5706 }
5707
5708 public function getQuery()
5709 {
5710 return $this->query;
5711 }
5712
5713 public function setRows($rows)
5714 {
5715 $this->rows = $rows;
5716 }
5717
5718 public function getRows()
5719 {
5720 return $this->rows;
5721 }
5722
5723 public function setSampleSize($sampleSize)
5724 {
5725 $this->sampleSize = $sampleSize;
5726 }
5727
5728 public function getSampleSize()
5729 {
5730 return $this->sampleSize;
5731 }
5732
5733 public function setSampleSpace($sampleSpace)
5734 {
5735 $this->sampleSpace = $sampleSpace;
5736 }
5737
5738 public function getSampleSpace()
5739 {
5740 return $this->sampleSpace;
5741 }
5742
5743 public function setSelfLink($selfLink)
5744 {
5745 $this->selfLink = $selfLink;
5746 }
5747
5748 public function getSelfLink()
5749 {
5750 return $this->selfLink;
5751 }
5752
5753 public function setTotalResults($totalResults)
5754 {
5755 $this->totalResults = $totalResults;
5756 }
5757
5758 public function getTotalResults()
5759 {
5760 return $this->totalResults;
5761 }
5762
5763 public function setTotalsForAllResults($totalsForAllResults)
5764 {
5765 $this->totalsForAllResults = $totalsForAllResults;
5766 }
5767
5768 public function getTotalsForAllResults()
5769 {
5770 return $this->totalsForAllResults;
5771 }
5772 }
5773
5774 class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
5775 {
5776 public $columnType;
5777 public $dataType;
5778 public $name;
5779
5780 public function setColumnType($columnType)
5781 {
5782 $this->columnType = $columnType;
5783 }
5784
5785 public function getColumnType()
5786 {
5787 return $this->columnType;
5788 }
5789
5790 public function setDataType($dataType)
5791 {
5792 $this->dataType = $dataType;
5793 }
5794
5795 public function getDataType()
5796 {
5797 return $this->dataType;
5798 }
5799
5800 public function setName($name)
5801 {
5802 $this->name = $name;
5803 }
5804
5805 public function getName()
5806 {
5807 return $this->name;
5808 }
5809 }
5810
5811 class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
5812 {
5813 public $accountId;
5814 public $internalWebPropertyId;
5815 public $profileId;
5816 public $profileName;
5817 public $tableId;
5818 public $webPropertyId;
5819
5820 public function setAccountId($accountId)
5821 {
5822 $this->accountId = $accountId;
5823 }
5824
5825 public function getAccountId()
5826 {
5827 return $this->accountId;
5828 }
5829
5830 public function setInternalWebPropertyId($internalWebPropertyId)
5831 {
5832 $this->internalWebPropertyId = $internalWebPropertyId;
5833 }
5834
5835 public function getInternalWebPropertyId()
5836 {
5837 return $this->internalWebPropertyId;
5838 }
5839
5840 public function setProfileId($profileId)
5841 {
5842 $this->profileId = $profileId;
5843 }
5844
5845 public function getProfileId()
5846 {
5847 return $this->profileId;
5848 }
5849
5850 public function setProfileName($profileName)
5851 {
5852 $this->profileName = $profileName;
5853 }
5854
5855 public function getProfileName()
5856 {
5857 return $this->profileName;
5858 }
5859
5860 public function setTableId($tableId)
5861 {
5862 $this->tableId = $tableId;
5863 }
5864
5865 public function getTableId()
5866 {
5867 return $this->tableId;
5868 }
5869
5870 public function setWebPropertyId($webPropertyId)
5871 {
5872 $this->webPropertyId = $webPropertyId;
5873 }
5874
5875 public function getWebPropertyId()
5876 {
5877 return $this->webPropertyId;
5878 }
5879 }
5880
5881 class Google_Service_Analytics_McfDataQuery extends Google_Collection
5882 {
5883 public $dimensions;
5884 public $endDate;
5885 public $filters;
5886 public $ids;
5887 public $maxResults;
5888 public $metrics;
5889 public $samplingLevel;
5890 public $segment;
5891 public $sort;
5892 public $startDate;
5893 public $startIndex;
5894
5895 public function setDimensions($dimensions)
5896 {
5897 $this->dimensions = $dimensions;
5898 }
5899
5900 public function getDimensions()
5901 {
5902 return $this->dimensions;
5903 }
5904
5905 public function setEndDate($endDate)
5906 {
5907 $this->endDate = $endDate;
5908 }
5909
5910 public function getEndDate()
5911 {
5912 return $this->endDate;
5913 }
5914
5915 public function setFilters($filters)
5916 {
5917 $this->filters = $filters;
5918 }
5919
5920 public function getFilters()
5921 {
5922 return $this->filters;
5923 }
5924
5925 public function setIds($ids)
5926 {
5927 $this->ids = $ids;
5928 }
5929
5930 public function getIds()
5931 {
5932 return $this->ids;
5933 }
5934
5935 public function setMaxResults($maxResults)
5936 {
5937 $this->maxResults = $maxResults;
5938 }
5939
5940 public function getMaxResults()
5941 {
5942 return $this->maxResults;
5943 }
5944
5945 public function setMetrics($metrics)
5946 {
5947 $this->metrics = $metrics;
5948 }
5949
5950 public function getMetrics()
5951 {
5952 return $this->metrics;
5953 }
5954
5955 public function setSamplingLevel($samplingLevel)
5956 {
5957 $this->samplingLevel = $samplingLevel;
5958 }
5959
5960 public function getSamplingLevel()
5961 {
5962 return $this->samplingLevel;
5963 }
5964
5965 public function setSegment($segment)
5966 {
5967 $this->segment = $segment;
5968 }
5969
5970 public function getSegment()
5971 {
5972 return $this->segment;
5973 }
5974
5975 public function setSort($sort)
5976 {
5977 $this->sort = $sort;
5978 }
5979
5980 public function getSort()
5981 {
5982 return $this->sort;
5983 }
5984
5985 public function setStartDate($startDate)
5986 {
5987 $this->startDate = $startDate;
5988 }
5989
5990 public function getStartDate()
5991 {
5992 return $this->startDate;
5993 }
5994
5995 public function setStartIndex($startIndex)
5996 {
5997 $this->startIndex = $startIndex;
5998 }
5999
6000 public function getStartIndex()
6001 {
6002 return $this->startIndex;
6003 }
6004 }
6005
6006 class Google_Service_Analytics_McfDataRows extends Google_Collection
6007 {
6008 protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
6009 protected $conversionPathValueDataType = 'array';
6010 public $primitiveValue;
6011
6012 public function setConversionPathValue($conversionPathValue)
6013 {
6014 $this->conversionPathValue = $conversionPathValue;
6015 }
6016
6017 public function getConversionPathValue()
6018 {
6019 return $this->conversionPathValue;
6020 }
6021
6022 public function setPrimitiveValue($primitiveValue)
6023 {
6024 $this->primitiveValue = $primitiveValue;
6025 }
6026
6027 public function getPrimitiveValue()
6028 {
6029 return $this->primitiveValue;
6030 }
6031 }
6032
6033 class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
6034 {
6035 public $interactionType;
6036 public $nodeValue;
6037
6038 public function setInteractionType($interactionType)
6039 {
6040 $this->interactionType = $interactionType;
6041 }
6042
6043 public function getInteractionType()
6044 {
6045 return $this->interactionType;
6046 }
6047
6048 public function setNodeValue($nodeValue)
6049 {
6050 $this->nodeValue = $nodeValue;
6051 }
6052
6053 public function getNodeValue()
6054 {
6055 return $this->nodeValue;
6056 }
6057 }
6058
6059 class Google_Service_Analytics_Profile extends Google_Model
6060 {
6061 public $accountId;
6062 protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
6063 protected $childLinkDataType = '';
6064 public $created;
6065 public $currency;
6066 public $defaultPage;
6067 public $eCommerceTracking;
6068 public $excludeQueryParameters;
6069 public $id;
6070 public $internalWebPropertyId;
6071 public $kind;
6072 public $name;
6073 protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
6074 protected $parentLinkDataType = '';
6075 protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
6076 protected $permissionsDataType = '';
6077 public $selfLink;
6078 public $siteSearchCategoryParameters;
6079 public $siteSearchQueryParameters;
6080 public $stripSiteSearchCategoryParameters;
6081 public $stripSiteSearchQueryParameters;
6082 public $timezone;
6083 public $type;
6084 public $updated;
6085 public $webPropertyId;
6086 public $websiteUrl;
6087
6088 public function setAccountId($accountId)
6089 {
6090 $this->accountId = $accountId;
6091 }
6092
6093 public function getAccountId()
6094 {
6095 return $this->accountId;
6096 }
6097
6098 public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
6099 {
6100 $this->childLink = $childLink;
6101 }
6102
6103 public function getChildLink()
6104 {
6105 return $this->childLink;
6106 }
6107
6108 public function setCreated($created)
6109 {
6110 $this->created = $created;
6111 }
6112
6113 public function getCreated()
6114 {
6115 return $this->created;
6116 }
6117
6118 public function setCurrency($currency)
6119 {
6120 $this->currency = $currency;
6121 }
6122
6123 public function getCurrency()
6124 {
6125 return $this->currency;
6126 }
6127
6128 public function setDefaultPage($defaultPage)
6129 {
6130 $this->defaultPage = $defaultPage;
6131 }
6132
6133 public function getDefaultPage()
6134 {
6135 return $this->defaultPage;
6136 }
6137
6138 public function setECommerceTracking($eCommerceTracking)
6139 {
6140 $this->eCommerceTracking = $eCommerceTracking;
6141 }
6142
6143 public function getECommerceTracking()
6144 {
6145 return $this->eCommerceTracking;
6146 }
6147
6148 public function setExcludeQueryParameters($excludeQueryParameters)
6149 {
6150 $this->excludeQueryParameters = $excludeQueryParameters;
6151 }
6152
6153 public function getExcludeQueryParameters()
6154 {
6155 return $this->excludeQueryParameters;
6156 }
6157
6158 public function setId($id)
6159 {
6160 $this->id = $id;
6161 }
6162
6163 public function getId()
6164 {
6165 return $this->id;
6166 }
6167
6168 public function setInternalWebPropertyId($internalWebPropertyId)
6169 {
6170 $this->internalWebPropertyId = $internalWebPropertyId;
6171 }
6172
6173 public function getInternalWebPropertyId()
6174 {
6175 return $this->internalWebPropertyId;
6176 }
6177
6178 public function setKind($kind)
6179 {
6180 $this->kind = $kind;
6181 }
6182
6183 public function getKind()
6184 {
6185 return $this->kind;
6186 }
6187
6188 public function setName($name)
6189 {
6190 $this->name = $name;
6191 }
6192
6193 public function getName()
6194 {
6195 return $this->name;
6196 }
6197
6198 public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
6199 {
6200 $this->parentLink = $parentLink;
6201 }
6202
6203 public function getParentLink()
6204 {
6205 return $this->parentLink;
6206 }
6207
6208 public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
6209 {
6210 $this->permissions = $permissions;
6211 }
6212
6213 public function getPermissions()
6214 {
6215 return $this->permissions;
6216 }
6217
6218 public function setSelfLink($selfLink)
6219 {
6220 $this->selfLink = $selfLink;
6221 }
6222
6223 public function getSelfLink()
6224 {
6225 return $this->selfLink;
6226 }
6227
6228 public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
6229 {
6230 $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
6231 }
6232
6233 public function getSiteSearchCategoryParameters()
6234 {
6235 return $this->siteSearchCategoryParameters;
6236 }
6237
6238 public function setSiteSearchQueryParameters($siteSearchQueryParameters)
6239 {
6240 $this->siteSearchQueryParameters = $siteSearchQueryParameters;
6241 }
6242
6243 public function getSiteSearchQueryParameters()
6244 {
6245 return $this->siteSearchQueryParameters;
6246 }
6247
6248 public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
6249 {
6250 $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
6251 }
6252
6253 public function getStripSiteSearchCategoryParameters()
6254 {
6255 return $this->stripSiteSearchCategoryParameters;
6256 }
6257
6258 public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
6259 {
6260 $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
6261 }
6262
6263 public function getStripSiteSearchQueryParameters()
6264 {
6265 return $this->stripSiteSearchQueryParameters;
6266 }
6267
6268 public function setTimezone($timezone)
6269 {
6270 $this->timezone = $timezone;
6271 }
6272
6273 public function getTimezone()
6274 {
6275 return $this->timezone;
6276 }
6277
6278 public function setType($type)
6279 {
6280 $this->type = $type;
6281 }
6282
6283 public function getType()
6284 {
6285 return $this->type;
6286 }
6287
6288 public function setUpdated($updated)
6289 {
6290 $this->updated = $updated;
6291 }
6292
6293 public function getUpdated()
6294 {
6295 return $this->updated;
6296 }
6297
6298 public function setWebPropertyId($webPropertyId)
6299 {
6300 $this->webPropertyId = $webPropertyId;
6301 }
6302
6303 public function getWebPropertyId()
6304 {
6305 return $this->webPropertyId;
6306 }
6307
6308 public function setWebsiteUrl($websiteUrl)
6309 {
6310 $this->websiteUrl = $websiteUrl;
6311 }
6312
6313 public function getWebsiteUrl()
6314 {
6315 return $this->websiteUrl;
6316 }
6317 }
6318
6319 class Google_Service_Analytics_ProfileChildLink extends Google_Model
6320 {
6321 public $href;
6322 public $type;
6323
6324 public function setHref($href)
6325 {
6326 $this->href = $href;
6327 }
6328
6329 public function getHref()
6330 {
6331 return $this->href;
6332 }
6333
6334 public function setType($type)
6335 {
6336 $this->type = $type;
6337 }
6338
6339 public function getType()
6340 {
6341 return $this->type;
6342 }
6343 }
6344
6345 class Google_Service_Analytics_ProfileParentLink extends Google_Model
6346 {
6347 public $href;
6348 public $type;
6349
6350 public function setHref($href)
6351 {
6352 $this->href = $href;
6353 }
6354
6355 public function getHref()
6356 {
6357 return $this->href;
6358 }
6359
6360 public function setType($type)
6361 {
6362 $this->type = $type;
6363 }
6364
6365 public function getType()
6366 {
6367 return $this->type;
6368 }
6369 }
6370
6371 class Google_Service_Analytics_ProfilePermissions extends Google_Collection
6372 {
6373 public $effective;
6374
6375 public function setEffective($effective)
6376 {
6377 $this->effective = $effective;
6378 }
6379
6380 public function getEffective()
6381 {
6382 return $this->effective;
6383 }
6384 }
6385
6386 class Google_Service_Analytics_ProfileRef extends Google_Model
6387 {
6388 public $accountId;
6389 public $href;
6390 public $id;
6391 public $internalWebPropertyId;
6392 public $kind;
6393 public $name;
6394 public $webPropertyId;
6395
6396 public function setAccountId($accountId)
6397 {
6398 $this->accountId = $accountId;
6399 }
6400
6401 public function getAccountId()
6402 {
6403 return $this->accountId;
6404 }
6405
6406 public function setHref($href)
6407 {
6408 $this->href = $href;
6409 }
6410
6411 public function getHref()
6412 {
6413 return $this->href;
6414 }
6415
6416 public function setId($id)
6417 {
6418 $this->id = $id;
6419 }
6420
6421 public function getId()
6422 {
6423 return $this->id;
6424 }
6425
6426 public function setInternalWebPropertyId($internalWebPropertyId)
6427 {
6428 $this->internalWebPropertyId = $internalWebPropertyId;
6429 }
6430
6431 public function getInternalWebPropertyId()
6432 {
6433 return $this->internalWebPropertyId;
6434 }
6435
6436 public function setKind($kind)
6437 {
6438 $this->kind = $kind;
6439 }
6440
6441 public function getKind()
6442 {
6443 return $this->kind;
6444 }
6445
6446 public function setName($name)
6447 {
6448 $this->name = $name;
6449 }
6450
6451 public function getName()
6452 {
6453 return $this->name;
6454 }
6455
6456 public function setWebPropertyId($webPropertyId)
6457 {
6458 $this->webPropertyId = $webPropertyId;
6459 }
6460
6461 public function getWebPropertyId()
6462 {
6463 return $this->webPropertyId;
6464 }
6465 }
6466
6467 class Google_Service_Analytics_ProfileSummary extends Google_Model
6468 {
6469 public $id;
6470 public $kind;
6471 public $name;
6472 public $type;
6473
6474 public function setId($id)
6475 {
6476 $this->id = $id;
6477 }
6478
6479 public function getId()
6480 {
6481 return $this->id;
6482 }
6483
6484 public function setKind($kind)
6485 {
6486 $this->kind = $kind;
6487 }
6488
6489 public function getKind()
6490 {
6491 return $this->kind;
6492 }
6493
6494 public function setName($name)
6495 {
6496 $this->name = $name;
6497 }
6498
6499 public function getName()
6500 {
6501 return $this->name;
6502 }
6503
6504 public function setType($type)
6505 {
6506 $this->type = $type;
6507 }
6508
6509 public function getType()
6510 {
6511 return $this->type;
6512 }
6513 }
6514
6515 class Google_Service_Analytics_Profiles extends Google_Collection
6516 {
6517 protected $itemsType = 'Google_Service_Analytics_Profile';
6518 protected $itemsDataType = 'array';
6519 public $itemsPerPage;
6520 public $kind;
6521 public $nextLink;
6522 public $previousLink;
6523 public $startIndex;
6524 public $totalResults;
6525 public $username;
6526
6527 public function setItems($items)
6528 {
6529 $this->items = $items;
6530 }
6531
6532 public function getItems()
6533 {
6534 return $this->items;
6535 }
6536
6537 public function setItemsPerPage($itemsPerPage)
6538 {
6539 $this->itemsPerPage = $itemsPerPage;
6540 }
6541
6542 public function getItemsPerPage()
6543 {
6544 return $this->itemsPerPage;
6545 }
6546
6547 public function setKind($kind)
6548 {
6549 $this->kind = $kind;
6550 }
6551
6552 public function getKind()
6553 {
6554 return $this->kind;
6555 }
6556
6557 public function setNextLink($nextLink)
6558 {
6559 $this->nextLink = $nextLink;
6560 }
6561
6562 public function getNextLink()
6563 {
6564 return $this->nextLink;
6565 }
6566
6567 public function setPreviousLink($previousLink)
6568 {
6569 $this->previousLink = $previousLink;
6570 }
6571
6572 public function getPreviousLink()
6573 {
6574 return $this->previousLink;
6575 }
6576
6577 public function setStartIndex($startIndex)
6578 {
6579 $this->startIndex = $startIndex;
6580 }
6581
6582 public function getStartIndex()
6583 {
6584 return $this->startIndex;
6585 }
6586
6587 public function setTotalResults($totalResults)
6588 {
6589 $this->totalResults = $totalResults;
6590 }
6591
6592 public function getTotalResults()
6593 {
6594 return $this->totalResults;
6595 }
6596
6597 public function setUsername($username)
6598 {
6599 $this->username = $username;
6600 }
6601
6602 public function getUsername()
6603 {
6604 return $this->username;
6605 }
6606 }
6607
6608 class Google_Service_Analytics_RealtimeData extends Google_Collection
6609 {
6610 protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
6611 protected $columnHeadersDataType = 'array';
6612 public $id;
6613 public $kind;
6614 protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
6615 protected $profileInfoDataType = '';
6616 protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
6617 protected $queryDataType = '';
6618 public $rows;
6619 public $selfLink;
6620 public $totalResults;
6621 public $totalsForAllResults;
6622
6623 public function setColumnHeaders($columnHeaders)
6624 {
6625 $this->columnHeaders = $columnHeaders;
6626 }
6627
6628 public function getColumnHeaders()
6629 {
6630 return $this->columnHeaders;
6631 }
6632
6633 public function setId($id)
6634 {
6635 $this->id = $id;
6636 }
6637
6638 public function getId()
6639 {
6640 return $this->id;
6641 }
6642
6643 public function setKind($kind)
6644 {
6645 $this->kind = $kind;
6646 }
6647
6648 public function getKind()
6649 {
6650 return $this->kind;
6651 }
6652
6653 public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
6654 {
6655 $this->profileInfo = $profileInfo;
6656 }
6657
6658 public function getProfileInfo()
6659 {
6660 return $this->profileInfo;
6661 }
6662
6663 public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
6664 {
6665 $this->query = $query;
6666 }
6667
6668 public function getQuery()
6669 {
6670 return $this->query;
6671 }
6672
6673 public function setRows($rows)
6674 {
6675 $this->rows = $rows;
6676 }
6677
6678 public function getRows()
6679 {
6680 return $this->rows;
6681 }
6682
6683 public function setSelfLink($selfLink)
6684 {
6685 $this->selfLink = $selfLink;
6686 }
6687
6688 public function getSelfLink()
6689 {
6690 return $this->selfLink;
6691 }
6692
6693 public function setTotalResults($totalResults)
6694 {
6695 $this->totalResults = $totalResults;
6696 }
6697
6698 public function getTotalResults()
6699 {
6700 return $this->totalResults;
6701 }
6702
6703 public function setTotalsForAllResults($totalsForAllResults)
6704 {
6705 $this->totalsForAllResults = $totalsForAllResults;
6706 }
6707
6708 public function getTotalsForAllResults()
6709 {
6710 return $this->totalsForAllResults;
6711 }
6712 }
6713
6714 class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
6715 {
6716 public $columnType;
6717 public $dataType;
6718 public $name;
6719
6720 public function setColumnType($columnType)
6721 {
6722 $this->columnType = $columnType;
6723 }
6724
6725 public function getColumnType()
6726 {
6727 return $this->columnType;
6728 }
6729
6730 public function setDataType($dataType)
6731 {
6732 $this->dataType = $dataType;
6733 }
6734
6735 public function getDataType()
6736 {
6737 return $this->dataType;
6738 }
6739
6740 public function setName($name)
6741 {
6742 $this->name = $name;
6743 }
6744
6745 public function getName()
6746 {
6747 return $this->name;
6748 }
6749 }
6750
6751 class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
6752 {
6753 public $accountId;
6754 public $internalWebPropertyId;
6755 public $profileId;
6756 public $profileName;
6757 public $tableId;
6758 public $webPropertyId;
6759
6760 public function setAccountId($accountId)
6761 {
6762 $this->accountId = $accountId;
6763 }
6764
6765 public function getAccountId()
6766 {
6767 return $this->accountId;
6768 }
6769
6770 public function setInternalWebPropertyId($internalWebPropertyId)
6771 {
6772 $this->internalWebPropertyId = $internalWebPropertyId;
6773 }
6774
6775 public function getInternalWebPropertyId()
6776 {
6777 return $this->internalWebPropertyId;
6778 }
6779
6780 public function setProfileId($profileId)
6781 {
6782 $this->profileId = $profileId;
6783 }
6784
6785 public function getProfileId()
6786 {
6787 return $this->profileId;
6788 }
6789
6790 public function setProfileName($profileName)
6791 {
6792 $this->profileName = $profileName;
6793 }
6794
6795 public function getProfileName()
6796 {
6797 return $this->profileName;
6798 }
6799
6800 public function setTableId($tableId)
6801 {
6802 $this->tableId = $tableId;
6803 }
6804
6805 public function getTableId()
6806 {
6807 return $this->tableId;
6808 }
6809
6810 public function setWebPropertyId($webPropertyId)
6811 {
6812 $this->webPropertyId = $webPropertyId;
6813 }
6814
6815 public function getWebPropertyId()
6816 {
6817 return $this->webPropertyId;
6818 }
6819 }
6820
6821 class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
6822 {
6823 public $dimensions;
6824 public $filters;
6825 public $ids;
6826 public $maxResults;
6827 public $metrics;
6828 public $sort;
6829
6830 public function setDimensions($dimensions)
6831 {
6832 $this->dimensions = $dimensions;
6833 }
6834
6835 public function getDimensions()
6836 {
6837 return $this->dimensions;
6838 }
6839
6840 public function setFilters($filters)
6841 {
6842 $this->filters = $filters;
6843 }
6844
6845 public function getFilters()
6846 {
6847 return $this->filters;
6848 }
6849
6850 public function setIds($ids)
6851 {
6852 $this->ids = $ids;
6853 }
6854
6855 public function getIds()
6856 {
6857 return $this->ids;
6858 }
6859
6860 public function setMaxResults($maxResults)
6861 {
6862 $this->maxResults = $maxResults;
6863 }
6864
6865 public function getMaxResults()
6866 {
6867 return $this->maxResults;
6868 }
6869
6870 public function setMetrics($metrics)
6871 {
6872 $this->metrics = $metrics;
6873 }
6874
6875 public function getMetrics()
6876 {
6877 return $this->metrics;
6878 }
6879
6880 public function setSort($sort)
6881 {
6882 $this->sort = $sort;
6883 }
6884
6885 public function getSort()
6886 {
6887 return $this->sort;
6888 }
6889 }
6890
6891 class Google_Service_Analytics_Segment extends Google_Model
6892 {
6893 public $created;
6894 public $definition;
6895 public $id;
6896 public $kind;
6897 public $name;
6898 public $segmentId;
6899 public $selfLink;
6900 public $type;
6901 public $updated;
6902
6903 public function setCreated($created)
6904 {
6905 $this->created = $created;
6906 }
6907
6908 public function getCreated()
6909 {
6910 return $this->created;
6911 }
6912
6913 public function setDefinition($definition)
6914 {
6915 $this->definition = $definition;
6916 }
6917
6918 public function getDefinition()
6919 {
6920 return $this->definition;
6921 }
6922
6923 public function setId($id)
6924 {
6925 $this->id = $id;
6926 }
6927
6928 public function getId()
6929 {
6930 return $this->id;
6931 }
6932
6933 public function setKind($kind)
6934 {
6935 $this->kind = $kind;
6936 }
6937
6938 public function getKind()
6939 {
6940 return $this->kind;
6941 }
6942
6943 public function setName($name)
6944 {
6945 $this->name = $name;
6946 }
6947
6948 public function getName()
6949 {
6950 return $this->name;
6951 }
6952
6953 public function setSegmentId($segmentId)
6954 {
6955 $this->segmentId = $segmentId;
6956 }
6957
6958 public function getSegmentId()
6959 {
6960 return $this->segmentId;
6961 }
6962
6963 public function setSelfLink($selfLink)
6964 {
6965 $this->selfLink = $selfLink;
6966 }
6967
6968 public function getSelfLink()
6969 {
6970 return $this->selfLink;
6971 }
6972
6973 public function setType($type)
6974 {
6975 $this->type = $type;
6976 }
6977
6978 public function getType()
6979 {
6980 return $this->type;
6981 }
6982
6983 public function setUpdated($updated)
6984 {
6985 $this->updated = $updated;
6986 }
6987
6988 public function getUpdated()
6989 {
6990 return $this->updated;
6991 }
6992 }
6993
6994 class Google_Service_Analytics_Segments extends Google_Collection
6995 {
6996 protected $itemsType = 'Google_Service_Analytics_Segment';
6997 protected $itemsDataType = 'array';
6998 public $itemsPerPage;
6999 public $kind;
7000 public $nextLink;
7001 public $previousLink;
7002 public $startIndex;
7003 public $totalResults;
7004 public $username;
7005
7006 public function setItems($items)
7007 {
7008 $this->items = $items;
7009 }
7010
7011 public function getItems()
7012 {
7013 return $this->items;
7014 }
7015
7016 public function setItemsPerPage($itemsPerPage)
7017 {
7018 $this->itemsPerPage = $itemsPerPage;
7019 }
7020
7021 public function getItemsPerPage()
7022 {
7023 return $this->itemsPerPage;
7024 }
7025
7026 public function setKind($kind)
7027 {
7028 $this->kind = $kind;
7029 }
7030
7031 public function getKind()
7032 {
7033 return $this->kind;
7034 }
7035
7036 public function setNextLink($nextLink)
7037 {
7038 $this->nextLink = $nextLink;
7039 }
7040
7041 public function getNextLink()
7042 {
7043 return $this->nextLink;
7044 }
7045
7046 public function setPreviousLink($previousLink)
7047 {
7048 $this->previousLink = $previousLink;
7049 }
7050
7051 public function getPreviousLink()
7052 {
7053 return $this->previousLink;
7054 }
7055
7056 public function setStartIndex($startIndex)
7057 {
7058 $this->startIndex = $startIndex;
7059 }
7060
7061 public function getStartIndex()
7062 {
7063 return $this->startIndex;
7064 }
7065
7066 public function setTotalResults($totalResults)
7067 {
7068 $this->totalResults = $totalResults;
7069 }
7070
7071 public function getTotalResults()
7072 {
7073 return $this->totalResults;
7074 }
7075
7076 public function setUsername($username)
7077 {
7078 $this->username = $username;
7079 }
7080
7081 public function getUsername()
7082 {
7083 return $this->username;
7084 }
7085 }
7086
7087 class Google_Service_Analytics_Upload extends Google_Collection
7088 {
7089 public $accountId;
7090 public $customDataSourceId;
7091 public $errors;
7092 public $id;
7093 public $kind;
7094 public $status;
7095
7096 public function setAccountId($accountId)
7097 {
7098 $this->accountId = $accountId;
7099 }
7100
7101 public function getAccountId()
7102 {
7103 return $this->accountId;
7104 }
7105
7106 public function setCustomDataSourceId($customDataSourceId)
7107 {
7108 $this->customDataSourceId = $customDataSourceId;
7109 }
7110
7111 public function getCustomDataSourceId()
7112 {
7113 return $this->customDataSourceId;
7114 }
7115
7116 public function setErrors($errors)
7117 {
7118 $this->errors = $errors;
7119 }
7120
7121 public function getErrors()
7122 {
7123 return $this->errors;
7124 }
7125
7126 public function setId($id)
7127 {
7128 $this->id = $id;
7129 }
7130
7131 public function getId()
7132 {
7133 return $this->id;
7134 }
7135
7136 public function setKind($kind)
7137 {
7138 $this->kind = $kind;
7139 }
7140
7141 public function getKind()
7142 {
7143 return $this->kind;
7144 }
7145
7146 public function setStatus($status)
7147 {
7148 $this->status = $status;
7149 }
7150
7151 public function getStatus()
7152 {
7153 return $this->status;
7154 }
7155 }
7156
7157 class Google_Service_Analytics_Uploads extends Google_Collection
7158 {
7159 protected $itemsType = 'Google_Service_Analytics_Upload';
7160 protected $itemsDataType = 'array';
7161 public $itemsPerPage;
7162 public $kind;
7163 public $nextLink;
7164 public $previousLink;
7165 public $startIndex;
7166 public $totalResults;
7167
7168 public function setItems($items)
7169 {
7170 $this->items = $items;
7171 }
7172
7173 public function getItems()
7174 {
7175 return $this->items;
7176 }
7177
7178 public function setItemsPerPage($itemsPerPage)
7179 {
7180 $this->itemsPerPage = $itemsPerPage;
7181 }
7182
7183 public function getItemsPerPage()
7184 {
7185 return $this->itemsPerPage;
7186 }
7187
7188 public function setKind($kind)
7189 {
7190 $this->kind = $kind;
7191 }
7192
7193 public function getKind()
7194 {
7195 return $this->kind;
7196 }
7197
7198 public function setNextLink($nextLink)
7199 {
7200 $this->nextLink = $nextLink;
7201 }
7202
7203 public function getNextLink()
7204 {
7205 return $this->nextLink;
7206 }
7207
7208 public function setPreviousLink($previousLink)
7209 {
7210 $this->previousLink = $previousLink;
7211 }
7212
7213 public function getPreviousLink()
7214 {
7215 return $this->previousLink;
7216 }
7217
7218 public function setStartIndex($startIndex)
7219 {
7220 $this->startIndex = $startIndex;
7221 }
7222
7223 public function getStartIndex()
7224 {
7225 return $this->startIndex;
7226 }
7227
7228 public function setTotalResults($totalResults)
7229 {
7230 $this->totalResults = $totalResults;
7231 }
7232
7233 public function getTotalResults()
7234 {
7235 return $this->totalResults;
7236 }
7237 }
7238
7239 class Google_Service_Analytics_UserRef extends Google_Model
7240 {
7241 public $email;
7242 public $id;
7243 public $kind;
7244
7245 public function setEmail($email)
7246 {
7247 $this->email = $email;
7248 }
7249
7250 public function getEmail()
7251 {
7252 return $this->email;
7253 }
7254
7255 public function setId($id)
7256 {
7257 $this->id = $id;
7258 }
7259
7260 public function getId()
7261 {
7262 return $this->id;
7263 }
7264
7265 public function setKind($kind)
7266 {
7267 $this->kind = $kind;
7268 }
7269
7270 public function getKind()
7271 {
7272 return $this->kind;
7273 }
7274 }
7275
7276 class Google_Service_Analytics_WebPropertyRef extends Google_Model
7277 {
7278 public $accountId;
7279 public $href;
7280 public $id;
7281 public $internalWebPropertyId;
7282 public $kind;
7283 public $name;
7284
7285 public function setAccountId($accountId)
7286 {
7287 $this->accountId = $accountId;
7288 }
7289
7290 public function getAccountId()
7291 {
7292 return $this->accountId;
7293 }
7294
7295 public function setHref($href)
7296 {
7297 $this->href = $href;
7298 }
7299
7300 public function getHref()
7301 {
7302 return $this->href;
7303 }
7304
7305 public function setId($id)
7306 {
7307 $this->id = $id;
7308 }
7309
7310 public function getId()
7311 {
7312 return $this->id;
7313 }
7314
7315 public function setInternalWebPropertyId($internalWebPropertyId)
7316 {
7317 $this->internalWebPropertyId = $internalWebPropertyId;
7318 }
7319
7320 public function getInternalWebPropertyId()
7321 {
7322 return $this->internalWebPropertyId;
7323 }
7324
7325 public function setKind($kind)
7326 {
7327 $this->kind = $kind;
7328 }
7329
7330 public function getKind()
7331 {
7332 return $this->kind;
7333 }
7334
7335 public function setName($name)
7336 {
7337 $this->name = $name;
7338 }
7339
7340 public function getName()
7341 {
7342 return $this->name;
7343 }
7344 }
7345
7346 class Google_Service_Analytics_WebPropertySummary extends Google_Collection
7347 {
7348 public $id;
7349 public $internalWebPropertyId;
7350 public $kind;
7351 public $level;
7352 public $name;
7353 protected $profilesType = 'Google_Service_Analytics_ProfileSummary';
7354 protected $profilesDataType = 'array';
7355 public $websiteUrl;
7356
7357 public function setId($id)
7358 {
7359 $this->id = $id;
7360 }
7361
7362 public function getId()
7363 {
7364 return $this->id;
7365 }
7366
7367 public function setInternalWebPropertyId($internalWebPropertyId)
7368 {
7369 $this->internalWebPropertyId = $internalWebPropertyId;
7370 }
7371
7372 public function getInternalWebPropertyId()
7373 {
7374 return $this->internalWebPropertyId;
7375 }
7376
7377 public function setKind($kind)
7378 {
7379 $this->kind = $kind;
7380 }
7381
7382 public function getKind()
7383 {
7384 return $this->kind;
7385 }
7386
7387 public function setLevel($level)
7388 {
7389 $this->level = $level;
7390 }
7391
7392 public function getLevel()
7393 {
7394 return $this->level;
7395 }
7396
7397 public function setName($name)
7398 {
7399 $this->name = $name;
7400 }
7401
7402 public function getName()
7403 {
7404 return $this->name;
7405 }
7406
7407 public function setProfiles($profiles)
7408 {
7409 $this->profiles = $profiles;
7410 }
7411
7412 public function getProfiles()
7413 {
7414 return $this->profiles;
7415 }
7416
7417 public function setWebsiteUrl($websiteUrl)
7418 {
7419 $this->websiteUrl = $websiteUrl;
7420 }
7421
7422 public function getWebsiteUrl()
7423 {
7424 return $this->websiteUrl;
7425 }
7426 }
7427
7428 class Google_Service_Analytics_Webproperties extends Google_Collection
7429 {
7430 protected $itemsType = 'Google_Service_Analytics_Webproperty';
7431 protected $itemsDataType = 'array';
7432 public $itemsPerPage;
7433 public $kind;
7434 public $nextLink;
7435 public $previousLink;
7436 public $startIndex;
7437 public $totalResults;
7438 public $username;
7439
7440 public function setItems($items)
7441 {
7442 $this->items = $items;
7443 }
7444
7445 public function getItems()
7446 {
7447 return $this->items;
7448 }
7449
7450 public function setItemsPerPage($itemsPerPage)
7451 {
7452 $this->itemsPerPage = $itemsPerPage;
7453 }
7454
7455 public function getItemsPerPage()
7456 {
7457 return $this->itemsPerPage;
7458 }
7459
7460 public function setKind($kind)
7461 {
7462 $this->kind = $kind;
7463 }
7464
7465 public function getKind()
7466 {
7467 return $this->kind;
7468 }
7469
7470 public function setNextLink($nextLink)
7471 {
7472 $this->nextLink = $nextLink;
7473 }
7474
7475 public function getNextLink()
7476 {
7477 return $this->nextLink;
7478 }
7479
7480 public function setPreviousLink($previousLink)
7481 {
7482 $this->previousLink = $previousLink;
7483 }
7484
7485 public function getPreviousLink()
7486 {
7487 return $this->previousLink;
7488 }
7489
7490 public function setStartIndex($startIndex)
7491 {
7492 $this->startIndex = $startIndex;
7493 }
7494
7495 public function getStartIndex()
7496 {
7497 return $this->startIndex;
7498 }
7499
7500 public function setTotalResults($totalResults)
7501 {
7502 $this->totalResults = $totalResults;
7503 }
7504
7505 public function getTotalResults()
7506 {
7507 return $this->totalResults;
7508 }
7509
7510 public function setUsername($username)
7511 {
7512 $this->username = $username;
7513 }
7514
7515 public function getUsername()
7516 {
7517 return $this->username;
7518 }
7519 }
7520
7521 class Google_Service_Analytics_Webproperty extends Google_Model
7522 {
7523 public $accountId;
7524 protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink';
7525 protected $childLinkDataType = '';
7526 public $created;
7527 public $defaultProfileId;
7528 public $id;
7529 public $industryVertical;
7530 public $internalWebPropertyId;
7531 public $kind;
7532 public $level;
7533 public $name;
7534 protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink';
7535 protected $parentLinkDataType = '';
7536 protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions';
7537 protected $permissionsDataType = '';
7538 public $profileCount;
7539 public $selfLink;
7540 public $updated;
7541 public $websiteUrl;
7542
7543 public function setAccountId($accountId)
7544 {
7545 $this->accountId = $accountId;
7546 }
7547
7548 public function getAccountId()
7549 {
7550 return $this->accountId;
7551 }
7552
7553 public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink)
7554 {
7555 $this->childLink = $childLink;
7556 }
7557
7558 public function getChildLink()
7559 {
7560 return $this->childLink;
7561 }
7562
7563 public function setCreated($created)
7564 {
7565 $this->created = $created;
7566 }
7567
7568 public function getCreated()
7569 {
7570 return $this->created;
7571 }
7572
7573 public function setDefaultProfileId($defaultProfileId)
7574 {
7575 $this->defaultProfileId = $defaultProfileId;
7576 }
7577
7578 public function getDefaultProfileId()
7579 {
7580 return $this->defaultProfileId;
7581 }
7582
7583 public function setId($id)
7584 {
7585 $this->id = $id;
7586 }
7587
7588 public function getId()
7589 {
7590 return $this->id;
7591 }
7592
7593 public function setIndustryVertical($industryVertical)
7594 {
7595 $this->industryVertical = $industryVertical;
7596 }
7597
7598 public function getIndustryVertical()
7599 {
7600 return $this->industryVertical;
7601 }
7602
7603 public function setInternalWebPropertyId($internalWebPropertyId)
7604 {
7605 $this->internalWebPropertyId = $internalWebPropertyId;
7606 }
7607
7608 public function getInternalWebPropertyId()
7609 {
7610 return $this->internalWebPropertyId;
7611 }
7612
7613 public function setKind($kind)
7614 {
7615 $this->kind = $kind;
7616 }
7617
7618 public function getKind()
7619 {
7620 return $this->kind;
7621 }
7622
7623 public function setLevel($level)
7624 {
7625 $this->level = $level;
7626 }
7627
7628 public function getLevel()
7629 {
7630 return $this->level;
7631 }
7632
7633 public function setName($name)
7634 {
7635 $this->name = $name;
7636 }
7637
7638 public function getName()
7639 {
7640 return $this->name;
7641 }
7642
7643 public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink)
7644 {
7645 $this->parentLink = $parentLink;
7646 }
7647
7648 public function getParentLink()
7649 {
7650 return $this->parentLink;
7651 }
7652
7653 public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions)
7654 {
7655 $this->permissions = $permissions;
7656 }
7657
7658 public function getPermissions()
7659 {
7660 return $this->permissions;
7661 }
7662
7663 public function setProfileCount($profileCount)
7664 {
7665 $this->profileCount = $profileCount;
7666 }
7667
7668 public function getProfileCount()
7669 {
7670 return $this->profileCount;
7671 }
7672
7673 public function setSelfLink($selfLink)
7674 {
7675 $this->selfLink = $selfLink;
7676 }
7677
7678 public function getSelfLink()
7679 {
7680 return $this->selfLink;
7681 }
7682
7683 public function setUpdated($updated)
7684 {
7685 $this->updated = $updated;
7686 }
7687
7688 public function getUpdated()
7689 {
7690 return $this->updated;
7691 }
7692
7693 public function setWebsiteUrl($websiteUrl)
7694 {
7695 $this->websiteUrl = $websiteUrl;
7696 }
7697
7698 public function getWebsiteUrl()
7699 {
7700 return $this->websiteUrl;
7701 }
7702 }
7703
7704 class Google_Service_Analytics_WebpropertyChildLink extends Google_Model
7705 {
7706 public $href;
7707 public $type;
7708
7709 public function setHref($href)
7710 {
7711 $this->href = $href;
7712 }
7713
7714 public function getHref()
7715 {
7716 return $this->href;
7717 }
7718
7719 public function setType($type)
7720 {
7721 $this->type = $type;
7722 }
7723
7724 public function getType()
7725 {
7726 return $this->type;
7727 }
7728 }
7729
7730 class Google_Service_Analytics_WebpropertyParentLink extends Google_Model
7731 {
7732 public $href;
7733 public $type;
7734
7735 public function setHref($href)
7736 {
7737 $this->href = $href;
7738 }
7739
7740 public function getHref()
7741 {
7742 return $this->href;
7743 }
7744
7745 public function setType($type)
7746 {
7747 $this->type = $type;
7748 }
7749
7750 public function getType()
7751 {
7752 return $this->type;
7753 }
7754 }
7755
7756 class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection
7757 {
7758 public $effective;
7759
7760 public function setEffective($effective)
7761 {
7762 $this->effective = $effective;
7763 }
7764
7765 public function getEffective()
7766 {
7767 return $this->effective;
7768 }
7769 }
7770