1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\AnalyticsData; 19 20class RunRealtimeReportRequest extends \Google\Collection 21{ 22 protected $collection_key = 'orderBys'; 23 protected $dimensionFilterType = FilterExpression::class; 24 protected $dimensionFilterDataType = ''; 25 protected $dimensionsType = Dimension::class; 26 protected $dimensionsDataType = 'array'; 27 /** 28 * @var string 29 */ 30 public $limit; 31 /** 32 * @var string[] 33 */ 34 public $metricAggregations; 35 protected $metricFilterType = FilterExpression::class; 36 protected $metricFilterDataType = ''; 37 protected $metricsType = Metric::class; 38 protected $metricsDataType = 'array'; 39 protected $minuteRangesType = MinuteRange::class; 40 protected $minuteRangesDataType = 'array'; 41 protected $orderBysType = OrderBy::class; 42 protected $orderBysDataType = 'array'; 43 /** 44 * @var bool 45 */ 46 public $returnPropertyQuota; 47 48 /** 49 * @param FilterExpression 50 */ 51 public function setDimensionFilter(FilterExpression $dimensionFilter) 52 { 53 $this->dimensionFilter = $dimensionFilter; 54 } 55 /** 56 * @return FilterExpression 57 */ 58 public function getDimensionFilter() 59 { 60 return $this->dimensionFilter; 61 } 62 /** 63 * @param Dimension[] 64 */ 65 public function setDimensions($dimensions) 66 { 67 $this->dimensions = $dimensions; 68 } 69 /** 70 * @return Dimension[] 71 */ 72 public function getDimensions() 73 { 74 return $this->dimensions; 75 } 76 /** 77 * @param string 78 */ 79 public function setLimit($limit) 80 { 81 $this->limit = $limit; 82 } 83 /** 84 * @return string 85 */ 86 public function getLimit() 87 { 88 return $this->limit; 89 } 90 /** 91 * @param string[] 92 */ 93 public function setMetricAggregations($metricAggregations) 94 { 95 $this->metricAggregations = $metricAggregations; 96 } 97 /** 98 * @return string[] 99 */ 100 public function getMetricAggregations() 101 { 102 return $this->metricAggregations; 103 } 104 /** 105 * @param FilterExpression 106 */ 107 public function setMetricFilter(FilterExpression $metricFilter) 108 { 109 $this->metricFilter = $metricFilter; 110 } 111 /** 112 * @return FilterExpression 113 */ 114 public function getMetricFilter() 115 { 116 return $this->metricFilter; 117 } 118 /** 119 * @param Metric[] 120 */ 121 public function setMetrics($metrics) 122 { 123 $this->metrics = $metrics; 124 } 125 /** 126 * @return Metric[] 127 */ 128 public function getMetrics() 129 { 130 return $this->metrics; 131 } 132 /** 133 * @param MinuteRange[] 134 */ 135 public function setMinuteRanges($minuteRanges) 136 { 137 $this->minuteRanges = $minuteRanges; 138 } 139 /** 140 * @return MinuteRange[] 141 */ 142 public function getMinuteRanges() 143 { 144 return $this->minuteRanges; 145 } 146 /** 147 * @param OrderBy[] 148 */ 149 public function setOrderBys($orderBys) 150 { 151 $this->orderBys = $orderBys; 152 } 153 /** 154 * @return OrderBy[] 155 */ 156 public function getOrderBys() 157 { 158 return $this->orderBys; 159 } 160 /** 161 * @param bool 162 */ 163 public function setReturnPropertyQuota($returnPropertyQuota) 164 { 165 $this->returnPropertyQuota = $returnPropertyQuota; 166 } 167 /** 168 * @return bool 169 */ 170 public function getReturnPropertyQuota() 171 { 172 return $this->returnPropertyQuota; 173 } 174} 175 176// Adding a class alias for backwards compatibility with the previous class name. 177class_alias(RunRealtimeReportRequest::class, 'Google_Service_AnalyticsData_RunRealtimeReportRequest'); 178