1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\Apigee;
|
---|
19 |
|
---|
20 | class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'metrics';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $dimensions;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $filter;
|
---|
31 | protected $metricsType = GoogleCloudApigeeV1MetricAggregation::class;
|
---|
32 | protected $metricsDataType = 'array';
|
---|
33 | /**
|
---|
34 | * @var int
|
---|
35 | */
|
---|
36 | public $pageSize;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $pageToken;
|
---|
41 | protected $timeRangeType = GoogleTypeInterval::class;
|
---|
42 | protected $timeRangeDataType = '';
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $timestampOrder;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $windowSize;
|
---|
51 |
|
---|
52 | /**
|
---|
53 | * @param string[]
|
---|
54 | */
|
---|
55 | public function setDimensions($dimensions)
|
---|
56 | {
|
---|
57 | $this->dimensions = $dimensions;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @return string[]
|
---|
61 | */
|
---|
62 | public function getDimensions()
|
---|
63 | {
|
---|
64 | return $this->dimensions;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @param string
|
---|
68 | */
|
---|
69 | public function setFilter($filter)
|
---|
70 | {
|
---|
71 | $this->filter = $filter;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @return string
|
---|
75 | */
|
---|
76 | public function getFilter()
|
---|
77 | {
|
---|
78 | return $this->filter;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @param GoogleCloudApigeeV1MetricAggregation[]
|
---|
82 | */
|
---|
83 | public function setMetrics($metrics)
|
---|
84 | {
|
---|
85 | $this->metrics = $metrics;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return GoogleCloudApigeeV1MetricAggregation[]
|
---|
89 | */
|
---|
90 | public function getMetrics()
|
---|
91 | {
|
---|
92 | return $this->metrics;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param int
|
---|
96 | */
|
---|
97 | public function setPageSize($pageSize)
|
---|
98 | {
|
---|
99 | $this->pageSize = $pageSize;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return int
|
---|
103 | */
|
---|
104 | public function getPageSize()
|
---|
105 | {
|
---|
106 | return $this->pageSize;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param string
|
---|
110 | */
|
---|
111 | public function setPageToken($pageToken)
|
---|
112 | {
|
---|
113 | $this->pageToken = $pageToken;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return string
|
---|
117 | */
|
---|
118 | public function getPageToken()
|
---|
119 | {
|
---|
120 | return $this->pageToken;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param GoogleTypeInterval
|
---|
124 | */
|
---|
125 | public function setTimeRange(GoogleTypeInterval $timeRange)
|
---|
126 | {
|
---|
127 | $this->timeRange = $timeRange;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return GoogleTypeInterval
|
---|
131 | */
|
---|
132 | public function getTimeRange()
|
---|
133 | {
|
---|
134 | return $this->timeRange;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param string
|
---|
138 | */
|
---|
139 | public function setTimestampOrder($timestampOrder)
|
---|
140 | {
|
---|
141 | $this->timestampOrder = $timestampOrder;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return string
|
---|
145 | */
|
---|
146 | public function getTimestampOrder()
|
---|
147 | {
|
---|
148 | return $this->timestampOrder;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param string
|
---|
152 | */
|
---|
153 | public function setWindowSize($windowSize)
|
---|
154 | {
|
---|
155 | $this->windowSize = $windowSize;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return string
|
---|
159 | */
|
---|
160 | public function getWindowSize()
|
---|
161 | {
|
---|
162 | return $this->windowSize;
|
---|
163 | }
|
---|
164 | }
|
---|
165 |
|
---|
166 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
167 | class_alias(GoogleCloudApigeeV1QueryTimeSeriesStatsRequest::class, 'Google_Service_Apigee_GoogleCloudApigeeV1QueryTimeSeriesStatsRequest');
|
---|