PageRenderTime 66ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 1ms

/social_network/GoogleAPI/src/contrib/Google_AnalyticsService.php

https://github.com/dikafryo/sw4u
PHP | 2429 lines | 2105 code | 71 blank | 253 comment | 20 complexity | 1c1b987a22ed153cc4cf64adf1ff4cb9 MD5 | raw file
Possible License(s): Apache-2.0
  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. * The "management" collection of methods.
  17. * Typical usage is:
  18. * <code>
  19. * $analyticsService = new Google_AnalyticsService(...);
  20. * $management = $analyticsService->management;
  21. * </code>
  22. */
  23. class Google_ManagementServiceResource extends Google_ServiceResource {
  24. }
  25. /**
  26. * The "dailyUploads" collection of methods.
  27. * Typical usage is:
  28. * <code>
  29. * $analyticsService = new Google_AnalyticsService(...);
  30. * $dailyUploads = $analyticsService->dailyUploads;
  31. * </code>
  32. */
  33. class Google_ManagementDailyUploadsServiceResource extends Google_ServiceResource {
  34. /**
  35. * List daily uploads to which the user has access. (dailyUploads.list)
  36. *
  37. * @param string $accountId Account Id for the daily uploads to retrieve.
  38. * @param string $webPropertyId Web property Id for the daily uploads to retrieve.
  39. * @param string $customDataSourceId Custom data source Id for daily uploads to retrieve.
  40. * @param string $start_date Start date of the form YYYY-MM-DD.
  41. * @param string $end_date End date of the form YYYY-MM-DD.
  42. * @param array $optParams Optional parameters.
  43. *
  44. * @opt_param int max-results The maximum number of custom data sources to include in this response.
  45. * @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.
  46. * @return Google_DailyUploads
  47. */
  48. public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $start_date, $end_date, $optParams = array()) {
  49. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $start_date, 'end-date' => $end_date);
  50. $params = array_merge($params, $optParams);
  51. $data = $this->__call('list', array($params));
  52. if ($this->useObjects()) {
  53. return new Google_DailyUploads($data);
  54. } else {
  55. return $data;
  56. }
  57. }
  58. /**
  59. * Update/Overwrite data for a custom data source. (dailyUploads.upload)
  60. *
  61. * @param string $accountId Account Id associated with daily upload.
  62. * @param string $webPropertyId Web property Id associated with daily upload.
  63. * @param string $customDataSourceId Custom data source Id to which the data being uploaded belongs.
  64. * @param string $date Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
  65. * @param int $appendNumber Append number for this upload indexed from 1.
  66. * @param string $type Type of data for this upload.
  67. * @param array $optParams Optional parameters.
  68. *
  69. * @opt_param bool reset Reset/Overwrite all previous appends for this date and start over with this file as the first upload.
  70. * @return Google_DailyUploadAppend
  71. */
  72. public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array()) {
  73. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
  74. $params = array_merge($params, $optParams);
  75. $data = $this->__call('upload', array($params));
  76. if ($this->useObjects()) {
  77. return new Google_DailyUploadAppend($data);
  78. } else {
  79. return $data;
  80. }
  81. }
  82. /**
  83. * Delete uploaded data for the given date. (dailyUploads.delete)
  84. *
  85. * @param string $accountId Account Id associated with daily upload delete.
  86. * @param string $webPropertyId Web property Id associated with daily upload delete.
  87. * @param string $customDataSourceId Custom data source Id associated with daily upload delete.
  88. * @param string $date Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
  89. * @param string $type Type of data for this delete.
  90. * @param array $optParams Optional parameters.
  91. */
  92. public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array()) {
  93. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
  94. $params = array_merge($params, $optParams);
  95. $data = $this->__call('delete', array($params));
  96. return $data;
  97. }
  98. }
  99. /**
  100. * The "segments" collection of methods.
  101. * Typical usage is:
  102. * <code>
  103. * $analyticsService = new Google_AnalyticsService(...);
  104. * $segments = $analyticsService->segments;
  105. * </code>
  106. */
  107. class Google_ManagementSegmentsServiceResource extends Google_ServiceResource {
  108. /**
  109. * Lists advanced segments to which the user has access. (segments.list)
  110. *
  111. * @param array $optParams Optional parameters.
  112. *
  113. * @opt_param int max-results The maximum number of advanced segments to include in this response.
  114. * @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.
  115. * @return Google_Segments
  116. */
  117. public function listManagementSegments($optParams = array()) {
  118. $params = array();
  119. $params = array_merge($params, $optParams);
  120. $data = $this->__call('list', array($params));
  121. if ($this->useObjects()) {
  122. return new Google_Segments($data);
  123. } else {
  124. return $data;
  125. }
  126. }
  127. }
  128. /**
  129. * The "profiles" collection of methods.
  130. * Typical usage is:
  131. * <code>
  132. * $analyticsService = new Google_AnalyticsService(...);
  133. * $profiles = $analyticsService->profiles;
  134. * </code>
  135. */
  136. class Google_ManagementProfilesServiceResource extends Google_ServiceResource {
  137. /**
  138. * Lists profiles to which the user has access. (profiles.list)
  139. *
  140. * @param string $accountId Account ID for the profiles to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access.
  141. * @param string $webPropertyId Web property ID for the 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.
  142. * @param array $optParams Optional parameters.
  143. *
  144. * @opt_param int max-results The maximum number of profiles to include in this response.
  145. * @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.
  146. * @return Google_Profiles
  147. */
  148. public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) {
  149. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  150. $params = array_merge($params, $optParams);
  151. $data = $this->__call('list', array($params));
  152. if ($this->useObjects()) {
  153. return new Google_Profiles($data);
  154. } else {
  155. return $data;
  156. }
  157. }
  158. }
  159. /**
  160. * The "customDataSources" collection of methods.
  161. * Typical usage is:
  162. * <code>
  163. * $analyticsService = new Google_AnalyticsService(...);
  164. * $customDataSources = $analyticsService->customDataSources;
  165. * </code>
  166. */
  167. class Google_ManagementCustomDataSourcesServiceResource extends Google_ServiceResource {
  168. /**
  169. * List custom data sources to which the user has access. (customDataSources.list)
  170. *
  171. * @param string $accountId Account Id for the custom data sources to retrieve.
  172. * @param string $webPropertyId Web property Id for the custom data sources to retrieve.
  173. * @param array $optParams Optional parameters.
  174. *
  175. * @opt_param int max-results The maximum number of custom data sources to include in this response.
  176. * @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.
  177. * @return Google_CustomDataSources
  178. */
  179. public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) {
  180. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  181. $params = array_merge($params, $optParams);
  182. $data = $this->__call('list', array($params));
  183. if ($this->useObjects()) {
  184. return new Google_CustomDataSources($data);
  185. } else {
  186. return $data;
  187. }
  188. }
  189. }
  190. /**
  191. * The "goals" collection of methods.
  192. * Typical usage is:
  193. * <code>
  194. * $analyticsService = new Google_AnalyticsService(...);
  195. * $goals = $analyticsService->goals;
  196. * </code>
  197. */
  198. class Google_ManagementGoalsServiceResource extends Google_ServiceResource {
  199. /**
  200. * Lists goals to which the user has access. (goals.list)
  201. *
  202. * @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.
  203. * @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.
  204. * @param string $profileId Profile ID to retrieve goals for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.
  205. * @param array $optParams Optional parameters.
  206. *
  207. * @opt_param int max-results The maximum number of goals to include in this response.
  208. * @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.
  209. * @return Google_Goals
  210. */
  211. public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) {
  212. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  213. $params = array_merge($params, $optParams);
  214. $data = $this->__call('list', array($params));
  215. if ($this->useObjects()) {
  216. return new Google_Goals($data);
  217. } else {
  218. return $data;
  219. }
  220. }
  221. }
  222. /**
  223. * The "accounts" collection of methods.
  224. * Typical usage is:
  225. * <code>
  226. * $analyticsService = new Google_AnalyticsService(...);
  227. * $accounts = $analyticsService->accounts;
  228. * </code>
  229. */
  230. class Google_ManagementAccountsServiceResource extends Google_ServiceResource {
  231. /**
  232. * Lists all accounts to which the user has access. (accounts.list)
  233. *
  234. * @param array $optParams Optional parameters.
  235. *
  236. * @opt_param int max-results The maximum number of accounts to include in this response.
  237. * @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.
  238. * @return Google_Accounts
  239. */
  240. public function listManagementAccounts($optParams = array()) {
  241. $params = array();
  242. $params = array_merge($params, $optParams);
  243. $data = $this->__call('list', array($params));
  244. if ($this->useObjects()) {
  245. return new Google_Accounts($data);
  246. } else {
  247. return $data;
  248. }
  249. }
  250. }
  251. /**
  252. * The "webproperties" collection of methods.
  253. * Typical usage is:
  254. * <code>
  255. * $analyticsService = new Google_AnalyticsService(...);
  256. * $webproperties = $analyticsService->webproperties;
  257. * </code>
  258. */
  259. class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource {
  260. /**
  261. * Lists web properties to which the user has access. (webproperties.list)
  262. *
  263. * @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.
  264. * @param array $optParams Optional parameters.
  265. *
  266. * @opt_param int max-results The maximum number of web properties to include in this response.
  267. * @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.
  268. * @return Google_Webproperties
  269. */
  270. public function listManagementWebproperties($accountId, $optParams = array()) {
  271. $params = array('accountId' => $accountId);
  272. $params = array_merge($params, $optParams);
  273. $data = $this->__call('list', array($params));
  274. if ($this->useObjects()) {
  275. return new Google_Webproperties($data);
  276. } else {
  277. return $data;
  278. }
  279. }
  280. }
  281. /**
  282. * The "data" collection of methods.
  283. * Typical usage is:
  284. * <code>
  285. * $analyticsService = new Google_AnalyticsService(...);
  286. * $data = $analyticsService->data;
  287. * </code>
  288. */
  289. class Google_DataServiceResource extends Google_ServiceResource {
  290. }
  291. /**
  292. * The "mcf" collection of methods.
  293. * Typical usage is:
  294. * <code>
  295. * $analyticsService = new Google_AnalyticsService(...);
  296. * $mcf = $analyticsService->mcf;
  297. * </code>
  298. */
  299. class Google_DataMcfServiceResource extends Google_ServiceResource {
  300. /**
  301. * Returns Analytics Multi-Channel Funnels data for a profile. (mcf.get)
  302. *
  303. * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics profile ID.
  304. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  305. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  306. * @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.
  307. * @param array $optParams Optional parameters.
  308. *
  309. * @opt_param int max-results The maximum number of entries to include in this feed.
  310. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
  311. * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
  312. * @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.
  313. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data.
  314. * @return Google_McfData
  315. */
  316. public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
  317. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  318. $params = array_merge($params, $optParams);
  319. $data = $this->__call('get', array($params));
  320. if ($this->useObjects()) {
  321. return new Google_McfData($data);
  322. } else {
  323. return $data;
  324. }
  325. }
  326. }
  327. /**
  328. * The "ga" collection of methods.
  329. * Typical usage is:
  330. * <code>
  331. * $analyticsService = new Google_AnalyticsService(...);
  332. * $ga = $analyticsService->ga;
  333. * </code>
  334. */
  335. class Google_DataGaServiceResource extends Google_ServiceResource {
  336. /**
  337. * Returns Analytics data for a profile. (ga.get)
  338. *
  339. * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics profile ID.
  340. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  341. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  342. * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
  343. * @param array $optParams Optional parameters.
  344. *
  345. * @opt_param int max-results The maximum number of entries to include in this feed.
  346. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
  347. * @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
  348. * @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.
  349. * @opt_param string segment An Analytics advanced segment to be applied to data.
  350. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data.
  351. * @return Google_GaData
  352. */
  353. public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
  354. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  355. $params = array_merge($params, $optParams);
  356. $data = $this->__call('get', array($params));
  357. if ($this->useObjects()) {
  358. return new Google_GaData($data);
  359. } else {
  360. return $data;
  361. }
  362. }
  363. }
  364. /**
  365. * Service definition for Google_Analytics (v3).
  366. *
  367. * <p>
  368. * View and manage your Google Analytics data
  369. * </p>
  370. *
  371. * <p>
  372. * For more information about this service, see the
  373. * <a href="https://developers.google.com/analytics/" target="_blank">API Documentation</a>
  374. * </p>
  375. *
  376. * @author Google, Inc.
  377. */
  378. class Google_AnalyticsService extends Google_Service {
  379. public $management_dailyUploads;
  380. public $management_segments;
  381. public $management_profiles;
  382. public $management_customDataSources;
  383. public $management_goals;
  384. public $management_accounts;
  385. public $management_webproperties;
  386. public $data_mcf;
  387. public $data_ga;
  388. /**
  389. * Constructs the internal representation of the Analytics service.
  390. *
  391. * @param Google_Client $client
  392. */
  393. public function __construct(Google_Client $client) {
  394. $this->servicePath = 'analytics/v3/';
  395. $this->version = 'v3';
  396. $this->serviceName = 'analytics';
  397. $client->addService($this->serviceName, $this->version);
  398. $this->management_dailyUploads = new Google_ManagementDailyUploadsServiceResource($this, $this->serviceName, 'dailyUploads', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "customDataSourceId": {"required": true, "type": "string", "location": "path"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "end-date": {"required": true, "type": "string", "location": "query"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.dailyUploads.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads", "response": {"$ref": "DailyUploads"}}, "upload": {"scopes": ["https://www.googleapis.com/auth/analytics"], "parameters": {"reset": {"default": "false", "type": "boolean", "location": "query"}, "customDataSourceId": {"required": true, "type": "string", "location": "path"}, "appendNumber": {"format": "int32", "required": true, "maximum": "20", "minimum": "1", "location": "query", "type": "integer"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "date": {"required": true, "type": "string", "location": "path"}, "type": {"required": true, "type": "string", "location": "query", "enum": ["cost"]}, "accountId": {"required": true, "type": "string", "location": "path"}}, "supportsMediaUpload": true, "mediaUpload": {"maxSize": "5MB", "protocols": {"simple": {"path": "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", "multipart": true}, "resumable": {"path": "/resumable/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", "multipart": true}}, "accept": ["application/octet-stream"]}, "response": {"$ref": "DailyUploadAppend"}, "httpMethod": "POST", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", "id": "analytics.management.dailyUploads.upload"}, "delete": {"scopes": ["https://www.googleapis.com/auth/analytics"], "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}", "id": "analytics.management.dailyUploads.delete", "parameters": {"date": {"required": true, "type": "string", "location": "path"}, "customDataSourceId": {"required": true, "type": "string", "location": "path"}, "type": {"required": true, "type": "string", "location": "query", "enum": ["cost"]}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));
  399. $this->management_segments = new Google_ManagementSegmentsServiceResource($this, $this->serviceName, 'segments', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "Segments"}, "httpMethod": "GET", "path": "management/segments", "id": "analytics.management.segments.list"}}}', true));
  400. $this->management_profiles = new Google_ManagementProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.profiles.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", "response": {"$ref": "Profiles"}}}}', true));
  401. $this->management_customDataSources = new Google_ManagementCustomDataSourcesServiceResource($this, $this->serviceName, 'customDataSources', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.customDataSources.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources", "response": {"$ref": "CustomDataSources"}}}}', true));
  402. $this->management_goals = new Google_ManagementGoalsServiceResource($this, $this->serviceName, 'goals', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "profileId": {"required": true, "type": "string", "location": "path"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.goals.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", "response": {"$ref": "Goals"}}}}', true));
  403. $this->management_accounts = new Google_ManagementAccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "Accounts"}, "httpMethod": "GET", "path": "management/accounts", "id": "analytics.management.accounts.list"}}}', true));
  404. $this->management_webproperties = new Google_ManagementWebpropertiesServiceResource($this, $this->serviceName, 'webproperties', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.webproperties.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties", "response": {"$ref": "Webproperties"}}}}', true));
  405. $this->data_mcf = new Google_DataMcfServiceResource($this, $this->serviceName, 'mcf', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "sort": {"type": "string", "location": "query"}, "dimensions": {"type": "string", "location": "query"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "ids": {"required": true, "type": "string", "location": "query"}, "metrics": {"required": true, "type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "end-date": {"required": true, "type": "string", "location": "query"}}, "id": "analytics.data.mcf.get", "httpMethod": "GET", "path": "data/mcf", "response": {"$ref": "McfData"}}}}', true));
  406. $this->data_ga = new Google_DataGaServiceResource($this, $this->serviceName, 'ga', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "sort": {"type": "string", "location": "query"}, "dimensions": {"type": "string", "location": "query"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "segment": {"type": "string", "location": "query"}, "ids": {"required": true, "type": "string", "location": "query"}, "metrics": {"required": true, "type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "end-date": {"required": true, "type": "string", "location": "query"}}, "id": "analytics.data.ga.get", "httpMethod": "GET", "path": "data/ga", "response": {"$ref": "GaData"}}}}', true));
  407. }
  408. }
  409. class Google_Account extends Google_Model {
  410. public $kind;
  411. public $name;
  412. public $created;
  413. public $updated;
  414. protected $__childLinkType = 'Google_AccountChildLink';
  415. protected $__childLinkDataType = '';
  416. public $childLink;
  417. public $id;
  418. public $selfLink;
  419. public function setKind($kind) {
  420. $this->kind = $kind;
  421. }
  422. public function getKind() {
  423. return $this->kind;
  424. }
  425. public function setName($name) {
  426. $this->name = $name;
  427. }
  428. public function getName() {
  429. return $this->name;
  430. }
  431. public function setCreated($created) {
  432. $this->created = $created;
  433. }
  434. public function getCreated() {
  435. return $this->created;
  436. }
  437. public function setUpdated($updated) {
  438. $this->updated = $updated;
  439. }
  440. public function getUpdated() {
  441. return $this->updated;
  442. }
  443. public function setChildLink(Google_AccountChildLink $childLink) {
  444. $this->childLink = $childLink;
  445. }
  446. public function getChildLink() {
  447. return $this->childLink;
  448. }
  449. public function setId($id) {
  450. $this->id = $id;
  451. }
  452. public function getId() {
  453. return $this->id;
  454. }
  455. public function setSelfLink($selfLink) {
  456. $this->selfLink = $selfLink;
  457. }
  458. public function getSelfLink() {
  459. return $this->selfLink;
  460. }
  461. }
  462. class Google_AccountChildLink extends Google_Model {
  463. public $href;
  464. public $type;
  465. public function setHref($href) {
  466. $this->href = $href;
  467. }
  468. public function getHref() {
  469. return $this->href;
  470. }
  471. public function setType($type) {
  472. $this->type = $type;
  473. }
  474. public function getType() {
  475. return $this->type;
  476. }
  477. }
  478. class Google_Accounts extends Google_Model {
  479. public $username;
  480. public $kind;
  481. protected $__itemsType = 'Google_Account';
  482. protected $__itemsDataType = 'array';
  483. public $items;
  484. public $itemsPerPage;
  485. public $previousLink;
  486. public $startIndex;
  487. public $nextLink;
  488. public $totalResults;
  489. public function setUsername($username) {
  490. $this->username = $username;
  491. }
  492. public function getUsername() {
  493. return $this->username;
  494. }
  495. public function setKind($kind) {
  496. $this->kind = $kind;
  497. }
  498. public function getKind() {
  499. return $this->kind;
  500. }
  501. public function setItems(/* array(Google_Account) */ $items) {
  502. $this->assertIsArray($items, 'Google_Account', __METHOD__);
  503. $this->items = $items;
  504. }
  505. public function getItems() {
  506. return $this->items;
  507. }
  508. public function setItemsPerPage($itemsPerPage) {
  509. $this->itemsPerPage = $itemsPerPage;
  510. }
  511. public function getItemsPerPage() {
  512. return $this->itemsPerPage;
  513. }
  514. public function setPreviousLink($previousLink) {
  515. $this->previousLink = $previousLink;
  516. }
  517. public function getPreviousLink() {
  518. return $this->previousLink;
  519. }
  520. public function setStartIndex($startIndex) {
  521. $this->startIndex = $startIndex;
  522. }
  523. public function getStartIndex() {
  524. return $this->startIndex;
  525. }
  526. public function setNextLink($nextLink) {
  527. $this->nextLink = $nextLink;
  528. }
  529. public function getNextLink() {
  530. return $this->nextLink;
  531. }
  532. public function setTotalResults($totalResults) {
  533. $this->totalResults = $totalResults;
  534. }
  535. public function getTotalResults() {
  536. return $this->totalResults;
  537. }
  538. }
  539. class Google_CustomDataSource extends Google_Model {
  540. public $kind;
  541. public $description;
  542. public $created;
  543. public $profilesLinked;
  544. public $updated;
  545. public $name;
  546. protected $__childLinkType = 'Google_CustomDataSourceChildLink';
  547. protected $__childLinkDataType = '';
  548. public $childLink;
  549. public $webPropertyId;
  550. protected $__parentLinkType = 'Google_CustomDataSourceParentLink';
  551. protected $__parentLinkDataType = '';
  552. public $parentLink;
  553. public $id;
  554. public $selfLink;
  555. public $accountId;
  556. public function setKind($kind) {
  557. $this->kind = $kind;
  558. }
  559. public function getKind() {
  560. return $this->kind;
  561. }
  562. public function setDescription($description) {
  563. $this->description = $description;
  564. }
  565. public function getDescription() {
  566. return $this->description;
  567. }
  568. public function setCreated($created) {
  569. $this->created = $created;
  570. }
  571. public function getCreated() {
  572. return $this->created;
  573. }
  574. public function setProfilesLinked($profilesLinked) {
  575. $this->profilesLinked = $profilesLinked;
  576. }
  577. public function getProfilesLinked() {
  578. return $this->profilesLinked;
  579. }
  580. public function setUpdated($updated) {
  581. $this->updated = $updated;
  582. }
  583. public function getUpdated() {
  584. return $this->updated;
  585. }
  586. public function setName($name) {
  587. $this->name = $name;
  588. }
  589. public function getName() {
  590. return $this->name;
  591. }
  592. public function setChildLink(Google_CustomDataSourceChildLink $childLink) {
  593. $this->childLink = $childLink;
  594. }
  595. public function getChildLink() {
  596. return $this->childLink;
  597. }
  598. public function setWebPropertyId($webPropertyId) {
  599. $this->webPropertyId = $webPropertyId;
  600. }
  601. public function getWebPropertyId() {
  602. return $this->webPropertyId;
  603. }
  604. public function setParentLink(Google_CustomDataSourceParentLink $parentLink) {
  605. $this->parentLink = $parentLink;
  606. }
  607. public function getParentLink() {
  608. return $this->parentLink;
  609. }
  610. public function setId($id) {
  611. $this->id = $id;
  612. }
  613. public function getId() {
  614. return $this->id;
  615. }
  616. public function setSelfLink($selfLink) {
  617. $this->selfLink = $selfLink;
  618. }
  619. public function getSelfLink() {
  620. return $this->selfLink;
  621. }
  622. public function setAccountId($accountId) {
  623. $this->accountId = $accountId;
  624. }
  625. public function getAccountId() {
  626. return $this->accountId;
  627. }
  628. }
  629. class Google_CustomDataSourceChildLink extends Google_Model {
  630. public $href;
  631. public $type;
  632. public function setHref($href) {
  633. $this->href = $href;
  634. }
  635. public function getHref() {
  636. return $this->href;
  637. }
  638. public function setType($type) {
  639. $this->type = $type;
  640. }
  641. public function getType() {
  642. return $this->type;
  643. }
  644. }
  645. class Google_CustomDataSourceParentLink extends Google_Model {
  646. public $href;
  647. public $type;
  648. public function setHref($href) {
  649. $this->href = $href;
  650. }
  651. public function getHref() {
  652. return $this->href;
  653. }
  654. public function setType($type) {
  655. $this->type = $type;
  656. }
  657. public function getType() {
  658. return $this->type;
  659. }
  660. }
  661. class Google_CustomDataSources extends Google_Model {
  662. public $username;
  663. public $kind;
  664. protected $__itemsType = 'Google_CustomDataSource';
  665. protected $__itemsDataType = 'array';
  666. public $items;
  667. public $itemsPerPage;
  668. public $previousLink;
  669. public $startIndex;
  670. public $nextLink;
  671. public $totalResults;
  672. public function setUsername($username) {
  673. $this->username = $username;
  674. }
  675. public function getUsername() {
  676. return $this->username;
  677. }
  678. public function setKind($kind) {
  679. $this->kind = $kind;
  680. }
  681. public function getKind() {
  682. return $this->kind;
  683. }
  684. public function setItems(/* array(Google_CustomDataSource) */ $items) {
  685. $this->assertIsArray($items, 'Google_CustomDataSource', __METHOD__);
  686. $this->items = $items;
  687. }
  688. public function getItems() {
  689. return $this->items;
  690. }
  691. public function setItemsPerPage($itemsPerPage) {
  692. $this->itemsPerPage = $itemsPerPage;
  693. }
  694. public function getItemsPerPage() {
  695. return $this->itemsPerPage;
  696. }
  697. public function setPreviousLink($previousLink) {
  698. $this->previousLink = $previousLink;
  699. }
  700. public function getPreviousLink() {
  701. return $this->previousLink;
  702. }
  703. public function setStartIndex($startIndex) {
  704. $this->startIndex = $startIndex;
  705. }
  706. public function getStartIndex() {
  707. return $this->startIndex;
  708. }
  709. public function setNextLink($nextLink) {
  710. $this->nextLink = $nextLink;
  711. }
  712. public function getNextLink() {
  713. return $this->nextLink;
  714. }
  715. public function setTotalResults($totalResults) {
  716. $this->totalResults = $totalResults;
  717. }
  718. public function getTotalResults() {
  719. return $this->totalResults;
  720. }
  721. }
  722. class Google_DailyUpload extends Google_Model {
  723. protected $__recentChangesType = 'Google_DailyUploadRecentChanges';
  724. protected $__recentChangesDataType = 'array';
  725. public $recentChanges;
  726. public $kind;
  727. public $modifiedTime;
  728. public $appendCount;
  729. public $customDataSourceId;
  730. public $date;
  731. public $webPropertyId;
  732. public $createdTime;
  733. protected $__parentLinkType = 'Google_DailyUploadParentLink';
  734. protected $__parentLinkDataType = '';
  735. public $parentLink;
  736. public $selfLink;
  737. public $accountId;
  738. public function setRecentChanges(/* array(Google_DailyUploadRecentChanges) */ $recentChanges) {
  739. $this->assertIsArray($recentChanges, 'Google_DailyUploadRecentChanges', __METHOD__);
  740. $this->recentChanges = $recentChanges;
  741. }
  742. public function getRecentChanges() {
  743. return $this->recentChanges;
  744. }
  745. public function setKind($kind) {
  746. $this->kind = $kind;
  747. }
  748. public function getKind() {
  749. return $this->kind;
  750. }
  751. public function setModifiedTime($modifiedTime) {
  752. $this->modifiedTime = $modifiedTime;
  753. }
  754. public function getModifiedTime() {
  755. return $this->modifiedTime;
  756. }
  757. public function setAppendCount($appendCount) {
  758. $this->appendCount = $appendCount;
  759. }
  760. public function getAppendCount() {
  761. return $this->appendCount;
  762. }
  763. public function setCustomDataSourceId($customDataSourceId) {
  764. $this->customDataSourceId = $customDataSourceId;
  765. }
  766. public function getCustomDataSourceId() {
  767. return $this->customDataSourceId;
  768. }
  769. public function setDate($date) {
  770. $this->date = $date;
  771. }
  772. public function getDate() {
  773. return $this->date;
  774. }
  775. public function setWebPropertyId($webPropertyId) {
  776. $this->webPropertyId = $webPropertyId;
  777. }
  778. public function getWebPropertyId() {
  779. return $this->webPropertyId;
  780. }
  781. public function setCreatedTime($createdTime) {
  782. $this->createdTime = $createdTime;
  783. }
  784. public function getCreatedTime() {
  785. return $this->createdTime;
  786. }
  787. public function setParentLink(Google_DailyUploadParentLink $parentLink) {
  788. $this->parentLink = $parentLink;
  789. }
  790. public function getParentLink() {
  791. return $this->parentLink;
  792. }
  793. public function setSelfLink($selfLink) {
  794. $this->selfLink = $selfLink;
  795. }
  796. public function getSelfLink() {
  797. return $this->selfLink;
  798. }
  799. public function setAccountId($accountId) {
  800. $this->accountId = $accountId;
  801. }
  802. public function getAccountId() {
  803. return $this->accountId;
  804. }
  805. }
  806. class Google_DailyUploadAppend extends Google_Model {
  807. public $kind;
  808. public $customDataSourceId;
  809. public $appendNumber;
  810. public $webPropertyId;
  811. public $date;
  812. public $nextAppendLink;
  813. public $accountId;
  814. public function setKind($kind) {
  815. $this->kind = $kind;
  816. }
  817. public function getKind() {
  818. return $this->kind;
  819. }
  820. public function setCustomDataSourceId($customDataSourceId) {
  821. $this->customDataSourceId = $customDataSourceId;
  822. }
  823. public function getCustomDataSourceId() {
  824. return $this->customDataSourceId;
  825. }
  826. public function setAppendNumber($appendNumber) {
  827. $this->appendNumber = $appendNumber;
  828. }
  829. public function getAppendNumber() {
  830. return $this->appendNumber;
  831. }
  832. public function setWebPropertyId($webPropertyId) {
  833. $this->webPropertyId = $webPropertyId;
  834. }
  835. public function getWebPropertyId() {
  836. return $this->webPropertyId;
  837. }
  838. public function setDate($date) {
  839. $this->date = $date;
  840. }
  841. public function getDate() {
  842. return $this->date;
  843. }
  844. public function setNextAppendLink($nextAppendLink) {
  845. $this->nextAppendLink = $nextAppendLink;
  846. }
  847. public function getNextAppendLink() {
  848. return $this->nextAppendLink;
  849. }
  850. public function setAccountId($accountId) {
  851. $this->accountId = $accountId;
  852. }
  853. public function getAccountId() {
  854. return $this->accountId;
  855. }
  856. }
  857. class Google_DailyUploadParentLink extends Google_Model {
  858. public $href;
  859. public $type;
  860. public function setHref($href) {
  861. $this->href = $href;
  862. }
  863. public function getHref() {
  864. return $this->href;
  865. }
  866. public function setType($type) {
  867. $this->type = $type;
  868. }
  869. public function getType() {
  870. return $this->type;
  871. }
  872. }
  873. class Google_DailyUploadRecentChanges extends Google_Model {
  874. public $change;
  875. public $time;
  876. public function setChange($change) {
  877. $this->change = $change;
  878. }
  879. public function getChange() {
  880. return $this->change;
  881. }
  882. public function setTime($time) {
  883. $this->time = $time;
  884. }
  885. public function getTime() {
  886. return $this->time;
  887. }
  888. }
  889. class Google_DailyUploads extends Google_Model {
  890. public $username;
  891. public $kind;
  892. protected $__itemsType = 'Google_DailyUpload';
  893. protected $__itemsDataType = 'array';
  894. public $items;
  895. public $itemsPerPage;
  896. public $previousLink;
  897. public $startIndex;
  898. public $nextLink;
  899. public $totalResults;
  900. public function setUsername($username) {
  901. $this->username = $username;
  902. }
  903. public function getUsername() {
  904. return $this->username;
  905. }
  906. public function setKind($kind) {
  907. $this->kind = $kind;
  908. }
  909. public function getKind() {
  910. return $this->kind;
  911. }
  912. public function setItems(/* array(Google_DailyUpload) */ $items) {
  913. $this->assertIsArray($items, 'Google_DailyUpload', __METHOD__);
  914. $this->items = $items;
  915. }
  916. public function getItems() {
  917. return $this->items;
  918. }
  919. public function setItemsPerPage($itemsPerPage) {
  920. $this->itemsPerPage = $itemsPerPage;
  921. }
  922. public function getItemsPerPage() {
  923. return $this->itemsPerPage;
  924. }
  925. public function setPreviousLink($previousLink) {
  926. $this->previousLink = $previousLink;
  927. }
  928. public function getPreviousLink() {
  929. return $this->previousLink;
  930. }
  931. public function setStartIndex($startIndex) {
  932. $this->startIndex = $startIndex;
  933. }
  934. public function getStartIndex() {
  935. return $this->startIndex;
  936. }
  937. public function setNextLink($nextLink) {
  938. $this->nextLink = $nextLink;
  939. }
  940. public function getNextLink() {
  941. return $this->nextLink;
  942. }
  943. public function setTotalResults($totalResults) {
  944. $this->totalResults = $totalResults;
  945. }
  946. public function getTotalResults() {
  947. return $this->totalResults;
  948. }
  949. }
  950. class Google_GaData extends Google_Model {
  951. public $kind;
  952. public $rows;
  953. public $containsSampledData;
  954. public $totalResults;
  955. public $itemsPerPage;
  956. public $totalsForAllResults;
  957. public $nextLink;
  958. public $id;
  959. protected $__queryType = 'Google_GaDataQuery';
  960. protected $__queryDataType = '';
  961. public $query;
  962. public $previousLink;
  963. protected $__profileInfoType = 'Google_GaDataProfileInfo';
  964. protected $__profileInfoDataType = '';
  965. public $profileInfo;
  966. protected $__columnHeadersType = 'Google_GaDataColumnHeaders';
  967. protected $__columnHeadersDataType = 'array';
  968. public $columnHeaders;
  969. public $selfLink;
  970. public function setKind($kind) {
  971. $this->kind = $kind;
  972. }
  973. public function getKind() {
  974. return $this->kind;
  975. }
  976. public function setRows($rows) {
  977. $this->rows = $rows;
  978. }
  979. public function getRows() {
  980. return $this->rows;
  981. }
  982. public function setContainsSampledData($containsSampledData) {
  983. $this->containsSampledData = $containsSampledData;
  984. }
  985. public function getContainsSampledData() {
  986. return $this->containsSampledData;
  987. }
  988. public function setTotalResults($totalResults) {
  989. $this->totalResults = $totalResults;
  990. }
  991. public function getTotalResults() {
  992. return $this->totalResults;
  993. }
  994. public function setItemsPerPage($itemsPerPage) {
  995. $this->itemsPerPage = $itemsPerPage;
  996. }
  997. public function getItemsPerPage() {
  998. return $this->itemsPerPage;
  999. }
  1000. public function setTotalsForAllResults($totalsForAllResults) {
  1001. $this->totalsForAllResults = $totalsForAllResults;
  1002. }
  1003. public function getTotalsForAllResults() {
  1004. return $this->totalsForAllResults;
  1005. }
  1006. public function setNextLink($nextLink) {
  1007. $this->nextLink = $nextLink;
  1008. }
  1009. public function getNextLink() {
  1010. return $this->nextLink;
  1011. }
  1012. public function setId($id) {
  1013. $this->id = $id;
  1014. }
  1015. public function getId() {
  1016. return $this->id;
  1017. }
  1018. public function setQuery(Google_GaDataQuery $query) {
  1019. $this->query = $query;
  1020. }
  1021. public function getQuery() {
  1022. return $this->query;
  1023. }
  1024. public function setPreviousLink($previousLink) {
  1025. $this->previousLink = $previousLink;
  1026. }
  1027. public function getPreviousLink() {
  1028. return $this->previousLink;
  1029. }
  1030. public function setProfileInfo(Google_GaDataProfileInfo $profileInfo) {
  1031. $this->profileInfo = $profileInfo;
  1032. }
  1033. public function getProfileInfo() {
  1034. return $this->profileInfo;
  1035. }
  1036. public function setColumnHeaders(/* array(Google_GaDataColumnHeaders) */ $columnHeaders) {
  1037. $this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__);
  1038. $this->columnHeaders = $columnHeaders;
  1039. }
  1040. public function getColumnHeaders() {
  1041. return $this->columnHeaders;
  1042. }
  1043. public function setSelfLink($selfLink) {
  1044. $this->selfLink = $selfLink;
  1045. }
  1046. public function getSelfLink() {
  1047. return $this->selfLink;
  1048. }
  1049. }
  1050. class Google_GaDataColumnHeaders extends Google_Model {
  1051. public $dataType;
  1052. public $columnType;
  1053. public $name;
  1054. public function setDataType($dataType) {
  1055. $this->dataType = $dataType;
  1056. }
  1057. public function getDataType() {
  1058. return $this->dataType;
  1059. }
  1060. public function setColumnType($columnType) {
  1061. $this->columnType = $columnType;
  1062. }
  1063. public function getColumnType() {
  1064. return $this->columnType;
  1065. }
  1066. public function setName($name) {
  1067. $this->name = $name;
  1068. }
  1069. public function getName() {
  1070. return $this->name;
  1071. }
  1072. }
  1073. class Google_GaDataProfileInfo extends Google_Model {
  1074. public $webPropertyId;
  1075. public $internalWebPropertyId;
  1076. public $tableId;
  1077. public $profileId;
  1078. public $profileName;
  1079. public $accountId;
  1080. public function setWebPropertyId($webPropertyId) {
  1081. $this->webPropertyId = $webPropertyId;
  1082. }
  1083. public function getWebPropertyId() {
  1084. return $this->webPropertyId;
  1085. }
  1086. public function setInternalWebPropertyId($internalWebPropertyId) {
  1087. $this->internalWebPropertyId = $internalWebPropertyId;
  1088. }
  1089. public function getInternalWebPropertyId() {
  1090. return $this->internalWebPropertyId;
  1091. }
  1092. public function setTableId($tableId) {
  1093. $this->tableId = $tableId;
  1094. }
  1095. public function getTableId() {
  1096. return $this->tableId;
  1097. }
  1098. public function setProfileId($profileId) {
  1099. $this->profileId = $profileId;
  1100. }
  1101. public function getProfileId() {
  1102. return $this->profileId;
  1103. }
  1104. public function setProfileName($profileName) {
  1105. $this->profileName = $profileName;
  1106. }
  1107. public function getProfileName() {
  1108. return $this->profileName;
  1109. }
  1110. public function setAccountId($accountId) {
  1111. $this->accountId = $accountId;
  1112. }
  1113. public function getAccountId() {
  1114. return $this->accountId;
  1115. }
  1116. }
  1117. class Google_GaDataQuery extends Google_Model {
  1118. public $max_results;
  1119. public $sort;
  1120. public $dimensions;
  1121. public $start_date;
  1122. public $start_index;
  1123. public $segment;
  1124. public $ids;
  1125. public $metrics;
  1126. public $filters;
  1127. public $end_date;
  1128. public function setMax_results($max_results) {
  1129. $this->max_results = $max_results;
  1130. }
  1131. public function getMax_results() {
  1132. return $this->max_results;
  1133. }
  1134. public function setSort($sort) {
  1135. $this->sort = $sort;
  1136. }
  1137. public function getSort() {
  1138. return $this->sort;
  1139. }
  1140. public function setDimensions($dimensions) {
  1141. $this->dimensions = $dimensions;
  1142. }
  1143. public function getDimensions() {
  1144. return $this->dimensions;
  1145. }
  1146. public function setStart_date($start_date) {
  1147. $this->start_date = $start_date;
  1148. }
  1149. public function getStart_date() {
  1150. return $this->start_date;
  1151. }
  1152. public function setStart_index($start_index) {
  1153. $this->start_index = $start_index;
  1154. }
  1155. public function getStart_index() {
  1156. return $this->start_index;
  1157. }
  1158. public function setSegment($segment) {
  1159. $this->segment = $segment;
  1160. }
  1161. public function getSegment() {
  1162. return $this->segment;
  1163. }
  1164. public function setIds($ids) {
  1165. $this->ids = $ids;
  1166. }
  1167. public function getIds() {
  1168. return $this->ids;
  1169. }
  1170. public function setMetrics($metrics) {
  1171. $this->metrics = $metrics;
  1172. }
  1173. public function getMetrics() {
  1174. return $this->metrics;
  1175. }
  1176. public function setFilters($filters) {
  1177. $this->filters = $filters;
  1178. }
  1179. public function getFilters() {
  1180. return $this->filters;
  1181. }
  1182. public function setEnd_date($end_date) {
  1183. $this->end_date = $end_date;
  1184. }
  1185. public function getEnd_date() {
  1186. return $this->end_date;
  1187. }
  1188. }
  1189. class Google_Goal extends Google_Model {
  1190. public $kind;
  1191. protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails';
  1192. protected $__visitTimeOnSiteDetailsDataType = '';
  1193. public $visitTimeOnSiteDetails;
  1194. public $name;
  1195. public $created;
  1196. protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails';
  1197. protected $__urlDestinationDetailsDataType = '';
  1198. public $urlDestinationDetails;
  1199. public $updated;
  1200. public $value;
  1201. protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails';
  1202. protected $__visitNumPagesDetailsDataType = '';
  1203. public $visitNumPagesDetails;
  1204. public $internalWebPropertyId;
  1205. protected $__eventDetailsType = 'Google_GoalEventDetails';
  1206. protected $__eventDetailsDataType = '';
  1207. public $eventDetails;
  1208. public $webPropertyId;
  1209. public $active;
  1210. public $profileId;
  1211. protected $__parentLinkType = 'Google_GoalParentLink';
  1212. protected $__parentLinkDataType = '';
  1213. public $parentLink;
  1214. public $type;
  1215. public $id;
  1216. public $selfLink;
  1217. public $accountId;
  1218. public function setKind($kind) {
  1219. $this->kind = $kind;
  1220. }
  1221. public function getKind() {
  1222. return $this->kind;
  1223. }
  1224. public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) {
  1225. $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
  1226. }
  1227. public function getVisitTimeOnSiteDetails() {
  1228. return $this->visitTimeOnSiteDetails;
  1229. }
  1230. public function setName($name) {
  1231. $this->name = $name;
  1232. }
  1233. public function getName() {
  1234. return $this->name;
  1235. }
  1236. public function setCreated($created) {
  1237. $this->created = $created;
  1238. }
  1239. public function getCreated() {
  1240. return $this->created;
  1241. }
  1242. public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails) {
  1243. $this->urlDestinationDetails = $urlDestinationDetails;
  1244. }
  1245. public function getUrlDestinationDetails() {
  1246. return $this->urlDestinationDetails;
  1247. }
  1248. public function setUpdated($updated) {
  1249. $this->updated = $updated;
  1250. }
  1251. public function getUpdated() {
  1252. return $this->updated;
  1253. }
  1254. public function setValue($value) {
  1255. $this->value = $value;
  1256. }
  1257. public function getValue() {
  1258. return $this->value;
  1259. }
  1260. public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails) {
  1261. $this->visitNumPagesDetails = $visitNumPagesDetails;
  1262. }
  1263. public function getVisitNumPagesDetails() {
  1264. return $this->visitNumPagesDetails;
  1265. }
  1266. public function setInternalWebPropertyId($internalWebPropertyId) {
  1267. $this->internalWebPropertyId = $internalWebPropertyId;
  1268. }
  1269. public function getInternalWebPropertyId() {
  1270. return $this->internalWebPropertyId;
  1271. }
  1272. public function setEventDetails(Google_GoalEventDetails $eventDetails) {
  1273. $this->eventDetails = $eventDetails;
  1274. }
  1275. public function getEventDetails() {
  1276. return $this->eventDetails;
  1277. }
  1278. public function setWebPropertyId($webPropertyId) {
  1279. $this->webPropertyId = $webPropertyId;
  1280. }
  1281. public function getWebPropertyId() {
  1282. return $this->webPropertyId;
  1283. }
  1284. public function setActive($active) {
  1285. $this->active = $active;
  1286. }
  1287. public function getActive() {
  1288. return $this->active;
  1289. }
  1290. public function setProfileId($profileId) {
  1291. $this->profileId = $profileId;
  1292. }
  1293. public function getProfileId() {
  1294. return $this->profileId;
  1295. }
  1296. public function setParentLink(Google_GoalParentLink $parentLink) {
  1297. $this->parentLink = $parentLink;
  1298. }
  1299. public function getParentLink() {
  1300. return $this->parentLink;
  1301. }
  1302. public function setType($type) {
  1303. $this->type = $type;
  1304. }
  1305. public function getType() {
  1306. return $this->type;
  1307. }
  1308. public function setId($id) {
  1309. $this->id = $id;
  1310. }
  1311. public function getId() {
  1312. return $this->id;
  1313. }
  1314. public function setSelfLink($selfLink) {
  1315. $this->selfLink = $selfLink;
  1316. }
  1317. public function getSelfLink() {
  1318. return $this->selfLink;
  1319. }
  1320. public function setAccountId($accountId) {
  1321. $this->accountId = $accountId;
  1322. }
  1323. public function getAccountId() {
  1324. return $this->accountId;
  1325. }
  1326. }
  1327. class Google_GoalEventDetails extends Google_Model {
  1328. protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions';
  1329. protected $__eventConditionsDataType = 'array';
  1330. public $eventConditions;
  1331. public $useEventValue;
  1332. public function setEventConditions(/* array(Google_GoalEventDetailsEventConditions) */ $eventConditions) {
  1333. $this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__);
  1334. $this->eventConditions = $eventConditions;
  1335. }
  1336. public function getEventConditions() {
  1337. return $this->eventConditions;
  1338. }
  1339. public function setUseEventValue($useEventValue) {
  1340. $this->useEventValue = $useEventValue;
  1341. }
  1342. public function getUseEventValue() {
  1343. return $this->useEventValue;
  1344. }
  1345. }
  1346. class Google_GoalEventDetailsEventConditions extends Google_Model {
  1347. public $type;
  1348. public $matchType;
  1349. public $expression;
  1350. public $comparisonType;
  1351. public $comparisonValue;
  1352. public function setType($type) {
  1353. $this->type = $type;
  1354. }
  1355. public function getType() {
  1356. return $this->type;
  1357. }
  1358. public function setMatchType($matchType) {
  1359. $this->matchType = $matchType;
  1360. }
  1361. public function getMatchType() {
  1362. return $this->matchType;
  1363. }
  1364. public function setExpression($expression) {
  1365. $this->expression = $expression;
  1366. }
  1367. public function getExpression() {
  1368. return $this->expression;
  1369. }
  1370. public function setComparisonType($comparisonType) {
  1371. $this->comparisonType = $comparisonType;
  1372. }
  1373. public function getComparisonType() {
  1374. return $this->comparisonType;
  1375. }
  1376. public function setComparisonValue($comparisonValue) {
  1377. $this->comparisonValue = $comparisonValue;
  1378. }
  1379. public function getComparisonValue() {
  1380. return $this->comparisonValue;
  1381. }
  1382. }
  1383. class Google_GoalParentLink extends Google_Model {
  1384. public $href;
  1385. public $type;
  1386. public function setHref($href) {
  1387. $this->href = $href;
  1388. }
  1389. public function getHref() {
  1390. return $this->href;
  1391. }
  1392. public function setType($type) {
  1393. $this->type = $type;
  1394. }
  1395. public function getType() {
  1396. return $this->type;
  1397. }
  1398. }
  1399. class Google_GoalUrlDestinationDetails extends Google_Model {
  1400. public $url;
  1401. public $caseSensitive;
  1402. public $matchType;
  1403. protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps';
  1404. protected $__stepsDataType = 'array';
  1405. public $steps;
  1406. public $firstStepRequired;
  1407. public function setUrl($url) {
  1408. $this->url = $url;
  1409. }
  1410. public function getUrl() {
  1411. return $this->url;
  1412. }
  1413. public function setCaseSensitive($caseSensitive) {
  1414. $this->caseSensitive = $caseSensitive;
  1415. }
  1416. public function getCaseSensitive() {
  1417. return $this->caseSensitive;
  1418. }
  1419. public function setMatchType($matchType) {
  1420. $this->matchType = $matchType;
  1421. }
  1422. public function getMatchType() {
  1423. return $this->matchType;
  1424. }
  1425. public function setSteps(/* array(Google_GoalUrlDestinationDetailsSteps) */ $steps) {
  1426. $this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__);
  1427. $this->steps = $steps;
  1428. }
  1429. public function getSteps() {
  1430. return $this->steps;
  1431. }
  1432. public function setFirstStepRequired($firstStepRequired) {
  1433. $this->firstStepRequired = $firstStepRequired;
  1434. }
  1435. public function getFirstStepRequired() {
  1436. return $this->firstStepRequired;
  1437. }
  1438. }
  1439. class Google_GoalUrlDestinationDetailsSteps extends Google_Model {
  1440. public $url;
  1441. public $name;
  1442. public $number;
  1443. public function setUrl($url) {
  1444. $this->url = $url;
  1445. }
  1446. public function getUrl() {
  1447. return $this->url;
  1448. }
  1449. public function setName($name) {
  1450. $this->name = $name;
  1451. }
  1452. public function getName() {
  1453. return $this->name;
  1454. }
  1455. public function setNumber($number) {
  1456. $this->number = $number;
  1457. }
  1458. public function getNumber() {
  1459. return $this->number;
  1460. }
  1461. }
  1462. class Google_GoalVisitNumPagesDetails extends Google_Model {
  1463. public $comparisonType;
  1464. public $comparisonValue;
  1465. public function setComparisonType($comparisonType) {
  1466. $this->comparisonType = $comparisonType;
  1467. }
  1468. public function getComparisonType() {
  1469. return $this->comparisonType;
  1470. }
  1471. public function setComparisonValue($comparisonValue) {
  1472. $this->comparisonValue = $comparisonValue;
  1473. }
  1474. public function getComparisonValue() {
  1475. return $this->comparisonValue;
  1476. }
  1477. }
  1478. class Google_GoalVisitTimeOnSiteDetails extends Google_Model {
  1479. public $comparisonType;
  1480. public $comparisonValue;
  1481. public function setComparisonType($comparisonType) {
  1482. $this->comparisonType = $comparisonType;
  1483. }
  1484. public function getComparisonType() {
  1485. return $this->comparisonType;
  1486. }
  1487. public function setComparisonValue($comparisonValue) {
  1488. $this->comparisonValue = $comparisonValue;
  1489. }
  1490. public function getComparisonValue() {
  1491. return $this->comparisonValue;
  1492. }
  1493. }
  1494. class Google_Goals extends Google_Model {
  1495. public $username;
  1496. public $kind;
  1497. protected $__itemsType = 'Google_Goal';
  1498. protected $__itemsDataType = 'array';
  1499. public $items;
  1500. public $itemsPerPage;
  1501. public $previousLink;
  1502. public $startIndex;
  1503. public $nextLink;
  1504. public $totalResults;
  1505. public function setUsername($username) {
  1506. $this->username = $username;
  1507. }
  1508. public function getUsername() {
  1509. return $this->username;
  1510. }
  1511. public function setKind($kind) {
  1512. $this->kind = $kind;
  1513. }
  1514. public function getKind() {
  1515. return $this->kind;
  1516. }
  1517. public function setItems(/* array(Google_Goal) */ $items) {
  1518. $this->assertIsArray($items, 'Google_Goal', __METHOD__);
  1519. $this->items = $items;
  1520. }
  1521. public function getItems() {
  1522. return $this->items;
  1523. }
  1524. public function setItemsPerPage($itemsPerPage) {
  1525. $this->itemsPerPage = $itemsPerPage;
  1526. }
  1527. public function getItemsPerPage() {
  1528. return $this->itemsPerPage;
  1529. }
  1530. public function setPreviousLink($previousLink) {
  1531. $this->previousLink = $previousLink;
  1532. }
  1533. public function getPreviousLink() {
  1534. return $this->previousLink;
  1535. }
  1536. public function setStartIndex($startIndex) {
  1537. $this->startIndex = $startIndex;
  1538. }
  1539. public function getStartIndex() {
  1540. return $this->startIndex;
  1541. }
  1542. public function setNextLink($nextLink) {
  1543. $this->nextLink = $nextLink;
  1544. }
  1545. public function getNextLink() {
  1546. return $this->nextLink;
  1547. }
  1548. public function setTotalResults($totalResults) {
  1549. $this->totalResults = $totalResults;
  1550. }
  1551. public function getTotalResults() {
  1552. return $this->totalResults;
  1553. }
  1554. }
  1555. class Google_McfData extends Google_Model {
  1556. public $kind;
  1557. protected $__rowsType = 'Google_McfDataRows';
  1558. protected $__rowsDataType = 'array';
  1559. public $rows;
  1560. public $containsSampledData;
  1561. public $totalResults;
  1562. public $itemsPerPage;
  1563. public $totalsForAllResults;
  1564. public $nextLink;
  1565. public $id;
  1566. protected $__queryType = 'Google_McfDataQuery';
  1567. protected $__queryDataType = '';
  1568. public $query;
  1569. public $previousLink;
  1570. protected $__profileInfoType = 'Google_McfDataProfileInfo';
  1571. protected $__profileInfoDataType = '';
  1572. public $profileInfo;
  1573. protected $__columnHeadersType = 'Google_McfDataColumnHeaders';
  1574. protected $__columnHeadersDataType = 'array';
  1575. public $columnHeaders;
  1576. public $selfLink;
  1577. public function setKind($kind) {
  1578. $this->kind = $kind;
  1579. }
  1580. public function getKind() {
  1581. return $this->kind;
  1582. }
  1583. public function setRows(/* array(Google_McfDataRows) */ $rows) {
  1584. $this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__);
  1585. $this->rows = $rows;
  1586. }
  1587. public function getRows() {
  1588. return $this->rows;
  1589. }
  1590. public function setContainsSampledData($containsSampledData) {
  1591. $this->containsSampledData = $containsSampledData;
  1592. }
  1593. public function getContainsSampledData() {
  1594. return $this->containsSampledData;
  1595. }
  1596. public function setTotalResults($totalResults) {
  1597. $this->totalResults = $totalResults;
  1598. }
  1599. public function getTotalResults() {
  1600. return $this->totalResults;
  1601. }
  1602. public function setItemsPerPage($itemsPerPage) {
  1603. $this->itemsPerPage = $itemsPerPage;
  1604. }
  1605. public function getItemsPerPage() {
  1606. return $this->itemsPerPage;
  1607. }
  1608. public function setTotalsForAllResults($totalsForAllResults) {
  1609. $this->totalsForAllResults = $totalsForAllResults;
  1610. }
  1611. public function getTotalsForAllResults() {
  1612. return $this->totalsForAllResults;
  1613. }
  1614. public function setNextLink($nextLink) {
  1615. $this->nextLink = $nextLink;
  1616. }
  1617. public function getNextLink() {
  1618. return $this->nextLink;
  1619. }
  1620. public function setId($id) {
  1621. $this->id = $id;
  1622. }
  1623. public function getId() {
  1624. return $this->id;
  1625. }
  1626. public function setQuery(Google_McfDataQuery $query) {
  1627. $this->query = $query;
  1628. }
  1629. public function getQuery() {
  1630. return $this->query;
  1631. }
  1632. public function setPreviousLink($previousLink) {
  1633. $this->previousLink = $previousLink;
  1634. }
  1635. public function getPreviousLink() {
  1636. return $this->previousLink;
  1637. }
  1638. public function setProfileInfo(Google_McfDataProfileInfo $profileInfo) {
  1639. $this->profileInfo = $profileInfo;
  1640. }
  1641. public function getProfileInfo() {
  1642. return $this->profileInfo;
  1643. }
  1644. public function setColumnHeaders(/* array(Google_McfDataColumnHeaders) */ $columnHeaders) {
  1645. $this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__);
  1646. $this->columnHeaders = $columnHeaders;
  1647. }
  1648. public function getColumnHeaders() {
  1649. return $this->columnHeaders;
  1650. }
  1651. public function setSelfLink($selfLink) {
  1652. $this->selfLink = $selfLink;
  1653. }
  1654. public function getSelfLink() {
  1655. return $this->selfLink;
  1656. }
  1657. }
  1658. class Google_McfDataColumnHeaders extends Google_Model {
  1659. public $dataType;
  1660. public $columnType;
  1661. public $name;
  1662. public function setDataType($dataType) {
  1663. $this->dataType = $dataType;
  1664. }
  1665. public function getDataType() {
  1666. return $this->dataType;
  1667. }
  1668. public function setColumnType($columnType) {
  1669. $this->columnType = $columnType;
  1670. }
  1671. public function getColumnType() {
  1672. return $this->columnType;
  1673. }
  1674. public function setName($name) {
  1675. $this->name = $name;
  1676. }
  1677. public function getName() {
  1678. return $this->name;
  1679. }
  1680. }
  1681. class Google_McfDataProfileInfo extends Google_Model {
  1682. public $webPropertyId;
  1683. public $internalWebPropertyId;
  1684. public $tableId;
  1685. public $profileId;
  1686. public $profileName;
  1687. public $accountId;
  1688. public function setWebPropertyId($webPropertyId) {
  1689. $this->webPropertyId = $webPropertyId;
  1690. }
  1691. public function getWebPropertyId() {
  1692. return $this->webPropertyId;
  1693. }
  1694. public function setInternalWebPropertyId($internalWebPropertyId) {
  1695. $this->internalWebPropertyId = $internalWebPropertyId;
  1696. }
  1697. public function getInternalWebPropertyId() {
  1698. return $this->internalWebPropertyId;
  1699. }
  1700. public function setTableId($tableId) {
  1701. $this->tableId = $tableId;
  1702. }
  1703. public function getTableId() {
  1704. return $this->tableId;
  1705. }
  1706. public function setProfileId($profileId) {
  1707. $this->profileId = $profileId;
  1708. }
  1709. public function getProfileId() {
  1710. return $this->profileId;
  1711. }
  1712. public function setProfileName($profileName) {
  1713. $this->profileName = $profileName;
  1714. }
  1715. public function getProfileName() {
  1716. return $this->profileName;
  1717. }
  1718. public function setAccountId($accountId) {
  1719. $this->accountId = $accountId;
  1720. }
  1721. public function getAccountId() {
  1722. return $this->accountId;
  1723. }
  1724. }
  1725. class Google_McfDataQuery extends Google_Model {
  1726. public $max_results;
  1727. public $sort;
  1728. public $dimensions;
  1729. public $start_date;
  1730. public $start_index;
  1731. public $segment;
  1732. public $ids;
  1733. public $metrics;
  1734. public $filters;
  1735. public $end_date;
  1736. public function setMax_results($max_results) {
  1737. $this->max_results = $max_results;
  1738. }
  1739. public function getMax_results() {
  1740. return $this->max_results;
  1741. }
  1742. public function setSort($sort) {
  1743. $this->sort = $sort;
  1744. }
  1745. public function getSort() {
  1746. return $this->sort;
  1747. }
  1748. public function setDimensions($dimensions) {
  1749. $this->dimensions = $dimensions;
  1750. }
  1751. public function getDimensions() {
  1752. return $this->dimensions;
  1753. }
  1754. public function setStart_date($start_date) {
  1755. $this->start_date = $start_date;
  1756. }
  1757. public function getStart_date() {
  1758. return $this->start_date;
  1759. }
  1760. public function setStart_index($start_index) {
  1761. $this->start_index = $start_index;
  1762. }
  1763. public function getStart_index() {
  1764. return $this->start_index;
  1765. }
  1766. public function setSegment($segment) {
  1767. $this->segment = $segment;
  1768. }
  1769. public function getSegment() {
  1770. return $this->segment;
  1771. }
  1772. public function setIds($ids) {
  1773. $this->ids = $ids;
  1774. }
  1775. public function getIds() {
  1776. return $this->ids;
  1777. }
  1778. public function setMetrics($metrics) {
  1779. $this->metrics = $metrics;
  1780. }
  1781. public function getMetrics() {
  1782. return $this->metrics;
  1783. }
  1784. public function setFilters($filters) {
  1785. $this->filters = $filters;
  1786. }
  1787. public function getFilters() {
  1788. return $this->filters;
  1789. }
  1790. public function setEnd_date($end_date) {
  1791. $this->end_date = $end_date;
  1792. }
  1793. public function getEnd_date() {
  1794. return $this->end_date;
  1795. }
  1796. }
  1797. class Google_McfDataRows extends Google_Model {
  1798. public $primitiveValue;
  1799. protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue';
  1800. protected $__conversionPathValueDataType = 'array';
  1801. public $conversionPathValue;
  1802. public function setPrimitiveValue($primitiveValue) {
  1803. $this->primitiveValue = $primitiveValue;
  1804. }
  1805. public function getPrimitiveValue() {
  1806. return $this->primitiveValue;
  1807. }
  1808. public function setConversionPathValue(/* array(Google_McfDataRowsConversionPathValue) */ $conversionPathValue) {
  1809. $this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__);
  1810. $this->conversionPathValue = $conversionPathValue;
  1811. }
  1812. public function getConversionPathValue() {
  1813. return $this->conversionPathValue;
  1814. }
  1815. }
  1816. class Google_McfDataRowsConversionPathValue extends Google_Model {
  1817. public $nodeValue;
  1818. public $interactionType;
  1819. public function setNodeValue($nodeValue) {
  1820. $this->nodeValue = $nodeValue;
  1821. }
  1822. public function getNodeValue() {
  1823. return $this->nodeValue;
  1824. }
  1825. public function setInteractionType($interactionType) {
  1826. $this->interactionType = $interactionType;
  1827. }
  1828. public function getInteractionType() {
  1829. return $this->interactionType;
  1830. }
  1831. }
  1832. class Google_Profile extends Google_Model {
  1833. public $defaultPage;
  1834. public $kind;
  1835. public $excludeQueryParameters;
  1836. public $name;
  1837. public $created;
  1838. public $webPropertyId;
  1839. public $updated;
  1840. public $siteSearchQueryParameters;
  1841. public $websiteUrl;
  1842. public $currency;
  1843. public $internalWebPropertyId;
  1844. protected $__childLinkType = 'Google_ProfileChildLink';
  1845. protected $__childLinkDataType = '';
  1846. public $childLink;
  1847. public $eCommerceTracking;
  1848. public $timezone;
  1849. public $siteSearchCategoryParameters;
  1850. protected $__parentLinkType = 'Google_ProfileParentLink';
  1851. protected $__parentLinkDataType = '';
  1852. public $parentLink;
  1853. public $id;
  1854. public $selfLink;
  1855. public $accountId;
  1856. public function setDefaultPage($defaultPage) {
  1857. $this->defaultPage = $defaultPage;
  1858. }
  1859. public function getDefaultPage() {
  1860. return $this->defaultPage;
  1861. }
  1862. public function setKind($kind) {
  1863. $this->kind = $kind;
  1864. }
  1865. public function getKind() {
  1866. return $this->kind;
  1867. }
  1868. public function setExcludeQueryParameters($excludeQueryParameters) {
  1869. $this->excludeQueryParameters = $excludeQueryParameters;
  1870. }
  1871. public function getExcludeQueryParameters() {
  1872. return $this->excludeQueryParameters;
  1873. }
  1874. public function setName($name) {
  1875. $this->name = $name;
  1876. }
  1877. public function getName() {
  1878. return $this->name;
  1879. }
  1880. public function setCreated($created) {
  1881. $this->created = $created;
  1882. }
  1883. public function getCreated() {
  1884. return $this->created;
  1885. }
  1886. public function setWebPropertyId($webPropertyId) {
  1887. $this->webPropertyId = $webPropertyId;
  1888. }
  1889. public function getWebPropertyId() {
  1890. return $this->webPropertyId;
  1891. }
  1892. public function setUpdated($updated) {
  1893. $this->updated = $updated;
  1894. }
  1895. public function getUpdated() {
  1896. return $this->updated;
  1897. }
  1898. public function setSiteSearchQueryParameters($siteSearchQueryParameters) {
  1899. $this->siteSearchQueryParameters = $siteSearchQueryParameters;
  1900. }
  1901. public function getSiteSearchQueryParameters() {
  1902. return $this->siteSearchQueryParameters;
  1903. }
  1904. public function setWebsiteUrl($websiteUrl) {
  1905. $this->websiteUrl = $websiteUrl;
  1906. }
  1907. public function getWebsiteUrl() {
  1908. return $this->websiteUrl;
  1909. }
  1910. public function setCurrency($currency) {
  1911. $this->currency = $currency;
  1912. }
  1913. public function getCurrency() {
  1914. return $this->currency;
  1915. }
  1916. public function setInternalWebPropertyId($internalWebPropertyId) {
  1917. $this->internalWebPropertyId = $internalWebPropertyId;
  1918. }
  1919. public function getInternalWebPropertyId() {
  1920. return $this->internalWebPropertyId;
  1921. }
  1922. public function setChildLink(Google_ProfileChildLink $childLink) {
  1923. $this->childLink = $childLink;
  1924. }
  1925. public function getChildLink() {
  1926. return $this->childLink;
  1927. }
  1928. public function setECommerceTracking($eCommerceTracking) {
  1929. $this->eCommerceTracking = $eCommerceTracking;
  1930. }
  1931. public function getECommerceTracking() {
  1932. return $this->eCommerceTracking;
  1933. }
  1934. public function setTimezone($timezone) {
  1935. $this->timezone = $timezone;
  1936. }
  1937. public function getTimezone() {
  1938. return $this->timezone;
  1939. }
  1940. public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) {
  1941. $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
  1942. }
  1943. public function getSiteSearchCategoryParameters() {
  1944. return $this->siteSearchCategoryParameters;
  1945. }
  1946. public function setParentLink(Google_ProfileParentLink $parentLink) {
  1947. $this->parentLink = $parentLink;
  1948. }
  1949. public function getParentLink() {
  1950. return $this->parentLink;
  1951. }
  1952. public function setId($id) {
  1953. $this->id = $id;
  1954. }
  1955. public function getId() {
  1956. return $this->id;
  1957. }
  1958. public function setSelfLink($selfLink) {
  1959. $this->selfLink = $selfLink;
  1960. }
  1961. public function getSelfLink() {
  1962. return $this->selfLink;
  1963. }
  1964. public function setAccountId($accountId) {
  1965. $this->accountId = $accountId;
  1966. }
  1967. public function getAccountId() {
  1968. return $this->accountId;
  1969. }
  1970. }
  1971. class Google_ProfileChildLink extends Google_Model {
  1972. public $href;
  1973. public $type;
  1974. public function setHref($href) {
  1975. $this->href = $href;
  1976. }
  1977. public function getHref() {
  1978. return $this->href;
  1979. }
  1980. public function setType($type) {
  1981. $this->type = $type;
  1982. }
  1983. public function getType() {
  1984. return $this->type;
  1985. }
  1986. }
  1987. class Google_ProfileParentLink extends Google_Model {
  1988. public $href;
  1989. public $type;
  1990. public function setHref($href) {
  1991. $this->href = $href;
  1992. }
  1993. public function getHref() {
  1994. return $this->href;
  1995. }
  1996. public function setType($type) {
  1997. $this->type = $type;
  1998. }
  1999. public function getType() {
  2000. return $this->type;
  2001. }
  2002. }
  2003. class Google_Profiles extends Google_Model {
  2004. public $username;
  2005. public $kind;
  2006. protected $__itemsType = 'Google_Profile';
  2007. protected $__itemsDataType = 'array';
  2008. public $items;
  2009. public $itemsPerPage;
  2010. public $previousLink;
  2011. public $startIndex;
  2012. public $nextLink;
  2013. public $totalResults;
  2014. public function setUsername($username) {
  2015. $this->username = $username;
  2016. }
  2017. public function getUsername() {
  2018. return $this->username;
  2019. }
  2020. public function setKind($kind) {
  2021. $this->kind = $kind;
  2022. }
  2023. public function getKind() {
  2024. return $this->kind;
  2025. }
  2026. public function setItems(/* array(Google_Profile) */ $items) {
  2027. $this->assertIsArray($items, 'Google_Profile', __METHOD__);
  2028. $this->items = $items;
  2029. }
  2030. public function getItems() {
  2031. return $this->items;
  2032. }
  2033. public function setItemsPerPage($itemsPerPage) {
  2034. $this->itemsPerPage = $itemsPerPage;
  2035. }
  2036. public function getItemsPerPage() {
  2037. return $this->itemsPerPage;
  2038. }
  2039. public function setPreviousLink($previousLink) {
  2040. $this->previousLink = $previousLink;
  2041. }
  2042. public function getPreviousLink() {
  2043. return $this->previousLink;
  2044. }
  2045. public function setStartIndex($startIndex) {
  2046. $this->startIndex = $startIndex;
  2047. }
  2048. public function getStartIndex() {
  2049. return $this->startIndex;
  2050. }
  2051. public function setNextLink($nextLink) {
  2052. $this->nextLink = $nextLink;
  2053. }
  2054. public function getNextLink() {
  2055. return $this->nextLink;
  2056. }
  2057. public function setTotalResults($totalResults) {
  2058. $this->totalResults = $totalResults;
  2059. }
  2060. public function getTotalResults() {
  2061. return $this->totalResults;
  2062. }
  2063. }
  2064. class Google_Segment extends Google_Model {
  2065. public $definition;
  2066. public $kind;
  2067. public $segmentId;
  2068. public $created;
  2069. public $updated;
  2070. public $id;
  2071. public $selfLink;
  2072. public $name;
  2073. public function setDefinition($definition) {
  2074. $this->definition = $definition;
  2075. }
  2076. public function getDefinition() {
  2077. return $this->definition;
  2078. }
  2079. public function setKind($kind) {
  2080. $this->kind = $kind;
  2081. }
  2082. public function getKind() {
  2083. return $this->kind;
  2084. }
  2085. public function setSegmentId($segmentId) {
  2086. $this->segmentId = $segmentId;
  2087. }
  2088. public function getSegmentId() {
  2089. return $this->segmentId;
  2090. }
  2091. public function setCreated($created) {
  2092. $this->created = $created;
  2093. }
  2094. public function getCreated() {
  2095. return $this->created;
  2096. }
  2097. public function setUpdated($updated) {
  2098. $this->updated = $updated;
  2099. }
  2100. public function getUpdated() {
  2101. return $this->updated;
  2102. }
  2103. public function setId($id) {
  2104. $this->id = $id;
  2105. }
  2106. public function getId() {
  2107. return $this->id;
  2108. }
  2109. public function setSelfLink($selfLink) {
  2110. $this->selfLink = $selfLink;
  2111. }
  2112. public function getSelfLink() {
  2113. return $this->selfLink;
  2114. }
  2115. public function setName($name) {
  2116. $this->name = $name;
  2117. }
  2118. public function getName() {
  2119. return $this->name;
  2120. }
  2121. }
  2122. class Google_Segments extends Google_Model {
  2123. public $username;
  2124. public $kind;
  2125. protected $__itemsType = 'Google_Segment';
  2126. protected $__itemsDataType = 'array';
  2127. public $items;
  2128. public $itemsPerPage;
  2129. public $previousLink;
  2130. public $startIndex;
  2131. public $nextLink;
  2132. public $totalResults;
  2133. public function setUsername($username) {
  2134. $this->username = $username;
  2135. }
  2136. public function getUsername() {
  2137. return $this->username;
  2138. }
  2139. public function setKind($kind) {
  2140. $this->kind = $kind;
  2141. }
  2142. public function getKind() {
  2143. return $this->kind;
  2144. }
  2145. public function setItems(/* array(Google_Segment) */ $items) {
  2146. $this->assertIsArray($items, 'Google_Segment', __METHOD__);
  2147. $this->items = $items;
  2148. }
  2149. public function getItems() {
  2150. return $this->items;
  2151. }
  2152. public function setItemsPerPage($itemsPerPage) {
  2153. $this->itemsPerPage = $itemsPerPage;
  2154. }
  2155. public function getItemsPerPage() {
  2156. return $this->itemsPerPage;
  2157. }
  2158. public function setPreviousLink($previousLink) {
  2159. $this->previousLink = $previousLink;
  2160. }
  2161. public function getPreviousLink() {
  2162. return $this->previousLink;
  2163. }
  2164. public function setStartIndex($startIndex) {
  2165. $this->startIndex = $startIndex;
  2166. }
  2167. public function getStartIndex() {
  2168. return $this->startIndex;
  2169. }
  2170. public function setNextLink($nextLink) {
  2171. $this->nextLink = $nextLink;
  2172. }
  2173. public function getNextLink() {
  2174. return $this->nextLink;
  2175. }
  2176. public function setTotalResults($totalResults) {
  2177. $this->totalResults = $totalResults;
  2178. }
  2179. public function getTotalResults() {
  2180. return $this->totalResults;
  2181. }
  2182. }
  2183. class Google_Webproperties extends Google_Model {
  2184. public $username;
  2185. public $kind;
  2186. protected $__itemsType = 'Google_Webproperty';
  2187. protected $__itemsDataType = 'array';
  2188. public $items;
  2189. public $itemsPerPage;
  2190. public $previousLink;
  2191. public $startIndex;
  2192. public $nextLink;
  2193. public $totalResults;
  2194. public function setUsername($username) {
  2195. $this->username = $username;
  2196. }
  2197. public function getUsername() {
  2198. return $this->username;
  2199. }
  2200. public function setKind($kind) {
  2201. $this->kind = $kind;
  2202. }
  2203. public function getKind() {
  2204. return $this->kind;
  2205. }
  2206. public function setItems(/* array(Google_Webproperty) */ $items) {
  2207. $this->assertIsArray($items, 'Google_Webproperty', __METHOD__);
  2208. $this->items = $items;
  2209. }
  2210. public function getItems() {
  2211. return $this->items;
  2212. }
  2213. public function setItemsPerPage($itemsPerPage) {
  2214. $this->itemsPerPage = $itemsPerPage;
  2215. }
  2216. public function getItemsPerPage() {
  2217. return $this->itemsPerPage;
  2218. }
  2219. public function setPreviousLink($previousLink) {
  2220. $this->previousLink = $previousLink;
  2221. }
  2222. public function getPreviousLink() {
  2223. return $this->previousLink;
  2224. }
  2225. public function setStartIndex($startIndex) {
  2226. $this->startIndex = $startIndex;
  2227. }
  2228. public function getStartIndex() {
  2229. return $this->startIndex;
  2230. }
  2231. public function setNextLink($nextLink) {
  2232. $this->nextLink = $nextLink;
  2233. }
  2234. public function getNextLink() {
  2235. return $this->nextLink;
  2236. }
  2237. public function setTotalResults($totalResults) {
  2238. $this->totalResults = $totalResults;
  2239. }
  2240. public function getTotalResults() {
  2241. return $this->totalResults;
  2242. }
  2243. }
  2244. class Google_Webproperty extends Google_Model {
  2245. public $kind;
  2246. public $name;
  2247. public $created;
  2248. public $updated;
  2249. public $websiteUrl;
  2250. public $internalWebPropertyId;
  2251. protected $__childLinkType = 'Google_WebpropertyChildLink';
  2252. protected $__childLinkDataType = '';
  2253. public $childLink;
  2254. protected $__parentLinkType = 'Google_WebpropertyParentLink';
  2255. protected $__parentLinkDataType = '';
  2256. public $parentLink;
  2257. public $id;
  2258. public $selfLink;
  2259. public $accountId;
  2260. public function setKind($kind) {
  2261. $this->kind = $kind;
  2262. }
  2263. public function getKind() {
  2264. return $this->kind;
  2265. }
  2266. public function setName($name) {
  2267. $this->name = $name;
  2268. }
  2269. public function getName() {
  2270. return $this->name;
  2271. }
  2272. public function setCreated($created) {
  2273. $this->created = $created;
  2274. }
  2275. public function getCreated() {
  2276. return $this->created;
  2277. }
  2278. public function setUpdated($updated) {
  2279. $this->updated = $updated;
  2280. }
  2281. public function getUpdated() {
  2282. return $this->updated;
  2283. }
  2284. public function setWebsiteUrl($websiteUrl) {
  2285. $this->websiteUrl = $websiteUrl;
  2286. }
  2287. public function getWebsiteUrl() {
  2288. return $this->websiteUrl;
  2289. }
  2290. public function setInternalWebPropertyId($internalWebPropertyId) {
  2291. $this->internalWebPropertyId = $internalWebPropertyId;
  2292. }
  2293. public function getInternalWebPropertyId() {
  2294. return $this->internalWebPropertyId;
  2295. }
  2296. public function setChildLink(Google_WebpropertyChildLink $childLink) {
  2297. $this->childLink = $childLink;
  2298. }
  2299. public function getChildLink() {
  2300. return $this->childLink;
  2301. }
  2302. public function setParentLink(Google_WebpropertyParentLink $parentLink) {
  2303. $this->parentLink = $parentLink;
  2304. }
  2305. public function getParentLink() {
  2306. return $this->parentLink;
  2307. }
  2308. public function setId($id) {
  2309. $this->id = $id;
  2310. }
  2311. public function getId() {
  2312. return $this->id;
  2313. }
  2314. public function setSelfLink($selfLink) {
  2315. $this->selfLink = $selfLink;
  2316. }
  2317. public function getSelfLink() {
  2318. return $this->selfLink;
  2319. }
  2320. public function setAccountId($accountId) {
  2321. $this->accountId = $accountId;
  2322. }
  2323. public function getAccountId() {
  2324. return $this->accountId;
  2325. }
  2326. }
  2327. class Google_WebpropertyChildLink extends Google_Model {
  2328. public $href;
  2329. public $type;
  2330. public function setHref($href) {
  2331. $this->href = $href;
  2332. }
  2333. public function getHref() {
  2334. return $this->href;
  2335. }
  2336. public function setType($type) {
  2337. $this->type = $type;
  2338. }
  2339. public function getType() {
  2340. return $this->type;
  2341. }
  2342. }
  2343. class Google_WebpropertyParentLink extends Google_Model {
  2344. public $href;
  2345. public $type;
  2346. public function setHref($href) {
  2347. $this->href = $href;
  2348. }
  2349. public function getHref() {
  2350. return $this->href;
  2351. }
  2352. public function setType($type) {
  2353. $this->type = $type;
  2354. }
  2355. public function getType() {
  2356. return $this->type;
  2357. }
  2358. }