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

AnalyticsReporting.php in Authorizer 2.6.8, at vendor/google-api-php-client/src/Google/Service/AnalyticsReporting.php

1,418 lines 33.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for AnalyticsReporting (v4).
18 *
19 * <p>
20 * Accesses Analytics report data.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/analytics/devguides/reporting/core/v4/" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_AnalyticsReporting extends Google_Service
30 {
31 /** View and manage your Google Analytics data. */
32 const ANALYTICS =
33 "https://www.googleapis.com/auth/analytics";
34 /** View your Google Analytics data. */
35 const ANALYTICS_READONLY =
36 "https://www.googleapis.com/auth/analytics.readonly";
37
38 public $reports;
39
40
41 /**
42 * Constructs the internal representation of the AnalyticsReporting service.
43 *
44 * @param Google_Client $client
45 */
46 public function __construct(Google_Client $client)
47 {
48 parent::__construct($client);
49 $this->rootUrl = 'https://analyticsreporting.googleapis.com/';
50 $this->servicePath = '';
51 $this->version = 'v4';
52 $this->serviceName = 'analyticsreporting';
53
54 $this->reports = new Google_Service_AnalyticsReporting_Reports_Resource(
55 $this,
56 $this->serviceName,
57 'reports',
58 array(
59 'methods' => array(
60 'batchGet' => array(
61 'path' => 'v4/reports:batchGet',
62 'httpMethod' => 'POST',
63 'parameters' => array(),
64 ),
65 )
66 )
67 );
68 }
69 }
70
71
72 /**
73 * The "reports" collection of methods.
74 * Typical usage is:
75 * <code>
76 * $analyticsreportingService = new Google_Service_AnalyticsReporting(...);
77 * $reports = $analyticsreportingService->reports;
78 * </code>
79 */
80 class Google_Service_AnalyticsReporting_Reports_Resource extends Google_Service_Resource
81 {
82
83 /**
84 * Returns the Analytics data. (reports.batchGet)
85 *
86 * @param Google_GetReportsRequest $postBody
87 * @param array $optParams Optional parameters.
88 * @return Google_Service_AnalyticsReporting_GetReportsResponse
89 */
90 public function batchGet(Google_Service_AnalyticsReporting_GetReportsRequest $postBody, $optParams = array())
91 {
92 $params = array('postBody' => $postBody);
93 $params = array_merge($params, $optParams);
94 return $this->call('batchGet', array($params), "Google_Service_AnalyticsReporting_GetReportsResponse");
95 }
96 }
97
98
99
100
101 class Google_Service_AnalyticsReporting_Cohort extends Google_Model
102 {
103 protected $internal_gapi_mappings = array(
104 );
105 protected $dateRangeType = 'Google_Service_AnalyticsReporting_DateRange';
106 protected $dateRangeDataType = '';
107 public $name;
108 public $type;
109
110
111 public function setDateRange(Google_Service_AnalyticsReporting_DateRange $dateRange)
112 {
113 $this->dateRange = $dateRange;
114 }
115 public function getDateRange()
116 {
117 return $this->dateRange;
118 }
119 public function setName($name)
120 {
121 $this->name = $name;
122 }
123 public function getName()
124 {
125 return $this->name;
126 }
127 public function setType($type)
128 {
129 $this->type = $type;
130 }
131 public function getType()
132 {
133 return $this->type;
134 }
135 }
136
137 class Google_Service_AnalyticsReporting_CohortGroup extends Google_Collection
138 {
139 protected $collection_key = 'cohorts';
140 protected $internal_gapi_mappings = array(
141 );
142 protected $cohortsType = 'Google_Service_AnalyticsReporting_Cohort';
143 protected $cohortsDataType = 'array';
144 public $lifetimeValue;
145
146
147 public function setCohorts($cohorts)
148 {
149 $this->cohorts = $cohorts;
150 }
151 public function getCohorts()
152 {
153 return $this->cohorts;
154 }
155 public function setLifetimeValue($lifetimeValue)
156 {
157 $this->lifetimeValue = $lifetimeValue;
158 }
159 public function getLifetimeValue()
160 {
161 return $this->lifetimeValue;
162 }
163 }
164
165 class Google_Service_AnalyticsReporting_ColumnHeader extends Google_Collection
166 {
167 protected $collection_key = 'dimensions';
168 protected $internal_gapi_mappings = array(
169 );
170 public $dimensions;
171 protected $metricHeaderType = 'Google_Service_AnalyticsReporting_MetricHeader';
172 protected $metricHeaderDataType = '';
173
174
175 public function setDimensions($dimensions)
176 {
177 $this->dimensions = $dimensions;
178 }
179 public function getDimensions()
180 {
181 return $this->dimensions;
182 }
183 public function setMetricHeader(Google_Service_AnalyticsReporting_MetricHeader $metricHeader)
184 {
185 $this->metricHeader = $metricHeader;
186 }
187 public function getMetricHeader()
188 {
189 return $this->metricHeader;
190 }
191 }
192
193 class Google_Service_AnalyticsReporting_DateRange extends Google_Model
194 {
195 protected $internal_gapi_mappings = array(
196 );
197 public $endDate;
198 public $startDate;
199
200
201 public function setEndDate($endDate)
202 {
203 $this->endDate = $endDate;
204 }
205 public function getEndDate()
206 {
207 return $this->endDate;
208 }
209 public function setStartDate($startDate)
210 {
211 $this->startDate = $startDate;
212 }
213 public function getStartDate()
214 {
215 return $this->startDate;
216 }
217 }
218
219 class Google_Service_AnalyticsReporting_DateRangeValues extends Google_Collection
220 {
221 protected $collection_key = 'values';
222 protected $internal_gapi_mappings = array(
223 );
224 protected $pivotValueRegionsType = 'Google_Service_AnalyticsReporting_PivotValueRegion';
225 protected $pivotValueRegionsDataType = 'array';
226 public $values;
227
228
229 public function setPivotValueRegions($pivotValueRegions)
230 {
231 $this->pivotValueRegions = $pivotValueRegions;
232 }
233 public function getPivotValueRegions()
234 {
235 return $this->pivotValueRegions;
236 }
237 public function setValues($values)
238 {
239 $this->values = $values;
240 }
241 public function getValues()
242 {
243 return $this->values;
244 }
245 }
246
247 class Google_Service_AnalyticsReporting_Dimension extends Google_Collection
248 {
249 protected $collection_key = 'histogramBuckets';
250 protected $internal_gapi_mappings = array(
251 );
252 public $histogramBuckets;
253 public $name;
254
255
256 public function setHistogramBuckets($histogramBuckets)
257 {
258 $this->histogramBuckets = $histogramBuckets;
259 }
260 public function getHistogramBuckets()
261 {
262 return $this->histogramBuckets;
263 }
264 public function setName($name)
265 {
266 $this->name = $name;
267 }
268 public function getName()
269 {
270 return $this->name;
271 }
272 }
273
274 class Google_Service_AnalyticsReporting_DimensionFilter extends Google_Collection
275 {
276 protected $collection_key = 'expressions';
277 protected $internal_gapi_mappings = array(
278 );
279 public $caseSensitive;
280 public $dimensionName;
281 public $expressions;
282 public $not;
283 public $operator;
284
285
286 public function setCaseSensitive($caseSensitive)
287 {
288 $this->caseSensitive = $caseSensitive;
289 }
290 public function getCaseSensitive()
291 {
292 return $this->caseSensitive;
293 }
294 public function setDimensionName($dimensionName)
295 {
296 $this->dimensionName = $dimensionName;
297 }
298 public function getDimensionName()
299 {
300 return $this->dimensionName;
301 }
302 public function setExpressions($expressions)
303 {
304 $this->expressions = $expressions;
305 }
306 public function getExpressions()
307 {
308 return $this->expressions;
309 }
310 public function setNot($not)
311 {
312 $this->not = $not;
313 }
314 public function getNot()
315 {
316 return $this->not;
317 }
318 public function setOperator($operator)
319 {
320 $this->operator = $operator;
321 }
322 public function getOperator()
323 {
324 return $this->operator;
325 }
326 }
327
328 class Google_Service_AnalyticsReporting_DimensionFilterClause extends Google_Collection
329 {
330 protected $collection_key = 'filters';
331 protected $internal_gapi_mappings = array(
332 );
333 protected $filtersType = 'Google_Service_AnalyticsReporting_DimensionFilter';
334 protected $filtersDataType = 'array';
335 public $operator;
336
337
338 public function setFilters($filters)
339 {
340 $this->filters = $filters;
341 }
342 public function getFilters()
343 {
344 return $this->filters;
345 }
346 public function setOperator($operator)
347 {
348 $this->operator = $operator;
349 }
350 public function getOperator()
351 {
352 return $this->operator;
353 }
354 }
355
356 class Google_Service_AnalyticsReporting_DynamicSegment extends Google_Model
357 {
358 protected $internal_gapi_mappings = array(
359 );
360 public $name;
361 protected $sessionSegmentType = 'Google_Service_AnalyticsReporting_SegmentDefinition';
362 protected $sessionSegmentDataType = '';
363 protected $userSegmentType = 'Google_Service_AnalyticsReporting_SegmentDefinition';
364 protected $userSegmentDataType = '';
365
366
367 public function setName($name)
368 {
369 $this->name = $name;
370 }
371 public function getName()
372 {
373 return $this->name;
374 }
375 public function setSessionSegment(Google_Service_AnalyticsReporting_SegmentDefinition $sessionSegment)
376 {
377 $this->sessionSegment = $sessionSegment;
378 }
379 public function getSessionSegment()
380 {
381 return $this->sessionSegment;
382 }
383 public function setUserSegment(Google_Service_AnalyticsReporting_SegmentDefinition $userSegment)
384 {
385 $this->userSegment = $userSegment;
386 }
387 public function getUserSegment()
388 {
389 return $this->userSegment;
390 }
391 }
392
393 class Google_Service_AnalyticsReporting_GetReportsRequest extends Google_Collection
394 {
395 protected $collection_key = 'reportRequests';
396 protected $internal_gapi_mappings = array(
397 );
398 protected $reportRequestsType = 'Google_Service_AnalyticsReporting_ReportRequest';
399 protected $reportRequestsDataType = 'array';
400
401
402 public function setReportRequests($reportRequests)
403 {
404 $this->reportRequests = $reportRequests;
405 }
406 public function getReportRequests()
407 {
408 return $this->reportRequests;
409 }
410 }
411
412 class Google_Service_AnalyticsReporting_GetReportsResponse extends Google_Collection
413 {
414 protected $collection_key = 'reports';
415 protected $internal_gapi_mappings = array(
416 );
417 protected $reportsType = 'Google_Service_AnalyticsReporting_Report';
418 protected $reportsDataType = 'array';
419
420
421 public function setReports($reports)
422 {
423 $this->reports = $reports;
424 }
425 public function getReports()
426 {
427 return $this->reports;
428 }
429 }
430
431 class Google_Service_AnalyticsReporting_Metric extends Google_Model
432 {
433 protected $internal_gapi_mappings = array(
434 );
435 public $alias;
436 public $expression;
437 public $formattingType;
438
439
440 public function setAlias($alias)
441 {
442 $this->alias = $alias;
443 }
444 public function getAlias()
445 {
446 return $this->alias;
447 }
448 public function setExpression($expression)
449 {
450 $this->expression = $expression;
451 }
452 public function getExpression()
453 {
454 return $this->expression;
455 }
456 public function setFormattingType($formattingType)
457 {
458 $this->formattingType = $formattingType;
459 }
460 public function getFormattingType()
461 {
462 return $this->formattingType;
463 }
464 }
465
466 class Google_Service_AnalyticsReporting_MetricFilter extends Google_Model
467 {
468 protected $internal_gapi_mappings = array(
469 );
470 public $comparisonValue;
471 public $metricName;
472 public $not;
473 public $operator;
474
475
476 public function setComparisonValue($comparisonValue)
477 {
478 $this->comparisonValue = $comparisonValue;
479 }
480 public function getComparisonValue()
481 {
482 return $this->comparisonValue;
483 }
484 public function setMetricName($metricName)
485 {
486 $this->metricName = $metricName;
487 }
488 public function getMetricName()
489 {
490 return $this->metricName;
491 }
492 public function setNot($not)
493 {
494 $this->not = $not;
495 }
496 public function getNot()
497 {
498 return $this->not;
499 }
500 public function setOperator($operator)
501 {
502 $this->operator = $operator;
503 }
504 public function getOperator()
505 {
506 return $this->operator;
507 }
508 }
509
510 class Google_Service_AnalyticsReporting_MetricFilterClause extends Google_Collection
511 {
512 protected $collection_key = 'filters';
513 protected $internal_gapi_mappings = array(
514 );
515 protected $filtersType = 'Google_Service_AnalyticsReporting_MetricFilter';
516 protected $filtersDataType = 'array';
517 public $operator;
518
519
520 public function setFilters($filters)
521 {
522 $this->filters = $filters;
523 }
524 public function getFilters()
525 {
526 return $this->filters;
527 }
528 public function setOperator($operator)
529 {
530 $this->operator = $operator;
531 }
532 public function getOperator()
533 {
534 return $this->operator;
535 }
536 }
537
538 class Google_Service_AnalyticsReporting_MetricHeader extends Google_Collection
539 {
540 protected $collection_key = 'pivotHeaders';
541 protected $internal_gapi_mappings = array(
542 );
543 protected $metricHeaderEntriesType = 'Google_Service_AnalyticsReporting_MetricHeaderEntry';
544 protected $metricHeaderEntriesDataType = 'array';
545 protected $pivotHeadersType = 'Google_Service_AnalyticsReporting_PivotHeader';
546 protected $pivotHeadersDataType = 'array';
547
548
549 public function setMetricHeaderEntries($metricHeaderEntries)
550 {
551 $this->metricHeaderEntries = $metricHeaderEntries;
552 }
553 public function getMetricHeaderEntries()
554 {
555 return $this->metricHeaderEntries;
556 }
557 public function setPivotHeaders($pivotHeaders)
558 {
559 $this->pivotHeaders = $pivotHeaders;
560 }
561 public function getPivotHeaders()
562 {
563 return $this->pivotHeaders;
564 }
565 }
566
567 class Google_Service_AnalyticsReporting_MetricHeaderEntry extends Google_Model
568 {
569 protected $internal_gapi_mappings = array(
570 );
571 public $name;
572 public $type;
573
574
575 public function setName($name)
576 {
577 $this->name = $name;
578 }
579 public function getName()
580 {
581 return $this->name;
582 }
583 public function setType($type)
584 {
585 $this->type = $type;
586 }
587 public function getType()
588 {
589 return $this->type;
590 }
591 }
592
593 class Google_Service_AnalyticsReporting_OrFiltersForSegment extends Google_Collection
594 {
595 protected $collection_key = 'segmentFilterClauses';
596 protected $internal_gapi_mappings = array(
597 );
598 protected $segmentFilterClausesType = 'Google_Service_AnalyticsReporting_SegmentFilterClause';
599 protected $segmentFilterClausesDataType = 'array';
600
601
602 public function setSegmentFilterClauses($segmentFilterClauses)
603 {
604 $this->segmentFilterClauses = $segmentFilterClauses;
605 }
606 public function getSegmentFilterClauses()
607 {
608 return $this->segmentFilterClauses;
609 }
610 }
611
612 class Google_Service_AnalyticsReporting_OrderBy extends Google_Model
613 {
614 protected $internal_gapi_mappings = array(
615 );
616 public $fieldName;
617 public $orderType;
618 public $sortOrder;
619
620
621 public function setFieldName($fieldName)
622 {
623 $this->fieldName = $fieldName;
624 }
625 public function getFieldName()
626 {
627 return $this->fieldName;
628 }
629 public function setOrderType($orderType)
630 {
631 $this->orderType = $orderType;
632 }
633 public function getOrderType()
634 {
635 return $this->orderType;
636 }
637 public function setSortOrder($sortOrder)
638 {
639 $this->sortOrder = $sortOrder;
640 }
641 public function getSortOrder()
642 {
643 return $this->sortOrder;
644 }
645 }
646
647 class Google_Service_AnalyticsReporting_Pivot extends Google_Collection
648 {
649 protected $collection_key = 'metrics';
650 protected $internal_gapi_mappings = array(
651 );
652 protected $dimensionFilterClausesType = 'Google_Service_AnalyticsReporting_DimensionFilterClause';
653 protected $dimensionFilterClausesDataType = 'array';
654 protected $dimensionsType = 'Google_Service_AnalyticsReporting_Dimension';
655 protected $dimensionsDataType = 'array';
656 public $maxGroupCount;
657 protected $metricsType = 'Google_Service_AnalyticsReporting_Metric';
658 protected $metricsDataType = 'array';
659 public $startGroup;
660
661
662 public function setDimensionFilterClauses($dimensionFilterClauses)
663 {
664 $this->dimensionFilterClauses = $dimensionFilterClauses;
665 }
666 public function getDimensionFilterClauses()
667 {
668 return $this->dimensionFilterClauses;
669 }
670 public function setDimensions($dimensions)
671 {
672 $this->dimensions = $dimensions;
673 }
674 public function getDimensions()
675 {
676 return $this->dimensions;
677 }
678 public function setMaxGroupCount($maxGroupCount)
679 {
680 $this->maxGroupCount = $maxGroupCount;
681 }
682 public function getMaxGroupCount()
683 {
684 return $this->maxGroupCount;
685 }
686 public function setMetrics($metrics)
687 {
688 $this->metrics = $metrics;
689 }
690 public function getMetrics()
691 {
692 return $this->metrics;
693 }
694 public function setStartGroup($startGroup)
695 {
696 $this->startGroup = $startGroup;
697 }
698 public function getStartGroup()
699 {
700 return $this->startGroup;
701 }
702 }
703
704 class Google_Service_AnalyticsReporting_PivotHeader extends Google_Collection
705 {
706 protected $collection_key = 'pivotHeaderEntries';
707 protected $internal_gapi_mappings = array(
708 );
709 protected $pivotHeaderEntriesType = 'Google_Service_AnalyticsReporting_PivotHeaderEntry';
710 protected $pivotHeaderEntriesDataType = 'array';
711 public $totalPivotGroupsCount;
712
713
714 public function setPivotHeaderEntries($pivotHeaderEntries)
715 {
716 $this->pivotHeaderEntries = $pivotHeaderEntries;
717 }
718 public function getPivotHeaderEntries()
719 {
720 return $this->pivotHeaderEntries;
721 }
722 public function setTotalPivotGroupsCount($totalPivotGroupsCount)
723 {
724 $this->totalPivotGroupsCount = $totalPivotGroupsCount;
725 }
726 public function getTotalPivotGroupsCount()
727 {
728 return $this->totalPivotGroupsCount;
729 }
730 }
731
732 class Google_Service_AnalyticsReporting_PivotHeaderEntry extends Google_Collection
733 {
734 protected $collection_key = 'dimensionValues';
735 protected $internal_gapi_mappings = array(
736 );
737 public $dimensionNames;
738 public $dimensionValues;
739 protected $metricType = 'Google_Service_AnalyticsReporting_MetricHeaderEntry';
740 protected $metricDataType = '';
741
742
743 public function setDimensionNames($dimensionNames)
744 {
745 $this->dimensionNames = $dimensionNames;
746 }
747 public function getDimensionNames()
748 {
749 return $this->dimensionNames;
750 }
751 public function setDimensionValues($dimensionValues)
752 {
753 $this->dimensionValues = $dimensionValues;
754 }
755 public function getDimensionValues()
756 {
757 return $this->dimensionValues;
758 }
759 public function setMetric(Google_Service_AnalyticsReporting_MetricHeaderEntry $metric)
760 {
761 $this->metric = $metric;
762 }
763 public function getMetric()
764 {
765 return $this->metric;
766 }
767 }
768
769 class Google_Service_AnalyticsReporting_PivotValueRegion extends Google_Collection
770 {
771 protected $collection_key = 'values';
772 protected $internal_gapi_mappings = array(
773 );
774 public $values;
775
776
777 public function setValues($values)
778 {
779 $this->values = $values;
780 }
781 public function getValues()
782 {
783 return $this->values;
784 }
785 }
786
787 class Google_Service_AnalyticsReporting_Report extends Google_Model
788 {
789 protected $internal_gapi_mappings = array(
790 );
791 protected $columnHeaderType = 'Google_Service_AnalyticsReporting_ColumnHeader';
792 protected $columnHeaderDataType = '';
793 protected $dataType = 'Google_Service_AnalyticsReporting_ReportData';
794 protected $dataDataType = '';
795 public $nextPageToken;
796
797
798 public function setColumnHeader(Google_Service_AnalyticsReporting_ColumnHeader $columnHeader)
799 {
800 $this->columnHeader = $columnHeader;
801 }
802 public function getColumnHeader()
803 {
804 return $this->columnHeader;
805 }
806 public function setData(Google_Service_AnalyticsReporting_ReportData $data)
807 {
808 $this->data = $data;
809 }
810 public function getData()
811 {
812 return $this->data;
813 }
814 public function setNextPageToken($nextPageToken)
815 {
816 $this->nextPageToken = $nextPageToken;
817 }
818 public function getNextPageToken()
819 {
820 return $this->nextPageToken;
821 }
822 }
823
824 class Google_Service_AnalyticsReporting_ReportData extends Google_Collection
825 {
826 protected $collection_key = 'totals';
827 protected $internal_gapi_mappings = array(
828 );
829 public $isDataGolden;
830 protected $maximumsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
831 protected $maximumsDataType = 'array';
832 protected $minimumsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
833 protected $minimumsDataType = 'array';
834 public $rowCount;
835 protected $rowsType = 'Google_Service_AnalyticsReporting_ReportRow';
836 protected $rowsDataType = 'array';
837 public $samplesReadCounts;
838 public $samplingSpaceSizes;
839 protected $totalsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
840 protected $totalsDataType = 'array';
841
842
843 public function setIsDataGolden($isDataGolden)
844 {
845 $this->isDataGolden = $isDataGolden;
846 }
847 public function getIsDataGolden()
848 {
849 return $this->isDataGolden;
850 }
851 public function setMaximums($maximums)
852 {
853 $this->maximums = $maximums;
854 }
855 public function getMaximums()
856 {
857 return $this->maximums;
858 }
859 public function setMinimums($minimums)
860 {
861 $this->minimums = $minimums;
862 }
863 public function getMinimums()
864 {
865 return $this->minimums;
866 }
867 public function setRowCount($rowCount)
868 {
869 $this->rowCount = $rowCount;
870 }
871 public function getRowCount()
872 {
873 return $this->rowCount;
874 }
875 public function setRows($rows)
876 {
877 $this->rows = $rows;
878 }
879 public function getRows()
880 {
881 return $this->rows;
882 }
883 public function setSamplesReadCounts($samplesReadCounts)
884 {
885 $this->samplesReadCounts = $samplesReadCounts;
886 }
887 public function getSamplesReadCounts()
888 {
889 return $this->samplesReadCounts;
890 }
891 public function setSamplingSpaceSizes($samplingSpaceSizes)
892 {
893 $this->samplingSpaceSizes = $samplingSpaceSizes;
894 }
895 public function getSamplingSpaceSizes()
896 {
897 return $this->samplingSpaceSizes;
898 }
899 public function setTotals($totals)
900 {
901 $this->totals = $totals;
902 }
903 public function getTotals()
904 {
905 return $this->totals;
906 }
907 }
908
909 class Google_Service_AnalyticsReporting_ReportRequest extends Google_Collection
910 {
911 protected $collection_key = 'segments';
912 protected $internal_gapi_mappings = array(
913 );
914 protected $cohortGroupType = 'Google_Service_AnalyticsReporting_CohortGroup';
915 protected $cohortGroupDataType = '';
916 protected $dateRangesType = 'Google_Service_AnalyticsReporting_DateRange';
917 protected $dateRangesDataType = 'array';
918 protected $dimensionFilterClausesType = 'Google_Service_AnalyticsReporting_DimensionFilterClause';
919 protected $dimensionFilterClausesDataType = 'array';
920 protected $dimensionsType = 'Google_Service_AnalyticsReporting_Dimension';
921 protected $dimensionsDataType = 'array';
922 public $filtersExpression;
923 public $hideTotals;
924 public $hideValueRanges;
925 public $includeEmptyRows;
926 protected $metricFilterClausesType = 'Google_Service_AnalyticsReporting_MetricFilterClause';
927 protected $metricFilterClausesDataType = 'array';
928 protected $metricsType = 'Google_Service_AnalyticsReporting_Metric';
929 protected $metricsDataType = 'array';
930 protected $orderBysType = 'Google_Service_AnalyticsReporting_OrderBy';
931 protected $orderBysDataType = 'array';
932 public $pageSize;
933 public $pageToken;
934 protected $pivotsType = 'Google_Service_AnalyticsReporting_Pivot';
935 protected $pivotsDataType = 'array';
936 public $samplingLevel;
937 protected $segmentsType = 'Google_Service_AnalyticsReporting_Segment';
938 protected $segmentsDataType = 'array';
939 public $viewId;
940
941
942 public function setCohortGroup(Google_Service_AnalyticsReporting_CohortGroup $cohortGroup)
943 {
944 $this->cohortGroup = $cohortGroup;
945 }
946 public function getCohortGroup()
947 {
948 return $this->cohortGroup;
949 }
950 public function setDateRanges($dateRanges)
951 {
952 $this->dateRanges = $dateRanges;
953 }
954 public function getDateRanges()
955 {
956 return $this->dateRanges;
957 }
958 public function setDimensionFilterClauses($dimensionFilterClauses)
959 {
960 $this->dimensionFilterClauses = $dimensionFilterClauses;
961 }
962 public function getDimensionFilterClauses()
963 {
964 return $this->dimensionFilterClauses;
965 }
966 public function setDimensions($dimensions)
967 {
968 $this->dimensions = $dimensions;
969 }
970 public function getDimensions()
971 {
972 return $this->dimensions;
973 }
974 public function setFiltersExpression($filtersExpression)
975 {
976 $this->filtersExpression = $filtersExpression;
977 }
978 public function getFiltersExpression()
979 {
980 return $this->filtersExpression;
981 }
982 public function setHideTotals($hideTotals)
983 {
984 $this->hideTotals = $hideTotals;
985 }
986 public function getHideTotals()
987 {
988 return $this->hideTotals;
989 }
990 public function setHideValueRanges($hideValueRanges)
991 {
992 $this->hideValueRanges = $hideValueRanges;
993 }
994 public function getHideValueRanges()
995 {
996 return $this->hideValueRanges;
997 }
998 public function setIncludeEmptyRows($includeEmptyRows)
999 {
1000 $this->includeEmptyRows = $includeEmptyRows;
1001 }
1002 public function getIncludeEmptyRows()
1003 {
1004 return $this->includeEmptyRows;
1005 }
1006 public function setMetricFilterClauses($metricFilterClauses)
1007 {
1008 $this->metricFilterClauses = $metricFilterClauses;
1009 }
1010 public function getMetricFilterClauses()
1011 {
1012 return $this->metricFilterClauses;
1013 }
1014 public function setMetrics($metrics)
1015 {
1016 $this->metrics = $metrics;
1017 }
1018 public function getMetrics()
1019 {
1020 return $this->metrics;
1021 }
1022 public function setOrderBys($orderBys)
1023 {
1024 $this->orderBys = $orderBys;
1025 }
1026 public function getOrderBys()
1027 {
1028 return $this->orderBys;
1029 }
1030 public function setPageSize($pageSize)
1031 {
1032 $this->pageSize = $pageSize;
1033 }
1034 public function getPageSize()
1035 {
1036 return $this->pageSize;
1037 }
1038 public function setPageToken($pageToken)
1039 {
1040 $this->pageToken = $pageToken;
1041 }
1042 public function getPageToken()
1043 {
1044 return $this->pageToken;
1045 }
1046 public function setPivots($pivots)
1047 {
1048 $this->pivots = $pivots;
1049 }
1050 public function getPivots()
1051 {
1052 return $this->pivots;
1053 }
1054 public function setSamplingLevel($samplingLevel)
1055 {
1056 $this->samplingLevel = $samplingLevel;
1057 }
1058 public function getSamplingLevel()
1059 {
1060 return $this->samplingLevel;
1061 }
1062 public function setSegments($segments)
1063 {
1064 $this->segments = $segments;
1065 }
1066 public function getSegments()
1067 {
1068 return $this->segments;
1069 }
1070 public function setViewId($viewId)
1071 {
1072 $this->viewId = $viewId;
1073 }
1074 public function getViewId()
1075 {
1076 return $this->viewId;
1077 }
1078 }
1079
1080 class Google_Service_AnalyticsReporting_ReportRow extends Google_Collection
1081 {
1082 protected $collection_key = 'metrics';
1083 protected $internal_gapi_mappings = array(
1084 );
1085 public $dimensions;
1086 protected $metricsType = 'Google_Service_AnalyticsReporting_DateRangeValues';
1087 protected $metricsDataType = 'array';
1088
1089
1090 public function setDimensions($dimensions)
1091 {
1092 $this->dimensions = $dimensions;
1093 }
1094 public function getDimensions()
1095 {
1096 return $this->dimensions;
1097 }
1098 public function setMetrics($metrics)
1099 {
1100 $this->metrics = $metrics;
1101 }
1102 public function getMetrics()
1103 {
1104 return $this->metrics;
1105 }
1106 }
1107
1108 class Google_Service_AnalyticsReporting_Segment extends Google_Model
1109 {
1110 protected $internal_gapi_mappings = array(
1111 );
1112 protected $dynamicSegmentType = 'Google_Service_AnalyticsReporting_DynamicSegment';
1113 protected $dynamicSegmentDataType = '';
1114 public $segmentId;
1115
1116
1117 public function setDynamicSegment(Google_Service_AnalyticsReporting_DynamicSegment $dynamicSegment)
1118 {
1119 $this->dynamicSegment = $dynamicSegment;
1120 }
1121 public function getDynamicSegment()
1122 {
1123 return $this->dynamicSegment;
1124 }
1125 public function setSegmentId($segmentId)
1126 {
1127 $this->segmentId = $segmentId;
1128 }
1129 public function getSegmentId()
1130 {
1131 return $this->segmentId;
1132 }
1133 }
1134
1135 class Google_Service_AnalyticsReporting_SegmentDefinition extends Google_Collection
1136 {
1137 protected $collection_key = 'segmentFilters';
1138 protected $internal_gapi_mappings = array(
1139 );
1140 protected $segmentFiltersType = 'Google_Service_AnalyticsReporting_SegmentFilter';
1141 protected $segmentFiltersDataType = 'array';
1142
1143
1144 public function setSegmentFilters($segmentFilters)
1145 {
1146 $this->segmentFilters = $segmentFilters;
1147 }
1148 public function getSegmentFilters()
1149 {
1150 return $this->segmentFilters;
1151 }
1152 }
1153
1154 class Google_Service_AnalyticsReporting_SegmentDimensionFilter extends Google_Collection
1155 {
1156 protected $collection_key = 'expressions';
1157 protected $internal_gapi_mappings = array(
1158 );
1159 public $caseSensitive;
1160 public $dimensionName;
1161 public $expressions;
1162 public $maxComparisonValue;
1163 public $minComparisonValue;
1164 public $operator;
1165
1166
1167 public function setCaseSensitive($caseSensitive)
1168 {
1169 $this->caseSensitive = $caseSensitive;
1170 }
1171 public function getCaseSensitive()
1172 {
1173 return $this->caseSensitive;
1174 }
1175 public function setDimensionName($dimensionName)
1176 {
1177 $this->dimensionName = $dimensionName;
1178 }
1179 public function getDimensionName()
1180 {
1181 return $this->dimensionName;
1182 }
1183 public function setExpressions($expressions)
1184 {
1185 $this->expressions = $expressions;
1186 }
1187 public function getExpressions()
1188 {
1189 return $this->expressions;
1190 }
1191 public function setMaxComparisonValue($maxComparisonValue)
1192 {
1193 $this->maxComparisonValue = $maxComparisonValue;
1194 }
1195 public function getMaxComparisonValue()
1196 {
1197 return $this->maxComparisonValue;
1198 }
1199 public function setMinComparisonValue($minComparisonValue)
1200 {
1201 $this->minComparisonValue = $minComparisonValue;
1202 }
1203 public function getMinComparisonValue()
1204 {
1205 return $this->minComparisonValue;
1206 }
1207 public function setOperator($operator)
1208 {
1209 $this->operator = $operator;
1210 }
1211 public function getOperator()
1212 {
1213 return $this->operator;
1214 }
1215 }
1216
1217 class Google_Service_AnalyticsReporting_SegmentFilter extends Google_Model
1218 {
1219 protected $internal_gapi_mappings = array(
1220 );
1221 public $not;
1222 protected $sequenceSegmentType = 'Google_Service_AnalyticsReporting_SequenceSegment';
1223 protected $sequenceSegmentDataType = '';
1224 protected $simpleSegmentType = 'Google_Service_AnalyticsReporting_SimpleSegment';
1225 protected $simpleSegmentDataType = '';
1226
1227
1228 public function setNot($not)
1229 {
1230 $this->not = $not;
1231 }
1232 public function getNot()
1233 {
1234 return $this->not;
1235 }
1236 public function setSequenceSegment(Google_Service_AnalyticsReporting_SequenceSegment $sequenceSegment)
1237 {
1238 $this->sequenceSegment = $sequenceSegment;
1239 }
1240 public function getSequenceSegment()
1241 {
1242 return $this->sequenceSegment;
1243 }
1244 public function setSimpleSegment(Google_Service_AnalyticsReporting_SimpleSegment $simpleSegment)
1245 {
1246 $this->simpleSegment = $simpleSegment;
1247 }
1248 public function getSimpleSegment()
1249 {
1250 return $this->simpleSegment;
1251 }
1252 }
1253
1254 class Google_Service_AnalyticsReporting_SegmentFilterClause extends Google_Model
1255 {
1256 protected $internal_gapi_mappings = array(
1257 );
1258 protected $dimensionFilterType = 'Google_Service_AnalyticsReporting_SegmentDimensionFilter';
1259 protected $dimensionFilterDataType = '';
1260 protected $metricFilterType = 'Google_Service_AnalyticsReporting_SegmentMetricFilter';
1261 protected $metricFilterDataType = '';
1262 public $not;
1263
1264
1265 public function setDimensionFilter(Google_Service_AnalyticsReporting_SegmentDimensionFilter $dimensionFilter)
1266 {
1267 $this->dimensionFilter = $dimensionFilter;
1268 }
1269 public function getDimensionFilter()
1270 {
1271 return $this->dimensionFilter;
1272 }
1273 public function setMetricFilter(Google_Service_AnalyticsReporting_SegmentMetricFilter $metricFilter)
1274 {
1275 $this->metricFilter = $metricFilter;
1276 }
1277 public function getMetricFilter()
1278 {
1279 return $this->metricFilter;
1280 }
1281 public function setNot($not)
1282 {
1283 $this->not = $not;
1284 }
1285 public function getNot()
1286 {
1287 return $this->not;
1288 }
1289 }
1290
1291 class Google_Service_AnalyticsReporting_SegmentMetricFilter extends Google_Model
1292 {
1293 protected $internal_gapi_mappings = array(
1294 );
1295 public $comparisonValue;
1296 public $maxComparisonValue;
1297 public $metricName;
1298 public $operator;
1299 public $scope;
1300
1301
1302 public function setComparisonValue($comparisonValue)
1303 {
1304 $this->comparisonValue = $comparisonValue;
1305 }
1306 public function getComparisonValue()
1307 {
1308 return $this->comparisonValue;
1309 }
1310 public function setMaxComparisonValue($maxComparisonValue)
1311 {
1312 $this->maxComparisonValue = $maxComparisonValue;
1313 }
1314 public function getMaxComparisonValue()
1315 {
1316 return $this->maxComparisonValue;
1317 }
1318 public function setMetricName($metricName)
1319 {
1320 $this->metricName = $metricName;
1321 }
1322 public function getMetricName()
1323 {
1324 return $this->metricName;
1325 }
1326 public function setOperator($operator)
1327 {
1328 $this->operator = $operator;
1329 }
1330 public function getOperator()
1331 {
1332 return $this->operator;
1333 }
1334 public function setScope($scope)
1335 {
1336 $this->scope = $scope;
1337 }
1338 public function getScope()
1339 {
1340 return $this->scope;
1341 }
1342 }
1343
1344 class Google_Service_AnalyticsReporting_SegmentSequenceStep extends Google_Collection
1345 {
1346 protected $collection_key = 'orFiltersForSegment';
1347 protected $internal_gapi_mappings = array(
1348 );
1349 public $matchType;
1350 protected $orFiltersForSegmentType = 'Google_Service_AnalyticsReporting_OrFiltersForSegment';
1351 protected $orFiltersForSegmentDataType = 'array';
1352
1353
1354 public function setMatchType($matchType)
1355 {
1356 $this->matchType = $matchType;
1357 }
1358 public function getMatchType()
1359 {
1360 return $this->matchType;
1361 }
1362 public function setOrFiltersForSegment($orFiltersForSegment)
1363 {
1364 $this->orFiltersForSegment = $orFiltersForSegment;
1365 }
1366 public function getOrFiltersForSegment()
1367 {
1368 return $this->orFiltersForSegment;
1369 }
1370 }
1371
1372 class Google_Service_AnalyticsReporting_SequenceSegment extends Google_Collection
1373 {
1374 protected $collection_key = 'segmentSequenceSteps';
1375 protected $internal_gapi_mappings = array(
1376 );
1377 public $firstStepShouldMatchFirstHit;
1378 protected $segmentSequenceStepsType = 'Google_Service_AnalyticsReporting_SegmentSequenceStep';
1379 protected $segmentSequenceStepsDataType = 'array';
1380
1381
1382 public function setFirstStepShouldMatchFirstHit($firstStepShouldMatchFirstHit)
1383 {
1384 $this->firstStepShouldMatchFirstHit = $firstStepShouldMatchFirstHit;
1385 }
1386 public function getFirstStepShouldMatchFirstHit()
1387 {
1388 return $this->firstStepShouldMatchFirstHit;
1389 }
1390 public function setSegmentSequenceSteps($segmentSequenceSteps)
1391 {
1392 $this->segmentSequenceSteps = $segmentSequenceSteps;
1393 }
1394 public function getSegmentSequenceSteps()
1395 {
1396 return $this->segmentSequenceSteps;
1397 }
1398 }
1399
1400 class Google_Service_AnalyticsReporting_SimpleSegment extends Google_Collection
1401 {
1402 protected $collection_key = 'orFiltersForSegment';
1403 protected $internal_gapi_mappings = array(
1404 );
1405 protected $orFiltersForSegmentType = 'Google_Service_AnalyticsReporting_OrFiltersForSegment';
1406 protected $orFiltersForSegmentDataType = 'array';
1407
1408
1409 public function setOrFiltersForSegment($orFiltersForSegment)
1410 {
1411 $this->orFiltersForSegment = $orFiltersForSegment;
1412 }
1413 public function getOrFiltersForSegment()
1414 {
1415 return $this->orFiltersForSegment;
1416 }
1417 }
1418