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
|
|
|
/** |
18
|
|
|
* The "data" collection of methods. |
19
|
|
|
* Typical usage is: |
20
|
|
|
* <code> |
21
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
22
|
|
|
* $data = $analyticsService->data; |
23
|
|
|
* </code> |
24
|
|
|
*/ |
25
|
|
|
class Google_DataServiceResource extends Google_ServiceResource { |
26
|
|
|
|
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* The "ga" collection of methods. |
31
|
|
|
* Typical usage is: |
32
|
|
|
* <code> |
33
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
34
|
|
|
* $ga = $analyticsService->ga; |
35
|
|
|
* </code> |
36
|
|
|
*/ |
37
|
|
View Code Duplication |
class Google_DataGaServiceResource extends Google_ServiceResource { |
|
|
|
|
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* Returns Analytics data for a view (profile). (ga.get) |
41
|
|
|
* |
42
|
|
|
* @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. |
43
|
|
|
* @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD. |
44
|
|
|
* @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD. |
45
|
|
|
* @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified. |
46
|
|
|
* @param array $optParams Optional parameters. |
47
|
|
|
* |
48
|
|
|
* @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'. |
49
|
|
|
* @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data. |
50
|
|
|
* @opt_param int max-results The maximum number of entries to include in this feed. |
51
|
|
|
* @opt_param string segment An Analytics advanced segment to be applied to data. |
52
|
|
|
* @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data. |
53
|
|
|
* @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
54
|
|
|
* @return Google_GaData |
55
|
|
|
*/ |
56
|
|
|
public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) { |
57
|
|
|
$params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics); |
58
|
|
|
$params = array_merge($params, $optParams); |
59
|
|
|
$data = $this->__call('get', array($params)); |
60
|
|
|
if ($this->useObjects()) { |
61
|
|
|
return new Google_GaData($data); |
62
|
|
|
} else { |
63
|
|
|
return $data; |
|
|
|
|
64
|
|
|
} |
65
|
|
|
} |
66
|
|
|
} |
67
|
|
|
/** |
68
|
|
|
* The "mcf" collection of methods. |
69
|
|
|
* Typical usage is: |
70
|
|
|
* <code> |
71
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
72
|
|
|
* $mcf = $analyticsService->mcf; |
73
|
|
|
* </code> |
74
|
|
|
*/ |
75
|
|
View Code Duplication |
class Google_DataMcfServiceResource extends Google_ServiceResource { |
|
|
|
|
76
|
|
|
|
77
|
|
|
/** |
78
|
|
|
* Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get) |
79
|
|
|
* |
80
|
|
|
* @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. |
81
|
|
|
* @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD. |
82
|
|
|
* @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD. |
83
|
|
|
* @param string $metrics A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified. |
84
|
|
|
* @param array $optParams Optional parameters. |
85
|
|
|
* |
86
|
|
|
* @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'. |
87
|
|
|
* @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data. |
88
|
|
|
* @opt_param int max-results The maximum number of entries to include in this feed. |
89
|
|
|
* @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data. |
90
|
|
|
* @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
91
|
|
|
* @return Google_McfData |
92
|
|
|
*/ |
93
|
|
|
public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) { |
94
|
|
|
$params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics); |
95
|
|
|
$params = array_merge($params, $optParams); |
96
|
|
|
$data = $this->__call('get', array($params)); |
97
|
|
|
if ($this->useObjects()) { |
98
|
|
|
return new Google_McfData($data); |
99
|
|
|
} else { |
100
|
|
|
return $data; |
|
|
|
|
101
|
|
|
} |
102
|
|
|
} |
103
|
|
|
} |
104
|
|
|
/** |
105
|
|
|
* The "realtime" collection of methods. |
106
|
|
|
* Typical usage is: |
107
|
|
|
* <code> |
108
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
109
|
|
|
* $realtime = $analyticsService->realtime; |
110
|
|
|
* </code> |
111
|
|
|
*/ |
112
|
|
|
class Google_DataRealtimeServiceResource extends Google_ServiceResource { |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* Returns real time data for a view (profile). (realtime.get) |
116
|
|
|
* |
117
|
|
|
* @param string $ids Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. |
118
|
|
|
* @param string $metrics A comma-separated list of real time metrics. E.g., 'ga:activeVisitors'. At least one metric must be specified. |
119
|
|
|
* @param array $optParams Optional parameters. |
120
|
|
|
* |
121
|
|
|
* @opt_param string dimensions A comma-separated list of real time dimensions. E.g., 'ga:medium,ga:city'. |
122
|
|
|
* @opt_param string filters A comma-separated list of dimension or metric filters to be applied to real time data. |
123
|
|
|
* @opt_param int max-results The maximum number of entries to include in this feed. |
124
|
|
|
* @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for real time data. |
125
|
|
|
* @return Google_RealtimeData |
126
|
|
|
*/ |
127
|
|
|
public function get($ids, $metrics, $optParams = array()) { |
128
|
|
|
$params = array('ids' => $ids, 'metrics' => $metrics); |
129
|
|
|
$params = array_merge($params, $optParams); |
130
|
|
|
$data = $this->__call('get', array($params)); |
131
|
|
|
if ($this->useObjects()) { |
132
|
|
|
return new Google_RealtimeData($data); |
133
|
|
|
} else { |
134
|
|
|
return $data; |
|
|
|
|
135
|
|
|
} |
136
|
|
|
} |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
/** |
140
|
|
|
* The "management" collection of methods. |
141
|
|
|
* Typical usage is: |
142
|
|
|
* <code> |
143
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
144
|
|
|
* $management = $analyticsService->management; |
145
|
|
|
* </code> |
146
|
|
|
*/ |
147
|
|
|
class Google_ManagementServiceResource extends Google_ServiceResource { |
148
|
|
|
|
149
|
|
|
} |
150
|
|
|
|
151
|
|
|
/** |
152
|
|
|
* The "accountUserLinks" collection of methods. |
153
|
|
|
* Typical usage is: |
154
|
|
|
* <code> |
155
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
156
|
|
|
* $accountUserLinks = $analyticsService->accountUserLinks; |
157
|
|
|
* </code> |
158
|
|
|
*/ |
159
|
|
|
class Google_ManagementAccountUserLinksServiceResource extends Google_ServiceResource { |
160
|
|
|
|
161
|
|
|
/** |
162
|
|
|
* Removes a user from the given account. (accountUserLinks.delete) |
163
|
|
|
* |
164
|
|
|
* @param string $accountId Account ID to delete the user link for. |
165
|
|
|
* @param string $linkId Link ID to delete the user link for. |
166
|
|
|
* @param array $optParams Optional parameters. |
167
|
|
|
*/ |
168
|
|
|
public function delete($accountId, $linkId, $optParams = array()) { |
169
|
|
|
$params = array('accountId' => $accountId, 'linkId' => $linkId); |
170
|
|
|
$params = array_merge($params, $optParams); |
171
|
|
|
$data = $this->__call('delete', array($params)); |
172
|
|
|
return $data; |
173
|
|
|
} |
174
|
|
|
/** |
175
|
|
|
* Adds a new user to the given account. (accountUserLinks.insert) |
176
|
|
|
* |
177
|
|
|
* @param string $accountId Account ID to create the user link for. |
178
|
|
|
* @param Google_EntityUserLink $postBody |
179
|
|
|
* @param array $optParams Optional parameters. |
180
|
|
|
* @return Google_EntityUserLink |
181
|
|
|
*/ |
182
|
|
|
public function insert($accountId, Google_EntityUserLink $postBody, $optParams = array()) { |
183
|
|
|
$params = array('accountId' => $accountId, 'postBody' => $postBody); |
184
|
|
|
$params = array_merge($params, $optParams); |
185
|
|
|
$data = $this->__call('insert', array($params)); |
186
|
|
|
if ($this->useObjects()) { |
187
|
|
|
return new Google_EntityUserLink($data); |
188
|
|
|
} else { |
189
|
|
|
return $data; |
|
|
|
|
190
|
|
|
} |
191
|
|
|
} |
192
|
|
|
/** |
193
|
|
|
* Lists account-user links for a given account. (accountUserLinks.list) |
194
|
|
|
* |
195
|
|
|
* @param string $accountId Account ID to retrieve the user links for. |
196
|
|
|
* @param array $optParams Optional parameters. |
197
|
|
|
* |
198
|
|
|
* @opt_param int max-results The maximum number of account-user links to include in this response. |
199
|
|
|
* @opt_param int start-index An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
200
|
|
|
* @return Google_EntityUserLinks |
201
|
|
|
*/ |
202
|
|
|
public function listManagementAccountUserLinks($accountId, $optParams = array()) { |
203
|
|
|
$params = array('accountId' => $accountId); |
204
|
|
|
$params = array_merge($params, $optParams); |
205
|
|
|
$data = $this->__call('list', array($params)); |
206
|
|
|
if ($this->useObjects()) { |
207
|
|
|
return new Google_EntityUserLinks($data); |
208
|
|
|
} else { |
209
|
|
|
return $data; |
|
|
|
|
210
|
|
|
} |
211
|
|
|
} |
212
|
|
|
/** |
213
|
|
|
* Updates permissions for an existing user on the given account. |
214
|
|
|
* (accountUserLinks.update) |
215
|
|
|
* |
216
|
|
|
* @param string $accountId Account ID to update the account-user link for. |
217
|
|
|
* @param string $linkId Link ID to update the account-user link for. |
218
|
|
|
* @param Google_EntityUserLink $postBody |
219
|
|
|
* @param array $optParams Optional parameters. |
220
|
|
|
* @return Google_EntityUserLink |
221
|
|
|
*/ |
222
|
|
View Code Duplication |
public function update($accountId, $linkId, Google_EntityUserLink $postBody, $optParams = array()) { |
|
|
|
|
223
|
|
|
$params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody); |
224
|
|
|
$params = array_merge($params, $optParams); |
225
|
|
|
$data = $this->__call('update', array($params)); |
226
|
|
|
if ($this->useObjects()) { |
227
|
|
|
return new Google_EntityUserLink($data); |
228
|
|
|
} else { |
229
|
|
|
return $data; |
|
|
|
|
230
|
|
|
} |
231
|
|
|
} |
232
|
|
|
} |
233
|
|
|
/** |
234
|
|
|
* The "accounts" collection of methods. |
235
|
|
|
* Typical usage is: |
236
|
|
|
* <code> |
237
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
238
|
|
|
* $accounts = $analyticsService->accounts; |
239
|
|
|
* </code> |
240
|
|
|
*/ |
241
|
|
View Code Duplication |
class Google_ManagementAccountsServiceResource extends Google_ServiceResource { |
|
|
|
|
242
|
|
|
|
243
|
|
|
/** |
244
|
|
|
* Lists all accounts to which the user has access. (accounts.list) |
245
|
|
|
* |
246
|
|
|
* @param array $optParams Optional parameters. |
247
|
|
|
* |
248
|
|
|
* @opt_param int max-results The maximum number of accounts to include in this response. |
249
|
|
|
* @opt_param int start-index An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
250
|
|
|
* @return Google_Accounts |
251
|
|
|
*/ |
252
|
|
|
public function listManagementAccounts($optParams = array()) { |
253
|
|
|
$params = array(); |
254
|
|
|
$params = array_merge($params, $optParams); |
255
|
|
|
$data = $this->__call('list', array($params)); |
256
|
|
|
if ($this->useObjects()) { |
257
|
|
|
return new Google_Accounts($data); |
258
|
|
|
} else { |
259
|
|
|
return $data; |
|
|
|
|
260
|
|
|
} |
261
|
|
|
} |
262
|
|
|
} |
263
|
|
|
/** |
264
|
|
|
* The "customDataSources" collection of methods. |
265
|
|
|
* Typical usage is: |
266
|
|
|
* <code> |
267
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
268
|
|
|
* $customDataSources = $analyticsService->customDataSources; |
269
|
|
|
* </code> |
270
|
|
|
*/ |
271
|
|
|
class Google_ManagementCustomDataSourcesServiceResource extends Google_ServiceResource { |
272
|
|
|
|
273
|
|
|
/** |
274
|
|
|
* List custom data sources to which the user has access. |
275
|
|
|
* (customDataSources.list) |
276
|
|
|
* |
277
|
|
|
* @param string $accountId Account Id for the custom data sources to retrieve. |
278
|
|
|
* @param string $webPropertyId Web property Id for the custom data sources to retrieve. |
279
|
|
|
* @param array $optParams Optional parameters. |
280
|
|
|
* |
281
|
|
|
* @opt_param int max-results The maximum number of custom data sources to include in this response. |
282
|
|
|
* @opt_param int start-index A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
283
|
|
|
* @return Google_CustomDataSources |
284
|
|
|
*/ |
285
|
|
|
public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) { |
286
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); |
287
|
|
|
$params = array_merge($params, $optParams); |
288
|
|
|
$data = $this->__call('list', array($params)); |
289
|
|
|
if ($this->useObjects()) { |
290
|
|
|
return new Google_CustomDataSources($data); |
291
|
|
|
} else { |
292
|
|
|
return $data; |
|
|
|
|
293
|
|
|
} |
294
|
|
|
} |
295
|
|
|
} |
296
|
|
|
/** |
297
|
|
|
* The "dailyUploads" collection of methods. |
298
|
|
|
* Typical usage is: |
299
|
|
|
* <code> |
300
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
301
|
|
|
* $dailyUploads = $analyticsService->dailyUploads; |
302
|
|
|
* </code> |
303
|
|
|
*/ |
304
|
|
|
class Google_ManagementDailyUploadsServiceResource extends Google_ServiceResource { |
305
|
|
|
|
306
|
|
|
/** |
307
|
|
|
* Delete uploaded data for the given date. (dailyUploads.delete) |
308
|
|
|
* |
309
|
|
|
* @param string $accountId Account Id associated with daily upload delete. |
310
|
|
|
* @param string $webPropertyId Web property Id associated with daily upload delete. |
311
|
|
|
* @param string $customDataSourceId Custom data source Id associated with daily upload delete. |
312
|
|
|
* @param string $date Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD. |
313
|
|
|
* @param string $type Type of data for this delete. |
314
|
|
|
* @param array $optParams Optional parameters. |
315
|
|
|
*/ |
316
|
|
|
public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array()) { |
317
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type); |
318
|
|
|
$params = array_merge($params, $optParams); |
319
|
|
|
$data = $this->__call('delete', array($params)); |
320
|
|
|
return $data; |
321
|
|
|
} |
322
|
|
|
/** |
323
|
|
|
* List daily uploads to which the user has access. (dailyUploads.list) |
324
|
|
|
* |
325
|
|
|
* @param string $accountId Account Id for the daily uploads to retrieve. |
326
|
|
|
* @param string $webPropertyId Web property Id for the daily uploads to retrieve. |
327
|
|
|
* @param string $customDataSourceId Custom data source Id for daily uploads to retrieve. |
328
|
|
|
* @param string $start_date Start date of the form YYYY-MM-DD. |
329
|
|
|
* @param string $end_date End date of the form YYYY-MM-DD. |
330
|
|
|
* @param array $optParams Optional parameters. |
331
|
|
|
* |
332
|
|
|
* @opt_param int max-results The maximum number of custom data sources to include in this response. |
333
|
|
|
* @opt_param int start-index A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
334
|
|
|
* @return Google_DailyUploads |
335
|
|
|
*/ |
336
|
|
View Code Duplication |
public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $start_date, $end_date, $optParams = array()) { |
|
|
|
|
337
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $start_date, 'end-date' => $end_date); |
338
|
|
|
$params = array_merge($params, $optParams); |
339
|
|
|
$data = $this->__call('list', array($params)); |
340
|
|
|
if ($this->useObjects()) { |
341
|
|
|
return new Google_DailyUploads($data); |
342
|
|
|
} else { |
343
|
|
|
return $data; |
|
|
|
|
344
|
|
|
} |
345
|
|
|
} |
346
|
|
|
/** |
347
|
|
|
* Update/Overwrite data for a custom data source. (dailyUploads.upload) |
348
|
|
|
* |
349
|
|
|
* @param string $accountId Account Id associated with daily upload. |
350
|
|
|
* @param string $webPropertyId Web property Id associated with daily upload. |
351
|
|
|
* @param string $customDataSourceId Custom data source Id to which the data being uploaded belongs. |
352
|
|
|
* @param string $date Date for which data is uploaded. Date should be formatted as YYYY-MM-DD. |
353
|
|
|
* @param int $appendNumber Append number for this upload indexed from 1. |
354
|
|
|
* @param string $type Type of data for this upload. |
355
|
|
|
* @param array $optParams Optional parameters. |
356
|
|
|
* |
357
|
|
|
* @opt_param bool reset Reset/Overwrite all previous appends for this date and start over with this file as the first upload. |
358
|
|
|
* @return Google_DailyUploadAppend |
359
|
|
|
*/ |
360
|
|
|
public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array()) { |
361
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type); |
362
|
|
|
$params = array_merge($params, $optParams); |
363
|
|
|
$data = $this->__call('upload', array($params)); |
364
|
|
|
if ($this->useObjects()) { |
365
|
|
|
return new Google_DailyUploadAppend($data); |
366
|
|
|
} else { |
367
|
|
|
return $data; |
|
|
|
|
368
|
|
|
} |
369
|
|
|
} |
370
|
|
|
} |
371
|
|
|
/** |
372
|
|
|
* The "experiments" collection of methods. |
373
|
|
|
* Typical usage is: |
374
|
|
|
* <code> |
375
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
376
|
|
|
* $experiments = $analyticsService->experiments; |
377
|
|
|
* </code> |
378
|
|
|
*/ |
379
|
|
|
class Google_ManagementExperimentsServiceResource extends Google_ServiceResource { |
380
|
|
|
|
381
|
|
|
/** |
382
|
|
|
* Delete an experiment. (experiments.delete) |
383
|
|
|
* |
384
|
|
|
* @param string $accountId Account ID to which the experiment belongs |
385
|
|
|
* @param string $webPropertyId Web property ID to which the experiment belongs |
386
|
|
|
* @param string $profileId View (Profile) ID to which the experiment belongs |
387
|
|
|
* @param string $experimentId ID of the experiment to delete |
388
|
|
|
* @param array $optParams Optional parameters. |
389
|
|
|
*/ |
390
|
|
|
public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) { |
391
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); |
392
|
|
|
$params = array_merge($params, $optParams); |
393
|
|
|
$data = $this->__call('delete', array($params)); |
394
|
|
|
return $data; |
395
|
|
|
} |
396
|
|
|
/** |
397
|
|
|
* Returns an experiment to which the user has access. (experiments.get) |
398
|
|
|
* |
399
|
|
|
* @param string $accountId Account ID to retrieve the experiment for. |
400
|
|
|
* @param string $webPropertyId Web property ID to retrieve the experiment for. |
401
|
|
|
* @param string $profileId View (Profile) ID to retrieve the experiment for. |
402
|
|
|
* @param string $experimentId Experiment ID to retrieve the experiment for. |
403
|
|
|
* @param array $optParams Optional parameters. |
404
|
|
|
* @return Google_Experiment |
405
|
|
|
*/ |
406
|
|
View Code Duplication |
public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) { |
|
|
|
|
407
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); |
408
|
|
|
$params = array_merge($params, $optParams); |
409
|
|
|
$data = $this->__call('get', array($params)); |
410
|
|
|
if ($this->useObjects()) { |
411
|
|
|
return new Google_Experiment($data); |
412
|
|
|
} else { |
413
|
|
|
return $data; |
|
|
|
|
414
|
|
|
} |
415
|
|
|
} |
416
|
|
|
/** |
417
|
|
|
* Create a new experiment. (experiments.insert) |
418
|
|
|
* |
419
|
|
|
* @param string $accountId Account ID to create the experiment for. |
420
|
|
|
* @param string $webPropertyId Web property ID to create the experiment for. |
421
|
|
|
* @param string $profileId View (Profile) ID to create the experiment for. |
422
|
|
|
* @param Google_Experiment $postBody |
423
|
|
|
* @param array $optParams Optional parameters. |
424
|
|
|
* @return Google_Experiment |
425
|
|
|
*/ |
426
|
|
View Code Duplication |
public function insert($accountId, $webPropertyId, $profileId, Google_Experiment $postBody, $optParams = array()) { |
|
|
|
|
427
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); |
428
|
|
|
$params = array_merge($params, $optParams); |
429
|
|
|
$data = $this->__call('insert', array($params)); |
430
|
|
|
if ($this->useObjects()) { |
431
|
|
|
return new Google_Experiment($data); |
432
|
|
|
} else { |
433
|
|
|
return $data; |
|
|
|
|
434
|
|
|
} |
435
|
|
|
} |
436
|
|
|
/** |
437
|
|
|
* Lists experiments to which the user has access. (experiments.list) |
438
|
|
|
* |
439
|
|
|
* @param string $accountId Account ID to retrieve experiments for. |
440
|
|
|
* @param string $webPropertyId Web property ID to retrieve experiments for. |
441
|
|
|
* @param string $profileId View (Profile) ID to retrieve experiments for. |
442
|
|
|
* @param array $optParams Optional parameters. |
443
|
|
|
* |
444
|
|
|
* @opt_param int max-results The maximum number of experiments to include in this response. |
445
|
|
|
* @opt_param int start-index An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
446
|
|
|
* @return Google_Experiments |
447
|
|
|
*/ |
448
|
|
View Code Duplication |
public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) { |
|
|
|
|
449
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); |
450
|
|
|
$params = array_merge($params, $optParams); |
451
|
|
|
$data = $this->__call('list', array($params)); |
452
|
|
|
if ($this->useObjects()) { |
453
|
|
|
return new Google_Experiments($data); |
454
|
|
|
} else { |
455
|
|
|
return $data; |
|
|
|
|
456
|
|
|
} |
457
|
|
|
} |
458
|
|
|
/** |
459
|
|
|
* Update an existing experiment. This method supports patch semantics. |
460
|
|
|
* (experiments.patch) |
461
|
|
|
* |
462
|
|
|
* @param string $accountId Account ID of the experiment to update. |
463
|
|
|
* @param string $webPropertyId Web property ID of the experiment to update. |
464
|
|
|
* @param string $profileId View (Profile) ID of the experiment to update. |
465
|
|
|
* @param string $experimentId Experiment ID of the experiment to update. |
466
|
|
|
* @param Google_Experiment $postBody |
467
|
|
|
* @param array $optParams Optional parameters. |
468
|
|
|
* @return Google_Experiment |
469
|
|
|
*/ |
470
|
|
View Code Duplication |
public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array()) { |
|
|
|
|
471
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); |
472
|
|
|
$params = array_merge($params, $optParams); |
473
|
|
|
$data = $this->__call('patch', array($params)); |
474
|
|
|
if ($this->useObjects()) { |
475
|
|
|
return new Google_Experiment($data); |
476
|
|
|
} else { |
477
|
|
|
return $data; |
|
|
|
|
478
|
|
|
} |
479
|
|
|
} |
480
|
|
|
/** |
481
|
|
|
* Update an existing experiment. (experiments.update) |
482
|
|
|
* |
483
|
|
|
* @param string $accountId Account ID of the experiment to update. |
484
|
|
|
* @param string $webPropertyId Web property ID of the experiment to update. |
485
|
|
|
* @param string $profileId View (Profile) ID of the experiment to update. |
486
|
|
|
* @param string $experimentId Experiment ID of the experiment to update. |
487
|
|
|
* @param Google_Experiment $postBody |
488
|
|
|
* @param array $optParams Optional parameters. |
489
|
|
|
* @return Google_Experiment |
490
|
|
|
*/ |
491
|
|
View Code Duplication |
public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array()) { |
|
|
|
|
492
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); |
493
|
|
|
$params = array_merge($params, $optParams); |
494
|
|
|
$data = $this->__call('update', array($params)); |
495
|
|
|
if ($this->useObjects()) { |
496
|
|
|
return new Google_Experiment($data); |
497
|
|
|
} else { |
498
|
|
|
return $data; |
|
|
|
|
499
|
|
|
} |
500
|
|
|
} |
501
|
|
|
} |
502
|
|
|
/** |
503
|
|
|
* The "goals" collection of methods. |
504
|
|
|
* Typical usage is: |
505
|
|
|
* <code> |
506
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
507
|
|
|
* $goals = $analyticsService->goals; |
508
|
|
|
* </code> |
509
|
|
|
*/ |
510
|
|
|
class Google_ManagementGoalsServiceResource extends Google_ServiceResource { |
511
|
|
|
|
512
|
|
|
/** |
513
|
|
|
* Gets a goal to which the user has access. (goals.get) |
514
|
|
|
* |
515
|
|
|
* @param string $accountId Account ID to retrieve the goal for. |
516
|
|
|
* @param string $webPropertyId Web property ID to retrieve the goal for. |
517
|
|
|
* @param string $profileId View (Profile) ID to retrieve the goal for. |
518
|
|
|
* @param string $goalId Goal ID to retrieve the goal for. |
519
|
|
|
* @param array $optParams Optional parameters. |
520
|
|
|
* @return Google_Goal |
521
|
|
|
*/ |
522
|
|
View Code Duplication |
public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array()) { |
|
|
|
|
523
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId); |
524
|
|
|
$params = array_merge($params, $optParams); |
525
|
|
|
$data = $this->__call('get', array($params)); |
526
|
|
|
if ($this->useObjects()) { |
527
|
|
|
return new Google_Goal($data); |
528
|
|
|
} else { |
529
|
|
|
return $data; |
|
|
|
|
530
|
|
|
} |
531
|
|
|
} |
532
|
|
|
/** |
533
|
|
|
* Create a new goal. (goals.insert) |
534
|
|
|
* |
535
|
|
|
* @param string $accountId Account ID to create the goal for. |
536
|
|
|
* @param string $webPropertyId Web property ID to create the goal for. |
537
|
|
|
* @param string $profileId View (Profile) ID to create the goal for. |
538
|
|
|
* @param Google_Goal $postBody |
539
|
|
|
* @param array $optParams Optional parameters. |
540
|
|
|
* @return Google_Goal |
541
|
|
|
*/ |
542
|
|
View Code Duplication |
public function insert($accountId, $webPropertyId, $profileId, Google_Goal $postBody, $optParams = array()) { |
|
|
|
|
543
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); |
544
|
|
|
$params = array_merge($params, $optParams); |
545
|
|
|
$data = $this->__call('insert', array($params)); |
546
|
|
|
if ($this->useObjects()) { |
547
|
|
|
return new Google_Goal($data); |
548
|
|
|
} else { |
549
|
|
|
return $data; |
|
|
|
|
550
|
|
|
} |
551
|
|
|
} |
552
|
|
|
/** |
553
|
|
|
* Lists goals to which the user has access. (goals.list) |
554
|
|
|
* |
555
|
|
|
* @param string $accountId Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to. |
556
|
|
|
* @param string $webPropertyId Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to. |
557
|
|
|
* @param string $profileId View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to. |
558
|
|
|
* @param array $optParams Optional parameters. |
559
|
|
|
* |
560
|
|
|
* @opt_param int max-results The maximum number of goals to include in this response. |
561
|
|
|
* @opt_param int start-index An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
562
|
|
|
* @return Google_Goals |
563
|
|
|
*/ |
564
|
|
View Code Duplication |
public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) { |
|
|
|
|
565
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); |
566
|
|
|
$params = array_merge($params, $optParams); |
567
|
|
|
$data = $this->__call('list', array($params)); |
568
|
|
|
if ($this->useObjects()) { |
569
|
|
|
return new Google_Goals($data); |
570
|
|
|
} else { |
571
|
|
|
return $data; |
|
|
|
|
572
|
|
|
} |
573
|
|
|
} |
574
|
|
|
/** |
575
|
|
|
* Updates an existing view (profile). This method supports patch semantics. |
576
|
|
|
* (goals.patch) |
577
|
|
|
* |
578
|
|
|
* @param string $accountId Account ID to update the goal. |
579
|
|
|
* @param string $webPropertyId Web property ID to update the goal. |
580
|
|
|
* @param string $profileId View (Profile) ID to update the goal. |
581
|
|
|
* @param string $goalId Index of the goal to be updated. |
582
|
|
|
* @param Google_Goal $postBody |
583
|
|
|
* @param array $optParams Optional parameters. |
584
|
|
|
* @return Google_Goal |
585
|
|
|
*/ |
586
|
|
View Code Duplication |
public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Goal $postBody, $optParams = array()) { |
|
|
|
|
587
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); |
588
|
|
|
$params = array_merge($params, $optParams); |
589
|
|
|
$data = $this->__call('patch', array($params)); |
590
|
|
|
if ($this->useObjects()) { |
591
|
|
|
return new Google_Goal($data); |
592
|
|
|
} else { |
593
|
|
|
return $data; |
|
|
|
|
594
|
|
|
} |
595
|
|
|
} |
596
|
|
|
/** |
597
|
|
|
* Updates an existing view (profile). (goals.update) |
598
|
|
|
* |
599
|
|
|
* @param string $accountId Account ID to update the goal. |
600
|
|
|
* @param string $webPropertyId Web property ID to update the goal. |
601
|
|
|
* @param string $profileId View (Profile) ID to update the goal. |
602
|
|
|
* @param string $goalId Index of the goal to be updated. |
603
|
|
|
* @param Google_Goal $postBody |
604
|
|
|
* @param array $optParams Optional parameters. |
605
|
|
|
* @return Google_Goal |
606
|
|
|
*/ |
607
|
|
View Code Duplication |
public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Goal $postBody, $optParams = array()) { |
|
|
|
|
608
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); |
609
|
|
|
$params = array_merge($params, $optParams); |
610
|
|
|
$data = $this->__call('update', array($params)); |
611
|
|
|
if ($this->useObjects()) { |
612
|
|
|
return new Google_Goal($data); |
613
|
|
|
} else { |
614
|
|
|
return $data; |
|
|
|
|
615
|
|
|
} |
616
|
|
|
} |
617
|
|
|
} |
618
|
|
|
/** |
619
|
|
|
* The "profileUserLinks" collection of methods. |
620
|
|
|
* Typical usage is: |
621
|
|
|
* <code> |
622
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
623
|
|
|
* $profileUserLinks = $analyticsService->profileUserLinks; |
624
|
|
|
* </code> |
625
|
|
|
*/ |
626
|
|
|
class Google_ManagementProfileUserLinksServiceResource extends Google_ServiceResource { |
627
|
|
|
|
628
|
|
|
/** |
629
|
|
|
* Removes a user from the given view (profile). (profileUserLinks.delete) |
630
|
|
|
* |
631
|
|
|
* @param string $accountId Account ID to delete the user link for. |
632
|
|
|
* @param string $webPropertyId Web Property ID to delete the user link for. |
633
|
|
|
* @param string $profileId View (Profile) ID to delete the user link for. |
634
|
|
|
* @param string $linkId Link ID to delete the user link for. |
635
|
|
|
* @param array $optParams Optional parameters. |
636
|
|
|
*/ |
637
|
|
|
public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) { |
638
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); |
639
|
|
|
$params = array_merge($params, $optParams); |
640
|
|
|
$data = $this->__call('delete', array($params)); |
641
|
|
|
return $data; |
642
|
|
|
} |
643
|
|
|
/** |
644
|
|
|
* Adds a new user to the given view (profile). (profileUserLinks.insert) |
645
|
|
|
* |
646
|
|
|
* @param string $accountId Account ID to create the user link for. |
647
|
|
|
* @param string $webPropertyId Web Property ID to create the user link for. |
648
|
|
|
* @param string $profileId View (Profile) ID to create the user link for. |
649
|
|
|
* @param Google_EntityUserLink $postBody |
650
|
|
|
* @param array $optParams Optional parameters. |
651
|
|
|
* @return Google_EntityUserLink |
652
|
|
|
*/ |
653
|
|
View Code Duplication |
public function insert($accountId, $webPropertyId, $profileId, Google_EntityUserLink $postBody, $optParams = array()) { |
|
|
|
|
654
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); |
655
|
|
|
$params = array_merge($params, $optParams); |
656
|
|
|
$data = $this->__call('insert', array($params)); |
657
|
|
|
if ($this->useObjects()) { |
658
|
|
|
return new Google_EntityUserLink($data); |
659
|
|
|
} else { |
660
|
|
|
return $data; |
|
|
|
|
661
|
|
|
} |
662
|
|
|
} |
663
|
|
|
/** |
664
|
|
|
* Lists profile-user links for a given view (profile). (profileUserLinks.list) |
665
|
|
|
* |
666
|
|
|
* @param string $accountId Account ID which the given view (profile) belongs to. |
667
|
|
|
* @param string $webPropertyId Web Property ID which the given view (profile) belongs to. |
668
|
|
|
* @param string $profileId View (Profile) ID to retrieve the profile-user links for |
669
|
|
|
* @param array $optParams Optional parameters. |
670
|
|
|
* |
671
|
|
|
* @opt_param int max-results The maximum number of profile-user links to include in this response. |
672
|
|
|
* @opt_param int start-index An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
673
|
|
|
* @return Google_EntityUserLinks |
674
|
|
|
*/ |
675
|
|
View Code Duplication |
public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array()) { |
|
|
|
|
676
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); |
677
|
|
|
$params = array_merge($params, $optParams); |
678
|
|
|
$data = $this->__call('list', array($params)); |
679
|
|
|
if ($this->useObjects()) { |
680
|
|
|
return new Google_EntityUserLinks($data); |
681
|
|
|
} else { |
682
|
|
|
return $data; |
|
|
|
|
683
|
|
|
} |
684
|
|
|
} |
685
|
|
|
/** |
686
|
|
|
* Updates permissions for an existing user on the given view (profile). |
687
|
|
|
* (profileUserLinks.update) |
688
|
|
|
* |
689
|
|
|
* @param string $accountId Account ID to update the user link for. |
690
|
|
|
* @param string $webPropertyId Web Property ID to update the user link for. |
691
|
|
|
* @param string $profileId View (Profile ID) to update the user link for. |
692
|
|
|
* @param string $linkId Link ID to update the user link for. |
693
|
|
|
* @param Google_EntityUserLink $postBody |
694
|
|
|
* @param array $optParams Optional parameters. |
695
|
|
|
* @return Google_EntityUserLink |
696
|
|
|
*/ |
697
|
|
View Code Duplication |
public function update($accountId, $webPropertyId, $profileId, $linkId, Google_EntityUserLink $postBody, $optParams = array()) { |
|
|
|
|
698
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); |
699
|
|
|
$params = array_merge($params, $optParams); |
700
|
|
|
$data = $this->__call('update', array($params)); |
701
|
|
|
if ($this->useObjects()) { |
702
|
|
|
return new Google_EntityUserLink($data); |
703
|
|
|
} else { |
704
|
|
|
return $data; |
|
|
|
|
705
|
|
|
} |
706
|
|
|
} |
707
|
|
|
} |
708
|
|
|
/** |
709
|
|
|
* The "profiles" collection of methods. |
710
|
|
|
* Typical usage is: |
711
|
|
|
* <code> |
712
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
713
|
|
|
* $profiles = $analyticsService->profiles; |
714
|
|
|
* </code> |
715
|
|
|
*/ |
716
|
|
|
class Google_ManagementProfilesServiceResource extends Google_ServiceResource { |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* Deletes a view (profile). (profiles.delete) |
720
|
|
|
* |
721
|
|
|
* @param string $accountId Account ID to delete the view (profile) for. |
722
|
|
|
* @param string $webPropertyId Web property ID to delete the view (profile) for. |
723
|
|
|
* @param string $profileId ID of the view (profile) to be deleted. |
724
|
|
|
* @param array $optParams Optional parameters. |
725
|
|
|
*/ |
726
|
|
|
public function delete($accountId, $webPropertyId, $profileId, $optParams = array()) { |
727
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); |
728
|
|
|
$params = array_merge($params, $optParams); |
729
|
|
|
$data = $this->__call('delete', array($params)); |
730
|
|
|
return $data; |
731
|
|
|
} |
732
|
|
|
/** |
733
|
|
|
* Gets a view (profile) to which the user has access. (profiles.get) |
734
|
|
|
* |
735
|
|
|
* @param string $accountId Account ID to retrieve the goal for. |
736
|
|
|
* @param string $webPropertyId Web property ID to retrieve the goal for. |
737
|
|
|
* @param string $profileId View (Profile) ID to retrieve the goal for. |
738
|
|
|
* @param array $optParams Optional parameters. |
739
|
|
|
* @return Google_Profile |
740
|
|
|
*/ |
741
|
|
View Code Duplication |
public function get($accountId, $webPropertyId, $profileId, $optParams = array()) { |
|
|
|
|
742
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); |
743
|
|
|
$params = array_merge($params, $optParams); |
744
|
|
|
$data = $this->__call('get', array($params)); |
745
|
|
|
if ($this->useObjects()) { |
746
|
|
|
return new Google_Profile($data); |
747
|
|
|
} else { |
748
|
|
|
return $data; |
|
|
|
|
749
|
|
|
} |
750
|
|
|
} |
751
|
|
|
/** |
752
|
|
|
* Create a new view (profile). (profiles.insert) |
753
|
|
|
* |
754
|
|
|
* @param string $accountId Account ID to create the view (profile) for. |
755
|
|
|
* @param string $webPropertyId Web property ID to create the view (profile) for. |
756
|
|
|
* @param Google_Profile $postBody |
757
|
|
|
* @param array $optParams Optional parameters. |
758
|
|
|
* @return Google_Profile |
759
|
|
|
*/ |
760
|
|
View Code Duplication |
public function insert($accountId, $webPropertyId, Google_Profile $postBody, $optParams = array()) { |
|
|
|
|
761
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); |
762
|
|
|
$params = array_merge($params, $optParams); |
763
|
|
|
$data = $this->__call('insert', array($params)); |
764
|
|
|
if ($this->useObjects()) { |
765
|
|
|
return new Google_Profile($data); |
766
|
|
|
} else { |
767
|
|
|
return $data; |
|
|
|
|
768
|
|
|
} |
769
|
|
|
} |
770
|
|
|
/** |
771
|
|
|
* Lists views (profiles) to which the user has access. (profiles.list) |
772
|
|
|
* |
773
|
|
|
* @param string $accountId Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access. |
774
|
|
|
* @param string $webPropertyId Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access. |
775
|
|
|
* @param array $optParams Optional parameters. |
776
|
|
|
* |
777
|
|
|
* @opt_param int max-results The maximum number of views (profiles) to include in this response. |
778
|
|
|
* @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
779
|
|
|
* @return Google_Profiles |
780
|
|
|
*/ |
781
|
|
|
public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) { |
782
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); |
783
|
|
|
$params = array_merge($params, $optParams); |
784
|
|
|
$data = $this->__call('list', array($params)); |
785
|
|
|
if ($this->useObjects()) { |
786
|
|
|
return new Google_Profiles($data); |
787
|
|
|
} else { |
788
|
|
|
return $data; |
|
|
|
|
789
|
|
|
} |
790
|
|
|
} |
791
|
|
|
/** |
792
|
|
|
* Updates an existing view (profile). This method supports patch semantics. |
793
|
|
|
* (profiles.patch) |
794
|
|
|
* |
795
|
|
|
* @param string $accountId Account ID to which the view (profile) belongs |
796
|
|
|
* @param string $webPropertyId Web property ID to which the view (profile) belongs |
797
|
|
|
* @param string $profileId ID of the view (profile) to be updated. |
798
|
|
|
* @param Google_Profile $postBody |
799
|
|
|
* @param array $optParams Optional parameters. |
800
|
|
|
* @return Google_Profile |
801
|
|
|
*/ |
802
|
|
View Code Duplication |
public function patch($accountId, $webPropertyId, $profileId, Google_Profile $postBody, $optParams = array()) { |
|
|
|
|
803
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); |
804
|
|
|
$params = array_merge($params, $optParams); |
805
|
|
|
$data = $this->__call('patch', array($params)); |
806
|
|
|
if ($this->useObjects()) { |
807
|
|
|
return new Google_Profile($data); |
808
|
|
|
} else { |
809
|
|
|
return $data; |
|
|
|
|
810
|
|
|
} |
811
|
|
|
} |
812
|
|
|
/** |
813
|
|
|
* Updates an existing view (profile). (profiles.update) |
814
|
|
|
* |
815
|
|
|
* @param string $accountId Account ID to which the view (profile) belongs |
816
|
|
|
* @param string $webPropertyId Web property ID to which the view (profile) belongs |
817
|
|
|
* @param string $profileId ID of the view (profile) to be updated. |
818
|
|
|
* @param Google_Profile $postBody |
819
|
|
|
* @param array $optParams Optional parameters. |
820
|
|
|
* @return Google_Profile |
821
|
|
|
*/ |
822
|
|
View Code Duplication |
public function update($accountId, $webPropertyId, $profileId, Google_Profile $postBody, $optParams = array()) { |
|
|
|
|
823
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); |
824
|
|
|
$params = array_merge($params, $optParams); |
825
|
|
|
$data = $this->__call('update', array($params)); |
826
|
|
|
if ($this->useObjects()) { |
827
|
|
|
return new Google_Profile($data); |
828
|
|
|
} else { |
829
|
|
|
return $data; |
|
|
|
|
830
|
|
|
} |
831
|
|
|
} |
832
|
|
|
} |
833
|
|
|
/** |
834
|
|
|
* The "segments" collection of methods. |
835
|
|
|
* Typical usage is: |
836
|
|
|
* <code> |
837
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
838
|
|
|
* $segments = $analyticsService->segments; |
839
|
|
|
* </code> |
840
|
|
|
*/ |
841
|
|
View Code Duplication |
class Google_ManagementSegmentsServiceResource extends Google_ServiceResource { |
|
|
|
|
842
|
|
|
|
843
|
|
|
/** |
844
|
|
|
* Lists advanced segments to which the user has access. (segments.list) |
845
|
|
|
* |
846
|
|
|
* @param array $optParams Optional parameters. |
847
|
|
|
* |
848
|
|
|
* @opt_param int max-results The maximum number of advanced segments to include in this response. |
849
|
|
|
* @opt_param int start-index An index of the first advanced segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
850
|
|
|
* @return Google_Segments |
851
|
|
|
*/ |
852
|
|
|
public function listManagementSegments($optParams = array()) { |
853
|
|
|
$params = array(); |
854
|
|
|
$params = array_merge($params, $optParams); |
855
|
|
|
$data = $this->__call('list', array($params)); |
856
|
|
|
if ($this->useObjects()) { |
857
|
|
|
return new Google_Segments($data); |
858
|
|
|
} else { |
859
|
|
|
return $data; |
|
|
|
|
860
|
|
|
} |
861
|
|
|
} |
862
|
|
|
} |
863
|
|
|
/** |
864
|
|
|
* The "uploads" collection of methods. |
865
|
|
|
* Typical usage is: |
866
|
|
|
* <code> |
867
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
868
|
|
|
* $uploads = $analyticsService->uploads; |
869
|
|
|
* </code> |
870
|
|
|
*/ |
871
|
|
|
class Google_ManagementUploadsServiceResource extends Google_ServiceResource { |
872
|
|
|
|
873
|
|
|
/** |
874
|
|
|
* Delete data associated with a previous upload. (uploads.deleteUploadData) |
875
|
|
|
* |
876
|
|
|
* @param string $accountId Account Id for the uploads to be deleted. |
877
|
|
|
* @param string $webPropertyId Web property Id for the uploads to be deleted. |
878
|
|
|
* @param string $customDataSourceId Custom data source Id for the uploads to be deleted. |
879
|
|
|
* @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody |
880
|
|
|
* @param array $optParams Optional parameters. |
881
|
|
|
*/ |
882
|
|
View Code Duplication |
public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array()) { |
|
|
|
|
883
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody); |
884
|
|
|
$params = array_merge($params, $optParams); |
885
|
|
|
$data = $this->__call('deleteUploadData', array($params)); |
886
|
|
|
return $data; |
887
|
|
|
} |
888
|
|
|
/** |
889
|
|
|
* List uploads to which the user has access. (uploads.get) |
890
|
|
|
* |
891
|
|
|
* @param string $accountId Account Id for the upload to retrieve. |
892
|
|
|
* @param string $webPropertyId Web property Id for the upload to retrieve. |
893
|
|
|
* @param string $customDataSourceId Custom data source Id for upload to retrieve. |
894
|
|
|
* @param string $uploadId Upload Id to retrieve. |
895
|
|
|
* @param array $optParams Optional parameters. |
896
|
|
|
* @return Google_Upload |
897
|
|
|
*/ |
898
|
|
View Code Duplication |
public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array()) { |
|
|
|
|
899
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId); |
900
|
|
|
$params = array_merge($params, $optParams); |
901
|
|
|
$data = $this->__call('get', array($params)); |
902
|
|
|
if ($this->useObjects()) { |
903
|
|
|
return new Google_Upload($data); |
904
|
|
|
} else { |
905
|
|
|
return $data; |
|
|
|
|
906
|
|
|
} |
907
|
|
|
} |
908
|
|
|
/** |
909
|
|
|
* List uploads to which the user has access. (uploads.list) |
910
|
|
|
* |
911
|
|
|
* @param string $accountId Account Id for the uploads to retrieve. |
912
|
|
|
* @param string $webPropertyId Web property Id for the uploads to retrieve. |
913
|
|
|
* @param string $customDataSourceId Custom data source Id for uploads to retrieve. |
914
|
|
|
* @param array $optParams Optional parameters. |
915
|
|
|
* |
916
|
|
|
* @opt_param int max-results The maximum number of uploads to include in this response. |
917
|
|
|
* @opt_param int start-index A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
918
|
|
|
* @return Google_Uploads |
919
|
|
|
*/ |
920
|
|
View Code Duplication |
public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) { |
|
|
|
|
921
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); |
922
|
|
|
$params = array_merge($params, $optParams); |
923
|
|
|
$data = $this->__call('list', array($params)); |
924
|
|
|
if ($this->useObjects()) { |
925
|
|
|
return new Google_Uploads($data); |
926
|
|
|
} else { |
927
|
|
|
return $data; |
|
|
|
|
928
|
|
|
} |
929
|
|
|
} |
930
|
|
|
/** |
931
|
|
|
* Upload/Overwrite data for a custom data source. (uploads.uploadData) |
932
|
|
|
* |
933
|
|
|
* @param string $accountId Account Id associated with the upload. |
934
|
|
|
* @param string $webPropertyId Web property UA-string associated with the upload. |
935
|
|
|
* @param string $customDataSourceId Custom data source Id to which the data being uploaded belongs. |
936
|
|
|
* @param array $optParams Optional parameters. |
937
|
|
|
* @return Google_Upload |
938
|
|
|
*/ |
939
|
|
View Code Duplication |
public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) { |
|
|
|
|
940
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); |
941
|
|
|
$params = array_merge($params, $optParams); |
942
|
|
|
$data = $this->__call('uploadData', array($params)); |
943
|
|
|
if ($this->useObjects()) { |
944
|
|
|
return new Google_Upload($data); |
945
|
|
|
} else { |
946
|
|
|
return $data; |
|
|
|
|
947
|
|
|
} |
948
|
|
|
} |
949
|
|
|
} |
950
|
|
|
/** |
951
|
|
|
* The "webproperties" collection of methods. |
952
|
|
|
* Typical usage is: |
953
|
|
|
* <code> |
954
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
955
|
|
|
* $webproperties = $analyticsService->webproperties; |
956
|
|
|
* </code> |
957
|
|
|
*/ |
958
|
|
|
class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource { |
959
|
|
|
|
960
|
|
|
/** |
961
|
|
|
* Gets a web property to which the user has access. (webproperties.get) |
962
|
|
|
* |
963
|
|
|
* @param string $accountId Account ID to retrieve the web property for. |
964
|
|
|
* @param string $webPropertyId ID to retrieve the web property for. |
965
|
|
|
* @param array $optParams Optional parameters. |
966
|
|
|
* @return Google_Webproperty |
967
|
|
|
*/ |
968
|
|
|
public function get($accountId, $webPropertyId, $optParams = array()) { |
969
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); |
970
|
|
|
$params = array_merge($params, $optParams); |
971
|
|
|
$data = $this->__call('get', array($params)); |
972
|
|
|
if ($this->useObjects()) { |
973
|
|
|
return new Google_Webproperty($data); |
974
|
|
|
} else { |
975
|
|
|
return $data; |
|
|
|
|
976
|
|
|
} |
977
|
|
|
} |
978
|
|
|
/** |
979
|
|
|
* Create a new property if the account has fewer than 20 properties. |
980
|
|
|
* (webproperties.insert) |
981
|
|
|
* |
982
|
|
|
* @param string $accountId Account ID to create the web property for. |
983
|
|
|
* @param Google_Webproperty $postBody |
984
|
|
|
* @param array $optParams Optional parameters. |
985
|
|
|
* @return Google_Webproperty |
986
|
|
|
*/ |
987
|
|
|
public function insert($accountId, Google_Webproperty $postBody, $optParams = array()) { |
988
|
|
|
$params = array('accountId' => $accountId, 'postBody' => $postBody); |
989
|
|
|
$params = array_merge($params, $optParams); |
990
|
|
|
$data = $this->__call('insert', array($params)); |
991
|
|
|
if ($this->useObjects()) { |
992
|
|
|
return new Google_Webproperty($data); |
993
|
|
|
} else { |
994
|
|
|
return $data; |
|
|
|
|
995
|
|
|
} |
996
|
|
|
} |
997
|
|
|
/** |
998
|
|
|
* Lists web properties to which the user has access. (webproperties.list) |
999
|
|
|
* |
1000
|
|
|
* @param string $accountId Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to. |
1001
|
|
|
* @param array $optParams Optional parameters. |
1002
|
|
|
* |
1003
|
|
|
* @opt_param int max-results The maximum number of web properties to include in this response. |
1004
|
|
|
* @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
1005
|
|
|
* @return Google_Webproperties |
1006
|
|
|
*/ |
1007
|
|
|
public function listManagementWebproperties($accountId, $optParams = array()) { |
1008
|
|
|
$params = array('accountId' => $accountId); |
1009
|
|
|
$params = array_merge($params, $optParams); |
1010
|
|
|
$data = $this->__call('list', array($params)); |
1011
|
|
|
if ($this->useObjects()) { |
1012
|
|
|
return new Google_Webproperties($data); |
1013
|
|
|
} else { |
1014
|
|
|
return $data; |
|
|
|
|
1015
|
|
|
} |
1016
|
|
|
} |
1017
|
|
|
/** |
1018
|
|
|
* Updates an existing web property. This method supports patch semantics. |
1019
|
|
|
* (webproperties.patch) |
1020
|
|
|
* |
1021
|
|
|
* @param string $accountId Account ID to which the web property belongs |
1022
|
|
|
* @param string $webPropertyId Web property ID |
1023
|
|
|
* @param Google_Webproperty $postBody |
1024
|
|
|
* @param array $optParams Optional parameters. |
1025
|
|
|
* @return Google_Webproperty |
1026
|
|
|
*/ |
1027
|
|
View Code Duplication |
public function patch($accountId, $webPropertyId, Google_Webproperty $postBody, $optParams = array()) { |
|
|
|
|
1028
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); |
1029
|
|
|
$params = array_merge($params, $optParams); |
1030
|
|
|
$data = $this->__call('patch', array($params)); |
1031
|
|
|
if ($this->useObjects()) { |
1032
|
|
|
return new Google_Webproperty($data); |
1033
|
|
|
} else { |
1034
|
|
|
return $data; |
|
|
|
|
1035
|
|
|
} |
1036
|
|
|
} |
1037
|
|
|
/** |
1038
|
|
|
* Updates an existing web property. (webproperties.update) |
1039
|
|
|
* |
1040
|
|
|
* @param string $accountId Account ID to which the web property belongs |
1041
|
|
|
* @param string $webPropertyId Web property ID |
1042
|
|
|
* @param Google_Webproperty $postBody |
1043
|
|
|
* @param array $optParams Optional parameters. |
1044
|
|
|
* @return Google_Webproperty |
1045
|
|
|
*/ |
1046
|
|
View Code Duplication |
public function update($accountId, $webPropertyId, Google_Webproperty $postBody, $optParams = array()) { |
|
|
|
|
1047
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); |
1048
|
|
|
$params = array_merge($params, $optParams); |
1049
|
|
|
$data = $this->__call('update', array($params)); |
1050
|
|
|
if ($this->useObjects()) { |
1051
|
|
|
return new Google_Webproperty($data); |
1052
|
|
|
} else { |
1053
|
|
|
return $data; |
|
|
|
|
1054
|
|
|
} |
1055
|
|
|
} |
1056
|
|
|
} |
1057
|
|
|
/** |
1058
|
|
|
* The "webpropertyUserLinks" collection of methods. |
1059
|
|
|
* Typical usage is: |
1060
|
|
|
* <code> |
1061
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
1062
|
|
|
* $webpropertyUserLinks = $analyticsService->webpropertyUserLinks; |
1063
|
|
|
* </code> |
1064
|
|
|
*/ |
1065
|
|
|
class Google_ManagementWebpropertyUserLinksServiceResource extends Google_ServiceResource { |
1066
|
|
|
|
1067
|
|
|
/** |
1068
|
|
|
* Removes a user from the given web property. (webpropertyUserLinks.delete) |
1069
|
|
|
* |
1070
|
|
|
* @param string $accountId Account ID to delete the user link for. |
1071
|
|
|
* @param string $webPropertyId Web Property ID to delete the user link for. |
1072
|
|
|
* @param string $linkId Link ID to delete the user link for. |
1073
|
|
|
* @param array $optParams Optional parameters. |
1074
|
|
|
*/ |
1075
|
|
|
public function delete($accountId, $webPropertyId, $linkId, $optParams = array()) { |
1076
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId); |
1077
|
|
|
$params = array_merge($params, $optParams); |
1078
|
|
|
$data = $this->__call('delete', array($params)); |
1079
|
|
|
return $data; |
1080
|
|
|
} |
1081
|
|
|
/** |
1082
|
|
|
* Adds a new user to the given web property. (webpropertyUserLinks.insert) |
1083
|
|
|
* |
1084
|
|
|
* @param string $accountId Account ID to create the user link for. |
1085
|
|
|
* @param string $webPropertyId Web Property ID to create the user link for. |
1086
|
|
|
* @param Google_EntityUserLink $postBody |
1087
|
|
|
* @param array $optParams Optional parameters. |
1088
|
|
|
* @return Google_EntityUserLink |
1089
|
|
|
*/ |
1090
|
|
View Code Duplication |
public function insert($accountId, $webPropertyId, Google_EntityUserLink $postBody, $optParams = array()) { |
|
|
|
|
1091
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); |
1092
|
|
|
$params = array_merge($params, $optParams); |
1093
|
|
|
$data = $this->__call('insert', array($params)); |
1094
|
|
|
if ($this->useObjects()) { |
1095
|
|
|
return new Google_EntityUserLink($data); |
1096
|
|
|
} else { |
1097
|
|
|
return $data; |
|
|
|
|
1098
|
|
|
} |
1099
|
|
|
} |
1100
|
|
|
/** |
1101
|
|
|
* Lists webProperty-user links for a given web property. |
1102
|
|
|
* (webpropertyUserLinks.list) |
1103
|
|
|
* |
1104
|
|
|
* @param string $accountId Account ID which the given web property belongs to. |
1105
|
|
|
* @param string $webPropertyId Web Property ID for the webProperty-user links to retrieve. |
1106
|
|
|
* @param array $optParams Optional parameters. |
1107
|
|
|
* |
1108
|
|
|
* @opt_param int max-results The maximum number of webProperty-user Links to include in this response. |
1109
|
|
|
* @opt_param int start-index An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
1110
|
|
|
* @return Google_EntityUserLinks |
1111
|
|
|
*/ |
1112
|
|
|
public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array()) { |
1113
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); |
1114
|
|
|
$params = array_merge($params, $optParams); |
1115
|
|
|
$data = $this->__call('list', array($params)); |
1116
|
|
|
if ($this->useObjects()) { |
1117
|
|
|
return new Google_EntityUserLinks($data); |
1118
|
|
|
} else { |
1119
|
|
|
return $data; |
|
|
|
|
1120
|
|
|
} |
1121
|
|
|
} |
1122
|
|
|
/** |
1123
|
|
|
* Updates permissions for an existing user on the given web property. |
1124
|
|
|
* (webpropertyUserLinks.update) |
1125
|
|
|
* |
1126
|
|
|
* @param string $accountId Account ID to update the account-user link for. |
1127
|
|
|
* @param string $webPropertyId Web property ID to update the account-user link for. |
1128
|
|
|
* @param string $linkId Link ID to update the account-user link for. |
1129
|
|
|
* @param Google_EntityUserLink $postBody |
1130
|
|
|
* @param array $optParams Optional parameters. |
1131
|
|
|
* @return Google_EntityUserLink |
1132
|
|
|
*/ |
1133
|
|
View Code Duplication |
public function update($accountId, $webPropertyId, $linkId, Google_EntityUserLink $postBody, $optParams = array()) { |
|
|
|
|
1134
|
|
|
$params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody); |
1135
|
|
|
$params = array_merge($params, $optParams); |
1136
|
|
|
$data = $this->__call('update', array($params)); |
1137
|
|
|
if ($this->useObjects()) { |
1138
|
|
|
return new Google_EntityUserLink($data); |
1139
|
|
|
} else { |
1140
|
|
|
return $data; |
|
|
|
|
1141
|
|
|
} |
1142
|
|
|
} |
1143
|
|
|
} |
1144
|
|
|
|
1145
|
|
|
/** |
1146
|
|
|
* The "metadata" collection of methods. |
1147
|
|
|
* Typical usage is: |
1148
|
|
|
* <code> |
1149
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
1150
|
|
|
* $metadata = $analyticsService->metadata; |
1151
|
|
|
* </code> |
1152
|
|
|
*/ |
1153
|
|
|
class Google_MetadataServiceResource extends Google_ServiceResource { |
1154
|
|
|
|
1155
|
|
|
} |
1156
|
|
|
|
1157
|
|
|
/** |
1158
|
|
|
* The "columns" collection of methods. |
1159
|
|
|
* Typical usage is: |
1160
|
|
|
* <code> |
1161
|
|
|
* $analyticsService = new Google_AnalyticsService(...); |
1162
|
|
|
* $columns = $analyticsService->columns; |
1163
|
|
|
* </code> |
1164
|
|
|
*/ |
1165
|
|
View Code Duplication |
class Google_MetadataColumnsServiceResource extends Google_ServiceResource { |
|
|
|
|
1166
|
|
|
|
1167
|
|
|
/** |
1168
|
|
|
* Lists all columns for a report type (columns.list) |
1169
|
|
|
* |
1170
|
|
|
* @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API |
1171
|
|
|
* @param array $optParams Optional parameters. |
1172
|
|
|
* @return Google_Columns |
1173
|
|
|
*/ |
1174
|
|
|
public function listMetadataColumns($reportType, $optParams = array()) { |
1175
|
|
|
$params = array('reportType' => $reportType); |
1176
|
|
|
$params = array_merge($params, $optParams); |
1177
|
|
|
$data = $this->__call('list', array($params)); |
1178
|
|
|
if ($this->useObjects()) { |
1179
|
|
|
return new Google_Columns($data); |
1180
|
|
|
} else { |
1181
|
|
|
return $data; |
|
|
|
|
1182
|
|
|
} |
1183
|
|
|
} |
1184
|
|
|
} |
1185
|
|
|
|
1186
|
|
|
/** |
1187
|
|
|
* Service definition for Google_Analytics (v3). |
1188
|
|
|
* |
1189
|
|
|
* <p> |
1190
|
|
|
* View and manage your Google Analytics data |
1191
|
|
|
* </p> |
1192
|
|
|
* |
1193
|
|
|
* <p> |
1194
|
|
|
* For more information about this service, see the |
1195
|
|
|
* <a href="https://developers.google.com/analytics/" target="_blank">API Documentation</a> |
1196
|
|
|
* </p> |
1197
|
|
|
* |
1198
|
|
|
* @author Google, Inc. |
1199
|
|
|
*/ |
1200
|
|
|
class Google_AnalyticsService extends Google_Service { |
1201
|
|
|
public $data_ga; |
1202
|
|
|
public $data_mcf; |
1203
|
|
|
public $data_realtime; |
1204
|
|
|
public $management_accountUserLinks; |
1205
|
|
|
public $management_accounts; |
1206
|
|
|
public $management_customDataSources; |
1207
|
|
|
public $management_dailyUploads; |
1208
|
|
|
public $management_experiments; |
1209
|
|
|
public $management_goals; |
1210
|
|
|
public $management_profileUserLinks; |
1211
|
|
|
public $management_profiles; |
1212
|
|
|
public $management_segments; |
1213
|
|
|
public $management_uploads; |
1214
|
|
|
public $management_webproperties; |
1215
|
|
|
public $management_webpropertyUserLinks; |
1216
|
|
|
public $metadata_columns; |
1217
|
|
|
/** |
1218
|
|
|
* Constructs the internal representation of the Analytics service. |
1219
|
|
|
* |
1220
|
|
|
* @param Google_Client $client |
1221
|
|
|
*/ |
1222
|
|
|
public function __construct(Google_Client $client) { |
1223
|
|
|
$this->servicePath = 'analytics/v3/'; |
1224
|
|
|
$this->version = 'v3'; |
1225
|
|
|
$this->serviceName = 'analytics'; |
|
|
|
|
1226
|
|
|
|
1227
|
|
|
$client->addService($this->serviceName, $this->version); |
|
|
|
|
1228
|
|
|
$this->data_ga = new Google_DataGaServiceResource($this, $this->serviceName, 'ga', json_decode('{"methods": {"get": {"id": "analytics.data.ga.get", "path": "data/ga", "httpMethod": "GET", "parameters": {"dimensions": {"type": "string", "location": "query"}, "end-date": {"type": "string", "required": true, "location": "query"}, "filters": {"type": "string", "location": "query"}, "ids": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "metrics": {"type": "string", "required": true, "location": "query"}, "segment": {"type": "string", "location": "query"}, "sort": {"type": "string", "location": "query"}, "start-date": {"type": "string", "required": true, "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "GaData"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1229
|
|
|
$this->data_mcf = new Google_DataMcfServiceResource($this, $this->serviceName, 'mcf', json_decode('{"methods": {"get": {"id": "analytics.data.mcf.get", "path": "data/mcf", "httpMethod": "GET", "parameters": {"dimensions": {"type": "string", "location": "query"}, "end-date": {"type": "string", "required": true, "location": "query"}, "filters": {"type": "string", "location": "query"}, "ids": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "metrics": {"type": "string", "required": true, "location": "query"}, "sort": {"type": "string", "location": "query"}, "start-date": {"type": "string", "required": true, "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "McfData"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1230
|
|
|
$this->data_realtime = new Google_DataRealtimeServiceResource($this, $this->serviceName, 'realtime', json_decode('{"methods": {"get": {"id": "analytics.data.realtime.get", "path": "data/realtime", "httpMethod": "GET", "parameters": {"dimensions": {"type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "ids": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "metrics": {"type": "string", "required": true, "location": "query"}, "sort": {"type": "string", "location": "query"}}, "response": {"$ref": "RealtimeData"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1231
|
|
|
$this->management_accountUserLinks = new Google_ManagementAccountUserLinksServiceResource($this, $this->serviceName, 'accountUserLinks', json_decode('{"methods": {"delete": {"id": "analytics.management.accountUserLinks.delete", "path": "management/accounts/{accountId}/entityUserLinks/{linkId}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "linkId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "insert": {"id": "analytics.management.accountUserLinks.insert", "path": "management/accounts/{accountId}/entityUserLinks", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "EntityUserLink"}, "response": {"$ref": "EntityUserLink"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "list": {"id": "analytics.management.accountUserLinks.list", "path": "management/accounts/{accountId}/entityUserLinks", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "EntityUserLinks"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "update": {"id": "analytics.management.accountUserLinks.update", "path": "management/accounts/{accountId}/entityUserLinks/{linkId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "linkId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "EntityUserLink"}, "response": {"$ref": "EntityUserLink"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}}}', true)); |
1232
|
|
|
$this->management_accounts = new Google_ManagementAccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"list": {"id": "analytics.management.accounts.list", "path": "management/accounts", "httpMethod": "GET", "parameters": {"max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "Accounts"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1233
|
|
|
$this->management_customDataSources = new Google_ManagementCustomDataSourcesServiceResource($this, $this->serviceName, 'customDataSources', json_decode('{"methods": {"list": {"id": "analytics.management.customDataSources.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CustomDataSources"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1234
|
|
|
$this->management_dailyUploads = new Google_ManagementDailyUploadsServiceResource($this, $this->serviceName, 'dailyUploads', json_decode('{"methods": {"delete": {"id": "analytics.management.dailyUploads.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "date": {"type": "string", "required": true, "location": "path"}, "type": {"type": "string", "required": true, "enum": ["cost"], "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.dailyUploads.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "end-date": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "start-date": {"type": "string", "required": true, "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "DailyUploads"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "upload": {"id": "analytics.management.dailyUploads.upload", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "appendNumber": {"type": "integer", "required": true, "format": "int32", "minimum": "1", "maximum": "20", "location": "query"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "date": {"type": "string", "required": true, "location": "path"}, "reset": {"type": "boolean", "default": "false", "location": "query"}, "type": {"type": "string", "required": true, "enum": ["cost"], "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "DailyUploadAppend"}, "scopes": ["https://www.googleapis.com/auth/analytics"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["application/octet-stream"], "maxSize": "5MB", "protocols": {"simple": {"multipart": true, "path": "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads"}, "resumable": {"multipart": true, "path": "/resumable/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads"}}}}}}', true)); |
1235
|
|
|
$this->management_experiments = new Google_ManagementExperimentsServiceResource($this, $this->serviceName, 'experiments', json_decode('{"methods": {"delete": {"id": "analytics.management.experiments.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "get": {"id": "analytics.management.experiments.get", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "insert": {"id": "analytics.management.experiments.insert", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Experiment"}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.experiments.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "profileId": {"type": "string", "required": true, "location": "path"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Experiments"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "patch": {"id": "analytics.management.experiments.patch", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "PATCH", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Experiment"}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "update": {"id": "analytics.management.experiments.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Experiment"}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}}}', true)); |
1236
|
|
|
$this->management_goals = new Google_ManagementGoalsServiceResource($this, $this->serviceName, 'goals', json_decode('{"methods": {"get": {"id": "analytics.management.goals.get", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "goalId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Goal"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "insert": {"id": "analytics.management.goals.insert", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Goal"}, "response": {"$ref": "Goal"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.goals.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "profileId": {"type": "string", "required": true, "location": "path"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Goals"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "patch": {"id": "analytics.management.goals.patch", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", "httpMethod": "PATCH", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "goalId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Goal"}, "response": {"$ref": "Goal"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "update": {"id": "analytics.management.goals.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "goalId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Goal"}, "response": {"$ref": "Goal"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}}}', true)); |
1237
|
|
|
$this->management_profileUserLinks = new Google_ManagementProfileUserLinksServiceResource($this, $this->serviceName, 'profileUserLinks', json_decode('{"methods": {"delete": {"id": "analytics.management.profileUserLinks.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "linkId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "insert": {"id": "analytics.management.profileUserLinks.insert", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "EntityUserLink"}, "response": {"$ref": "EntityUserLink"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "list": {"id": "analytics.management.profileUserLinks.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "profileId": {"type": "string", "required": true, "location": "path"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "EntityUserLinks"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "update": {"id": "analytics.management.profileUserLinks.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "linkId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "EntityUserLink"}, "response": {"$ref": "EntityUserLink"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}}}', true)); |
1238
|
|
|
$this->management_profiles = new Google_ManagementProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"delete": {"id": "analytics.management.profiles.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "get": {"id": "analytics.management.profiles.get", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Profile"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "insert": {"id": "analytics.management.profiles.insert", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Profile"}, "response": {"$ref": "Profile"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.profiles.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Profiles"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "patch": {"id": "analytics.management.profiles.patch", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", "httpMethod": "PATCH", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Profile"}, "response": {"$ref": "Profile"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "update": {"id": "analytics.management.profiles.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Profile"}, "response": {"$ref": "Profile"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}}}', true)); |
1239
|
|
|
$this->management_segments = new Google_ManagementSegmentsServiceResource($this, $this->serviceName, 'segments', json_decode('{"methods": {"list": {"id": "analytics.management.segments.list", "path": "management/segments", "httpMethod": "GET", "parameters": {"max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "Segments"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1240
|
|
|
$this->management_uploads = new Google_ManagementUploadsServiceResource($this, $this->serviceName, 'uploads', json_decode('{"methods": {"deleteUploadData": {"id": "analytics.management.uploads.deleteUploadData", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "AnalyticsDataimportDeleteUploadDataRequest"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "get": {"id": "analytics.management.uploads.get", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "uploadId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Upload"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "list": {"id": "analytics.management.uploads.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Uploads"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "uploadData": {"id": "analytics.management.uploads.uploadData", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Upload"}, "scopes": ["https://www.googleapis.com/auth/analytics"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["application/octet-stream"], "maxSize": "1GB", "protocols": {"simple": {"multipart": true, "path": "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads"}, "resumable": {"multipart": true, "path": "/resumable/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads"}}}}}}', true)); |
1241
|
|
|
$this->management_webproperties = new Google_ManagementWebpropertiesServiceResource($this, $this->serviceName, 'webproperties', json_decode('{"methods": {"get": {"id": "analytics.management.webproperties.get", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Webproperty"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "insert": {"id": "analytics.management.webproperties.insert", "path": "management/accounts/{accountId}/webproperties", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Webproperty"}, "response": {"$ref": "Webproperty"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.webproperties.list", "path": "management/accounts/{accountId}/webproperties", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "Webproperties"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "patch": {"id": "analytics.management.webproperties.patch", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}", "httpMethod": "PATCH", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Webproperty"}, "response": {"$ref": "Webproperty"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "update": {"id": "analytics.management.webproperties.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Webproperty"}, "response": {"$ref": "Webproperty"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}}}', true)); |
1242
|
|
|
$this->management_webpropertyUserLinks = new Google_ManagementWebpropertyUserLinksServiceResource($this, $this->serviceName, 'webpropertyUserLinks', json_decode('{"methods": {"delete": {"id": "analytics.management.webpropertyUserLinks.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "linkId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "insert": {"id": "analytics.management.webpropertyUserLinks.insert", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "EntityUserLink"}, "response": {"$ref": "EntityUserLink"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "list": {"id": "analytics.management.webpropertyUserLinks.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "EntityUserLinks"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}, "update": {"id": "analytics.management.webpropertyUserLinks.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "linkId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "EntityUserLink"}, "response": {"$ref": "EntityUserLink"}, "scopes": ["https://www.googleapis.com/auth/analytics.manage.users"]}}}', true)); |
1243
|
|
|
$this->metadata_columns = new Google_MetadataColumnsServiceResource($this, $this->serviceName, 'columns', json_decode('{"methods": {"list": {"id": "analytics.metadata.columns.list", "path": "metadata/{reportType}/columns", "httpMethod": "GET", "parameters": {"reportType": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Columns"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true)); |
1244
|
|
|
|
1245
|
|
|
} |
1246
|
|
|
} |
1247
|
|
|
|
1248
|
|
|
|
1249
|
|
|
|
1250
|
|
|
class Google_Account extends Google_Model { |
1251
|
|
|
protected $__childLinkType = 'Google_AccountChildLink'; |
1252
|
|
|
protected $__childLinkDataType = ''; |
1253
|
|
|
public $childLink; |
1254
|
|
|
public $created; |
1255
|
|
|
public $id; |
1256
|
|
|
public $kind; |
1257
|
|
|
public $name; |
1258
|
|
|
protected $__permissionsType = 'Google_AccountPermissions'; |
1259
|
|
|
protected $__permissionsDataType = ''; |
1260
|
|
|
public $permissions; |
1261
|
|
|
public $selfLink; |
1262
|
|
|
public $updated; |
1263
|
|
|
public function setChildLink(Google_AccountChildLink $childLink) { |
1264
|
|
|
$this->childLink = $childLink; |
1265
|
|
|
} |
1266
|
|
|
public function getChildLink() { |
1267
|
|
|
return $this->childLink; |
1268
|
|
|
} |
1269
|
|
|
public function setCreated( $created) { |
1270
|
|
|
$this->created = $created; |
1271
|
|
|
} |
1272
|
|
|
public function getCreated() { |
1273
|
|
|
return $this->created; |
1274
|
|
|
} |
1275
|
|
|
public function setId( $id) { |
1276
|
|
|
$this->id = $id; |
1277
|
|
|
} |
1278
|
|
|
public function getId() { |
1279
|
|
|
return $this->id; |
1280
|
|
|
} |
1281
|
|
|
public function setKind( $kind) { |
1282
|
|
|
$this->kind = $kind; |
1283
|
|
|
} |
1284
|
|
|
public function getKind() { |
1285
|
|
|
return $this->kind; |
1286
|
|
|
} |
1287
|
|
|
public function setName( $name) { |
1288
|
|
|
$this->name = $name; |
1289
|
|
|
} |
1290
|
|
|
public function getName() { |
1291
|
|
|
return $this->name; |
1292
|
|
|
} |
1293
|
|
|
public function setPermissions(Google_AccountPermissions $permissions) { |
1294
|
|
|
$this->permissions = $permissions; |
1295
|
|
|
} |
1296
|
|
|
public function getPermissions() { |
1297
|
|
|
return $this->permissions; |
1298
|
|
|
} |
1299
|
|
|
public function setSelfLink( $selfLink) { |
1300
|
|
|
$this->selfLink = $selfLink; |
1301
|
|
|
} |
1302
|
|
|
public function getSelfLink() { |
1303
|
|
|
return $this->selfLink; |
1304
|
|
|
} |
1305
|
|
|
public function setUpdated( $updated) { |
1306
|
|
|
$this->updated = $updated; |
1307
|
|
|
} |
1308
|
|
|
public function getUpdated() { |
1309
|
|
|
return $this->updated; |
1310
|
|
|
} |
1311
|
|
|
} |
1312
|
|
|
|
1313
|
|
|
class Google_AccountChildLink extends Google_Model { |
1314
|
|
|
public $href; |
1315
|
|
|
public $type; |
1316
|
|
|
public function setHref( $href) { |
1317
|
|
|
$this->href = $href; |
1318
|
|
|
} |
1319
|
|
|
public function getHref() { |
1320
|
|
|
return $this->href; |
1321
|
|
|
} |
1322
|
|
|
public function setType( $type) { |
1323
|
|
|
$this->type = $type; |
1324
|
|
|
} |
1325
|
|
|
public function getType() { |
1326
|
|
|
return $this->type; |
1327
|
|
|
} |
1328
|
|
|
} |
1329
|
|
|
|
1330
|
|
View Code Duplication |
class Google_AccountPermissions extends Google_Model { |
|
|
|
|
1331
|
|
|
public $effective; |
1332
|
|
|
public function setEffective(/* array(Google_string) */ $effective) { |
1333
|
|
|
$this->assertIsArray($effective, 'Google_string', __METHOD__); |
1334
|
|
|
$this->effective = $effective; |
1335
|
|
|
} |
1336
|
|
|
public function getEffective() { |
1337
|
|
|
return $this->effective; |
1338
|
|
|
} |
1339
|
|
|
} |
1340
|
|
|
|
1341
|
|
|
class Google_AccountRef extends Google_Model { |
1342
|
|
|
public $href; |
1343
|
|
|
public $id; |
1344
|
|
|
public $kind; |
1345
|
|
|
public $name; |
1346
|
|
|
public function setHref( $href) { |
1347
|
|
|
$this->href = $href; |
1348
|
|
|
} |
1349
|
|
|
public function getHref() { |
1350
|
|
|
return $this->href; |
1351
|
|
|
} |
1352
|
|
|
public function setId( $id) { |
1353
|
|
|
$this->id = $id; |
1354
|
|
|
} |
1355
|
|
|
public function getId() { |
1356
|
|
|
return $this->id; |
1357
|
|
|
} |
1358
|
|
|
public function setKind( $kind) { |
1359
|
|
|
$this->kind = $kind; |
1360
|
|
|
} |
1361
|
|
|
public function getKind() { |
1362
|
|
|
return $this->kind; |
1363
|
|
|
} |
1364
|
|
|
public function setName( $name) { |
1365
|
|
|
$this->name = $name; |
1366
|
|
|
} |
1367
|
|
|
public function getName() { |
1368
|
|
|
return $this->name; |
1369
|
|
|
} |
1370
|
|
|
} |
1371
|
|
|
|
1372
|
|
View Code Duplication |
class Google_Accounts extends Google_Model { |
|
|
|
|
1373
|
|
|
protected $__itemsType = 'Google_Account'; |
1374
|
|
|
protected $__itemsDataType = 'array'; |
1375
|
|
|
public $items; |
1376
|
|
|
public $itemsPerPage; |
1377
|
|
|
public $kind; |
1378
|
|
|
public $nextLink; |
1379
|
|
|
public $previousLink; |
1380
|
|
|
public $startIndex; |
1381
|
|
|
public $totalResults; |
1382
|
|
|
public $username; |
1383
|
|
|
public function setItems(/* array(Google_Account) */ $items) { |
1384
|
|
|
$this->assertIsArray($items, 'Google_Account', __METHOD__); |
1385
|
|
|
$this->items = $items; |
1386
|
|
|
} |
1387
|
|
|
public function getItems() { |
1388
|
|
|
return $this->items; |
1389
|
|
|
} |
1390
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
1391
|
|
|
$this->itemsPerPage = $itemsPerPage; |
1392
|
|
|
} |
1393
|
|
|
public function getItemsPerPage() { |
1394
|
|
|
return $this->itemsPerPage; |
1395
|
|
|
} |
1396
|
|
|
public function setKind( $kind) { |
1397
|
|
|
$this->kind = $kind; |
1398
|
|
|
} |
1399
|
|
|
public function getKind() { |
1400
|
|
|
return $this->kind; |
1401
|
|
|
} |
1402
|
|
|
public function setNextLink( $nextLink) { |
1403
|
|
|
$this->nextLink = $nextLink; |
1404
|
|
|
} |
1405
|
|
|
public function getNextLink() { |
1406
|
|
|
return $this->nextLink; |
1407
|
|
|
} |
1408
|
|
|
public function setPreviousLink( $previousLink) { |
1409
|
|
|
$this->previousLink = $previousLink; |
1410
|
|
|
} |
1411
|
|
|
public function getPreviousLink() { |
1412
|
|
|
return $this->previousLink; |
1413
|
|
|
} |
1414
|
|
|
public function setStartIndex( $startIndex) { |
1415
|
|
|
$this->startIndex = $startIndex; |
1416
|
|
|
} |
1417
|
|
|
public function getStartIndex() { |
1418
|
|
|
return $this->startIndex; |
1419
|
|
|
} |
1420
|
|
|
public function setTotalResults( $totalResults) { |
1421
|
|
|
$this->totalResults = $totalResults; |
1422
|
|
|
} |
1423
|
|
|
public function getTotalResults() { |
1424
|
|
|
return $this->totalResults; |
1425
|
|
|
} |
1426
|
|
|
public function setUsername( $username) { |
1427
|
|
|
$this->username = $username; |
1428
|
|
|
} |
1429
|
|
|
public function getUsername() { |
1430
|
|
|
return $this->username; |
1431
|
|
|
} |
1432
|
|
|
} |
1433
|
|
|
|
1434
|
|
|
class Google_AnalyticsDataimportDeleteUploadDataRequest extends Google_Model { |
1435
|
|
|
public $customDataImportUids; |
1436
|
|
|
public function setCustomDataImportUids(/* array(Google_string) */ $customDataImportUids) { |
1437
|
|
|
$this->assertIsArray($customDataImportUids, 'Google_string', __METHOD__); |
1438
|
|
|
$this->customDataImportUids = $customDataImportUids; |
1439
|
|
|
} |
1440
|
|
|
public function getCustomDataImportUids() { |
1441
|
|
|
return $this->customDataImportUids; |
1442
|
|
|
} |
1443
|
|
|
} |
1444
|
|
|
|
1445
|
|
|
class Google_Column extends Google_Model { |
1446
|
|
|
public $attributes; |
1447
|
|
|
public $id; |
1448
|
|
|
public $kind; |
1449
|
|
|
public function setAttributes( $attributes) { |
1450
|
|
|
$this->attributes = $attributes; |
1451
|
|
|
} |
1452
|
|
|
public function getAttributes() { |
1453
|
|
|
return $this->attributes; |
1454
|
|
|
} |
1455
|
|
|
public function setId( $id) { |
1456
|
|
|
$this->id = $id; |
1457
|
|
|
} |
1458
|
|
|
public function getId() { |
1459
|
|
|
return $this->id; |
1460
|
|
|
} |
1461
|
|
|
public function setKind( $kind) { |
1462
|
|
|
$this->kind = $kind; |
1463
|
|
|
} |
1464
|
|
|
public function getKind() { |
1465
|
|
|
return $this->kind; |
1466
|
|
|
} |
1467
|
|
|
} |
1468
|
|
|
|
1469
|
|
|
class Google_Columns extends Google_Model { |
1470
|
|
|
public $attributeNames; |
1471
|
|
|
public $etag; |
1472
|
|
|
protected $__itemsType = 'Google_Column'; |
1473
|
|
|
protected $__itemsDataType = 'array'; |
1474
|
|
|
public $items; |
1475
|
|
|
public $kind; |
1476
|
|
|
public $totalResults; |
1477
|
|
|
public function setAttributeNames(/* array(Google_string) */ $attributeNames) { |
1478
|
|
|
$this->assertIsArray($attributeNames, 'Google_string', __METHOD__); |
1479
|
|
|
$this->attributeNames = $attributeNames; |
1480
|
|
|
} |
1481
|
|
|
public function getAttributeNames() { |
1482
|
|
|
return $this->attributeNames; |
1483
|
|
|
} |
1484
|
|
|
public function setEtag( $etag) { |
1485
|
|
|
$this->etag = $etag; |
1486
|
|
|
} |
1487
|
|
|
public function getEtag() { |
1488
|
|
|
return $this->etag; |
1489
|
|
|
} |
1490
|
|
|
public function setItems(/* array(Google_Column) */ $items) { |
1491
|
|
|
$this->assertIsArray($items, 'Google_Column', __METHOD__); |
1492
|
|
|
$this->items = $items; |
1493
|
|
|
} |
1494
|
|
|
public function getItems() { |
1495
|
|
|
return $this->items; |
1496
|
|
|
} |
1497
|
|
|
public function setKind( $kind) { |
1498
|
|
|
$this->kind = $kind; |
1499
|
|
|
} |
1500
|
|
|
public function getKind() { |
1501
|
|
|
return $this->kind; |
1502
|
|
|
} |
1503
|
|
|
public function setTotalResults( $totalResults) { |
1504
|
|
|
$this->totalResults = $totalResults; |
1505
|
|
|
} |
1506
|
|
|
public function getTotalResults() { |
1507
|
|
|
return $this->totalResults; |
1508
|
|
|
} |
1509
|
|
|
} |
1510
|
|
|
|
1511
|
|
|
class Google_CustomDataSource extends Google_Model { |
1512
|
|
|
public $accountId; |
1513
|
|
|
protected $__childLinkType = 'Google_CustomDataSourceChildLink'; |
1514
|
|
|
protected $__childLinkDataType = ''; |
1515
|
|
|
public $childLink; |
1516
|
|
|
public $created; |
1517
|
|
|
public $description; |
1518
|
|
|
public $id; |
1519
|
|
|
public $kind; |
1520
|
|
|
public $name; |
1521
|
|
|
protected $__parentLinkType = 'Google_CustomDataSourceParentLink'; |
1522
|
|
|
protected $__parentLinkDataType = ''; |
1523
|
|
|
public $parentLink; |
1524
|
|
|
public $profilesLinked; |
1525
|
|
|
public $selfLink; |
1526
|
|
|
public $type; |
1527
|
|
|
public $updated; |
1528
|
|
|
public $webPropertyId; |
1529
|
|
|
public function setAccountId( $accountId) { |
1530
|
|
|
$this->accountId = $accountId; |
1531
|
|
|
} |
1532
|
|
|
public function getAccountId() { |
1533
|
|
|
return $this->accountId; |
1534
|
|
|
} |
1535
|
|
|
public function setChildLink(Google_CustomDataSourceChildLink $childLink) { |
1536
|
|
|
$this->childLink = $childLink; |
1537
|
|
|
} |
1538
|
|
|
public function getChildLink() { |
1539
|
|
|
return $this->childLink; |
1540
|
|
|
} |
1541
|
|
|
public function setCreated( $created) { |
1542
|
|
|
$this->created = $created; |
1543
|
|
|
} |
1544
|
|
|
public function getCreated() { |
1545
|
|
|
return $this->created; |
1546
|
|
|
} |
1547
|
|
|
public function setDescription( $description) { |
1548
|
|
|
$this->description = $description; |
1549
|
|
|
} |
1550
|
|
|
public function getDescription() { |
1551
|
|
|
return $this->description; |
1552
|
|
|
} |
1553
|
|
|
public function setId( $id) { |
1554
|
|
|
$this->id = $id; |
1555
|
|
|
} |
1556
|
|
|
public function getId() { |
1557
|
|
|
return $this->id; |
1558
|
|
|
} |
1559
|
|
|
public function setKind( $kind) { |
1560
|
|
|
$this->kind = $kind; |
1561
|
|
|
} |
1562
|
|
|
public function getKind() { |
1563
|
|
|
return $this->kind; |
1564
|
|
|
} |
1565
|
|
|
public function setName( $name) { |
1566
|
|
|
$this->name = $name; |
1567
|
|
|
} |
1568
|
|
|
public function getName() { |
1569
|
|
|
return $this->name; |
1570
|
|
|
} |
1571
|
|
|
public function setParentLink(Google_CustomDataSourceParentLink $parentLink) { |
1572
|
|
|
$this->parentLink = $parentLink; |
1573
|
|
|
} |
1574
|
|
|
public function getParentLink() { |
1575
|
|
|
return $this->parentLink; |
1576
|
|
|
} |
1577
|
|
|
public function setProfilesLinked(/* array(Google_string) */ $profilesLinked) { |
1578
|
|
|
$this->assertIsArray($profilesLinked, 'Google_string', __METHOD__); |
1579
|
|
|
$this->profilesLinked = $profilesLinked; |
1580
|
|
|
} |
1581
|
|
|
public function getProfilesLinked() { |
1582
|
|
|
return $this->profilesLinked; |
1583
|
|
|
} |
1584
|
|
|
public function setSelfLink( $selfLink) { |
1585
|
|
|
$this->selfLink = $selfLink; |
1586
|
|
|
} |
1587
|
|
|
public function getSelfLink() { |
1588
|
|
|
return $this->selfLink; |
1589
|
|
|
} |
1590
|
|
|
public function setType( $type) { |
1591
|
|
|
$this->type = $type; |
1592
|
|
|
} |
1593
|
|
|
public function getType() { |
1594
|
|
|
return $this->type; |
1595
|
|
|
} |
1596
|
|
|
public function setUpdated( $updated) { |
1597
|
|
|
$this->updated = $updated; |
1598
|
|
|
} |
1599
|
|
|
public function getUpdated() { |
1600
|
|
|
return $this->updated; |
1601
|
|
|
} |
1602
|
|
|
public function setWebPropertyId( $webPropertyId) { |
1603
|
|
|
$this->webPropertyId = $webPropertyId; |
1604
|
|
|
} |
1605
|
|
|
public function getWebPropertyId() { |
1606
|
|
|
return $this->webPropertyId; |
1607
|
|
|
} |
1608
|
|
|
} |
1609
|
|
|
|
1610
|
|
|
class Google_CustomDataSourceChildLink extends Google_Model { |
1611
|
|
|
public $href; |
1612
|
|
|
public $type; |
1613
|
|
|
public function setHref( $href) { |
1614
|
|
|
$this->href = $href; |
1615
|
|
|
} |
1616
|
|
|
public function getHref() { |
1617
|
|
|
return $this->href; |
1618
|
|
|
} |
1619
|
|
|
public function setType( $type) { |
1620
|
|
|
$this->type = $type; |
1621
|
|
|
} |
1622
|
|
|
public function getType() { |
1623
|
|
|
return $this->type; |
1624
|
|
|
} |
1625
|
|
|
} |
1626
|
|
|
|
1627
|
|
|
class Google_CustomDataSourceParentLink extends Google_Model { |
1628
|
|
|
public $href; |
1629
|
|
|
public $type; |
1630
|
|
|
public function setHref( $href) { |
1631
|
|
|
$this->href = $href; |
1632
|
|
|
} |
1633
|
|
|
public function getHref() { |
1634
|
|
|
return $this->href; |
1635
|
|
|
} |
1636
|
|
|
public function setType( $type) { |
1637
|
|
|
$this->type = $type; |
1638
|
|
|
} |
1639
|
|
|
public function getType() { |
1640
|
|
|
return $this->type; |
1641
|
|
|
} |
1642
|
|
|
} |
1643
|
|
|
|
1644
|
|
View Code Duplication |
class Google_CustomDataSources extends Google_Model { |
|
|
|
|
1645
|
|
|
protected $__itemsType = 'Google_CustomDataSource'; |
1646
|
|
|
protected $__itemsDataType = 'array'; |
1647
|
|
|
public $items; |
1648
|
|
|
public $itemsPerPage; |
1649
|
|
|
public $kind; |
1650
|
|
|
public $nextLink; |
1651
|
|
|
public $previousLink; |
1652
|
|
|
public $startIndex; |
1653
|
|
|
public $totalResults; |
1654
|
|
|
public $username; |
1655
|
|
|
public function setItems(/* array(Google_CustomDataSource) */ $items) { |
1656
|
|
|
$this->assertIsArray($items, 'Google_CustomDataSource', __METHOD__); |
1657
|
|
|
$this->items = $items; |
1658
|
|
|
} |
1659
|
|
|
public function getItems() { |
1660
|
|
|
return $this->items; |
1661
|
|
|
} |
1662
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
1663
|
|
|
$this->itemsPerPage = $itemsPerPage; |
1664
|
|
|
} |
1665
|
|
|
public function getItemsPerPage() { |
1666
|
|
|
return $this->itemsPerPage; |
1667
|
|
|
} |
1668
|
|
|
public function setKind( $kind) { |
1669
|
|
|
$this->kind = $kind; |
1670
|
|
|
} |
1671
|
|
|
public function getKind() { |
1672
|
|
|
return $this->kind; |
1673
|
|
|
} |
1674
|
|
|
public function setNextLink( $nextLink) { |
1675
|
|
|
$this->nextLink = $nextLink; |
1676
|
|
|
} |
1677
|
|
|
public function getNextLink() { |
1678
|
|
|
return $this->nextLink; |
1679
|
|
|
} |
1680
|
|
|
public function setPreviousLink( $previousLink) { |
1681
|
|
|
$this->previousLink = $previousLink; |
1682
|
|
|
} |
1683
|
|
|
public function getPreviousLink() { |
1684
|
|
|
return $this->previousLink; |
1685
|
|
|
} |
1686
|
|
|
public function setStartIndex( $startIndex) { |
1687
|
|
|
$this->startIndex = $startIndex; |
1688
|
|
|
} |
1689
|
|
|
public function getStartIndex() { |
1690
|
|
|
return $this->startIndex; |
1691
|
|
|
} |
1692
|
|
|
public function setTotalResults( $totalResults) { |
1693
|
|
|
$this->totalResults = $totalResults; |
1694
|
|
|
} |
1695
|
|
|
public function getTotalResults() { |
1696
|
|
|
return $this->totalResults; |
1697
|
|
|
} |
1698
|
|
|
public function setUsername( $username) { |
1699
|
|
|
$this->username = $username; |
1700
|
|
|
} |
1701
|
|
|
public function getUsername() { |
1702
|
|
|
return $this->username; |
1703
|
|
|
} |
1704
|
|
|
} |
1705
|
|
|
|
1706
|
|
|
class Google_DailyUpload extends Google_Model { |
1707
|
|
|
public $accountId; |
1708
|
|
|
public $appendCount; |
1709
|
|
|
public $createdTime; |
1710
|
|
|
public $customDataSourceId; |
1711
|
|
|
public $date; |
1712
|
|
|
public $kind; |
1713
|
|
|
public $modifiedTime; |
1714
|
|
|
protected $__parentLinkType = 'Google_DailyUploadParentLink'; |
1715
|
|
|
protected $__parentLinkDataType = ''; |
1716
|
|
|
public $parentLink; |
1717
|
|
|
protected $__recentChangesType = 'Google_DailyUploadRecentChanges'; |
1718
|
|
|
protected $__recentChangesDataType = 'array'; |
1719
|
|
|
public $recentChanges; |
1720
|
|
|
public $selfLink; |
1721
|
|
|
public $webPropertyId; |
1722
|
|
|
public function setAccountId( $accountId) { |
1723
|
|
|
$this->accountId = $accountId; |
1724
|
|
|
} |
1725
|
|
|
public function getAccountId() { |
1726
|
|
|
return $this->accountId; |
1727
|
|
|
} |
1728
|
|
|
public function setAppendCount( $appendCount) { |
1729
|
|
|
$this->appendCount = $appendCount; |
1730
|
|
|
} |
1731
|
|
|
public function getAppendCount() { |
1732
|
|
|
return $this->appendCount; |
1733
|
|
|
} |
1734
|
|
|
public function setCreatedTime( $createdTime) { |
1735
|
|
|
$this->createdTime = $createdTime; |
1736
|
|
|
} |
1737
|
|
|
public function getCreatedTime() { |
1738
|
|
|
return $this->createdTime; |
1739
|
|
|
} |
1740
|
|
|
public function setCustomDataSourceId( $customDataSourceId) { |
1741
|
|
|
$this->customDataSourceId = $customDataSourceId; |
1742
|
|
|
} |
1743
|
|
|
public function getCustomDataSourceId() { |
1744
|
|
|
return $this->customDataSourceId; |
1745
|
|
|
} |
1746
|
|
|
public function setDate( $date) { |
1747
|
|
|
$this->date = $date; |
1748
|
|
|
} |
1749
|
|
|
public function getDate() { |
1750
|
|
|
return $this->date; |
1751
|
|
|
} |
1752
|
|
|
public function setKind( $kind) { |
1753
|
|
|
$this->kind = $kind; |
1754
|
|
|
} |
1755
|
|
|
public function getKind() { |
1756
|
|
|
return $this->kind; |
1757
|
|
|
} |
1758
|
|
|
public function setModifiedTime( $modifiedTime) { |
1759
|
|
|
$this->modifiedTime = $modifiedTime; |
1760
|
|
|
} |
1761
|
|
|
public function getModifiedTime() { |
1762
|
|
|
return $this->modifiedTime; |
1763
|
|
|
} |
1764
|
|
|
public function setParentLink(Google_DailyUploadParentLink $parentLink) { |
1765
|
|
|
$this->parentLink = $parentLink; |
1766
|
|
|
} |
1767
|
|
|
public function getParentLink() { |
1768
|
|
|
return $this->parentLink; |
1769
|
|
|
} |
1770
|
|
|
public function setRecentChanges(/* array(Google_DailyUploadRecentChanges) */ $recentChanges) { |
1771
|
|
|
$this->assertIsArray($recentChanges, 'Google_DailyUploadRecentChanges', __METHOD__); |
1772
|
|
|
$this->recentChanges = $recentChanges; |
1773
|
|
|
} |
1774
|
|
|
public function getRecentChanges() { |
1775
|
|
|
return $this->recentChanges; |
1776
|
|
|
} |
1777
|
|
|
public function setSelfLink( $selfLink) { |
1778
|
|
|
$this->selfLink = $selfLink; |
1779
|
|
|
} |
1780
|
|
|
public function getSelfLink() { |
1781
|
|
|
return $this->selfLink; |
1782
|
|
|
} |
1783
|
|
|
public function setWebPropertyId( $webPropertyId) { |
1784
|
|
|
$this->webPropertyId = $webPropertyId; |
1785
|
|
|
} |
1786
|
|
|
public function getWebPropertyId() { |
1787
|
|
|
return $this->webPropertyId; |
1788
|
|
|
} |
1789
|
|
|
} |
1790
|
|
|
|
1791
|
|
View Code Duplication |
class Google_DailyUploadAppend extends Google_Model { |
|
|
|
|
1792
|
|
|
public $accountId; |
1793
|
|
|
public $appendNumber; |
1794
|
|
|
public $customDataSourceId; |
1795
|
|
|
public $date; |
1796
|
|
|
public $kind; |
1797
|
|
|
public $nextAppendLink; |
1798
|
|
|
public $webPropertyId; |
1799
|
|
|
public function setAccountId( $accountId) { |
1800
|
|
|
$this->accountId = $accountId; |
1801
|
|
|
} |
1802
|
|
|
public function getAccountId() { |
1803
|
|
|
return $this->accountId; |
1804
|
|
|
} |
1805
|
|
|
public function setAppendNumber( $appendNumber) { |
1806
|
|
|
$this->appendNumber = $appendNumber; |
1807
|
|
|
} |
1808
|
|
|
public function getAppendNumber() { |
1809
|
|
|
return $this->appendNumber; |
1810
|
|
|
} |
1811
|
|
|
public function setCustomDataSourceId( $customDataSourceId) { |
1812
|
|
|
$this->customDataSourceId = $customDataSourceId; |
1813
|
|
|
} |
1814
|
|
|
public function getCustomDataSourceId() { |
1815
|
|
|
return $this->customDataSourceId; |
1816
|
|
|
} |
1817
|
|
|
public function setDate( $date) { |
1818
|
|
|
$this->date = $date; |
1819
|
|
|
} |
1820
|
|
|
public function getDate() { |
1821
|
|
|
return $this->date; |
1822
|
|
|
} |
1823
|
|
|
public function setKind( $kind) { |
1824
|
|
|
$this->kind = $kind; |
1825
|
|
|
} |
1826
|
|
|
public function getKind() { |
1827
|
|
|
return $this->kind; |
1828
|
|
|
} |
1829
|
|
|
public function setNextAppendLink( $nextAppendLink) { |
1830
|
|
|
$this->nextAppendLink = $nextAppendLink; |
1831
|
|
|
} |
1832
|
|
|
public function getNextAppendLink() { |
1833
|
|
|
return $this->nextAppendLink; |
1834
|
|
|
} |
1835
|
|
|
public function setWebPropertyId( $webPropertyId) { |
1836
|
|
|
$this->webPropertyId = $webPropertyId; |
1837
|
|
|
} |
1838
|
|
|
public function getWebPropertyId() { |
1839
|
|
|
return $this->webPropertyId; |
1840
|
|
|
} |
1841
|
|
|
} |
1842
|
|
|
|
1843
|
|
|
class Google_DailyUploadParentLink extends Google_Model { |
1844
|
|
|
public $href; |
1845
|
|
|
public $type; |
1846
|
|
|
public function setHref( $href) { |
1847
|
|
|
$this->href = $href; |
1848
|
|
|
} |
1849
|
|
|
public function getHref() { |
1850
|
|
|
return $this->href; |
1851
|
|
|
} |
1852
|
|
|
public function setType( $type) { |
1853
|
|
|
$this->type = $type; |
1854
|
|
|
} |
1855
|
|
|
public function getType() { |
1856
|
|
|
return $this->type; |
1857
|
|
|
} |
1858
|
|
|
} |
1859
|
|
|
|
1860
|
|
|
class Google_DailyUploadRecentChanges extends Google_Model { |
1861
|
|
|
public $change; |
1862
|
|
|
public $time; |
1863
|
|
|
public function setChange( $change) { |
1864
|
|
|
$this->change = $change; |
1865
|
|
|
} |
1866
|
|
|
public function getChange() { |
1867
|
|
|
return $this->change; |
1868
|
|
|
} |
1869
|
|
|
public function setTime( $time) { |
1870
|
|
|
$this->time = $time; |
1871
|
|
|
} |
1872
|
|
|
public function getTime() { |
1873
|
|
|
return $this->time; |
1874
|
|
|
} |
1875
|
|
|
} |
1876
|
|
|
|
1877
|
|
View Code Duplication |
class Google_DailyUploads extends Google_Model { |
|
|
|
|
1878
|
|
|
protected $__itemsType = 'Google_DailyUpload'; |
1879
|
|
|
protected $__itemsDataType = 'array'; |
1880
|
|
|
public $items; |
1881
|
|
|
public $itemsPerPage; |
1882
|
|
|
public $kind; |
1883
|
|
|
public $nextLink; |
1884
|
|
|
public $previousLink; |
1885
|
|
|
public $startIndex; |
1886
|
|
|
public $totalResults; |
1887
|
|
|
public $username; |
1888
|
|
|
public function setItems(/* array(Google_DailyUpload) */ $items) { |
1889
|
|
|
$this->assertIsArray($items, 'Google_DailyUpload', __METHOD__); |
1890
|
|
|
$this->items = $items; |
1891
|
|
|
} |
1892
|
|
|
public function getItems() { |
1893
|
|
|
return $this->items; |
1894
|
|
|
} |
1895
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
1896
|
|
|
$this->itemsPerPage = $itemsPerPage; |
1897
|
|
|
} |
1898
|
|
|
public function getItemsPerPage() { |
1899
|
|
|
return $this->itemsPerPage; |
1900
|
|
|
} |
1901
|
|
|
public function setKind( $kind) { |
1902
|
|
|
$this->kind = $kind; |
1903
|
|
|
} |
1904
|
|
|
public function getKind() { |
1905
|
|
|
return $this->kind; |
1906
|
|
|
} |
1907
|
|
|
public function setNextLink( $nextLink) { |
1908
|
|
|
$this->nextLink = $nextLink; |
1909
|
|
|
} |
1910
|
|
|
public function getNextLink() { |
1911
|
|
|
return $this->nextLink; |
1912
|
|
|
} |
1913
|
|
|
public function setPreviousLink( $previousLink) { |
1914
|
|
|
$this->previousLink = $previousLink; |
1915
|
|
|
} |
1916
|
|
|
public function getPreviousLink() { |
1917
|
|
|
return $this->previousLink; |
1918
|
|
|
} |
1919
|
|
|
public function setStartIndex( $startIndex) { |
1920
|
|
|
$this->startIndex = $startIndex; |
1921
|
|
|
} |
1922
|
|
|
public function getStartIndex() { |
1923
|
|
|
return $this->startIndex; |
1924
|
|
|
} |
1925
|
|
|
public function setTotalResults( $totalResults) { |
1926
|
|
|
$this->totalResults = $totalResults; |
1927
|
|
|
} |
1928
|
|
|
public function getTotalResults() { |
1929
|
|
|
return $this->totalResults; |
1930
|
|
|
} |
1931
|
|
|
public function setUsername( $username) { |
1932
|
|
|
$this->username = $username; |
1933
|
|
|
} |
1934
|
|
|
public function getUsername() { |
1935
|
|
|
return $this->username; |
1936
|
|
|
} |
1937
|
|
|
} |
1938
|
|
|
|
1939
|
|
|
class Google_EntityUserLink extends Google_Model { |
1940
|
|
|
protected $__entityType = 'Google_EntityUserLinkEntity'; |
1941
|
|
|
protected $__entityDataType = ''; |
1942
|
|
|
public $entity; |
1943
|
|
|
public $id; |
1944
|
|
|
public $kind; |
1945
|
|
|
protected $__permissionsType = 'Google_EntityUserLinkPermissions'; |
1946
|
|
|
protected $__permissionsDataType = ''; |
1947
|
|
|
public $permissions; |
1948
|
|
|
public $selfLink; |
1949
|
|
|
protected $__userRefType = 'Google_UserRef'; |
1950
|
|
|
protected $__userRefDataType = ''; |
1951
|
|
|
public $userRef; |
1952
|
|
|
public function setEntity(Google_EntityUserLinkEntity $entity) { |
1953
|
|
|
$this->entity = $entity; |
1954
|
|
|
} |
1955
|
|
|
public function getEntity() { |
1956
|
|
|
return $this->entity; |
1957
|
|
|
} |
1958
|
|
|
public function setId( $id) { |
1959
|
|
|
$this->id = $id; |
1960
|
|
|
} |
1961
|
|
|
public function getId() { |
1962
|
|
|
return $this->id; |
1963
|
|
|
} |
1964
|
|
|
public function setKind( $kind) { |
1965
|
|
|
$this->kind = $kind; |
1966
|
|
|
} |
1967
|
|
|
public function getKind() { |
1968
|
|
|
return $this->kind; |
1969
|
|
|
} |
1970
|
|
|
public function setPermissions(Google_EntityUserLinkPermissions $permissions) { |
1971
|
|
|
$this->permissions = $permissions; |
1972
|
|
|
} |
1973
|
|
|
public function getPermissions() { |
1974
|
|
|
return $this->permissions; |
1975
|
|
|
} |
1976
|
|
|
public function setSelfLink( $selfLink) { |
1977
|
|
|
$this->selfLink = $selfLink; |
1978
|
|
|
} |
1979
|
|
|
public function getSelfLink() { |
1980
|
|
|
return $this->selfLink; |
1981
|
|
|
} |
1982
|
|
|
public function setUserRef(Google_UserRef $userRef) { |
1983
|
|
|
$this->userRef = $userRef; |
1984
|
|
|
} |
1985
|
|
|
public function getUserRef() { |
1986
|
|
|
return $this->userRef; |
1987
|
|
|
} |
1988
|
|
|
} |
1989
|
|
|
|
1990
|
|
|
class Google_EntityUserLinkEntity extends Google_Model { |
1991
|
|
|
protected $__accountRefType = 'Google_AccountRef'; |
1992
|
|
|
protected $__accountRefDataType = ''; |
1993
|
|
|
public $accountRef; |
1994
|
|
|
protected $__profileRefType = 'Google_ProfileRef'; |
1995
|
|
|
protected $__profileRefDataType = ''; |
1996
|
|
|
public $profileRef; |
1997
|
|
|
protected $__webPropertyRefType = 'Google_WebPropertyRef'; |
1998
|
|
|
protected $__webPropertyRefDataType = ''; |
1999
|
|
|
public $webPropertyRef; |
2000
|
|
|
public function setAccountRef(Google_AccountRef $accountRef) { |
2001
|
|
|
$this->accountRef = $accountRef; |
2002
|
|
|
} |
2003
|
|
|
public function getAccountRef() { |
2004
|
|
|
return $this->accountRef; |
2005
|
|
|
} |
2006
|
|
|
public function setProfileRef(Google_ProfileRef $profileRef) { |
2007
|
|
|
$this->profileRef = $profileRef; |
2008
|
|
|
} |
2009
|
|
|
public function getProfileRef() { |
2010
|
|
|
return $this->profileRef; |
2011
|
|
|
} |
2012
|
|
|
public function setWebPropertyRef(Google_WebPropertyRef $webPropertyRef) { |
2013
|
|
|
$this->webPropertyRef = $webPropertyRef; |
2014
|
|
|
} |
2015
|
|
|
public function getWebPropertyRef() { |
2016
|
|
|
return $this->webPropertyRef; |
2017
|
|
|
} |
2018
|
|
|
} |
2019
|
|
|
|
2020
|
|
|
class Google_EntityUserLinkPermissions extends Google_Model { |
2021
|
|
|
public $effective; |
2022
|
|
|
public $local; |
2023
|
|
|
public function setEffective(/* array(Google_string) */ $effective) { |
2024
|
|
|
$this->assertIsArray($effective, 'Google_string', __METHOD__); |
2025
|
|
|
$this->effective = $effective; |
2026
|
|
|
} |
2027
|
|
|
public function getEffective() { |
2028
|
|
|
return $this->effective; |
2029
|
|
|
} |
2030
|
|
|
public function setLocal(/* array(Google_string) */ $local) { |
2031
|
|
|
$this->assertIsArray($local, 'Google_string', __METHOD__); |
2032
|
|
|
$this->local = $local; |
2033
|
|
|
} |
2034
|
|
|
public function getLocal() { |
2035
|
|
|
return $this->local; |
2036
|
|
|
} |
2037
|
|
|
} |
2038
|
|
|
|
2039
|
|
View Code Duplication |
class Google_EntityUserLinks extends Google_Model { |
|
|
|
|
2040
|
|
|
protected $__itemsType = 'Google_EntityUserLink'; |
2041
|
|
|
protected $__itemsDataType = 'array'; |
2042
|
|
|
public $items; |
2043
|
|
|
public $itemsPerPage; |
2044
|
|
|
public $kind; |
2045
|
|
|
public $nextLink; |
2046
|
|
|
public $previousLink; |
2047
|
|
|
public $startIndex; |
2048
|
|
|
public $totalResults; |
2049
|
|
|
public function setItems(/* array(Google_EntityUserLink) */ $items) { |
2050
|
|
|
$this->assertIsArray($items, 'Google_EntityUserLink', __METHOD__); |
2051
|
|
|
$this->items = $items; |
2052
|
|
|
} |
2053
|
|
|
public function getItems() { |
2054
|
|
|
return $this->items; |
2055
|
|
|
} |
2056
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
2057
|
|
|
$this->itemsPerPage = $itemsPerPage; |
2058
|
|
|
} |
2059
|
|
|
public function getItemsPerPage() { |
2060
|
|
|
return $this->itemsPerPage; |
2061
|
|
|
} |
2062
|
|
|
public function setKind( $kind) { |
2063
|
|
|
$this->kind = $kind; |
2064
|
|
|
} |
2065
|
|
|
public function getKind() { |
2066
|
|
|
return $this->kind; |
2067
|
|
|
} |
2068
|
|
|
public function setNextLink( $nextLink) { |
2069
|
|
|
$this->nextLink = $nextLink; |
2070
|
|
|
} |
2071
|
|
|
public function getNextLink() { |
2072
|
|
|
return $this->nextLink; |
2073
|
|
|
} |
2074
|
|
|
public function setPreviousLink( $previousLink) { |
2075
|
|
|
$this->previousLink = $previousLink; |
2076
|
|
|
} |
2077
|
|
|
public function getPreviousLink() { |
2078
|
|
|
return $this->previousLink; |
2079
|
|
|
} |
2080
|
|
|
public function setStartIndex( $startIndex) { |
2081
|
|
|
$this->startIndex = $startIndex; |
2082
|
|
|
} |
2083
|
|
|
public function getStartIndex() { |
2084
|
|
|
return $this->startIndex; |
2085
|
|
|
} |
2086
|
|
|
public function setTotalResults( $totalResults) { |
2087
|
|
|
$this->totalResults = $totalResults; |
2088
|
|
|
} |
2089
|
|
|
public function getTotalResults() { |
2090
|
|
|
return $this->totalResults; |
2091
|
|
|
} |
2092
|
|
|
} |
2093
|
|
|
|
2094
|
|
|
class Google_Experiment extends Google_Model { |
2095
|
|
|
public $accountId; |
2096
|
|
|
public $created; |
2097
|
|
|
public $description; |
2098
|
|
|
public $editableInGaUi; |
2099
|
|
|
public $endTime; |
2100
|
|
|
public $id; |
2101
|
|
|
public $internalWebPropertyId; |
2102
|
|
|
public $kind; |
2103
|
|
|
public $minimumExperimentLengthInDays; |
2104
|
|
|
public $name; |
2105
|
|
|
public $objectiveMetric; |
2106
|
|
|
public $optimizationType; |
2107
|
|
|
protected $__parentLinkType = 'Google_ExperimentParentLink'; |
2108
|
|
|
protected $__parentLinkDataType = ''; |
2109
|
|
|
public $parentLink; |
2110
|
|
|
public $profileId; |
2111
|
|
|
public $reasonExperimentEnded; |
2112
|
|
|
public $rewriteVariationUrlsAsOriginal; |
2113
|
|
|
public $selfLink; |
2114
|
|
|
public $servingFramework; |
2115
|
|
|
public $snippet; |
2116
|
|
|
public $startTime; |
2117
|
|
|
public $status; |
2118
|
|
|
public $trafficCoverage; |
2119
|
|
|
public $updated; |
2120
|
|
|
protected $__variationsType = 'Google_ExperimentVariations'; |
2121
|
|
|
protected $__variationsDataType = 'array'; |
2122
|
|
|
public $variations; |
2123
|
|
|
public $webPropertyId; |
2124
|
|
|
public $winnerConfidenceLevel; |
2125
|
|
|
public $winnerFound; |
2126
|
|
|
public function setAccountId( $accountId) { |
2127
|
|
|
$this->accountId = $accountId; |
2128
|
|
|
} |
2129
|
|
|
public function getAccountId() { |
2130
|
|
|
return $this->accountId; |
2131
|
|
|
} |
2132
|
|
|
public function setCreated( $created) { |
2133
|
|
|
$this->created = $created; |
2134
|
|
|
} |
2135
|
|
|
public function getCreated() { |
2136
|
|
|
return $this->created; |
2137
|
|
|
} |
2138
|
|
|
public function setDescription( $description) { |
2139
|
|
|
$this->description = $description; |
2140
|
|
|
} |
2141
|
|
|
public function getDescription() { |
2142
|
|
|
return $this->description; |
2143
|
|
|
} |
2144
|
|
|
public function setEditableInGaUi( $editableInGaUi) { |
2145
|
|
|
$this->editableInGaUi = $editableInGaUi; |
2146
|
|
|
} |
2147
|
|
|
public function getEditableInGaUi() { |
2148
|
|
|
return $this->editableInGaUi; |
2149
|
|
|
} |
2150
|
|
|
public function setEndTime( $endTime) { |
2151
|
|
|
$this->endTime = $endTime; |
2152
|
|
|
} |
2153
|
|
|
public function getEndTime() { |
2154
|
|
|
return $this->endTime; |
2155
|
|
|
} |
2156
|
|
|
public function setId( $id) { |
2157
|
|
|
$this->id = $id; |
2158
|
|
|
} |
2159
|
|
|
public function getId() { |
2160
|
|
|
return $this->id; |
2161
|
|
|
} |
2162
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
2163
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
2164
|
|
|
} |
2165
|
|
|
public function getInternalWebPropertyId() { |
2166
|
|
|
return $this->internalWebPropertyId; |
2167
|
|
|
} |
2168
|
|
|
public function setKind( $kind) { |
2169
|
|
|
$this->kind = $kind; |
2170
|
|
|
} |
2171
|
|
|
public function getKind() { |
2172
|
|
|
return $this->kind; |
2173
|
|
|
} |
2174
|
|
|
public function setMinimumExperimentLengthInDays( $minimumExperimentLengthInDays) { |
2175
|
|
|
$this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays; |
2176
|
|
|
} |
2177
|
|
|
public function getMinimumExperimentLengthInDays() { |
2178
|
|
|
return $this->minimumExperimentLengthInDays; |
2179
|
|
|
} |
2180
|
|
|
public function setName( $name) { |
2181
|
|
|
$this->name = $name; |
2182
|
|
|
} |
2183
|
|
|
public function getName() { |
2184
|
|
|
return $this->name; |
2185
|
|
|
} |
2186
|
|
|
public function setObjectiveMetric( $objectiveMetric) { |
2187
|
|
|
$this->objectiveMetric = $objectiveMetric; |
2188
|
|
|
} |
2189
|
|
|
public function getObjectiveMetric() { |
2190
|
|
|
return $this->objectiveMetric; |
2191
|
|
|
} |
2192
|
|
|
public function setOptimizationType( $optimizationType) { |
2193
|
|
|
$this->optimizationType = $optimizationType; |
2194
|
|
|
} |
2195
|
|
|
public function getOptimizationType() { |
2196
|
|
|
return $this->optimizationType; |
2197
|
|
|
} |
2198
|
|
|
public function setParentLink(Google_ExperimentParentLink $parentLink) { |
2199
|
|
|
$this->parentLink = $parentLink; |
2200
|
|
|
} |
2201
|
|
|
public function getParentLink() { |
2202
|
|
|
return $this->parentLink; |
2203
|
|
|
} |
2204
|
|
|
public function setProfileId( $profileId) { |
2205
|
|
|
$this->profileId = $profileId; |
2206
|
|
|
} |
2207
|
|
|
public function getProfileId() { |
2208
|
|
|
return $this->profileId; |
2209
|
|
|
} |
2210
|
|
|
public function setReasonExperimentEnded( $reasonExperimentEnded) { |
2211
|
|
|
$this->reasonExperimentEnded = $reasonExperimentEnded; |
2212
|
|
|
} |
2213
|
|
|
public function getReasonExperimentEnded() { |
2214
|
|
|
return $this->reasonExperimentEnded; |
2215
|
|
|
} |
2216
|
|
|
public function setRewriteVariationUrlsAsOriginal( $rewriteVariationUrlsAsOriginal) { |
2217
|
|
|
$this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal; |
2218
|
|
|
} |
2219
|
|
|
public function getRewriteVariationUrlsAsOriginal() { |
2220
|
|
|
return $this->rewriteVariationUrlsAsOriginal; |
2221
|
|
|
} |
2222
|
|
|
public function setSelfLink( $selfLink) { |
2223
|
|
|
$this->selfLink = $selfLink; |
2224
|
|
|
} |
2225
|
|
|
public function getSelfLink() { |
2226
|
|
|
return $this->selfLink; |
2227
|
|
|
} |
2228
|
|
|
public function setServingFramework( $servingFramework) { |
2229
|
|
|
$this->servingFramework = $servingFramework; |
2230
|
|
|
} |
2231
|
|
|
public function getServingFramework() { |
2232
|
|
|
return $this->servingFramework; |
2233
|
|
|
} |
2234
|
|
|
public function setSnippet( $snippet) { |
2235
|
|
|
$this->snippet = $snippet; |
2236
|
|
|
} |
2237
|
|
|
public function getSnippet() { |
2238
|
|
|
return $this->snippet; |
2239
|
|
|
} |
2240
|
|
|
public function setStartTime( $startTime) { |
2241
|
|
|
$this->startTime = $startTime; |
2242
|
|
|
} |
2243
|
|
|
public function getStartTime() { |
2244
|
|
|
return $this->startTime; |
2245
|
|
|
} |
2246
|
|
|
public function setStatus( $status) { |
2247
|
|
|
$this->status = $status; |
2248
|
|
|
} |
2249
|
|
|
public function getStatus() { |
2250
|
|
|
return $this->status; |
2251
|
|
|
} |
2252
|
|
|
public function setTrafficCoverage( $trafficCoverage) { |
2253
|
|
|
$this->trafficCoverage = $trafficCoverage; |
2254
|
|
|
} |
2255
|
|
|
public function getTrafficCoverage() { |
2256
|
|
|
return $this->trafficCoverage; |
2257
|
|
|
} |
2258
|
|
|
public function setUpdated( $updated) { |
2259
|
|
|
$this->updated = $updated; |
2260
|
|
|
} |
2261
|
|
|
public function getUpdated() { |
2262
|
|
|
return $this->updated; |
2263
|
|
|
} |
2264
|
|
|
public function setVariations(/* array(Google_ExperimentVariations) */ $variations) { |
2265
|
|
|
$this->assertIsArray($variations, 'Google_ExperimentVariations', __METHOD__); |
2266
|
|
|
$this->variations = $variations; |
2267
|
|
|
} |
2268
|
|
|
public function getVariations() { |
2269
|
|
|
return $this->variations; |
2270
|
|
|
} |
2271
|
|
|
public function setWebPropertyId( $webPropertyId) { |
2272
|
|
|
$this->webPropertyId = $webPropertyId; |
2273
|
|
|
} |
2274
|
|
|
public function getWebPropertyId() { |
2275
|
|
|
return $this->webPropertyId; |
2276
|
|
|
} |
2277
|
|
|
public function setWinnerConfidenceLevel( $winnerConfidenceLevel) { |
2278
|
|
|
$this->winnerConfidenceLevel = $winnerConfidenceLevel; |
2279
|
|
|
} |
2280
|
|
|
public function getWinnerConfidenceLevel() { |
2281
|
|
|
return $this->winnerConfidenceLevel; |
2282
|
|
|
} |
2283
|
|
|
public function setWinnerFound( $winnerFound) { |
2284
|
|
|
$this->winnerFound = $winnerFound; |
2285
|
|
|
} |
2286
|
|
|
public function getWinnerFound() { |
2287
|
|
|
return $this->winnerFound; |
2288
|
|
|
} |
2289
|
|
|
} |
2290
|
|
|
|
2291
|
|
|
class Google_ExperimentParentLink extends Google_Model { |
2292
|
|
|
public $href; |
2293
|
|
|
public $type; |
2294
|
|
|
public function setHref( $href) { |
2295
|
|
|
$this->href = $href; |
2296
|
|
|
} |
2297
|
|
|
public function getHref() { |
2298
|
|
|
return $this->href; |
2299
|
|
|
} |
2300
|
|
|
public function setType( $type) { |
2301
|
|
|
$this->type = $type; |
2302
|
|
|
} |
2303
|
|
|
public function getType() { |
2304
|
|
|
return $this->type; |
2305
|
|
|
} |
2306
|
|
|
} |
2307
|
|
|
|
2308
|
|
|
class Google_ExperimentVariations extends Google_Model { |
2309
|
|
|
public $name; |
2310
|
|
|
public $status; |
2311
|
|
|
public $url; |
2312
|
|
|
public $weight; |
2313
|
|
|
public $won; |
2314
|
|
|
public function setName( $name) { |
2315
|
|
|
$this->name = $name; |
2316
|
|
|
} |
2317
|
|
|
public function getName() { |
2318
|
|
|
return $this->name; |
2319
|
|
|
} |
2320
|
|
|
public function setStatus( $status) { |
2321
|
|
|
$this->status = $status; |
2322
|
|
|
} |
2323
|
|
|
public function getStatus() { |
2324
|
|
|
return $this->status; |
2325
|
|
|
} |
2326
|
|
|
public function setUrl( $url) { |
2327
|
|
|
$this->url = $url; |
2328
|
|
|
} |
2329
|
|
|
public function getUrl() { |
2330
|
|
|
return $this->url; |
2331
|
|
|
} |
2332
|
|
|
public function setWeight( $weight) { |
2333
|
|
|
$this->weight = $weight; |
2334
|
|
|
} |
2335
|
|
|
public function getWeight() { |
2336
|
|
|
return $this->weight; |
2337
|
|
|
} |
2338
|
|
|
public function setWon( $won) { |
2339
|
|
|
$this->won = $won; |
2340
|
|
|
} |
2341
|
|
|
public function getWon() { |
2342
|
|
|
return $this->won; |
2343
|
|
|
} |
2344
|
|
|
} |
2345
|
|
|
|
2346
|
|
View Code Duplication |
class Google_Experiments extends Google_Model { |
|
|
|
|
2347
|
|
|
protected $__itemsType = 'Google_Experiment'; |
2348
|
|
|
protected $__itemsDataType = 'array'; |
2349
|
|
|
public $items; |
2350
|
|
|
public $itemsPerPage; |
2351
|
|
|
public $kind; |
2352
|
|
|
public $nextLink; |
2353
|
|
|
public $previousLink; |
2354
|
|
|
public $startIndex; |
2355
|
|
|
public $totalResults; |
2356
|
|
|
public $username; |
2357
|
|
|
public function setItems(/* array(Google_Experiment) */ $items) { |
2358
|
|
|
$this->assertIsArray($items, 'Google_Experiment', __METHOD__); |
2359
|
|
|
$this->items = $items; |
2360
|
|
|
} |
2361
|
|
|
public function getItems() { |
2362
|
|
|
return $this->items; |
2363
|
|
|
} |
2364
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
2365
|
|
|
$this->itemsPerPage = $itemsPerPage; |
2366
|
|
|
} |
2367
|
|
|
public function getItemsPerPage() { |
2368
|
|
|
return $this->itemsPerPage; |
2369
|
|
|
} |
2370
|
|
|
public function setKind( $kind) { |
2371
|
|
|
$this->kind = $kind; |
2372
|
|
|
} |
2373
|
|
|
public function getKind() { |
2374
|
|
|
return $this->kind; |
2375
|
|
|
} |
2376
|
|
|
public function setNextLink( $nextLink) { |
2377
|
|
|
$this->nextLink = $nextLink; |
2378
|
|
|
} |
2379
|
|
|
public function getNextLink() { |
2380
|
|
|
return $this->nextLink; |
2381
|
|
|
} |
2382
|
|
|
public function setPreviousLink( $previousLink) { |
2383
|
|
|
$this->previousLink = $previousLink; |
2384
|
|
|
} |
2385
|
|
|
public function getPreviousLink() { |
2386
|
|
|
return $this->previousLink; |
2387
|
|
|
} |
2388
|
|
|
public function setStartIndex( $startIndex) { |
2389
|
|
|
$this->startIndex = $startIndex; |
2390
|
|
|
} |
2391
|
|
|
public function getStartIndex() { |
2392
|
|
|
return $this->startIndex; |
2393
|
|
|
} |
2394
|
|
|
public function setTotalResults( $totalResults) { |
2395
|
|
|
$this->totalResults = $totalResults; |
2396
|
|
|
} |
2397
|
|
|
public function getTotalResults() { |
2398
|
|
|
return $this->totalResults; |
2399
|
|
|
} |
2400
|
|
|
public function setUsername( $username) { |
2401
|
|
|
$this->username = $username; |
2402
|
|
|
} |
2403
|
|
|
public function getUsername() { |
2404
|
|
|
return $this->username; |
2405
|
|
|
} |
2406
|
|
|
} |
2407
|
|
|
|
2408
|
|
View Code Duplication |
class Google_GaData extends Google_Model { |
|
|
|
|
2409
|
|
|
protected $__columnHeadersType = 'Google_GaDataColumnHeaders'; |
2410
|
|
|
protected $__columnHeadersDataType = 'array'; |
2411
|
|
|
public $columnHeaders; |
2412
|
|
|
public $containsSampledData; |
2413
|
|
|
public $id; |
2414
|
|
|
public $itemsPerPage; |
2415
|
|
|
public $kind; |
2416
|
|
|
public $nextLink; |
2417
|
|
|
public $previousLink; |
2418
|
|
|
protected $__profileInfoType = 'Google_GaDataProfileInfo'; |
2419
|
|
|
protected $__profileInfoDataType = ''; |
2420
|
|
|
public $profileInfo; |
2421
|
|
|
protected $__queryType = 'Google_GaDataQuery'; |
2422
|
|
|
protected $__queryDataType = ''; |
2423
|
|
|
public $query; |
2424
|
|
|
public $rows; |
2425
|
|
|
public $selfLink; |
2426
|
|
|
public $totalResults; |
2427
|
|
|
public $totalsForAllResults; |
2428
|
|
|
public function setColumnHeaders(/* array(Google_GaDataColumnHeaders) */ $columnHeaders) { |
2429
|
|
|
$this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__); |
2430
|
|
|
$this->columnHeaders = $columnHeaders; |
2431
|
|
|
} |
2432
|
|
|
public function getColumnHeaders() { |
2433
|
|
|
return $this->columnHeaders; |
2434
|
|
|
} |
2435
|
|
|
public function setContainsSampledData( $containsSampledData) { |
2436
|
|
|
$this->containsSampledData = $containsSampledData; |
2437
|
|
|
} |
2438
|
|
|
public function getContainsSampledData() { |
2439
|
|
|
return $this->containsSampledData; |
2440
|
|
|
} |
2441
|
|
|
public function setId( $id) { |
2442
|
|
|
$this->id = $id; |
2443
|
|
|
} |
2444
|
|
|
public function getId() { |
2445
|
|
|
return $this->id; |
2446
|
|
|
} |
2447
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
2448
|
|
|
$this->itemsPerPage = $itemsPerPage; |
2449
|
|
|
} |
2450
|
|
|
public function getItemsPerPage() { |
2451
|
|
|
return $this->itemsPerPage; |
2452
|
|
|
} |
2453
|
|
|
public function setKind( $kind) { |
2454
|
|
|
$this->kind = $kind; |
2455
|
|
|
} |
2456
|
|
|
public function getKind() { |
2457
|
|
|
return $this->kind; |
2458
|
|
|
} |
2459
|
|
|
public function setNextLink( $nextLink) { |
2460
|
|
|
$this->nextLink = $nextLink; |
2461
|
|
|
} |
2462
|
|
|
public function getNextLink() { |
2463
|
|
|
return $this->nextLink; |
2464
|
|
|
} |
2465
|
|
|
public function setPreviousLink( $previousLink) { |
2466
|
|
|
$this->previousLink = $previousLink; |
2467
|
|
|
} |
2468
|
|
|
public function getPreviousLink() { |
2469
|
|
|
return $this->previousLink; |
2470
|
|
|
} |
2471
|
|
|
public function setProfileInfo(Google_GaDataProfileInfo $profileInfo) { |
2472
|
|
|
$this->profileInfo = $profileInfo; |
2473
|
|
|
} |
2474
|
|
|
public function getProfileInfo() { |
2475
|
|
|
return $this->profileInfo; |
2476
|
|
|
} |
2477
|
|
|
public function setQuery(Google_GaDataQuery $query) { |
2478
|
|
|
$this->query = $query; |
2479
|
|
|
} |
2480
|
|
|
public function getQuery() { |
2481
|
|
|
return $this->query; |
2482
|
|
|
} |
2483
|
|
|
public function setRows(/* array(Google_string) */ $rows) { |
2484
|
|
|
$this->assertIsArray($rows, 'Google_string', __METHOD__); |
2485
|
|
|
$this->rows = $rows; |
2486
|
|
|
} |
2487
|
|
|
public function getRows() { |
2488
|
|
|
return $this->rows; |
2489
|
|
|
} |
2490
|
|
|
public function setSelfLink( $selfLink) { |
2491
|
|
|
$this->selfLink = $selfLink; |
2492
|
|
|
} |
2493
|
|
|
public function getSelfLink() { |
2494
|
|
|
return $this->selfLink; |
2495
|
|
|
} |
2496
|
|
|
public function setTotalResults( $totalResults) { |
2497
|
|
|
$this->totalResults = $totalResults; |
2498
|
|
|
} |
2499
|
|
|
public function getTotalResults() { |
2500
|
|
|
return $this->totalResults; |
2501
|
|
|
} |
2502
|
|
|
public function setTotalsForAllResults( $totalsForAllResults) { |
2503
|
|
|
$this->totalsForAllResults = $totalsForAllResults; |
2504
|
|
|
} |
2505
|
|
|
public function getTotalsForAllResults() { |
2506
|
|
|
return $this->totalsForAllResults; |
2507
|
|
|
} |
2508
|
|
|
} |
2509
|
|
|
|
2510
|
|
View Code Duplication |
class Google_GaDataColumnHeaders extends Google_Model { |
|
|
|
|
2511
|
|
|
public $columnType; |
2512
|
|
|
public $dataType; |
2513
|
|
|
public $name; |
2514
|
|
|
public function setColumnType( $columnType) { |
2515
|
|
|
$this->columnType = $columnType; |
2516
|
|
|
} |
2517
|
|
|
public function getColumnType() { |
2518
|
|
|
return $this->columnType; |
2519
|
|
|
} |
2520
|
|
|
public function setDataType( $dataType) { |
2521
|
|
|
$this->dataType = $dataType; |
2522
|
|
|
} |
2523
|
|
|
public function getDataType() { |
2524
|
|
|
return $this->dataType; |
2525
|
|
|
} |
2526
|
|
|
public function setName( $name) { |
2527
|
|
|
$this->name = $name; |
2528
|
|
|
} |
2529
|
|
|
public function getName() { |
2530
|
|
|
return $this->name; |
2531
|
|
|
} |
2532
|
|
|
} |
2533
|
|
|
|
2534
|
|
View Code Duplication |
class Google_GaDataProfileInfo extends Google_Model { |
|
|
|
|
2535
|
|
|
public $accountId; |
2536
|
|
|
public $internalWebPropertyId; |
2537
|
|
|
public $profileId; |
2538
|
|
|
public $profileName; |
2539
|
|
|
public $tableId; |
2540
|
|
|
public $webPropertyId; |
2541
|
|
|
public function setAccountId( $accountId) { |
2542
|
|
|
$this->accountId = $accountId; |
2543
|
|
|
} |
2544
|
|
|
public function getAccountId() { |
2545
|
|
|
return $this->accountId; |
2546
|
|
|
} |
2547
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
2548
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
2549
|
|
|
} |
2550
|
|
|
public function getInternalWebPropertyId() { |
2551
|
|
|
return $this->internalWebPropertyId; |
2552
|
|
|
} |
2553
|
|
|
public function setProfileId( $profileId) { |
2554
|
|
|
$this->profileId = $profileId; |
2555
|
|
|
} |
2556
|
|
|
public function getProfileId() { |
2557
|
|
|
return $this->profileId; |
2558
|
|
|
} |
2559
|
|
|
public function setProfileName( $profileName) { |
2560
|
|
|
$this->profileName = $profileName; |
2561
|
|
|
} |
2562
|
|
|
public function getProfileName() { |
2563
|
|
|
return $this->profileName; |
2564
|
|
|
} |
2565
|
|
|
public function setTableId( $tableId) { |
2566
|
|
|
$this->tableId = $tableId; |
2567
|
|
|
} |
2568
|
|
|
public function getTableId() { |
2569
|
|
|
return $this->tableId; |
2570
|
|
|
} |
2571
|
|
|
public function setWebPropertyId( $webPropertyId) { |
2572
|
|
|
$this->webPropertyId = $webPropertyId; |
2573
|
|
|
} |
2574
|
|
|
public function getWebPropertyId() { |
2575
|
|
|
return $this->webPropertyId; |
2576
|
|
|
} |
2577
|
|
|
} |
2578
|
|
|
|
2579
|
|
View Code Duplication |
class Google_GaDataQuery extends Google_Model { |
|
|
|
|
2580
|
|
|
public $dimensions; |
2581
|
|
|
public $end_date; |
2582
|
|
|
public $filters; |
2583
|
|
|
public $ids; |
2584
|
|
|
public $max_results; |
2585
|
|
|
public $metrics; |
2586
|
|
|
public $segment; |
2587
|
|
|
public $sort; |
2588
|
|
|
public $start_date; |
2589
|
|
|
public $start_index; |
2590
|
|
|
public function setDimensions( $dimensions) { |
2591
|
|
|
$this->dimensions = $dimensions; |
2592
|
|
|
} |
2593
|
|
|
public function getDimensions() { |
2594
|
|
|
return $this->dimensions; |
2595
|
|
|
} |
2596
|
|
|
public function setEnd_date( $end_date) { |
2597
|
|
|
$this->end_date = $end_date; |
2598
|
|
|
} |
2599
|
|
|
public function getEnd_date() { |
2600
|
|
|
return $this->end_date; |
2601
|
|
|
} |
2602
|
|
|
public function setFilters( $filters) { |
2603
|
|
|
$this->filters = $filters; |
2604
|
|
|
} |
2605
|
|
|
public function getFilters() { |
2606
|
|
|
return $this->filters; |
2607
|
|
|
} |
2608
|
|
|
public function setIds( $ids) { |
2609
|
|
|
$this->ids = $ids; |
2610
|
|
|
} |
2611
|
|
|
public function getIds() { |
2612
|
|
|
return $this->ids; |
2613
|
|
|
} |
2614
|
|
|
public function setMax_results( $max_results) { |
2615
|
|
|
$this->max_results = $max_results; |
2616
|
|
|
} |
2617
|
|
|
public function getMax_results() { |
2618
|
|
|
return $this->max_results; |
2619
|
|
|
} |
2620
|
|
|
public function setMetrics(/* array(Google_string) */ $metrics) { |
2621
|
|
|
$this->assertIsArray($metrics, 'Google_string', __METHOD__); |
2622
|
|
|
$this->metrics = $metrics; |
2623
|
|
|
} |
2624
|
|
|
public function getMetrics() { |
2625
|
|
|
return $this->metrics; |
2626
|
|
|
} |
2627
|
|
|
public function setSegment( $segment) { |
2628
|
|
|
$this->segment = $segment; |
2629
|
|
|
} |
2630
|
|
|
public function getSegment() { |
2631
|
|
|
return $this->segment; |
2632
|
|
|
} |
2633
|
|
|
public function setSort(/* array(Google_string) */ $sort) { |
2634
|
|
|
$this->assertIsArray($sort, 'Google_string', __METHOD__); |
2635
|
|
|
$this->sort = $sort; |
2636
|
|
|
} |
2637
|
|
|
public function getSort() { |
2638
|
|
|
return $this->sort; |
2639
|
|
|
} |
2640
|
|
|
public function setStart_date( $start_date) { |
2641
|
|
|
$this->start_date = $start_date; |
2642
|
|
|
} |
2643
|
|
|
public function getStart_date() { |
2644
|
|
|
return $this->start_date; |
2645
|
|
|
} |
2646
|
|
|
public function setStart_index( $start_index) { |
2647
|
|
|
$this->start_index = $start_index; |
2648
|
|
|
} |
2649
|
|
|
public function getStart_index() { |
2650
|
|
|
return $this->start_index; |
2651
|
|
|
} |
2652
|
|
|
} |
2653
|
|
|
|
2654
|
|
|
class Google_Goal extends Google_Model { |
2655
|
|
|
public $accountId; |
2656
|
|
|
public $active; |
2657
|
|
|
public $created; |
2658
|
|
|
protected $__eventDetailsType = 'Google_GoalEventDetails'; |
2659
|
|
|
protected $__eventDetailsDataType = ''; |
2660
|
|
|
public $eventDetails; |
2661
|
|
|
public $id; |
2662
|
|
|
public $internalWebPropertyId; |
2663
|
|
|
public $kind; |
2664
|
|
|
public $name; |
2665
|
|
|
protected $__parentLinkType = 'Google_GoalParentLink'; |
2666
|
|
|
protected $__parentLinkDataType = ''; |
2667
|
|
|
public $parentLink; |
2668
|
|
|
public $profileId; |
2669
|
|
|
public $selfLink; |
2670
|
|
|
public $type; |
2671
|
|
|
public $updated; |
2672
|
|
|
protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails'; |
2673
|
|
|
protected $__urlDestinationDetailsDataType = ''; |
2674
|
|
|
public $urlDestinationDetails; |
2675
|
|
|
public $value; |
2676
|
|
|
protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails'; |
2677
|
|
|
protected $__visitNumPagesDetailsDataType = ''; |
2678
|
|
|
public $visitNumPagesDetails; |
2679
|
|
|
protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails'; |
2680
|
|
|
protected $__visitTimeOnSiteDetailsDataType = ''; |
2681
|
|
|
public $visitTimeOnSiteDetails; |
2682
|
|
|
public $webPropertyId; |
2683
|
|
|
public function setAccountId( $accountId) { |
2684
|
|
|
$this->accountId = $accountId; |
2685
|
|
|
} |
2686
|
|
|
public function getAccountId() { |
2687
|
|
|
return $this->accountId; |
2688
|
|
|
} |
2689
|
|
|
public function setActive( $active) { |
2690
|
|
|
$this->active = $active; |
2691
|
|
|
} |
2692
|
|
|
public function getActive() { |
2693
|
|
|
return $this->active; |
2694
|
|
|
} |
2695
|
|
|
public function setCreated( $created) { |
2696
|
|
|
$this->created = $created; |
2697
|
|
|
} |
2698
|
|
|
public function getCreated() { |
2699
|
|
|
return $this->created; |
2700
|
|
|
} |
2701
|
|
|
public function setEventDetails(Google_GoalEventDetails $eventDetails) { |
2702
|
|
|
$this->eventDetails = $eventDetails; |
2703
|
|
|
} |
2704
|
|
|
public function getEventDetails() { |
2705
|
|
|
return $this->eventDetails; |
2706
|
|
|
} |
2707
|
|
|
public function setId( $id) { |
2708
|
|
|
$this->id = $id; |
2709
|
|
|
} |
2710
|
|
|
public function getId() { |
2711
|
|
|
return $this->id; |
2712
|
|
|
} |
2713
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
2714
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
2715
|
|
|
} |
2716
|
|
|
public function getInternalWebPropertyId() { |
2717
|
|
|
return $this->internalWebPropertyId; |
2718
|
|
|
} |
2719
|
|
|
public function setKind( $kind) { |
2720
|
|
|
$this->kind = $kind; |
2721
|
|
|
} |
2722
|
|
|
public function getKind() { |
2723
|
|
|
return $this->kind; |
2724
|
|
|
} |
2725
|
|
|
public function setName( $name) { |
2726
|
|
|
$this->name = $name; |
2727
|
|
|
} |
2728
|
|
|
public function getName() { |
2729
|
|
|
return $this->name; |
2730
|
|
|
} |
2731
|
|
|
public function setParentLink(Google_GoalParentLink $parentLink) { |
2732
|
|
|
$this->parentLink = $parentLink; |
2733
|
|
|
} |
2734
|
|
|
public function getParentLink() { |
2735
|
|
|
return $this->parentLink; |
2736
|
|
|
} |
2737
|
|
|
public function setProfileId( $profileId) { |
2738
|
|
|
$this->profileId = $profileId; |
2739
|
|
|
} |
2740
|
|
|
public function getProfileId() { |
2741
|
|
|
return $this->profileId; |
2742
|
|
|
} |
2743
|
|
|
public function setSelfLink( $selfLink) { |
2744
|
|
|
$this->selfLink = $selfLink; |
2745
|
|
|
} |
2746
|
|
|
public function getSelfLink() { |
2747
|
|
|
return $this->selfLink; |
2748
|
|
|
} |
2749
|
|
|
public function setType( $type) { |
2750
|
|
|
$this->type = $type; |
2751
|
|
|
} |
2752
|
|
|
public function getType() { |
2753
|
|
|
return $this->type; |
2754
|
|
|
} |
2755
|
|
|
public function setUpdated( $updated) { |
2756
|
|
|
$this->updated = $updated; |
2757
|
|
|
} |
2758
|
|
|
public function getUpdated() { |
2759
|
|
|
return $this->updated; |
2760
|
|
|
} |
2761
|
|
|
public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails) { |
2762
|
|
|
$this->urlDestinationDetails = $urlDestinationDetails; |
2763
|
|
|
} |
2764
|
|
|
public function getUrlDestinationDetails() { |
2765
|
|
|
return $this->urlDestinationDetails; |
2766
|
|
|
} |
2767
|
|
|
public function setValue( $value) { |
2768
|
|
|
$this->value = $value; |
2769
|
|
|
} |
2770
|
|
|
public function getValue() { |
2771
|
|
|
return $this->value; |
2772
|
|
|
} |
2773
|
|
|
public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails) { |
2774
|
|
|
$this->visitNumPagesDetails = $visitNumPagesDetails; |
2775
|
|
|
} |
2776
|
|
|
public function getVisitNumPagesDetails() { |
2777
|
|
|
return $this->visitNumPagesDetails; |
2778
|
|
|
} |
2779
|
|
|
public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) { |
2780
|
|
|
$this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails; |
2781
|
|
|
} |
2782
|
|
|
public function getVisitTimeOnSiteDetails() { |
2783
|
|
|
return $this->visitTimeOnSiteDetails; |
2784
|
|
|
} |
2785
|
|
|
public function setWebPropertyId( $webPropertyId) { |
2786
|
|
|
$this->webPropertyId = $webPropertyId; |
2787
|
|
|
} |
2788
|
|
|
public function getWebPropertyId() { |
2789
|
|
|
return $this->webPropertyId; |
2790
|
|
|
} |
2791
|
|
|
} |
2792
|
|
|
|
2793
|
|
|
class Google_GoalEventDetails extends Google_Model { |
2794
|
|
|
protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions'; |
2795
|
|
|
protected $__eventConditionsDataType = 'array'; |
2796
|
|
|
public $eventConditions; |
2797
|
|
|
public $useEventValue; |
2798
|
|
|
public function setEventConditions(/* array(Google_GoalEventDetailsEventConditions) */ $eventConditions) { |
2799
|
|
|
$this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__); |
2800
|
|
|
$this->eventConditions = $eventConditions; |
2801
|
|
|
} |
2802
|
|
|
public function getEventConditions() { |
2803
|
|
|
return $this->eventConditions; |
2804
|
|
|
} |
2805
|
|
|
public function setUseEventValue( $useEventValue) { |
2806
|
|
|
$this->useEventValue = $useEventValue; |
2807
|
|
|
} |
2808
|
|
|
public function getUseEventValue() { |
2809
|
|
|
return $this->useEventValue; |
2810
|
|
|
} |
2811
|
|
|
} |
2812
|
|
|
|
2813
|
|
|
class Google_GoalEventDetailsEventConditions extends Google_Model { |
2814
|
|
|
public $comparisonType; |
2815
|
|
|
public $comparisonValue; |
2816
|
|
|
public $expression; |
2817
|
|
|
public $matchType; |
2818
|
|
|
public $type; |
2819
|
|
|
public function setComparisonType( $comparisonType) { |
2820
|
|
|
$this->comparisonType = $comparisonType; |
2821
|
|
|
} |
2822
|
|
|
public function getComparisonType() { |
2823
|
|
|
return $this->comparisonType; |
2824
|
|
|
} |
2825
|
|
|
public function setComparisonValue( $comparisonValue) { |
2826
|
|
|
$this->comparisonValue = $comparisonValue; |
2827
|
|
|
} |
2828
|
|
|
public function getComparisonValue() { |
2829
|
|
|
return $this->comparisonValue; |
2830
|
|
|
} |
2831
|
|
|
public function setExpression( $expression) { |
2832
|
|
|
$this->expression = $expression; |
2833
|
|
|
} |
2834
|
|
|
public function getExpression() { |
2835
|
|
|
return $this->expression; |
2836
|
|
|
} |
2837
|
|
|
public function setMatchType( $matchType) { |
2838
|
|
|
$this->matchType = $matchType; |
2839
|
|
|
} |
2840
|
|
|
public function getMatchType() { |
2841
|
|
|
return $this->matchType; |
2842
|
|
|
} |
2843
|
|
|
public function setType( $type) { |
2844
|
|
|
$this->type = $type; |
2845
|
|
|
} |
2846
|
|
|
public function getType() { |
2847
|
|
|
return $this->type; |
2848
|
|
|
} |
2849
|
|
|
} |
2850
|
|
|
|
2851
|
|
|
class Google_GoalParentLink extends Google_Model { |
2852
|
|
|
public $href; |
2853
|
|
|
public $type; |
2854
|
|
|
public function setHref( $href) { |
2855
|
|
|
$this->href = $href; |
2856
|
|
|
} |
2857
|
|
|
public function getHref() { |
2858
|
|
|
return $this->href; |
2859
|
|
|
} |
2860
|
|
|
public function setType( $type) { |
2861
|
|
|
$this->type = $type; |
2862
|
|
|
} |
2863
|
|
|
public function getType() { |
2864
|
|
|
return $this->type; |
2865
|
|
|
} |
2866
|
|
|
} |
2867
|
|
|
|
2868
|
|
|
class Google_GoalUrlDestinationDetails extends Google_Model { |
2869
|
|
|
public $caseSensitive; |
2870
|
|
|
public $firstStepRequired; |
2871
|
|
|
public $matchType; |
2872
|
|
|
protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps'; |
2873
|
|
|
protected $__stepsDataType = 'array'; |
2874
|
|
|
public $steps; |
2875
|
|
|
public $url; |
2876
|
|
|
public function setCaseSensitive( $caseSensitive) { |
2877
|
|
|
$this->caseSensitive = $caseSensitive; |
2878
|
|
|
} |
2879
|
|
|
public function getCaseSensitive() { |
2880
|
|
|
return $this->caseSensitive; |
2881
|
|
|
} |
2882
|
|
|
public function setFirstStepRequired( $firstStepRequired) { |
2883
|
|
|
$this->firstStepRequired = $firstStepRequired; |
2884
|
|
|
} |
2885
|
|
|
public function getFirstStepRequired() { |
2886
|
|
|
return $this->firstStepRequired; |
2887
|
|
|
} |
2888
|
|
|
public function setMatchType( $matchType) { |
2889
|
|
|
$this->matchType = $matchType; |
2890
|
|
|
} |
2891
|
|
|
public function getMatchType() { |
2892
|
|
|
return $this->matchType; |
2893
|
|
|
} |
2894
|
|
|
public function setSteps(/* array(Google_GoalUrlDestinationDetailsSteps) */ $steps) { |
2895
|
|
|
$this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__); |
2896
|
|
|
$this->steps = $steps; |
2897
|
|
|
} |
2898
|
|
|
public function getSteps() { |
2899
|
|
|
return $this->steps; |
2900
|
|
|
} |
2901
|
|
|
public function setUrl( $url) { |
2902
|
|
|
$this->url = $url; |
2903
|
|
|
} |
2904
|
|
|
public function getUrl() { |
2905
|
|
|
return $this->url; |
2906
|
|
|
} |
2907
|
|
|
} |
2908
|
|
|
|
2909
|
|
|
class Google_GoalUrlDestinationDetailsSteps extends Google_Model { |
2910
|
|
|
public $name; |
2911
|
|
|
public $number; |
2912
|
|
|
public $url; |
2913
|
|
|
public function setName( $name) { |
2914
|
|
|
$this->name = $name; |
2915
|
|
|
} |
2916
|
|
|
public function getName() { |
2917
|
|
|
return $this->name; |
2918
|
|
|
} |
2919
|
|
|
public function setNumber( $number) { |
2920
|
|
|
$this->number = $number; |
2921
|
|
|
} |
2922
|
|
|
public function getNumber() { |
2923
|
|
|
return $this->number; |
2924
|
|
|
} |
2925
|
|
|
public function setUrl( $url) { |
2926
|
|
|
$this->url = $url; |
2927
|
|
|
} |
2928
|
|
|
public function getUrl() { |
2929
|
|
|
return $this->url; |
2930
|
|
|
} |
2931
|
|
|
} |
2932
|
|
|
|
2933
|
|
View Code Duplication |
class Google_GoalVisitNumPagesDetails extends Google_Model { |
|
|
|
|
2934
|
|
|
public $comparisonType; |
2935
|
|
|
public $comparisonValue; |
2936
|
|
|
public function setComparisonType( $comparisonType) { |
2937
|
|
|
$this->comparisonType = $comparisonType; |
2938
|
|
|
} |
2939
|
|
|
public function getComparisonType() { |
2940
|
|
|
return $this->comparisonType; |
2941
|
|
|
} |
2942
|
|
|
public function setComparisonValue( $comparisonValue) { |
2943
|
|
|
$this->comparisonValue = $comparisonValue; |
2944
|
|
|
} |
2945
|
|
|
public function getComparisonValue() { |
2946
|
|
|
return $this->comparisonValue; |
2947
|
|
|
} |
2948
|
|
|
} |
2949
|
|
|
|
2950
|
|
View Code Duplication |
class Google_GoalVisitTimeOnSiteDetails extends Google_Model { |
|
|
|
|
2951
|
|
|
public $comparisonType; |
2952
|
|
|
public $comparisonValue; |
2953
|
|
|
public function setComparisonType( $comparisonType) { |
2954
|
|
|
$this->comparisonType = $comparisonType; |
2955
|
|
|
} |
2956
|
|
|
public function getComparisonType() { |
2957
|
|
|
return $this->comparisonType; |
2958
|
|
|
} |
2959
|
|
|
public function setComparisonValue( $comparisonValue) { |
2960
|
|
|
$this->comparisonValue = $comparisonValue; |
2961
|
|
|
} |
2962
|
|
|
public function getComparisonValue() { |
2963
|
|
|
return $this->comparisonValue; |
2964
|
|
|
} |
2965
|
|
|
} |
2966
|
|
|
|
2967
|
|
View Code Duplication |
class Google_Goals extends Google_Model { |
|
|
|
|
2968
|
|
|
protected $__itemsType = 'Google_Goal'; |
2969
|
|
|
protected $__itemsDataType = 'array'; |
2970
|
|
|
public $items; |
2971
|
|
|
public $itemsPerPage; |
2972
|
|
|
public $kind; |
2973
|
|
|
public $nextLink; |
2974
|
|
|
public $previousLink; |
2975
|
|
|
public $startIndex; |
2976
|
|
|
public $totalResults; |
2977
|
|
|
public $username; |
2978
|
|
|
public function setItems(/* array(Google_Goal) */ $items) { |
2979
|
|
|
$this->assertIsArray($items, 'Google_Goal', __METHOD__); |
2980
|
|
|
$this->items = $items; |
2981
|
|
|
} |
2982
|
|
|
public function getItems() { |
2983
|
|
|
return $this->items; |
2984
|
|
|
} |
2985
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
2986
|
|
|
$this->itemsPerPage = $itemsPerPage; |
2987
|
|
|
} |
2988
|
|
|
public function getItemsPerPage() { |
2989
|
|
|
return $this->itemsPerPage; |
2990
|
|
|
} |
2991
|
|
|
public function setKind( $kind) { |
2992
|
|
|
$this->kind = $kind; |
2993
|
|
|
} |
2994
|
|
|
public function getKind() { |
2995
|
|
|
return $this->kind; |
2996
|
|
|
} |
2997
|
|
|
public function setNextLink( $nextLink) { |
2998
|
|
|
$this->nextLink = $nextLink; |
2999
|
|
|
} |
3000
|
|
|
public function getNextLink() { |
3001
|
|
|
return $this->nextLink; |
3002
|
|
|
} |
3003
|
|
|
public function setPreviousLink( $previousLink) { |
3004
|
|
|
$this->previousLink = $previousLink; |
3005
|
|
|
} |
3006
|
|
|
public function getPreviousLink() { |
3007
|
|
|
return $this->previousLink; |
3008
|
|
|
} |
3009
|
|
|
public function setStartIndex( $startIndex) { |
3010
|
|
|
$this->startIndex = $startIndex; |
3011
|
|
|
} |
3012
|
|
|
public function getStartIndex() { |
3013
|
|
|
return $this->startIndex; |
3014
|
|
|
} |
3015
|
|
|
public function setTotalResults( $totalResults) { |
3016
|
|
|
$this->totalResults = $totalResults; |
3017
|
|
|
} |
3018
|
|
|
public function getTotalResults() { |
3019
|
|
|
return $this->totalResults; |
3020
|
|
|
} |
3021
|
|
|
public function setUsername( $username) { |
3022
|
|
|
$this->username = $username; |
3023
|
|
|
} |
3024
|
|
|
public function getUsername() { |
3025
|
|
|
return $this->username; |
3026
|
|
|
} |
3027
|
|
|
} |
3028
|
|
|
|
3029
|
|
View Code Duplication |
class Google_McfData extends Google_Model { |
|
|
|
|
3030
|
|
|
protected $__columnHeadersType = 'Google_McfDataColumnHeaders'; |
3031
|
|
|
protected $__columnHeadersDataType = 'array'; |
3032
|
|
|
public $columnHeaders; |
3033
|
|
|
public $containsSampledData; |
3034
|
|
|
public $id; |
3035
|
|
|
public $itemsPerPage; |
3036
|
|
|
public $kind; |
3037
|
|
|
public $nextLink; |
3038
|
|
|
public $previousLink; |
3039
|
|
|
protected $__profileInfoType = 'Google_McfDataProfileInfo'; |
3040
|
|
|
protected $__profileInfoDataType = ''; |
3041
|
|
|
public $profileInfo; |
3042
|
|
|
protected $__queryType = 'Google_McfDataQuery'; |
3043
|
|
|
protected $__queryDataType = ''; |
3044
|
|
|
public $query; |
3045
|
|
|
protected $__rowsType = 'Google_McfDataRows'; |
3046
|
|
|
protected $__rowsDataType = 'array'; |
3047
|
|
|
public $rows; |
3048
|
|
|
public $selfLink; |
3049
|
|
|
public $totalResults; |
3050
|
|
|
public $totalsForAllResults; |
3051
|
|
|
public function setColumnHeaders(/* array(Google_McfDataColumnHeaders) */ $columnHeaders) { |
3052
|
|
|
$this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__); |
3053
|
|
|
$this->columnHeaders = $columnHeaders; |
3054
|
|
|
} |
3055
|
|
|
public function getColumnHeaders() { |
3056
|
|
|
return $this->columnHeaders; |
3057
|
|
|
} |
3058
|
|
|
public function setContainsSampledData( $containsSampledData) { |
3059
|
|
|
$this->containsSampledData = $containsSampledData; |
3060
|
|
|
} |
3061
|
|
|
public function getContainsSampledData() { |
3062
|
|
|
return $this->containsSampledData; |
3063
|
|
|
} |
3064
|
|
|
public function setId( $id) { |
3065
|
|
|
$this->id = $id; |
3066
|
|
|
} |
3067
|
|
|
public function getId() { |
3068
|
|
|
return $this->id; |
3069
|
|
|
} |
3070
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
3071
|
|
|
$this->itemsPerPage = $itemsPerPage; |
3072
|
|
|
} |
3073
|
|
|
public function getItemsPerPage() { |
3074
|
|
|
return $this->itemsPerPage; |
3075
|
|
|
} |
3076
|
|
|
public function setKind( $kind) { |
3077
|
|
|
$this->kind = $kind; |
3078
|
|
|
} |
3079
|
|
|
public function getKind() { |
3080
|
|
|
return $this->kind; |
3081
|
|
|
} |
3082
|
|
|
public function setNextLink( $nextLink) { |
3083
|
|
|
$this->nextLink = $nextLink; |
3084
|
|
|
} |
3085
|
|
|
public function getNextLink() { |
3086
|
|
|
return $this->nextLink; |
3087
|
|
|
} |
3088
|
|
|
public function setPreviousLink( $previousLink) { |
3089
|
|
|
$this->previousLink = $previousLink; |
3090
|
|
|
} |
3091
|
|
|
public function getPreviousLink() { |
3092
|
|
|
return $this->previousLink; |
3093
|
|
|
} |
3094
|
|
|
public function setProfileInfo(Google_McfDataProfileInfo $profileInfo) { |
3095
|
|
|
$this->profileInfo = $profileInfo; |
3096
|
|
|
} |
3097
|
|
|
public function getProfileInfo() { |
3098
|
|
|
return $this->profileInfo; |
3099
|
|
|
} |
3100
|
|
|
public function setQuery(Google_McfDataQuery $query) { |
3101
|
|
|
$this->query = $query; |
3102
|
|
|
} |
3103
|
|
|
public function getQuery() { |
3104
|
|
|
return $this->query; |
3105
|
|
|
} |
3106
|
|
|
public function setRows(/* array(Google_McfDataRows) */ $rows) { |
3107
|
|
|
$this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__); |
3108
|
|
|
$this->rows = $rows; |
3109
|
|
|
} |
3110
|
|
|
public function getRows() { |
3111
|
|
|
return $this->rows; |
3112
|
|
|
} |
3113
|
|
|
public function setSelfLink( $selfLink) { |
3114
|
|
|
$this->selfLink = $selfLink; |
3115
|
|
|
} |
3116
|
|
|
public function getSelfLink() { |
3117
|
|
|
return $this->selfLink; |
3118
|
|
|
} |
3119
|
|
|
public function setTotalResults( $totalResults) { |
3120
|
|
|
$this->totalResults = $totalResults; |
3121
|
|
|
} |
3122
|
|
|
public function getTotalResults() { |
3123
|
|
|
return $this->totalResults; |
3124
|
|
|
} |
3125
|
|
|
public function setTotalsForAllResults( $totalsForAllResults) { |
3126
|
|
|
$this->totalsForAllResults = $totalsForAllResults; |
3127
|
|
|
} |
3128
|
|
|
public function getTotalsForAllResults() { |
3129
|
|
|
return $this->totalsForAllResults; |
3130
|
|
|
} |
3131
|
|
|
} |
3132
|
|
|
|
3133
|
|
View Code Duplication |
class Google_McfDataColumnHeaders extends Google_Model { |
|
|
|
|
3134
|
|
|
public $columnType; |
3135
|
|
|
public $dataType; |
3136
|
|
|
public $name; |
3137
|
|
|
public function setColumnType( $columnType) { |
3138
|
|
|
$this->columnType = $columnType; |
3139
|
|
|
} |
3140
|
|
|
public function getColumnType() { |
3141
|
|
|
return $this->columnType; |
3142
|
|
|
} |
3143
|
|
|
public function setDataType( $dataType) { |
3144
|
|
|
$this->dataType = $dataType; |
3145
|
|
|
} |
3146
|
|
|
public function getDataType() { |
3147
|
|
|
return $this->dataType; |
3148
|
|
|
} |
3149
|
|
|
public function setName( $name) { |
3150
|
|
|
$this->name = $name; |
3151
|
|
|
} |
3152
|
|
|
public function getName() { |
3153
|
|
|
return $this->name; |
3154
|
|
|
} |
3155
|
|
|
} |
3156
|
|
|
|
3157
|
|
View Code Duplication |
class Google_McfDataProfileInfo extends Google_Model { |
|
|
|
|
3158
|
|
|
public $accountId; |
3159
|
|
|
public $internalWebPropertyId; |
3160
|
|
|
public $profileId; |
3161
|
|
|
public $profileName; |
3162
|
|
|
public $tableId; |
3163
|
|
|
public $webPropertyId; |
3164
|
|
|
public function setAccountId( $accountId) { |
3165
|
|
|
$this->accountId = $accountId; |
3166
|
|
|
} |
3167
|
|
|
public function getAccountId() { |
3168
|
|
|
return $this->accountId; |
3169
|
|
|
} |
3170
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
3171
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
3172
|
|
|
} |
3173
|
|
|
public function getInternalWebPropertyId() { |
3174
|
|
|
return $this->internalWebPropertyId; |
3175
|
|
|
} |
3176
|
|
|
public function setProfileId( $profileId) { |
3177
|
|
|
$this->profileId = $profileId; |
3178
|
|
|
} |
3179
|
|
|
public function getProfileId() { |
3180
|
|
|
return $this->profileId; |
3181
|
|
|
} |
3182
|
|
|
public function setProfileName( $profileName) { |
3183
|
|
|
$this->profileName = $profileName; |
3184
|
|
|
} |
3185
|
|
|
public function getProfileName() { |
3186
|
|
|
return $this->profileName; |
3187
|
|
|
} |
3188
|
|
|
public function setTableId( $tableId) { |
3189
|
|
|
$this->tableId = $tableId; |
3190
|
|
|
} |
3191
|
|
|
public function getTableId() { |
3192
|
|
|
return $this->tableId; |
3193
|
|
|
} |
3194
|
|
|
public function setWebPropertyId( $webPropertyId) { |
3195
|
|
|
$this->webPropertyId = $webPropertyId; |
3196
|
|
|
} |
3197
|
|
|
public function getWebPropertyId() { |
3198
|
|
|
return $this->webPropertyId; |
3199
|
|
|
} |
3200
|
|
|
} |
3201
|
|
|
|
3202
|
|
View Code Duplication |
class Google_McfDataQuery extends Google_Model { |
|
|
|
|
3203
|
|
|
public $dimensions; |
3204
|
|
|
public $end_date; |
3205
|
|
|
public $filters; |
3206
|
|
|
public $ids; |
3207
|
|
|
public $max_results; |
3208
|
|
|
public $metrics; |
3209
|
|
|
public $segment; |
3210
|
|
|
public $sort; |
3211
|
|
|
public $start_date; |
3212
|
|
|
public $start_index; |
3213
|
|
|
public function setDimensions( $dimensions) { |
3214
|
|
|
$this->dimensions = $dimensions; |
3215
|
|
|
} |
3216
|
|
|
public function getDimensions() { |
3217
|
|
|
return $this->dimensions; |
3218
|
|
|
} |
3219
|
|
|
public function setEnd_date( $end_date) { |
3220
|
|
|
$this->end_date = $end_date; |
3221
|
|
|
} |
3222
|
|
|
public function getEnd_date() { |
3223
|
|
|
return $this->end_date; |
3224
|
|
|
} |
3225
|
|
|
public function setFilters( $filters) { |
3226
|
|
|
$this->filters = $filters; |
3227
|
|
|
} |
3228
|
|
|
public function getFilters() { |
3229
|
|
|
return $this->filters; |
3230
|
|
|
} |
3231
|
|
|
public function setIds( $ids) { |
3232
|
|
|
$this->ids = $ids; |
3233
|
|
|
} |
3234
|
|
|
public function getIds() { |
3235
|
|
|
return $this->ids; |
3236
|
|
|
} |
3237
|
|
|
public function setMax_results( $max_results) { |
3238
|
|
|
$this->max_results = $max_results; |
3239
|
|
|
} |
3240
|
|
|
public function getMax_results() { |
3241
|
|
|
return $this->max_results; |
3242
|
|
|
} |
3243
|
|
|
public function setMetrics(/* array(Google_string) */ $metrics) { |
3244
|
|
|
$this->assertIsArray($metrics, 'Google_string', __METHOD__); |
3245
|
|
|
$this->metrics = $metrics; |
3246
|
|
|
} |
3247
|
|
|
public function getMetrics() { |
3248
|
|
|
return $this->metrics; |
3249
|
|
|
} |
3250
|
|
|
public function setSegment( $segment) { |
3251
|
|
|
$this->segment = $segment; |
3252
|
|
|
} |
3253
|
|
|
public function getSegment() { |
3254
|
|
|
return $this->segment; |
3255
|
|
|
} |
3256
|
|
|
public function setSort(/* array(Google_string) */ $sort) { |
3257
|
|
|
$this->assertIsArray($sort, 'Google_string', __METHOD__); |
3258
|
|
|
$this->sort = $sort; |
3259
|
|
|
} |
3260
|
|
|
public function getSort() { |
3261
|
|
|
return $this->sort; |
3262
|
|
|
} |
3263
|
|
|
public function setStart_date( $start_date) { |
3264
|
|
|
$this->start_date = $start_date; |
3265
|
|
|
} |
3266
|
|
|
public function getStart_date() { |
3267
|
|
|
return $this->start_date; |
3268
|
|
|
} |
3269
|
|
|
public function setStart_index( $start_index) { |
3270
|
|
|
$this->start_index = $start_index; |
3271
|
|
|
} |
3272
|
|
|
public function getStart_index() { |
3273
|
|
|
return $this->start_index; |
3274
|
|
|
} |
3275
|
|
|
} |
3276
|
|
|
|
3277
|
|
|
class Google_McfDataRows extends Google_Model { |
3278
|
|
|
protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue'; |
3279
|
|
|
protected $__conversionPathValueDataType = 'array'; |
3280
|
|
|
public $conversionPathValue; |
3281
|
|
|
public $primitiveValue; |
3282
|
|
|
public function setConversionPathValue(/* array(Google_McfDataRowsConversionPathValue) */ $conversionPathValue) { |
3283
|
|
|
$this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__); |
3284
|
|
|
$this->conversionPathValue = $conversionPathValue; |
3285
|
|
|
} |
3286
|
|
|
public function getConversionPathValue() { |
3287
|
|
|
return $this->conversionPathValue; |
3288
|
|
|
} |
3289
|
|
|
public function setPrimitiveValue( $primitiveValue) { |
3290
|
|
|
$this->primitiveValue = $primitiveValue; |
3291
|
|
|
} |
3292
|
|
|
public function getPrimitiveValue() { |
3293
|
|
|
return $this->primitiveValue; |
3294
|
|
|
} |
3295
|
|
|
} |
3296
|
|
|
|
3297
|
|
|
class Google_McfDataRowsConversionPathValue extends Google_Model { |
3298
|
|
|
public $interactionType; |
3299
|
|
|
public $nodeValue; |
3300
|
|
|
public function setInteractionType( $interactionType) { |
3301
|
|
|
$this->interactionType = $interactionType; |
3302
|
|
|
} |
3303
|
|
|
public function getInteractionType() { |
3304
|
|
|
return $this->interactionType; |
3305
|
|
|
} |
3306
|
|
|
public function setNodeValue( $nodeValue) { |
3307
|
|
|
$this->nodeValue = $nodeValue; |
3308
|
|
|
} |
3309
|
|
|
public function getNodeValue() { |
3310
|
|
|
return $this->nodeValue; |
3311
|
|
|
} |
3312
|
|
|
} |
3313
|
|
|
|
3314
|
|
|
class Google_Profile extends Google_Model { |
3315
|
|
|
public $accountId; |
3316
|
|
|
protected $__childLinkType = 'Google_ProfileChildLink'; |
3317
|
|
|
protected $__childLinkDataType = ''; |
3318
|
|
|
public $childLink; |
3319
|
|
|
public $created; |
3320
|
|
|
public $currency; |
3321
|
|
|
public $defaultPage; |
3322
|
|
|
public $eCommerceTracking; |
3323
|
|
|
public $excludeQueryParameters; |
3324
|
|
|
public $id; |
3325
|
|
|
public $internalWebPropertyId; |
3326
|
|
|
public $kind; |
3327
|
|
|
public $name; |
3328
|
|
|
protected $__parentLinkType = 'Google_ProfileParentLink'; |
3329
|
|
|
protected $__parentLinkDataType = ''; |
3330
|
|
|
public $parentLink; |
3331
|
|
|
protected $__permissionsType = 'Google_ProfilePermissions'; |
3332
|
|
|
protected $__permissionsDataType = ''; |
3333
|
|
|
public $permissions; |
3334
|
|
|
public $selfLink; |
3335
|
|
|
public $siteSearchCategoryParameters; |
3336
|
|
|
public $siteSearchQueryParameters; |
3337
|
|
|
public $timezone; |
3338
|
|
|
public $type; |
3339
|
|
|
public $updated; |
3340
|
|
|
public $webPropertyId; |
3341
|
|
|
public $websiteUrl; |
3342
|
|
|
public function setAccountId( $accountId) { |
3343
|
|
|
$this->accountId = $accountId; |
3344
|
|
|
} |
3345
|
|
|
public function getAccountId() { |
3346
|
|
|
return $this->accountId; |
3347
|
|
|
} |
3348
|
|
|
public function setChildLink(Google_ProfileChildLink $childLink) { |
3349
|
|
|
$this->childLink = $childLink; |
3350
|
|
|
} |
3351
|
|
|
public function getChildLink() { |
3352
|
|
|
return $this->childLink; |
3353
|
|
|
} |
3354
|
|
|
public function setCreated( $created) { |
3355
|
|
|
$this->created = $created; |
3356
|
|
|
} |
3357
|
|
|
public function getCreated() { |
3358
|
|
|
return $this->created; |
3359
|
|
|
} |
3360
|
|
|
public function setCurrency( $currency) { |
3361
|
|
|
$this->currency = $currency; |
3362
|
|
|
} |
3363
|
|
|
public function getCurrency() { |
3364
|
|
|
return $this->currency; |
3365
|
|
|
} |
3366
|
|
|
public function setDefaultPage( $defaultPage) { |
3367
|
|
|
$this->defaultPage = $defaultPage; |
3368
|
|
|
} |
3369
|
|
|
public function getDefaultPage() { |
3370
|
|
|
return $this->defaultPage; |
3371
|
|
|
} |
3372
|
|
|
public function setECommerceTracking( $eCommerceTracking) { |
3373
|
|
|
$this->eCommerceTracking = $eCommerceTracking; |
3374
|
|
|
} |
3375
|
|
|
public function getECommerceTracking() { |
3376
|
|
|
return $this->eCommerceTracking; |
3377
|
|
|
} |
3378
|
|
|
public function setExcludeQueryParameters( $excludeQueryParameters) { |
3379
|
|
|
$this->excludeQueryParameters = $excludeQueryParameters; |
3380
|
|
|
} |
3381
|
|
|
public function getExcludeQueryParameters() { |
3382
|
|
|
return $this->excludeQueryParameters; |
3383
|
|
|
} |
3384
|
|
|
public function setId( $id) { |
3385
|
|
|
$this->id = $id; |
3386
|
|
|
} |
3387
|
|
|
public function getId() { |
3388
|
|
|
return $this->id; |
3389
|
|
|
} |
3390
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
3391
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
3392
|
|
|
} |
3393
|
|
|
public function getInternalWebPropertyId() { |
3394
|
|
|
return $this->internalWebPropertyId; |
3395
|
|
|
} |
3396
|
|
|
public function setKind( $kind) { |
3397
|
|
|
$this->kind = $kind; |
3398
|
|
|
} |
3399
|
|
|
public function getKind() { |
3400
|
|
|
return $this->kind; |
3401
|
|
|
} |
3402
|
|
|
public function setName( $name) { |
3403
|
|
|
$this->name = $name; |
3404
|
|
|
} |
3405
|
|
|
public function getName() { |
3406
|
|
|
return $this->name; |
3407
|
|
|
} |
3408
|
|
|
public function setParentLink(Google_ProfileParentLink $parentLink) { |
3409
|
|
|
$this->parentLink = $parentLink; |
3410
|
|
|
} |
3411
|
|
|
public function getParentLink() { |
3412
|
|
|
return $this->parentLink; |
3413
|
|
|
} |
3414
|
|
|
public function setPermissions(Google_ProfilePermissions $permissions) { |
3415
|
|
|
$this->permissions = $permissions; |
3416
|
|
|
} |
3417
|
|
|
public function getPermissions() { |
3418
|
|
|
return $this->permissions; |
3419
|
|
|
} |
3420
|
|
|
public function setSelfLink( $selfLink) { |
3421
|
|
|
$this->selfLink = $selfLink; |
3422
|
|
|
} |
3423
|
|
|
public function getSelfLink() { |
3424
|
|
|
return $this->selfLink; |
3425
|
|
|
} |
3426
|
|
|
public function setSiteSearchCategoryParameters( $siteSearchCategoryParameters) { |
3427
|
|
|
$this->siteSearchCategoryParameters = $siteSearchCategoryParameters; |
3428
|
|
|
} |
3429
|
|
|
public function getSiteSearchCategoryParameters() { |
3430
|
|
|
return $this->siteSearchCategoryParameters; |
3431
|
|
|
} |
3432
|
|
|
public function setSiteSearchQueryParameters( $siteSearchQueryParameters) { |
3433
|
|
|
$this->siteSearchQueryParameters = $siteSearchQueryParameters; |
3434
|
|
|
} |
3435
|
|
|
public function getSiteSearchQueryParameters() { |
3436
|
|
|
return $this->siteSearchQueryParameters; |
3437
|
|
|
} |
3438
|
|
|
public function setTimezone( $timezone) { |
3439
|
|
|
$this->timezone = $timezone; |
3440
|
|
|
} |
3441
|
|
|
public function getTimezone() { |
3442
|
|
|
return $this->timezone; |
3443
|
|
|
} |
3444
|
|
|
public function setType( $type) { |
3445
|
|
|
$this->type = $type; |
3446
|
|
|
} |
3447
|
|
|
public function getType() { |
3448
|
|
|
return $this->type; |
3449
|
|
|
} |
3450
|
|
|
public function setUpdated( $updated) { |
3451
|
|
|
$this->updated = $updated; |
3452
|
|
|
} |
3453
|
|
|
public function getUpdated() { |
3454
|
|
|
return $this->updated; |
3455
|
|
|
} |
3456
|
|
|
public function setWebPropertyId( $webPropertyId) { |
3457
|
|
|
$this->webPropertyId = $webPropertyId; |
3458
|
|
|
} |
3459
|
|
|
public function getWebPropertyId() { |
3460
|
|
|
return $this->webPropertyId; |
3461
|
|
|
} |
3462
|
|
|
public function setWebsiteUrl( $websiteUrl) { |
3463
|
|
|
$this->websiteUrl = $websiteUrl; |
3464
|
|
|
} |
3465
|
|
|
public function getWebsiteUrl() { |
3466
|
|
|
return $this->websiteUrl; |
3467
|
|
|
} |
3468
|
|
|
} |
3469
|
|
|
|
3470
|
|
|
class Google_ProfileChildLink extends Google_Model { |
3471
|
|
|
public $href; |
3472
|
|
|
public $type; |
3473
|
|
|
public function setHref( $href) { |
3474
|
|
|
$this->href = $href; |
3475
|
|
|
} |
3476
|
|
|
public function getHref() { |
3477
|
|
|
return $this->href; |
3478
|
|
|
} |
3479
|
|
|
public function setType( $type) { |
3480
|
|
|
$this->type = $type; |
3481
|
|
|
} |
3482
|
|
|
public function getType() { |
3483
|
|
|
return $this->type; |
3484
|
|
|
} |
3485
|
|
|
} |
3486
|
|
|
|
3487
|
|
|
class Google_ProfileParentLink extends Google_Model { |
3488
|
|
|
public $href; |
3489
|
|
|
public $type; |
3490
|
|
|
public function setHref( $href) { |
3491
|
|
|
$this->href = $href; |
3492
|
|
|
} |
3493
|
|
|
public function getHref() { |
3494
|
|
|
return $this->href; |
3495
|
|
|
} |
3496
|
|
|
public function setType( $type) { |
3497
|
|
|
$this->type = $type; |
3498
|
|
|
} |
3499
|
|
|
public function getType() { |
3500
|
|
|
return $this->type; |
3501
|
|
|
} |
3502
|
|
|
} |
3503
|
|
|
|
3504
|
|
View Code Duplication |
class Google_ProfilePermissions extends Google_Model { |
|
|
|
|
3505
|
|
|
public $effective; |
3506
|
|
|
public function setEffective(/* array(Google_string) */ $effective) { |
3507
|
|
|
$this->assertIsArray($effective, 'Google_string', __METHOD__); |
3508
|
|
|
$this->effective = $effective; |
3509
|
|
|
} |
3510
|
|
|
public function getEffective() { |
3511
|
|
|
return $this->effective; |
3512
|
|
|
} |
3513
|
|
|
} |
3514
|
|
|
|
3515
|
|
View Code Duplication |
class Google_ProfileRef extends Google_Model { |
|
|
|
|
3516
|
|
|
public $accountId; |
3517
|
|
|
public $href; |
3518
|
|
|
public $id; |
3519
|
|
|
public $internalWebPropertyId; |
3520
|
|
|
public $kind; |
3521
|
|
|
public $name; |
3522
|
|
|
public $webPropertyId; |
3523
|
|
|
public function setAccountId( $accountId) { |
3524
|
|
|
$this->accountId = $accountId; |
3525
|
|
|
} |
3526
|
|
|
public function getAccountId() { |
3527
|
|
|
return $this->accountId; |
3528
|
|
|
} |
3529
|
|
|
public function setHref( $href) { |
3530
|
|
|
$this->href = $href; |
3531
|
|
|
} |
3532
|
|
|
public function getHref() { |
3533
|
|
|
return $this->href; |
3534
|
|
|
} |
3535
|
|
|
public function setId( $id) { |
3536
|
|
|
$this->id = $id; |
3537
|
|
|
} |
3538
|
|
|
public function getId() { |
3539
|
|
|
return $this->id; |
3540
|
|
|
} |
3541
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
3542
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
3543
|
|
|
} |
3544
|
|
|
public function getInternalWebPropertyId() { |
3545
|
|
|
return $this->internalWebPropertyId; |
3546
|
|
|
} |
3547
|
|
|
public function setKind( $kind) { |
3548
|
|
|
$this->kind = $kind; |
3549
|
|
|
} |
3550
|
|
|
public function getKind() { |
3551
|
|
|
return $this->kind; |
3552
|
|
|
} |
3553
|
|
|
public function setName( $name) { |
3554
|
|
|
$this->name = $name; |
3555
|
|
|
} |
3556
|
|
|
public function getName() { |
3557
|
|
|
return $this->name; |
3558
|
|
|
} |
3559
|
|
|
public function setWebPropertyId( $webPropertyId) { |
3560
|
|
|
$this->webPropertyId = $webPropertyId; |
3561
|
|
|
} |
3562
|
|
|
public function getWebPropertyId() { |
3563
|
|
|
return $this->webPropertyId; |
3564
|
|
|
} |
3565
|
|
|
} |
3566
|
|
|
|
3567
|
|
View Code Duplication |
class Google_Profiles extends Google_Model { |
|
|
|
|
3568
|
|
|
protected $__itemsType = 'Google_Profile'; |
3569
|
|
|
protected $__itemsDataType = 'array'; |
3570
|
|
|
public $items; |
3571
|
|
|
public $itemsPerPage; |
3572
|
|
|
public $kind; |
3573
|
|
|
public $nextLink; |
3574
|
|
|
public $previousLink; |
3575
|
|
|
public $startIndex; |
3576
|
|
|
public $totalResults; |
3577
|
|
|
public $username; |
3578
|
|
|
public function setItems(/* array(Google_Profile) */ $items) { |
3579
|
|
|
$this->assertIsArray($items, 'Google_Profile', __METHOD__); |
3580
|
|
|
$this->items = $items; |
3581
|
|
|
} |
3582
|
|
|
public function getItems() { |
3583
|
|
|
return $this->items; |
3584
|
|
|
} |
3585
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
3586
|
|
|
$this->itemsPerPage = $itemsPerPage; |
3587
|
|
|
} |
3588
|
|
|
public function getItemsPerPage() { |
3589
|
|
|
return $this->itemsPerPage; |
3590
|
|
|
} |
3591
|
|
|
public function setKind( $kind) { |
3592
|
|
|
$this->kind = $kind; |
3593
|
|
|
} |
3594
|
|
|
public function getKind() { |
3595
|
|
|
return $this->kind; |
3596
|
|
|
} |
3597
|
|
|
public function setNextLink( $nextLink) { |
3598
|
|
|
$this->nextLink = $nextLink; |
3599
|
|
|
} |
3600
|
|
|
public function getNextLink() { |
3601
|
|
|
return $this->nextLink; |
3602
|
|
|
} |
3603
|
|
|
public function setPreviousLink( $previousLink) { |
3604
|
|
|
$this->previousLink = $previousLink; |
3605
|
|
|
} |
3606
|
|
|
public function getPreviousLink() { |
3607
|
|
|
return $this->previousLink; |
3608
|
|
|
} |
3609
|
|
|
public function setStartIndex( $startIndex) { |
3610
|
|
|
$this->startIndex = $startIndex; |
3611
|
|
|
} |
3612
|
|
|
public function getStartIndex() { |
3613
|
|
|
return $this->startIndex; |
3614
|
|
|
} |
3615
|
|
|
public function setTotalResults( $totalResults) { |
3616
|
|
|
$this->totalResults = $totalResults; |
3617
|
|
|
} |
3618
|
|
|
public function getTotalResults() { |
3619
|
|
|
return $this->totalResults; |
3620
|
|
|
} |
3621
|
|
|
public function setUsername( $username) { |
3622
|
|
|
$this->username = $username; |
3623
|
|
|
} |
3624
|
|
|
public function getUsername() { |
3625
|
|
|
return $this->username; |
3626
|
|
|
} |
3627
|
|
|
} |
3628
|
|
|
|
3629
|
|
|
class Google_RealtimeData extends Google_Model { |
3630
|
|
|
protected $__columnHeadersType = 'Google_RealtimeDataColumnHeaders'; |
3631
|
|
|
protected $__columnHeadersDataType = 'array'; |
3632
|
|
|
public $columnHeaders; |
3633
|
|
|
public $id; |
3634
|
|
|
public $kind; |
3635
|
|
|
protected $__profileInfoType = 'Google_RealtimeDataProfileInfo'; |
3636
|
|
|
protected $__profileInfoDataType = ''; |
3637
|
|
|
public $profileInfo; |
3638
|
|
|
protected $__queryType = 'Google_RealtimeDataQuery'; |
3639
|
|
|
protected $__queryDataType = ''; |
3640
|
|
|
public $query; |
3641
|
|
|
public $rows; |
3642
|
|
|
public $selfLink; |
3643
|
|
|
public $totalResults; |
3644
|
|
|
public $totalsForAllResults; |
3645
|
|
|
public function setColumnHeaders(/* array(Google_RealtimeDataColumnHeaders) */ $columnHeaders) { |
3646
|
|
|
$this->assertIsArray($columnHeaders, 'Google_RealtimeDataColumnHeaders', __METHOD__); |
3647
|
|
|
$this->columnHeaders = $columnHeaders; |
3648
|
|
|
} |
3649
|
|
|
public function getColumnHeaders() { |
3650
|
|
|
return $this->columnHeaders; |
3651
|
|
|
} |
3652
|
|
|
public function setId( $id) { |
3653
|
|
|
$this->id = $id; |
3654
|
|
|
} |
3655
|
|
|
public function getId() { |
3656
|
|
|
return $this->id; |
3657
|
|
|
} |
3658
|
|
|
public function setKind( $kind) { |
3659
|
|
|
$this->kind = $kind; |
3660
|
|
|
} |
3661
|
|
|
public function getKind() { |
3662
|
|
|
return $this->kind; |
3663
|
|
|
} |
3664
|
|
|
public function setProfileInfo(Google_RealtimeDataProfileInfo $profileInfo) { |
3665
|
|
|
$this->profileInfo = $profileInfo; |
3666
|
|
|
} |
3667
|
|
|
public function getProfileInfo() { |
3668
|
|
|
return $this->profileInfo; |
3669
|
|
|
} |
3670
|
|
|
public function setQuery(Google_RealtimeDataQuery $query) { |
3671
|
|
|
$this->query = $query; |
3672
|
|
|
} |
3673
|
|
|
public function getQuery() { |
3674
|
|
|
return $this->query; |
3675
|
|
|
} |
3676
|
|
|
public function setRows(/* array(Google_string) */ $rows) { |
3677
|
|
|
$this->assertIsArray($rows, 'Google_string', __METHOD__); |
3678
|
|
|
$this->rows = $rows; |
3679
|
|
|
} |
3680
|
|
|
public function getRows() { |
3681
|
|
|
return $this->rows; |
3682
|
|
|
} |
3683
|
|
|
public function setSelfLink( $selfLink) { |
3684
|
|
|
$this->selfLink = $selfLink; |
3685
|
|
|
} |
3686
|
|
|
public function getSelfLink() { |
3687
|
|
|
return $this->selfLink; |
3688
|
|
|
} |
3689
|
|
|
public function setTotalResults( $totalResults) { |
3690
|
|
|
$this->totalResults = $totalResults; |
3691
|
|
|
} |
3692
|
|
|
public function getTotalResults() { |
3693
|
|
|
return $this->totalResults; |
3694
|
|
|
} |
3695
|
|
|
public function setTotalsForAllResults( $totalsForAllResults) { |
3696
|
|
|
$this->totalsForAllResults = $totalsForAllResults; |
3697
|
|
|
} |
3698
|
|
|
public function getTotalsForAllResults() { |
3699
|
|
|
return $this->totalsForAllResults; |
3700
|
|
|
} |
3701
|
|
|
} |
3702
|
|
|
|
3703
|
|
View Code Duplication |
class Google_RealtimeDataColumnHeaders extends Google_Model { |
|
|
|
|
3704
|
|
|
public $columnType; |
3705
|
|
|
public $dataType; |
3706
|
|
|
public $name; |
3707
|
|
|
public function setColumnType( $columnType) { |
3708
|
|
|
$this->columnType = $columnType; |
3709
|
|
|
} |
3710
|
|
|
public function getColumnType() { |
3711
|
|
|
return $this->columnType; |
3712
|
|
|
} |
3713
|
|
|
public function setDataType( $dataType) { |
3714
|
|
|
$this->dataType = $dataType; |
3715
|
|
|
} |
3716
|
|
|
public function getDataType() { |
3717
|
|
|
return $this->dataType; |
3718
|
|
|
} |
3719
|
|
|
public function setName( $name) { |
3720
|
|
|
$this->name = $name; |
3721
|
|
|
} |
3722
|
|
|
public function getName() { |
3723
|
|
|
return $this->name; |
3724
|
|
|
} |
3725
|
|
|
} |
3726
|
|
|
|
3727
|
|
View Code Duplication |
class Google_RealtimeDataProfileInfo extends Google_Model { |
|
|
|
|
3728
|
|
|
public $accountId; |
3729
|
|
|
public $internalWebPropertyId; |
3730
|
|
|
public $profileId; |
3731
|
|
|
public $profileName; |
3732
|
|
|
public $tableId; |
3733
|
|
|
public $webPropertyId; |
3734
|
|
|
public function setAccountId( $accountId) { |
3735
|
|
|
$this->accountId = $accountId; |
3736
|
|
|
} |
3737
|
|
|
public function getAccountId() { |
3738
|
|
|
return $this->accountId; |
3739
|
|
|
} |
3740
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
3741
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
3742
|
|
|
} |
3743
|
|
|
public function getInternalWebPropertyId() { |
3744
|
|
|
return $this->internalWebPropertyId; |
3745
|
|
|
} |
3746
|
|
|
public function setProfileId( $profileId) { |
3747
|
|
|
$this->profileId = $profileId; |
3748
|
|
|
} |
3749
|
|
|
public function getProfileId() { |
3750
|
|
|
return $this->profileId; |
3751
|
|
|
} |
3752
|
|
|
public function setProfileName( $profileName) { |
3753
|
|
|
$this->profileName = $profileName; |
3754
|
|
|
} |
3755
|
|
|
public function getProfileName() { |
3756
|
|
|
return $this->profileName; |
3757
|
|
|
} |
3758
|
|
|
public function setTableId( $tableId) { |
3759
|
|
|
$this->tableId = $tableId; |
3760
|
|
|
} |
3761
|
|
|
public function getTableId() { |
3762
|
|
|
return $this->tableId; |
3763
|
|
|
} |
3764
|
|
|
public function setWebPropertyId( $webPropertyId) { |
3765
|
|
|
$this->webPropertyId = $webPropertyId; |
3766
|
|
|
} |
3767
|
|
|
public function getWebPropertyId() { |
3768
|
|
|
return $this->webPropertyId; |
3769
|
|
|
} |
3770
|
|
|
} |
3771
|
|
|
|
3772
|
|
|
class Google_RealtimeDataQuery extends Google_Model { |
3773
|
|
|
public $dimensions; |
3774
|
|
|
public $filters; |
3775
|
|
|
public $ids; |
3776
|
|
|
public $max_results; |
3777
|
|
|
public $metrics; |
3778
|
|
|
public $sort; |
3779
|
|
|
public function setDimensions( $dimensions) { |
3780
|
|
|
$this->dimensions = $dimensions; |
3781
|
|
|
} |
3782
|
|
|
public function getDimensions() { |
3783
|
|
|
return $this->dimensions; |
3784
|
|
|
} |
3785
|
|
|
public function setFilters( $filters) { |
3786
|
|
|
$this->filters = $filters; |
3787
|
|
|
} |
3788
|
|
|
public function getFilters() { |
3789
|
|
|
return $this->filters; |
3790
|
|
|
} |
3791
|
|
|
public function setIds( $ids) { |
3792
|
|
|
$this->ids = $ids; |
3793
|
|
|
} |
3794
|
|
|
public function getIds() { |
3795
|
|
|
return $this->ids; |
3796
|
|
|
} |
3797
|
|
|
public function setMax_results( $max_results) { |
3798
|
|
|
$this->max_results = $max_results; |
3799
|
|
|
} |
3800
|
|
|
public function getMax_results() { |
3801
|
|
|
return $this->max_results; |
3802
|
|
|
} |
3803
|
|
|
public function setMetrics(/* array(Google_string) */ $metrics) { |
3804
|
|
|
$this->assertIsArray($metrics, 'Google_string', __METHOD__); |
3805
|
|
|
$this->metrics = $metrics; |
3806
|
|
|
} |
3807
|
|
|
public function getMetrics() { |
3808
|
|
|
return $this->metrics; |
3809
|
|
|
} |
3810
|
|
|
public function setSort(/* array(Google_string) */ $sort) { |
3811
|
|
|
$this->assertIsArray($sort, 'Google_string', __METHOD__); |
3812
|
|
|
$this->sort = $sort; |
3813
|
|
|
} |
3814
|
|
|
public function getSort() { |
3815
|
|
|
return $this->sort; |
3816
|
|
|
} |
3817
|
|
|
} |
3818
|
|
|
|
3819
|
|
|
class Google_Segment extends Google_Model { |
3820
|
|
|
public $created; |
3821
|
|
|
public $definition; |
3822
|
|
|
public $id; |
3823
|
|
|
public $kind; |
3824
|
|
|
public $name; |
3825
|
|
|
public $segmentId; |
3826
|
|
|
public $selfLink; |
3827
|
|
|
public $updated; |
3828
|
|
|
public function setCreated( $created) { |
3829
|
|
|
$this->created = $created; |
3830
|
|
|
} |
3831
|
|
|
public function getCreated() { |
3832
|
|
|
return $this->created; |
3833
|
|
|
} |
3834
|
|
|
public function setDefinition( $definition) { |
3835
|
|
|
$this->definition = $definition; |
3836
|
|
|
} |
3837
|
|
|
public function getDefinition() { |
3838
|
|
|
return $this->definition; |
3839
|
|
|
} |
3840
|
|
|
public function setId( $id) { |
3841
|
|
|
$this->id = $id; |
3842
|
|
|
} |
3843
|
|
|
public function getId() { |
3844
|
|
|
return $this->id; |
3845
|
|
|
} |
3846
|
|
|
public function setKind( $kind) { |
3847
|
|
|
$this->kind = $kind; |
3848
|
|
|
} |
3849
|
|
|
public function getKind() { |
3850
|
|
|
return $this->kind; |
3851
|
|
|
} |
3852
|
|
|
public function setName( $name) { |
3853
|
|
|
$this->name = $name; |
3854
|
|
|
} |
3855
|
|
|
public function getName() { |
3856
|
|
|
return $this->name; |
3857
|
|
|
} |
3858
|
|
|
public function setSegmentId( $segmentId) { |
3859
|
|
|
$this->segmentId = $segmentId; |
3860
|
|
|
} |
3861
|
|
|
public function getSegmentId() { |
3862
|
|
|
return $this->segmentId; |
3863
|
|
|
} |
3864
|
|
|
public function setSelfLink( $selfLink) { |
3865
|
|
|
$this->selfLink = $selfLink; |
3866
|
|
|
} |
3867
|
|
|
public function getSelfLink() { |
3868
|
|
|
return $this->selfLink; |
3869
|
|
|
} |
3870
|
|
|
public function setUpdated( $updated) { |
3871
|
|
|
$this->updated = $updated; |
3872
|
|
|
} |
3873
|
|
|
public function getUpdated() { |
3874
|
|
|
return $this->updated; |
3875
|
|
|
} |
3876
|
|
|
} |
3877
|
|
|
|
3878
|
|
View Code Duplication |
class Google_Segments extends Google_Model { |
|
|
|
|
3879
|
|
|
protected $__itemsType = 'Google_Segment'; |
3880
|
|
|
protected $__itemsDataType = 'array'; |
3881
|
|
|
public $items; |
3882
|
|
|
public $itemsPerPage; |
3883
|
|
|
public $kind; |
3884
|
|
|
public $nextLink; |
3885
|
|
|
public $previousLink; |
3886
|
|
|
public $startIndex; |
3887
|
|
|
public $totalResults; |
3888
|
|
|
public $username; |
3889
|
|
|
public function setItems(/* array(Google_Segment) */ $items) { |
3890
|
|
|
$this->assertIsArray($items, 'Google_Segment', __METHOD__); |
3891
|
|
|
$this->items = $items; |
3892
|
|
|
} |
3893
|
|
|
public function getItems() { |
3894
|
|
|
return $this->items; |
3895
|
|
|
} |
3896
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
3897
|
|
|
$this->itemsPerPage = $itemsPerPage; |
3898
|
|
|
} |
3899
|
|
|
public function getItemsPerPage() { |
3900
|
|
|
return $this->itemsPerPage; |
3901
|
|
|
} |
3902
|
|
|
public function setKind( $kind) { |
3903
|
|
|
$this->kind = $kind; |
3904
|
|
|
} |
3905
|
|
|
public function getKind() { |
3906
|
|
|
return $this->kind; |
3907
|
|
|
} |
3908
|
|
|
public function setNextLink( $nextLink) { |
3909
|
|
|
$this->nextLink = $nextLink; |
3910
|
|
|
} |
3911
|
|
|
public function getNextLink() { |
3912
|
|
|
return $this->nextLink; |
3913
|
|
|
} |
3914
|
|
|
public function setPreviousLink( $previousLink) { |
3915
|
|
|
$this->previousLink = $previousLink; |
3916
|
|
|
} |
3917
|
|
|
public function getPreviousLink() { |
3918
|
|
|
return $this->previousLink; |
3919
|
|
|
} |
3920
|
|
|
public function setStartIndex( $startIndex) { |
3921
|
|
|
$this->startIndex = $startIndex; |
3922
|
|
|
} |
3923
|
|
|
public function getStartIndex() { |
3924
|
|
|
return $this->startIndex; |
3925
|
|
|
} |
3926
|
|
|
public function setTotalResults( $totalResults) { |
3927
|
|
|
$this->totalResults = $totalResults; |
3928
|
|
|
} |
3929
|
|
|
public function getTotalResults() { |
3930
|
|
|
return $this->totalResults; |
3931
|
|
|
} |
3932
|
|
|
public function setUsername( $username) { |
3933
|
|
|
$this->username = $username; |
3934
|
|
|
} |
3935
|
|
|
public function getUsername() { |
3936
|
|
|
return $this->username; |
3937
|
|
|
} |
3938
|
|
|
} |
3939
|
|
|
|
3940
|
|
|
class Google_Upload extends Google_Model { |
3941
|
|
|
public $accountId; |
3942
|
|
|
public $customDataSourceId; |
3943
|
|
|
public $errors; |
3944
|
|
|
public $id; |
3945
|
|
|
public $kind; |
3946
|
|
|
public $status; |
3947
|
|
|
public function setAccountId( $accountId) { |
3948
|
|
|
$this->accountId = $accountId; |
3949
|
|
|
} |
3950
|
|
|
public function getAccountId() { |
3951
|
|
|
return $this->accountId; |
3952
|
|
|
} |
3953
|
|
|
public function setCustomDataSourceId( $customDataSourceId) { |
3954
|
|
|
$this->customDataSourceId = $customDataSourceId; |
3955
|
|
|
} |
3956
|
|
|
public function getCustomDataSourceId() { |
3957
|
|
|
return $this->customDataSourceId; |
3958
|
|
|
} |
3959
|
|
|
public function setErrors(/* array(Google_string) */ $errors) { |
3960
|
|
|
$this->assertIsArray($errors, 'Google_string', __METHOD__); |
3961
|
|
|
$this->errors = $errors; |
3962
|
|
|
} |
3963
|
|
|
public function getErrors() { |
3964
|
|
|
return $this->errors; |
3965
|
|
|
} |
3966
|
|
|
public function setId( $id) { |
3967
|
|
|
$this->id = $id; |
3968
|
|
|
} |
3969
|
|
|
public function getId() { |
3970
|
|
|
return $this->id; |
3971
|
|
|
} |
3972
|
|
|
public function setKind( $kind) { |
3973
|
|
|
$this->kind = $kind; |
3974
|
|
|
} |
3975
|
|
|
public function getKind() { |
3976
|
|
|
return $this->kind; |
3977
|
|
|
} |
3978
|
|
|
public function setStatus( $status) { |
3979
|
|
|
$this->status = $status; |
3980
|
|
|
} |
3981
|
|
|
public function getStatus() { |
3982
|
|
|
return $this->status; |
3983
|
|
|
} |
3984
|
|
|
} |
3985
|
|
|
|
3986
|
|
View Code Duplication |
class Google_Uploads extends Google_Model { |
|
|
|
|
3987
|
|
|
protected $__itemsType = 'Google_Upload'; |
3988
|
|
|
protected $__itemsDataType = 'array'; |
3989
|
|
|
public $items; |
3990
|
|
|
public $itemsPerPage; |
3991
|
|
|
public $kind; |
3992
|
|
|
public $nextLink; |
3993
|
|
|
public $previousLink; |
3994
|
|
|
public $startIndex; |
3995
|
|
|
public $totalResults; |
3996
|
|
|
public function setItems(/* array(Google_Upload) */ $items) { |
3997
|
|
|
$this->assertIsArray($items, 'Google_Upload', __METHOD__); |
3998
|
|
|
$this->items = $items; |
3999
|
|
|
} |
4000
|
|
|
public function getItems() { |
4001
|
|
|
return $this->items; |
4002
|
|
|
} |
4003
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
4004
|
|
|
$this->itemsPerPage = $itemsPerPage; |
4005
|
|
|
} |
4006
|
|
|
public function getItemsPerPage() { |
4007
|
|
|
return $this->itemsPerPage; |
4008
|
|
|
} |
4009
|
|
|
public function setKind( $kind) { |
4010
|
|
|
$this->kind = $kind; |
4011
|
|
|
} |
4012
|
|
|
public function getKind() { |
4013
|
|
|
return $this->kind; |
4014
|
|
|
} |
4015
|
|
|
public function setNextLink( $nextLink) { |
4016
|
|
|
$this->nextLink = $nextLink; |
4017
|
|
|
} |
4018
|
|
|
public function getNextLink() { |
4019
|
|
|
return $this->nextLink; |
4020
|
|
|
} |
4021
|
|
|
public function setPreviousLink( $previousLink) { |
4022
|
|
|
$this->previousLink = $previousLink; |
4023
|
|
|
} |
4024
|
|
|
public function getPreviousLink() { |
4025
|
|
|
return $this->previousLink; |
4026
|
|
|
} |
4027
|
|
|
public function setStartIndex( $startIndex) { |
4028
|
|
|
$this->startIndex = $startIndex; |
4029
|
|
|
} |
4030
|
|
|
public function getStartIndex() { |
4031
|
|
|
return $this->startIndex; |
4032
|
|
|
} |
4033
|
|
|
public function setTotalResults( $totalResults) { |
4034
|
|
|
$this->totalResults = $totalResults; |
4035
|
|
|
} |
4036
|
|
|
public function getTotalResults() { |
4037
|
|
|
return $this->totalResults; |
4038
|
|
|
} |
4039
|
|
|
} |
4040
|
|
|
|
4041
|
|
|
class Google_UserRef extends Google_Model { |
4042
|
|
|
public $email; |
4043
|
|
|
public $id; |
4044
|
|
|
public $kind; |
4045
|
|
|
public function setEmail( $email) { |
4046
|
|
|
$this->email = $email; |
4047
|
|
|
} |
4048
|
|
|
public function getEmail() { |
4049
|
|
|
return $this->email; |
4050
|
|
|
} |
4051
|
|
|
public function setId( $id) { |
4052
|
|
|
$this->id = $id; |
4053
|
|
|
} |
4054
|
|
|
public function getId() { |
4055
|
|
|
return $this->id; |
4056
|
|
|
} |
4057
|
|
|
public function setKind( $kind) { |
4058
|
|
|
$this->kind = $kind; |
4059
|
|
|
} |
4060
|
|
|
public function getKind() { |
4061
|
|
|
return $this->kind; |
4062
|
|
|
} |
4063
|
|
|
} |
4064
|
|
|
|
4065
|
|
View Code Duplication |
class Google_WebPropertyRef extends Google_Model { |
|
|
|
|
4066
|
|
|
public $accountId; |
4067
|
|
|
public $href; |
4068
|
|
|
public $id; |
4069
|
|
|
public $internalWebPropertyId; |
4070
|
|
|
public $kind; |
4071
|
|
|
public $name; |
4072
|
|
|
public function setAccountId( $accountId) { |
4073
|
|
|
$this->accountId = $accountId; |
4074
|
|
|
} |
4075
|
|
|
public function getAccountId() { |
4076
|
|
|
return $this->accountId; |
4077
|
|
|
} |
4078
|
|
|
public function setHref( $href) { |
4079
|
|
|
$this->href = $href; |
4080
|
|
|
} |
4081
|
|
|
public function getHref() { |
4082
|
|
|
return $this->href; |
4083
|
|
|
} |
4084
|
|
|
public function setId( $id) { |
4085
|
|
|
$this->id = $id; |
4086
|
|
|
} |
4087
|
|
|
public function getId() { |
4088
|
|
|
return $this->id; |
4089
|
|
|
} |
4090
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
4091
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
4092
|
|
|
} |
4093
|
|
|
public function getInternalWebPropertyId() { |
4094
|
|
|
return $this->internalWebPropertyId; |
4095
|
|
|
} |
4096
|
|
|
public function setKind( $kind) { |
4097
|
|
|
$this->kind = $kind; |
4098
|
|
|
} |
4099
|
|
|
public function getKind() { |
4100
|
|
|
return $this->kind; |
4101
|
|
|
} |
4102
|
|
|
public function setName( $name) { |
4103
|
|
|
$this->name = $name; |
4104
|
|
|
} |
4105
|
|
|
public function getName() { |
4106
|
|
|
return $this->name; |
4107
|
|
|
} |
4108
|
|
|
} |
4109
|
|
|
|
4110
|
|
View Code Duplication |
class Google_Webproperties extends Google_Model { |
|
|
|
|
4111
|
|
|
protected $__itemsType = 'Google_Webproperty'; |
4112
|
|
|
protected $__itemsDataType = 'array'; |
4113
|
|
|
public $items; |
4114
|
|
|
public $itemsPerPage; |
4115
|
|
|
public $kind; |
4116
|
|
|
public $nextLink; |
4117
|
|
|
public $previousLink; |
4118
|
|
|
public $startIndex; |
4119
|
|
|
public $totalResults; |
4120
|
|
|
public $username; |
4121
|
|
|
public function setItems(/* array(Google_Webproperty) */ $items) { |
4122
|
|
|
$this->assertIsArray($items, 'Google_Webproperty', __METHOD__); |
4123
|
|
|
$this->items = $items; |
4124
|
|
|
} |
4125
|
|
|
public function getItems() { |
4126
|
|
|
return $this->items; |
4127
|
|
|
} |
4128
|
|
|
public function setItemsPerPage( $itemsPerPage) { |
4129
|
|
|
$this->itemsPerPage = $itemsPerPage; |
4130
|
|
|
} |
4131
|
|
|
public function getItemsPerPage() { |
4132
|
|
|
return $this->itemsPerPage; |
4133
|
|
|
} |
4134
|
|
|
public function setKind( $kind) { |
4135
|
|
|
$this->kind = $kind; |
4136
|
|
|
} |
4137
|
|
|
public function getKind() { |
4138
|
|
|
return $this->kind; |
4139
|
|
|
} |
4140
|
|
|
public function setNextLink( $nextLink) { |
4141
|
|
|
$this->nextLink = $nextLink; |
4142
|
|
|
} |
4143
|
|
|
public function getNextLink() { |
4144
|
|
|
return $this->nextLink; |
4145
|
|
|
} |
4146
|
|
|
public function setPreviousLink( $previousLink) { |
4147
|
|
|
$this->previousLink = $previousLink; |
4148
|
|
|
} |
4149
|
|
|
public function getPreviousLink() { |
4150
|
|
|
return $this->previousLink; |
4151
|
|
|
} |
4152
|
|
|
public function setStartIndex( $startIndex) { |
4153
|
|
|
$this->startIndex = $startIndex; |
4154
|
|
|
} |
4155
|
|
|
public function getStartIndex() { |
4156
|
|
|
return $this->startIndex; |
4157
|
|
|
} |
4158
|
|
|
public function setTotalResults( $totalResults) { |
4159
|
|
|
$this->totalResults = $totalResults; |
4160
|
|
|
} |
4161
|
|
|
public function getTotalResults() { |
4162
|
|
|
return $this->totalResults; |
4163
|
|
|
} |
4164
|
|
|
public function setUsername( $username) { |
4165
|
|
|
$this->username = $username; |
4166
|
|
|
} |
4167
|
|
|
public function getUsername() { |
4168
|
|
|
return $this->username; |
4169
|
|
|
} |
4170
|
|
|
} |
4171
|
|
|
|
4172
|
|
|
class Google_Webproperty extends Google_Model { |
4173
|
|
|
public $accountId; |
4174
|
|
|
protected $__childLinkType = 'Google_WebpropertyChildLink'; |
4175
|
|
|
protected $__childLinkDataType = ''; |
4176
|
|
|
public $childLink; |
4177
|
|
|
public $created; |
4178
|
|
|
public $defaultProfileId; |
4179
|
|
|
public $id; |
4180
|
|
|
public $industryVertical; |
4181
|
|
|
public $internalWebPropertyId; |
4182
|
|
|
public $kind; |
4183
|
|
|
public $level; |
4184
|
|
|
public $name; |
4185
|
|
|
protected $__parentLinkType = 'Google_WebpropertyParentLink'; |
4186
|
|
|
protected $__parentLinkDataType = ''; |
4187
|
|
|
public $parentLink; |
4188
|
|
|
protected $__permissionsType = 'Google_WebpropertyPermissions'; |
4189
|
|
|
protected $__permissionsDataType = ''; |
4190
|
|
|
public $permissions; |
4191
|
|
|
public $profileCount; |
4192
|
|
|
public $selfLink; |
4193
|
|
|
public $updated; |
4194
|
|
|
public $websiteUrl; |
4195
|
|
|
public function setAccountId( $accountId) { |
4196
|
|
|
$this->accountId = $accountId; |
4197
|
|
|
} |
4198
|
|
|
public function getAccountId() { |
4199
|
|
|
return $this->accountId; |
4200
|
|
|
} |
4201
|
|
|
public function setChildLink(Google_WebpropertyChildLink $childLink) { |
4202
|
|
|
$this->childLink = $childLink; |
4203
|
|
|
} |
4204
|
|
|
public function getChildLink() { |
4205
|
|
|
return $this->childLink; |
4206
|
|
|
} |
4207
|
|
|
public function setCreated( $created) { |
4208
|
|
|
$this->created = $created; |
4209
|
|
|
} |
4210
|
|
|
public function getCreated() { |
4211
|
|
|
return $this->created; |
4212
|
|
|
} |
4213
|
|
|
public function setDefaultProfileId( $defaultProfileId) { |
4214
|
|
|
$this->defaultProfileId = $defaultProfileId; |
4215
|
|
|
} |
4216
|
|
|
public function getDefaultProfileId() { |
4217
|
|
|
return $this->defaultProfileId; |
4218
|
|
|
} |
4219
|
|
|
public function setId( $id) { |
4220
|
|
|
$this->id = $id; |
4221
|
|
|
} |
4222
|
|
|
public function getId() { |
4223
|
|
|
return $this->id; |
4224
|
|
|
} |
4225
|
|
|
public function setIndustryVertical( $industryVertical) { |
4226
|
|
|
$this->industryVertical = $industryVertical; |
4227
|
|
|
} |
4228
|
|
|
public function getIndustryVertical() { |
4229
|
|
|
return $this->industryVertical; |
4230
|
|
|
} |
4231
|
|
|
public function setInternalWebPropertyId( $internalWebPropertyId) { |
4232
|
|
|
$this->internalWebPropertyId = $internalWebPropertyId; |
4233
|
|
|
} |
4234
|
|
|
public function getInternalWebPropertyId() { |
4235
|
|
|
return $this->internalWebPropertyId; |
4236
|
|
|
} |
4237
|
|
|
public function setKind( $kind) { |
4238
|
|
|
$this->kind = $kind; |
4239
|
|
|
} |
4240
|
|
|
public function getKind() { |
4241
|
|
|
return $this->kind; |
4242
|
|
|
} |
4243
|
|
|
public function setLevel( $level) { |
4244
|
|
|
$this->level = $level; |
4245
|
|
|
} |
4246
|
|
|
public function getLevel() { |
4247
|
|
|
return $this->level; |
4248
|
|
|
} |
4249
|
|
|
public function setName( $name) { |
4250
|
|
|
$this->name = $name; |
4251
|
|
|
} |
4252
|
|
|
public function getName() { |
4253
|
|
|
return $this->name; |
4254
|
|
|
} |
4255
|
|
|
public function setParentLink(Google_WebpropertyParentLink $parentLink) { |
4256
|
|
|
$this->parentLink = $parentLink; |
4257
|
|
|
} |
4258
|
|
|
public function getParentLink() { |
4259
|
|
|
return $this->parentLink; |
4260
|
|
|
} |
4261
|
|
|
public function setPermissions(Google_WebpropertyPermissions $permissions) { |
4262
|
|
|
$this->permissions = $permissions; |
4263
|
|
|
} |
4264
|
|
|
public function getPermissions() { |
4265
|
|
|
return $this->permissions; |
4266
|
|
|
} |
4267
|
|
|
public function setProfileCount( $profileCount) { |
4268
|
|
|
$this->profileCount = $profileCount; |
4269
|
|
|
} |
4270
|
|
|
public function getProfileCount() { |
4271
|
|
|
return $this->profileCount; |
4272
|
|
|
} |
4273
|
|
|
public function setSelfLink( $selfLink) { |
4274
|
|
|
$this->selfLink = $selfLink; |
4275
|
|
|
} |
4276
|
|
|
public function getSelfLink() { |
4277
|
|
|
return $this->selfLink; |
4278
|
|
|
} |
4279
|
|
|
public function setUpdated( $updated) { |
4280
|
|
|
$this->updated = $updated; |
4281
|
|
|
} |
4282
|
|
|
public function getUpdated() { |
4283
|
|
|
return $this->updated; |
4284
|
|
|
} |
4285
|
|
|
public function setWebsiteUrl( $websiteUrl) { |
4286
|
|
|
$this->websiteUrl = $websiteUrl; |
4287
|
|
|
} |
4288
|
|
|
public function getWebsiteUrl() { |
4289
|
|
|
return $this->websiteUrl; |
4290
|
|
|
} |
4291
|
|
|
} |
4292
|
|
|
|
4293
|
|
|
class Google_WebpropertyChildLink extends Google_Model { |
4294
|
|
|
public $href; |
4295
|
|
|
public $type; |
4296
|
|
|
public function setHref( $href) { |
4297
|
|
|
$this->href = $href; |
4298
|
|
|
} |
4299
|
|
|
public function getHref() { |
4300
|
|
|
return $this->href; |
4301
|
|
|
} |
4302
|
|
|
public function setType( $type) { |
4303
|
|
|
$this->type = $type; |
4304
|
|
|
} |
4305
|
|
|
public function getType() { |
4306
|
|
|
return $this->type; |
4307
|
|
|
} |
4308
|
|
|
} |
4309
|
|
|
|
4310
|
|
|
class Google_WebpropertyParentLink extends Google_Model { |
4311
|
|
|
public $href; |
4312
|
|
|
public $type; |
4313
|
|
|
public function setHref( $href) { |
4314
|
|
|
$this->href = $href; |
4315
|
|
|
} |
4316
|
|
|
public function getHref() { |
4317
|
|
|
return $this->href; |
4318
|
|
|
} |
4319
|
|
|
public function setType( $type) { |
4320
|
|
|
$this->type = $type; |
4321
|
|
|
} |
4322
|
|
|
public function getType() { |
4323
|
|
|
return $this->type; |
4324
|
|
|
} |
4325
|
|
|
} |
4326
|
|
|
|
4327
|
|
View Code Duplication |
class Google_WebpropertyPermissions extends Google_Model { |
|
|
|
|
4328
|
|
|
public $effective; |
4329
|
|
|
public function setEffective(/* array(Google_string) */ $effective) { |
4330
|
|
|
$this->assertIsArray($effective, 'Google_string', __METHOD__); |
4331
|
|
|
$this->effective = $effective; |
4332
|
|
|
} |
4333
|
|
|
public function getEffective() { |
4334
|
|
|
return $this->effective; |
4335
|
|
|
} |
4336
|
|
|
} |
4337
|
|
|
|
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.