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\AnalyticsData;
|
---|
19 |
|
---|
20 | class AudienceExport extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'dimensions';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $audience;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $audienceDisplayName;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $beginCreatingTime;
|
---|
35 | /**
|
---|
36 | * @var int
|
---|
37 | */
|
---|
38 | public $creationQuotaTokensCharged;
|
---|
39 | protected $dimensionsType = V1betaAudienceDimension::class;
|
---|
40 | protected $dimensionsDataType = 'array';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $errorMessage;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $name;
|
---|
49 | public $percentageCompleted;
|
---|
50 | /**
|
---|
51 | * @var int
|
---|
52 | */
|
---|
53 | public $rowCount;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $state;
|
---|
58 |
|
---|
59 | /**
|
---|
60 | * @param string
|
---|
61 | */
|
---|
62 | public function setAudience($audience)
|
---|
63 | {
|
---|
64 | $this->audience = $audience;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return string
|
---|
68 | */
|
---|
69 | public function getAudience()
|
---|
70 | {
|
---|
71 | return $this->audience;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @param string
|
---|
75 | */
|
---|
76 | public function setAudienceDisplayName($audienceDisplayName)
|
---|
77 | {
|
---|
78 | $this->audienceDisplayName = $audienceDisplayName;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return string
|
---|
82 | */
|
---|
83 | public function getAudienceDisplayName()
|
---|
84 | {
|
---|
85 | return $this->audienceDisplayName;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param string
|
---|
89 | */
|
---|
90 | public function setBeginCreatingTime($beginCreatingTime)
|
---|
91 | {
|
---|
92 | $this->beginCreatingTime = $beginCreatingTime;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return string
|
---|
96 | */
|
---|
97 | public function getBeginCreatingTime()
|
---|
98 | {
|
---|
99 | return $this->beginCreatingTime;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param int
|
---|
103 | */
|
---|
104 | public function setCreationQuotaTokensCharged($creationQuotaTokensCharged)
|
---|
105 | {
|
---|
106 | $this->creationQuotaTokensCharged = $creationQuotaTokensCharged;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return int
|
---|
110 | */
|
---|
111 | public function getCreationQuotaTokensCharged()
|
---|
112 | {
|
---|
113 | return $this->creationQuotaTokensCharged;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param V1betaAudienceDimension[]
|
---|
117 | */
|
---|
118 | public function setDimensions($dimensions)
|
---|
119 | {
|
---|
120 | $this->dimensions = $dimensions;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return V1betaAudienceDimension[]
|
---|
124 | */
|
---|
125 | public function getDimensions()
|
---|
126 | {
|
---|
127 | return $this->dimensions;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setErrorMessage($errorMessage)
|
---|
133 | {
|
---|
134 | $this->errorMessage = $errorMessage;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getErrorMessage()
|
---|
140 | {
|
---|
141 | return $this->errorMessage;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param string
|
---|
145 | */
|
---|
146 | public function setName($name)
|
---|
147 | {
|
---|
148 | $this->name = $name;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return string
|
---|
152 | */
|
---|
153 | public function getName()
|
---|
154 | {
|
---|
155 | return $this->name;
|
---|
156 | }
|
---|
157 | public function setPercentageCompleted($percentageCompleted)
|
---|
158 | {
|
---|
159 | $this->percentageCompleted = $percentageCompleted;
|
---|
160 | }
|
---|
161 | public function getPercentageCompleted()
|
---|
162 | {
|
---|
163 | return $this->percentageCompleted;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param int
|
---|
167 | */
|
---|
168 | public function setRowCount($rowCount)
|
---|
169 | {
|
---|
170 | $this->rowCount = $rowCount;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return int
|
---|
174 | */
|
---|
175 | public function getRowCount()
|
---|
176 | {
|
---|
177 | return $this->rowCount;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string
|
---|
181 | */
|
---|
182 | public function setState($state)
|
---|
183 | {
|
---|
184 | $this->state = $state;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string
|
---|
188 | */
|
---|
189 | public function getState()
|
---|
190 | {
|
---|
191 | return $this->state;
|
---|
192 | }
|
---|
193 | }
|
---|
194 |
|
---|
195 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
196 | class_alias(AudienceExport::class, 'Google_Service_AnalyticsData_AudienceExport');
|
---|