PageRenderTime 70ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/Google/contrib/Google_AnalyticsService.php

https://bitbucket.org/snowqbe/playhp
PHP | 4233 lines | 3211 code | 698 blank | 324 comment | 30 complexity | f2cc9be822b4db4c8510060f999b0f05 MD5 | raw file
  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 "data" collection of methods.
  17. * Typical usage is:
  18. * <code>
  19. * $analyticsService = new Google_AnalyticsService(...);
  20. * $data = $analyticsService->data;
  21. * </code>
  22. */
  23. class Google_DataServiceResource extends Google_ServiceResource
  24. {
  25. }
  26. /**
  27. * The "ga" collection of methods.
  28. * Typical usage is:
  29. * <code>
  30. * $analyticsService = new Google_AnalyticsService(...);
  31. * $ga = $analyticsService->ga;
  32. * </code>
  33. */
  34. class Google_DataGaServiceResource extends Google_ServiceResource
  35. {
  36. /**
  37. * Returns Analytics data for a profile. (ga.get)
  38. *
  39. * @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.
  40. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  41. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  42. * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
  43. * @param array $optParams Optional parameters.
  44. *
  45. * @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
  46. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data.
  47. * @opt_param int max-results The maximum number of entries to include in this feed.
  48. * @opt_param string segment An Analytics advanced segment to be applied to data.
  49. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
  50. * @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.
  51. * @return Google_GaData
  52. */
  53. public function get($ids, $start_date, $end_date, $metrics, $optParams = array())
  54. {
  55. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  56. $params = array_merge($params, $optParams);
  57. $data = $this->__call('get', array($params));
  58. if ($this->useObjects()) {
  59. return new Google_GaData($data);
  60. } else {
  61. return $data;
  62. }
  63. }
  64. }
  65. /**
  66. * The "mcf" collection of methods.
  67. * Typical usage is:
  68. * <code>
  69. * $analyticsService = new Google_AnalyticsService(...);
  70. * $mcf = $analyticsService->mcf;
  71. * </code>
  72. */
  73. class Google_DataMcfServiceResource extends Google_ServiceResource
  74. {
  75. /**
  76. * Returns Analytics Multi-Channel Funnels data for a profile. (mcf.get)
  77. *
  78. * @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.
  79. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  80. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  81. * @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.
  82. * @param array $optParams Optional parameters.
  83. *
  84. * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
  85. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data.
  86. * @opt_param int max-results The maximum number of entries to include in this feed.
  87. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
  88. * @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.
  89. * @return Google_McfData
  90. */
  91. public function get($ids, $start_date, $end_date, $metrics, $optParams = array())
  92. {
  93. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  94. $params = array_merge($params, $optParams);
  95. $data = $this->__call('get', array($params));
  96. if ($this->useObjects()) {
  97. return new Google_McfData($data);
  98. } else {
  99. return $data;
  100. }
  101. }
  102. }
  103. /**
  104. * The "management" collection of methods.
  105. * Typical usage is:
  106. * <code>
  107. * $analyticsService = new Google_AnalyticsService(...);
  108. * $management = $analyticsService->management;
  109. * </code>
  110. */
  111. class Google_ManagementServiceResource extends Google_ServiceResource
  112. {
  113. }
  114. /**
  115. * The "accounts" collection of methods.
  116. * Typical usage is:
  117. * <code>
  118. * $analyticsService = new Google_AnalyticsService(...);
  119. * $accounts = $analyticsService->accounts;
  120. * </code>
  121. */
  122. class Google_ManagementAccountsServiceResource extends Google_ServiceResource
  123. {
  124. /**
  125. * Lists all accounts to which the user has access. (accounts.list)
  126. *
  127. * @param array $optParams Optional parameters.
  128. *
  129. * @opt_param int max-results The maximum number of accounts to include in this response.
  130. * @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.
  131. * @return Google_Accounts
  132. */
  133. public function listManagementAccounts($optParams = array())
  134. {
  135. $params = array();
  136. $params = array_merge($params, $optParams);
  137. $data = $this->__call('list', array($params));
  138. if ($this->useObjects()) {
  139. return new Google_Accounts($data);
  140. } else {
  141. return $data;
  142. }
  143. }
  144. }
  145. /**
  146. * The "customDataSources" collection of methods.
  147. * Typical usage is:
  148. * <code>
  149. * $analyticsService = new Google_AnalyticsService(...);
  150. * $customDataSources = $analyticsService->customDataSources;
  151. * </code>
  152. */
  153. class Google_ManagementCustomDataSourcesServiceResource extends Google_ServiceResource
  154. {
  155. /**
  156. * List custom data sources to which the user has access. (customDataSources.list)
  157. *
  158. * @param string $accountId Account Id for the custom data sources to retrieve.
  159. * @param string $webPropertyId Web property Id for the custom data sources to retrieve.
  160. * @param array $optParams Optional parameters.
  161. *
  162. * @opt_param int max-results The maximum number of custom data sources to include in this response.
  163. * @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.
  164. * @return Google_CustomDataSources
  165. */
  166. public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
  167. {
  168. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  169. $params = array_merge($params, $optParams);
  170. $data = $this->__call('list', array($params));
  171. if ($this->useObjects()) {
  172. return new Google_CustomDataSources($data);
  173. } else {
  174. return $data;
  175. }
  176. }
  177. }
  178. /**
  179. * The "dailyUploads" collection of methods.
  180. * Typical usage is:
  181. * <code>
  182. * $analyticsService = new Google_AnalyticsService(...);
  183. * $dailyUploads = $analyticsService->dailyUploads;
  184. * </code>
  185. */
  186. class Google_ManagementDailyUploadsServiceResource extends Google_ServiceResource
  187. {
  188. /**
  189. * Delete uploaded data for the given date. (dailyUploads.delete)
  190. *
  191. * @param string $accountId Account Id associated with daily upload delete.
  192. * @param string $webPropertyId Web property Id associated with daily upload delete.
  193. * @param string $customDataSourceId Custom data source Id associated with daily upload delete.
  194. * @param string $date Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
  195. * @param string $type Type of data for this delete.
  196. * @param array $optParams Optional parameters.
  197. */
  198. public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
  199. {
  200. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
  201. $params = array_merge($params, $optParams);
  202. $data = $this->__call('delete', array($params));
  203. return $data;
  204. }
  205. /**
  206. * List daily uploads to which the user has access. (dailyUploads.list)
  207. *
  208. * @param string $accountId Account Id for the daily uploads to retrieve.
  209. * @param string $webPropertyId Web property Id for the daily uploads to retrieve.
  210. * @param string $customDataSourceId Custom data source Id for daily uploads to retrieve.
  211. * @param string $start_date Start date of the form YYYY-MM-DD.
  212. * @param string $end_date End date of the form YYYY-MM-DD.
  213. * @param array $optParams Optional parameters.
  214. *
  215. * @opt_param int max-results The maximum number of custom data sources to include in this response.
  216. * @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.
  217. * @return Google_DailyUploads
  218. */
  219. public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $start_date, $end_date, $optParams = array())
  220. {
  221. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $start_date, 'end-date' => $end_date);
  222. $params = array_merge($params, $optParams);
  223. $data = $this->__call('list', array($params));
  224. if ($this->useObjects()) {
  225. return new Google_DailyUploads($data);
  226. } else {
  227. return $data;
  228. }
  229. }
  230. /**
  231. * Update/Overwrite data for a custom data source. (dailyUploads.upload)
  232. *
  233. * @param string $accountId Account Id associated with daily upload.
  234. * @param string $webPropertyId Web property Id associated with daily upload.
  235. * @param string $customDataSourceId Custom data source Id to which the data being uploaded belongs.
  236. * @param string $date Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
  237. * @param int $appendNumber Append number for this upload indexed from 1.
  238. * @param string $type Type of data for this upload.
  239. * @param array $optParams Optional parameters.
  240. *
  241. * @opt_param bool reset Reset/Overwrite all previous appends for this date and start over with this file as the first upload.
  242. * @return Google_DailyUploadAppend
  243. */
  244. public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
  245. {
  246. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
  247. $params = array_merge($params, $optParams);
  248. $data = $this->__call('upload', array($params));
  249. if ($this->useObjects()) {
  250. return new Google_DailyUploadAppend($data);
  251. } else {
  252. return $data;
  253. }
  254. }
  255. }
  256. /**
  257. * The "experiments" collection of methods.
  258. * Typical usage is:
  259. * <code>
  260. * $analyticsService = new Google_AnalyticsService(...);
  261. * $experiments = $analyticsService->experiments;
  262. * </code>
  263. */
  264. class Google_ManagementExperimentsServiceResource extends Google_ServiceResource
  265. {
  266. /**
  267. * Delete an experiment. (experiments.delete)
  268. *
  269. * @param string $accountId Account ID to which the experiment belongs
  270. * @param string $webPropertyId Web property ID to which the experiment belongs
  271. * @param string $profileId Profile ID to which the experiment belongs
  272. * @param string $experimentId ID of the experiment to delete
  273. * @param array $optParams Optional parameters.
  274. */
  275. public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
  276. {
  277. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
  278. $params = array_merge($params, $optParams);
  279. $data = $this->__call('delete', array($params));
  280. return $data;
  281. }
  282. /**
  283. * Returns an experiment to which the user has access. (experiments.get)
  284. *
  285. * @param string $accountId Account ID to retrieve the experiment for.
  286. * @param string $webPropertyId Web property ID to retrieve the experiment for.
  287. * @param string $profileId Profile ID to retrieve the experiment for.
  288. * @param string $experimentId Experiment ID to retrieve the experiment for.
  289. * @param array $optParams Optional parameters.
  290. * @return Google_Experiment
  291. */
  292. public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
  293. {
  294. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
  295. $params = array_merge($params, $optParams);
  296. $data = $this->__call('get', array($params));
  297. if ($this->useObjects()) {
  298. return new Google_Experiment($data);
  299. } else {
  300. return $data;
  301. }
  302. }
  303. /**
  304. * Create a new experiment. (experiments.insert)
  305. *
  306. * @param string $accountId Account ID to create the experiment for.
  307. * @param string $webPropertyId Web property ID to create the experiment for.
  308. * @param string $profileId Profile ID to create the experiment for.
  309. * @param Google_Experiment $postBody
  310. * @param array $optParams Optional parameters.
  311. * @return Google_Experiment
  312. */
  313. public function insert($accountId, $webPropertyId, $profileId, Google_Experiment $postBody, $optParams = array())
  314. {
  315. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  316. $params = array_merge($params, $optParams);
  317. $data = $this->__call('insert', array($params));
  318. if ($this->useObjects()) {
  319. return new Google_Experiment($data);
  320. } else {
  321. return $data;
  322. }
  323. }
  324. /**
  325. * Lists experiments to which the user has access. (experiments.list)
  326. *
  327. * @param string $accountId Account ID to retrieve experiments for.
  328. * @param string $webPropertyId Web property ID to retrieve experiments for.
  329. * @param string $profileId Profile ID to retrieve experiments for.
  330. * @param array $optParams Optional parameters.
  331. *
  332. * @opt_param int max-results The maximum number of experiments to include in this response.
  333. * @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.
  334. * @return Google_Experiments
  335. */
  336. public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
  337. {
  338. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  339. $params = array_merge($params, $optParams);
  340. $data = $this->__call('list', array($params));
  341. if ($this->useObjects()) {
  342. return new Google_Experiments($data);
  343. } else {
  344. return $data;
  345. }
  346. }
  347. /**
  348. * Update an existing experiment. This method supports patch semantics. (experiments.patch)
  349. *
  350. * @param string $accountId Account ID of the experiment to update.
  351. * @param string $webPropertyId Web property ID of the experiment to update.
  352. * @param string $profileId Profile ID of the experiment to update.
  353. * @param string $experimentId Experiment ID of the experiment to update.
  354. * @param Google_Experiment $postBody
  355. * @param array $optParams Optional parameters.
  356. * @return Google_Experiment
  357. */
  358. public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array())
  359. {
  360. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
  361. $params = array_merge($params, $optParams);
  362. $data = $this->__call('patch', array($params));
  363. if ($this->useObjects()) {
  364. return new Google_Experiment($data);
  365. } else {
  366. return $data;
  367. }
  368. }
  369. /**
  370. * Update an existing experiment. (experiments.update)
  371. *
  372. * @param string $accountId Account ID of the experiment to update.
  373. * @param string $webPropertyId Web property ID of the experiment to update.
  374. * @param string $profileId Profile ID of the experiment to update.
  375. * @param string $experimentId Experiment ID of the experiment to update.
  376. * @param Google_Experiment $postBody
  377. * @param array $optParams Optional parameters.
  378. * @return Google_Experiment
  379. */
  380. public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array())
  381. {
  382. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
  383. $params = array_merge($params, $optParams);
  384. $data = $this->__call('update', array($params));
  385. if ($this->useObjects()) {
  386. return new Google_Experiment($data);
  387. } else {
  388. return $data;
  389. }
  390. }
  391. }
  392. /**
  393. * The "goals" collection of methods.
  394. * Typical usage is:
  395. * <code>
  396. * $analyticsService = new Google_AnalyticsService(...);
  397. * $goals = $analyticsService->goals;
  398. * </code>
  399. */
  400. class Google_ManagementGoalsServiceResource extends Google_ServiceResource
  401. {
  402. /**
  403. * Lists goals to which the user has access. (goals.list)
  404. *
  405. * @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.
  406. * @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.
  407. * @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.
  408. * @param array $optParams Optional parameters.
  409. *
  410. * @opt_param int max-results The maximum number of goals to include in this response.
  411. * @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.
  412. * @return Google_Goals
  413. */
  414. public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
  415. {
  416. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  417. $params = array_merge($params, $optParams);
  418. $data = $this->__call('list', array($params));
  419. if ($this->useObjects()) {
  420. return new Google_Goals($data);
  421. } else {
  422. return $data;
  423. }
  424. }
  425. }
  426. /**
  427. * The "profiles" collection of methods.
  428. * Typical usage is:
  429. * <code>
  430. * $analyticsService = new Google_AnalyticsService(...);
  431. * $profiles = $analyticsService->profiles;
  432. * </code>
  433. */
  434. class Google_ManagementProfilesServiceResource extends Google_ServiceResource
  435. {
  436. /**
  437. * Lists profiles to which the user has access. (profiles.list)
  438. *
  439. * @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.
  440. * @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.
  441. * @param array $optParams Optional parameters.
  442. *
  443. * @opt_param int max-results The maximum number of profiles to include in this response.
  444. * @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.
  445. * @return Google_Profiles
  446. */
  447. public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
  448. {
  449. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  450. $params = array_merge($params, $optParams);
  451. $data = $this->__call('list', array($params));
  452. if ($this->useObjects()) {
  453. return new Google_Profiles($data);
  454. } else {
  455. return $data;
  456. }
  457. }
  458. }
  459. /**
  460. * The "segments" collection of methods.
  461. * Typical usage is:
  462. * <code>
  463. * $analyticsService = new Google_AnalyticsService(...);
  464. * $segments = $analyticsService->segments;
  465. * </code>
  466. */
  467. class Google_ManagementSegmentsServiceResource extends Google_ServiceResource
  468. {
  469. /**
  470. * Lists advanced segments to which the user has access. (segments.list)
  471. *
  472. * @param array $optParams Optional parameters.
  473. *
  474. * @opt_param int max-results The maximum number of advanced segments to include in this response.
  475. * @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.
  476. * @return Google_Segments
  477. */
  478. public function listManagementSegments($optParams = array())
  479. {
  480. $params = array();
  481. $params = array_merge($params, $optParams);
  482. $data = $this->__call('list', array($params));
  483. if ($this->useObjects()) {
  484. return new Google_Segments($data);
  485. } else {
  486. return $data;
  487. }
  488. }
  489. }
  490. /**
  491. * The "webproperties" collection of methods.
  492. * Typical usage is:
  493. * <code>
  494. * $analyticsService = new Google_AnalyticsService(...);
  495. * $webproperties = $analyticsService->webproperties;
  496. * </code>
  497. */
  498. class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource
  499. {
  500. /**
  501. * Lists web properties to which the user has access. (webproperties.list)
  502. *
  503. * @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.
  504. * @param array $optParams Optional parameters.
  505. *
  506. * @opt_param int max-results The maximum number of web properties to include in this response.
  507. * @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.
  508. * @return Google_Webproperties
  509. */
  510. public function listManagementWebproperties($accountId, $optParams = array())
  511. {
  512. $params = array('accountId' => $accountId);
  513. $params = array_merge($params, $optParams);
  514. $data = $this->__call('list', array($params));
  515. if ($this->useObjects()) {
  516. return new Google_Webproperties($data);
  517. } else {
  518. return $data;
  519. }
  520. }
  521. }
  522. /**
  523. * Service definition for Google_Analytics (v3).
  524. *
  525. * <p>
  526. * View and manage your Google Analytics data
  527. * </p>
  528. *
  529. * <p>
  530. * For more information about this service, see the
  531. * <a href="https://developers.google.com/analytics/" target="_blank">API Documentation</a>
  532. * </p>
  533. *
  534. * @author Google, Inc.
  535. */
  536. class Google_AnalyticsService extends Google_Service
  537. {
  538. public $data_ga;
  539. public $data_mcf;
  540. public $management_accounts;
  541. public $management_customDataSources;
  542. public $management_dailyUploads;
  543. public $management_experiments;
  544. public $management_goals;
  545. public $management_profiles;
  546. public $management_segments;
  547. public $management_webproperties;
  548. /**
  549. * Constructs the internal representation of the Analytics service.
  550. *
  551. * @param Google_Client $client
  552. */
  553. public function __construct(Google_Client $client)
  554. {
  555. $this->servicePath = 'analytics/v3/';
  556. $this->version = 'v3';
  557. $this->serviceName = 'analytics';
  558. $client->addService($this->serviceName, $this->version);
  559. $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));
  560. $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));
  561. $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));
  562. $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));
  563. $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));
  564. $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));
  565. $this->management_goals = new Google_ManagementGoalsServiceResource($this, $this->serviceName, 'goals', json_decode('{"methods": {"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"]}}}', true));
  566. $this->management_profiles = new Google_ManagementProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"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"]}}}', true));
  567. $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));
  568. $this->management_webproperties = new Google_ManagementWebpropertiesServiceResource($this, $this->serviceName, 'webproperties', json_decode('{"methods": {"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"]}}}', true));
  569. }
  570. }
  571. class Google_Account extends Google_Model
  572. {
  573. protected $__childLinkType = 'Google_AccountChildLink';
  574. protected $__childLinkDataType = '';
  575. public $childLink;
  576. public $created;
  577. public $id;
  578. public $kind;
  579. public $name;
  580. public $selfLink;
  581. public $updated;
  582. public function setChildLink(Google_AccountChildLink $childLink)
  583. {
  584. $this->childLink = $childLink;
  585. }
  586. public function getChildLink()
  587. {
  588. return $this->childLink;
  589. }
  590. public function setCreated($created)
  591. {
  592. $this->created = $created;
  593. }
  594. public function getCreated()
  595. {
  596. return $this->created;
  597. }
  598. public function setId($id)
  599. {
  600. $this->id = $id;
  601. }
  602. public function getId()
  603. {
  604. return $this->id;
  605. }
  606. public function setKind($kind)
  607. {
  608. $this->kind = $kind;
  609. }
  610. public function getKind()
  611. {
  612. return $this->kind;
  613. }
  614. public function setName($name)
  615. {
  616. $this->name = $name;
  617. }
  618. public function getName()
  619. {
  620. return $this->name;
  621. }
  622. public function setSelfLink($selfLink)
  623. {
  624. $this->selfLink = $selfLink;
  625. }
  626. public function getSelfLink()
  627. {
  628. return $this->selfLink;
  629. }
  630. public function setUpdated($updated)
  631. {
  632. $this->updated = $updated;
  633. }
  634. public function getUpdated()
  635. {
  636. return $this->updated;
  637. }
  638. }
  639. class Google_AccountChildLink extends Google_Model
  640. {
  641. public $href;
  642. public $type;
  643. public function setHref($href)
  644. {
  645. $this->href = $href;
  646. }
  647. public function getHref()
  648. {
  649. return $this->href;
  650. }
  651. public function setType($type)
  652. {
  653. $this->type = $type;
  654. }
  655. public function getType()
  656. {
  657. return $this->type;
  658. }
  659. }
  660. class Google_Accounts extends Google_Model
  661. {
  662. protected $__itemsType = 'Google_Account';
  663. protected $__itemsDataType = 'array';
  664. public $items;
  665. public $itemsPerPage;
  666. public $kind;
  667. public $nextLink;
  668. public $previousLink;
  669. public $startIndex;
  670. public $totalResults;
  671. public $username;
  672. public function setItems( /* array(Google_Account) */
  673. $items)
  674. {
  675. $this->assertIsArray($items, 'Google_Account', __METHOD__);
  676. $this->items = $items;
  677. }
  678. public function getItems()
  679. {
  680. return $this->items;
  681. }
  682. public function setItemsPerPage($itemsPerPage)
  683. {
  684. $this->itemsPerPage = $itemsPerPage;
  685. }
  686. public function getItemsPerPage()
  687. {
  688. return $this->itemsPerPage;
  689. }
  690. public function setKind($kind)
  691. {
  692. $this->kind = $kind;
  693. }
  694. public function getKind()
  695. {
  696. return $this->kind;
  697. }
  698. public function setNextLink($nextLink)
  699. {
  700. $this->nextLink = $nextLink;
  701. }
  702. public function getNextLink()
  703. {
  704. return $this->nextLink;
  705. }
  706. public function setPreviousLink($previousLink)
  707. {
  708. $this->previousLink = $previousLink;
  709. }
  710. public function getPreviousLink()
  711. {
  712. return $this->previousLink;
  713. }
  714. public function setStartIndex($startIndex)
  715. {
  716. $this->startIndex = $startIndex;
  717. }
  718. public function getStartIndex()
  719. {
  720. return $this->startIndex;
  721. }
  722. public function setTotalResults($totalResults)
  723. {
  724. $this->totalResults = $totalResults;
  725. }
  726. public function getTotalResults()
  727. {
  728. return $this->totalResults;
  729. }
  730. public function setUsername($username)
  731. {
  732. $this->username = $username;
  733. }
  734. public function getUsername()
  735. {
  736. return $this->username;
  737. }
  738. }
  739. class Google_CustomDataSource extends Google_Model
  740. {
  741. public $accountId;
  742. protected $__childLinkType = 'Google_CustomDataSourceChildLink';
  743. protected $__childLinkDataType = '';
  744. public $childLink;
  745. public $created;
  746. public $description;
  747. public $id;
  748. public $kind;
  749. public $name;
  750. protected $__parentLinkType = 'Google_CustomDataSourceParentLink';
  751. protected $__parentLinkDataType = '';
  752. public $parentLink;
  753. public $profilesLinked;
  754. public $selfLink;
  755. public $updated;
  756. public $webPropertyId;
  757. public function setAccountId($accountId)
  758. {
  759. $this->accountId = $accountId;
  760. }
  761. public function getAccountId()
  762. {
  763. return $this->accountId;
  764. }
  765. public function setChildLink(Google_CustomDataSourceChildLink $childLink)
  766. {
  767. $this->childLink = $childLink;
  768. }
  769. public function getChildLink()
  770. {
  771. return $this->childLink;
  772. }
  773. public function setCreated($created)
  774. {
  775. $this->created = $created;
  776. }
  777. public function getCreated()
  778. {
  779. return $this->created;
  780. }
  781. public function setDescription($description)
  782. {
  783. $this->description = $description;
  784. }
  785. public function getDescription()
  786. {
  787. return $this->description;
  788. }
  789. public function setId($id)
  790. {
  791. $this->id = $id;
  792. }
  793. public function getId()
  794. {
  795. return $this->id;
  796. }
  797. public function setKind($kind)
  798. {
  799. $this->kind = $kind;
  800. }
  801. public function getKind()
  802. {
  803. return $this->kind;
  804. }
  805. public function setName($name)
  806. {
  807. $this->name = $name;
  808. }
  809. public function getName()
  810. {
  811. return $this->name;
  812. }
  813. public function setParentLink(Google_CustomDataSourceParentLink $parentLink)
  814. {
  815. $this->parentLink = $parentLink;
  816. }
  817. public function getParentLink()
  818. {
  819. return $this->parentLink;
  820. }
  821. public function setProfilesLinked( /* array(Google_string) */
  822. $profilesLinked)
  823. {
  824. $this->assertIsArray($profilesLinked, 'Google_string', __METHOD__);
  825. $this->profilesLinked = $profilesLinked;
  826. }
  827. public function getProfilesLinked()
  828. {
  829. return $this->profilesLinked;
  830. }
  831. public function setSelfLink($selfLink)
  832. {
  833. $this->selfLink = $selfLink;
  834. }
  835. public function getSelfLink()
  836. {
  837. return $this->selfLink;
  838. }
  839. public function setUpdated($updated)
  840. {
  841. $this->updated = $updated;
  842. }
  843. public function getUpdated()
  844. {
  845. return $this->updated;
  846. }
  847. public function setWebPropertyId($webPropertyId)
  848. {
  849. $this->webPropertyId = $webPropertyId;
  850. }
  851. public function getWebPropertyId()
  852. {
  853. return $this->webPropertyId;
  854. }
  855. }
  856. class Google_CustomDataSourceChildLink extends Google_Model
  857. {
  858. public $href;
  859. public $type;
  860. public function setHref($href)
  861. {
  862. $this->href = $href;
  863. }
  864. public function getHref()
  865. {
  866. return $this->href;
  867. }
  868. public function setType($type)
  869. {
  870. $this->type = $type;
  871. }
  872. public function getType()
  873. {
  874. return $this->type;
  875. }
  876. }
  877. class Google_CustomDataSourceParentLink extends Google_Model
  878. {
  879. public $href;
  880. public $type;
  881. public function setHref($href)
  882. {
  883. $this->href = $href;
  884. }
  885. public function getHref()
  886. {
  887. return $this->href;
  888. }
  889. public function setType($type)
  890. {
  891. $this->type = $type;
  892. }
  893. public function getType()
  894. {
  895. return $this->type;
  896. }
  897. }
  898. class Google_CustomDataSources extends Google_Model
  899. {
  900. protected $__itemsType = 'Google_CustomDataSource';
  901. protected $__itemsDataType = 'array';
  902. public $items;
  903. public $itemsPerPage;
  904. public $kind;
  905. public $nextLink;
  906. public $previousLink;
  907. public $startIndex;
  908. public $totalResults;
  909. public $username;
  910. public function setItems( /* array(Google_CustomDataSource) */
  911. $items)
  912. {
  913. $this->assertIsArray($items, 'Google_CustomDataSource', __METHOD__);
  914. $this->items = $items;
  915. }
  916. public function getItems()
  917. {
  918. return $this->items;
  919. }
  920. public function setItemsPerPage($itemsPerPage)
  921. {
  922. $this->itemsPerPage = $itemsPerPage;
  923. }
  924. public function getItemsPerPage()
  925. {
  926. return $this->itemsPerPage;
  927. }
  928. public function setKind($kind)
  929. {
  930. $this->kind = $kind;
  931. }
  932. public function getKind()
  933. {
  934. return $this->kind;
  935. }
  936. public function setNextLink($nextLink)
  937. {
  938. $this->nextLink = $nextLink;
  939. }
  940. public function getNextLink()
  941. {
  942. return $this->nextLink;
  943. }
  944. public function setPreviousLink($previousLink)
  945. {
  946. $this->previousLink = $previousLink;
  947. }
  948. public function getPreviousLink()
  949. {
  950. return $this->previousLink;
  951. }
  952. public function setStartIndex($startIndex)
  953. {
  954. $this->startIndex = $startIndex;
  955. }
  956. public function getStartIndex()
  957. {
  958. return $this->startIndex;
  959. }
  960. public function setTotalResults($totalResults)
  961. {
  962. $this->totalResults = $totalResults;
  963. }
  964. public function getTotalResults()
  965. {
  966. return $this->totalResults;
  967. }
  968. public function setUsername($username)
  969. {
  970. $this->username = $username;
  971. }
  972. public function getUsername()
  973. {
  974. return $this->username;
  975. }
  976. }
  977. class Google_DailyUpload extends Google_Model
  978. {
  979. public $accountId;
  980. public $appendCount;
  981. public $createdTime;
  982. public $customDataSourceId;
  983. public $date;
  984. public $kind;
  985. public $modifiedTime;
  986. protected $__parentLinkType = 'Google_DailyUploadParentLink';
  987. protected $__parentLinkDataType = '';
  988. public $parentLink;
  989. protected $__recentChangesType = 'Google_DailyUploadRecentChanges';
  990. protected $__recentChangesDataType = 'array';
  991. public $recentChanges;
  992. public $selfLink;
  993. public $webPropertyId;
  994. public function setAccountId($accountId)
  995. {
  996. $this->accountId = $accountId;
  997. }
  998. public function getAccountId()
  999. {
  1000. return $this->accountId;
  1001. }
  1002. public function setAppendCount($appendCount)
  1003. {
  1004. $this->appendCount = $appendCount;
  1005. }
  1006. public function getAppendCount()
  1007. {
  1008. return $this->appendCount;
  1009. }
  1010. public function setCreatedTime($createdTime)
  1011. {
  1012. $this->createdTime = $createdTime;
  1013. }
  1014. public function getCreatedTime()
  1015. {
  1016. return $this->createdTime;
  1017. }
  1018. public function setCustomDataSourceId($customDataSourceId)
  1019. {
  1020. $this->customDataSourceId = $customDataSourceId;
  1021. }
  1022. public function getCustomDataSourceId()
  1023. {
  1024. return $this->customDataSourceId;
  1025. }
  1026. public function setDate($date)
  1027. {
  1028. $this->date = $date;
  1029. }
  1030. public function getDate()
  1031. {
  1032. return $this->date;
  1033. }
  1034. public function setKind($kind)
  1035. {
  1036. $this->kind = $kind;
  1037. }
  1038. public function getKind()
  1039. {
  1040. return $this->kind;
  1041. }
  1042. public function setModifiedTime($modifiedTime)
  1043. {
  1044. $this->modifiedTime = $modifiedTime;
  1045. }
  1046. public function getModifiedTime()
  1047. {
  1048. return $this->modifiedTime;
  1049. }
  1050. public function setParentLink(Google_DailyUploadParentLink $parentLink)
  1051. {
  1052. $this->parentLink = $parentLink;
  1053. }
  1054. public function getParentLink()
  1055. {
  1056. return $this->parentLink;
  1057. }
  1058. public function setRecentChanges( /* array(Google_DailyUploadRecentChanges) */
  1059. $recentChanges)
  1060. {
  1061. $this->assertIsArray($recentChanges, 'Google_DailyUploadRecentChanges', __METHOD__);
  1062. $this->recentChanges = $recentChanges;
  1063. }
  1064. public function getRecentChanges()
  1065. {
  1066. return $this->recentChanges;
  1067. }
  1068. public function setSelfLink($selfLink)
  1069. {
  1070. $this->selfLink = $selfLink;
  1071. }
  1072. public function getSelfLink()
  1073. {
  1074. return $this->selfLink;
  1075. }
  1076. public function setWebPropertyId($webPropertyId)
  1077. {
  1078. $this->webPropertyId = $webPropertyId;
  1079. }
  1080. public function getWebPropertyId()
  1081. {
  1082. return $this->webPropertyId;
  1083. }
  1084. }
  1085. class Google_DailyUploadAppend extends Google_Model
  1086. {
  1087. public $accountId;
  1088. public $appendNumber;
  1089. public $customDataSourceId;
  1090. public $date;
  1091. public $kind;
  1092. public $nextAppendLink;
  1093. public $webPropertyId;
  1094. public function setAccountId($accountId)
  1095. {
  1096. $this->accountId = $accountId;
  1097. }
  1098. public function getAccountId()
  1099. {
  1100. return $this->accountId;
  1101. }
  1102. public function setAppendNumber($appendNumber)
  1103. {
  1104. $this->appendNumber = $appendNumber;
  1105. }
  1106. public function getAppendNumber()
  1107. {
  1108. return $this->appendNumber;
  1109. }
  1110. public function setCustomDataSourceId($customDataSourceId)
  1111. {
  1112. $this->customDataSourceId = $customDataSourceId;
  1113. }
  1114. public function getCustomDataSourceId()
  1115. {
  1116. return $this->customDataSourceId;
  1117. }
  1118. public function setDate($date)
  1119. {
  1120. $this->date = $date;
  1121. }
  1122. public function getDate()
  1123. {
  1124. return $this->date;
  1125. }
  1126. public function setKind($kind)
  1127. {
  1128. $this->kind = $kind;
  1129. }
  1130. public function getKind()
  1131. {
  1132. return $this->kind;
  1133. }
  1134. public function setNextAppendLink($nextAppendLink)
  1135. {
  1136. $this->nextAppendLink = $nextAppendLink;
  1137. }
  1138. public function getNextAppendLink()
  1139. {
  1140. return $this->nextAppendLink;
  1141. }
  1142. public function setWebPropertyId($webPropertyId)
  1143. {
  1144. $this->webPropertyId = $webPropertyId;
  1145. }
  1146. public function getWebPropertyId()
  1147. {
  1148. return $this->webPropertyId;
  1149. }
  1150. }
  1151. class Google_DailyUploadParentLink extends Google_Model
  1152. {
  1153. public $href;
  1154. public $type;
  1155. public function setHref($href)
  1156. {
  1157. $this->href = $href;
  1158. }
  1159. public function getHref()
  1160. {
  1161. return $this->href;
  1162. }
  1163. public function setType($type)
  1164. {
  1165. $this->type = $type;
  1166. }
  1167. public function getType()
  1168. {
  1169. return $this->type;
  1170. }
  1171. }
  1172. class Google_DailyUploadRecentChanges extends Google_Model
  1173. {
  1174. public $change;
  1175. public $time;
  1176. public function setChange($change)
  1177. {
  1178. $this->change = $change;
  1179. }
  1180. public function getChange()
  1181. {
  1182. return $this->change;
  1183. }
  1184. public function setTime($time)
  1185. {
  1186. $this->time = $time;
  1187. }
  1188. public function getTime()
  1189. {
  1190. return $this->time;
  1191. }
  1192. }
  1193. class Google_DailyUploads extends Google_Model
  1194. {
  1195. protected $__itemsType = 'Google_DailyUpload';
  1196. protected $__itemsDataType = 'array';
  1197. public $items;
  1198. public $itemsPerPage;
  1199. public $kind;
  1200. public $nextLink;
  1201. public $previousLink;
  1202. public $startIndex;
  1203. public $totalResults;
  1204. public $username;
  1205. public function setItems( /* array(Google_DailyUpload) */
  1206. $items)
  1207. {
  1208. $this->assertIsArray($items, 'Google_DailyUpload', __METHOD__);
  1209. $this->items = $items;
  1210. }
  1211. public function getItems()
  1212. {
  1213. return $this->items;
  1214. }
  1215. public function setItemsPerPage($itemsPerPage)
  1216. {
  1217. $this->itemsPerPage = $itemsPerPage;
  1218. }
  1219. public function getItemsPerPage()
  1220. {
  1221. return $this->itemsPerPage;
  1222. }
  1223. public function setKind($kind)
  1224. {
  1225. $this->kind = $kind;
  1226. }
  1227. public function getKind()
  1228. {
  1229. return $this->kind;
  1230. }
  1231. public function setNextLink($nextLink)
  1232. {
  1233. $this->nextLink = $nextLink;
  1234. }
  1235. public function getNextLink()
  1236. {
  1237. return $this->nextLink;
  1238. }
  1239. public function setPreviousLink($previousLink)
  1240. {
  1241. $this->previousLink = $previousLink;
  1242. }
  1243. public function getPreviousLink()
  1244. {
  1245. return $this->previousLink;
  1246. }
  1247. public function setStartIndex($startIndex)
  1248. {
  1249. $this->startIndex = $startIndex;
  1250. }
  1251. public function getStartIndex()
  1252. {
  1253. return $this->startIndex;
  1254. }
  1255. public function setTotalResults($totalResults)
  1256. {
  1257. $this->totalResults = $totalResults;
  1258. }
  1259. public function getTotalResults()
  1260. {
  1261. return $this->totalResults;
  1262. }
  1263. public function setUsername($username)
  1264. {
  1265. $this->username = $username;
  1266. }
  1267. public function getUsername()
  1268. {
  1269. return $this->username;
  1270. }
  1271. }
  1272. class Google_Experiment extends Google_Model
  1273. {
  1274. public $accountId;
  1275. public $created;
  1276. public $description;
  1277. public $editableInGaUi;
  1278. public $endTime;
  1279. public $id;
  1280. public $internalWebPropertyId;
  1281. public $kind;
  1282. public $minimumExperimentLengthInDays;
  1283. public $name;
  1284. public $objectiveMetric;
  1285. public $optimizationType;
  1286. protected $__parentLinkType = 'Google_ExperimentParentLink';
  1287. protected $__parentLinkDataType = '';
  1288. public $parentLink;
  1289. public $profileId;
  1290. public $reasonExperimentEnded;
  1291. public $rewriteVariationUrlsAsOriginal;
  1292. public $selfLink;
  1293. public $servingFramework;
  1294. public $snippet;
  1295. public $startTime;
  1296. public $status;
  1297. public $trafficCoverage;
  1298. public $updated;
  1299. protected $__variationsType = 'Google_ExperimentVariations';
  1300. protected $__variationsDataType = 'array';
  1301. public $variations;
  1302. public $webPropertyId;
  1303. public $winnerConfidenceLevel;
  1304. public $winnerFound;
  1305. public function setAccountId($accountId)
  1306. {
  1307. $this->accountId = $accountId;
  1308. }
  1309. public function getAccountId()
  1310. {
  1311. return $this->accountId;
  1312. }
  1313. public function setCreated($created)
  1314. {
  1315. $this->created = $created;
  1316. }
  1317. public function getCreated()
  1318. {
  1319. return $this->created;
  1320. }
  1321. public function setDescription($description)
  1322. {
  1323. $this->description = $description;
  1324. }
  1325. public function getDescription()
  1326. {
  1327. return $this->description;
  1328. }
  1329. public function setEditableInGaUi($editableInGaUi)
  1330. {
  1331. $this->editableInGaUi = $editableInGaUi;
  1332. }
  1333. public function getEditableInGaUi()
  1334. {
  1335. return $this->editableInGaUi;
  1336. }
  1337. public function setEndTime($endTime)
  1338. {
  1339. $this->endTime = $endTime;
  1340. }
  1341. public function getEndTime()
  1342. {
  1343. return $this->endTime;
  1344. }
  1345. public function setId($id)
  1346. {
  1347. $this->id = $id;
  1348. }
  1349. public function getId()
  1350. {
  1351. return $this->id;
  1352. }
  1353. public function setInternalWebPropertyId($internalWebPropertyId)
  1354. {
  1355. $this->internalWebPropertyId = $internalWebPropertyId;
  1356. }
  1357. public function getInternalWebPropertyId()
  1358. {
  1359. return $this->internalWebPropertyId;
  1360. }
  1361. public function setKind($kind)
  1362. {
  1363. $this->kind = $kind;
  1364. }
  1365. public function getKind()
  1366. {
  1367. return $this->kind;
  1368. }
  1369. public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
  1370. {
  1371. $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
  1372. }
  1373. public function getMinimumExperimentLengthInDays()
  1374. {
  1375. return $this->minimumExperimentLengthInDays;
  1376. }
  1377. public function setName($name)
  1378. {
  1379. $this->name = $name;
  1380. }
  1381. public function getName()
  1382. {
  1383. return $this->name;
  1384. }
  1385. public function setObjectiveMetric($objectiveMetric)
  1386. {
  1387. $this->objectiveMetric = $objectiveMetric;
  1388. }
  1389. public function getObjectiveMetric()
  1390. {
  1391. return $this->objectiveMetric;
  1392. }
  1393. public function setOptimizationType($optimizationType)
  1394. {
  1395. $this->optimizationType = $optimizationType;
  1396. }
  1397. public function getOptimizationType()
  1398. {
  1399. return $this->optimizationType;
  1400. }
  1401. public function setParentLink(Google_ExperimentParentLink $parentLink)
  1402. {
  1403. $this->parentLink = $parentLink;
  1404. }
  1405. public function getParentLink()
  1406. {
  1407. return $this->parentLink;
  1408. }
  1409. public function setProfileId($profileId)
  1410. {
  1411. $this->profileId = $profileId;
  1412. }
  1413. public function getProfileId()
  1414. {
  1415. return $this->profileId;
  1416. }
  1417. public function setReasonExperimentEnded($reasonExperimentEnded)
  1418. {
  1419. $this->reasonExperimentEnded = $reasonExperimentEnded;
  1420. }
  1421. public function getReasonExperimentEnded()
  1422. {
  1423. return $this->reasonExperimentEnded;
  1424. }
  1425. public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
  1426. {
  1427. $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
  1428. }
  1429. public function getRewriteVariationUrlsAsOriginal()
  1430. {
  1431. return $this->rewriteVariationUrlsAsOriginal;
  1432. }
  1433. public function setSelfLink($selfLink)
  1434. {
  1435. $this->selfLink = $selfLink;
  1436. }
  1437. public function getSelfLink()
  1438. {
  1439. return $this->selfLink;
  1440. }
  1441. public function setServingFramework($servingFramework)
  1442. {
  1443. $this->servingFramework = $servingFramework;
  1444. }
  1445. public function getServingFramework()
  1446. {
  1447. return $this->servingFramework;
  1448. }
  1449. public function setSnippet($snippet)
  1450. {
  1451. $this->snippet = $snippet;
  1452. }
  1453. public function getSnippet()
  1454. {
  1455. return $this->snippet;
  1456. }
  1457. public function setStartTime($startTime)
  1458. {
  1459. $this->startTime = $startTime;
  1460. }
  1461. public function getStartTime()
  1462. {
  1463. return $this->startTime;
  1464. }
  1465. public function setStatus($status)
  1466. {
  1467. $this->status = $status;
  1468. }
  1469. public function getStatus()
  1470. {
  1471. return $this->status;
  1472. }
  1473. public function setTrafficCoverage($trafficCoverage)
  1474. {
  1475. $this->trafficCoverage = $trafficCoverage;
  1476. }
  1477. public function getTrafficCoverage()
  1478. {
  1479. return $this->trafficCoverage;
  1480. }
  1481. public function setUpdated($updated)
  1482. {
  1483. $this->updated = $updated;
  1484. }
  1485. public function getUpdated()
  1486. {
  1487. return $this->updated;
  1488. }
  1489. public function setVariations( /* array(Google_ExperimentVariations) */
  1490. $variations)
  1491. {
  1492. $this->assertIsArray($variations, 'Google_ExperimentVariations', __METHOD__);
  1493. $this->variations = $variations;
  1494. }
  1495. public function getVariations()
  1496. {
  1497. return $this->variations;
  1498. }
  1499. public function setWebPropertyId($webPropertyId)
  1500. {
  1501. $this->webPropertyId = $webPropertyId;
  1502. }
  1503. public function getWebPropertyId()
  1504. {
  1505. return $this->webPropertyId;
  1506. }
  1507. public function setWinnerConfidenceLevel($winnerConfidenceLevel)
  1508. {
  1509. $this->winnerConfidenceLevel = $winnerConfidenceLevel;
  1510. }
  1511. public function getWinnerConfidenceLevel()
  1512. {
  1513. return $this->winnerConfidenceLevel;
  1514. }
  1515. public function setWinnerFound($winnerFound)
  1516. {
  1517. $this->winnerFound = $winnerFound;
  1518. }
  1519. public function getWinnerFound()
  1520. {
  1521. return $this->winnerFound;
  1522. }
  1523. }
  1524. class Google_ExperimentParentLink extends Google_Model
  1525. {
  1526. public $href;
  1527. public $type;
  1528. public function setHref($href)
  1529. {
  1530. $this->href = $href;
  1531. }
  1532. public function getHref()
  1533. {
  1534. return $this->href;
  1535. }
  1536. public function setType($type)
  1537. {
  1538. $this->type = $type;
  1539. }
  1540. public function getType()
  1541. {
  1542. return $this->type;
  1543. }
  1544. }
  1545. class Google_ExperimentVariations extends Google_Model
  1546. {
  1547. public $name;
  1548. public $status;
  1549. public $url;
  1550. public $weight;
  1551. public $won;
  1552. public function setName($name)
  1553. {
  1554. $this->name = $name;
  1555. }
  1556. public function getName()
  1557. {
  1558. return $this->name;
  1559. }
  1560. public function setStatus($status)
  1561. {
  1562. $this->status = $status;
  1563. }
  1564. public function getStatus()
  1565. {
  1566. return $this->status;
  1567. }
  1568. public function setUrl($url)
  1569. {
  1570. $this->url = $url;
  1571. }
  1572. public function getUrl()
  1573. {
  1574. return $this->url;
  1575. }
  1576. public function setWeight($weight)
  1577. {
  1578. $this->weight = $weight;
  1579. }
  1580. public function getWeight()
  1581. {
  1582. return $this->weight;
  1583. }
  1584. public function setWon($won)
  1585. {
  1586. $this->won = $won;
  1587. }
  1588. public function getWon()
  1589. {
  1590. return $this->won;
  1591. }
  1592. }
  1593. class Google_Experiments extends Google_Model
  1594. {
  1595. protected $__itemsType = 'Google_Experiment';
  1596. protected $__itemsDataType = 'array';
  1597. public $items;
  1598. public $itemsPerPage;
  1599. public $kind;
  1600. public $nextLink;
  1601. public $previousLink;
  1602. public $startIndex;
  1603. public $totalResults;
  1604. public $username;
  1605. public function setItems( /* array(Google_Experiment) */
  1606. $items)
  1607. {
  1608. $this->assertIsArray($items, 'Google_Experiment', __METHOD__);
  1609. $this->items = $items;
  1610. }
  1611. public function getItems()
  1612. {
  1613. return $this->items;
  1614. }
  1615. public function setItemsPerPage($itemsPerPage)
  1616. {
  1617. $this->itemsPerPage = $itemsPerPage;
  1618. }
  1619. public function getItemsPerPage()
  1620. {
  1621. return $this->itemsPerPage;
  1622. }
  1623. public function setKind($kind)
  1624. {
  1625. $this->kind = $kind;
  1626. }
  1627. public function getKind()
  1628. {
  1629. return $this->kind;
  1630. }
  1631. public function setNextLink($nextLink)
  1632. {
  1633. $this->nextLink = $nextLink;
  1634. }
  1635. public function getNextLink()
  1636. {
  1637. return $this->nextLink;
  1638. }
  1639. public function setPreviousLink($previousLink)
  1640. {
  1641. $this->previousLink = $previousLink;
  1642. }
  1643. public function getPreviousLink()
  1644. {
  1645. return $this->previousLink;
  1646. }
  1647. public function setStartIndex($startIndex)
  1648. {
  1649. $this->startIndex = $startIndex;
  1650. }
  1651. public function getStartIndex()
  1652. {
  1653. return $this->startIndex;
  1654. }
  1655. public function setTotalResults($totalResults)
  1656. {
  1657. $this->totalResults = $totalResults;
  1658. }
  1659. public function getTotalResults()
  1660. {
  1661. return $this->totalResults;
  1662. }
  1663. public function setUsername($username)
  1664. {
  1665. $this->username = $username;
  1666. }
  1667. public function getUsername()
  1668. {
  1669. return $this->username;
  1670. }
  1671. }
  1672. class Google_GaData extends Google_Model
  1673. {
  1674. protected $__columnHeadersType = 'Google_GaDataColumnHeaders';
  1675. protected $__columnHeadersDataType = 'array';
  1676. public $columnHeaders;
  1677. public $containsSampledData;
  1678. public $id;
  1679. public $itemsPerPage;
  1680. public $kind;
  1681. public $nextLink;
  1682. public $previousLink;
  1683. protected $__profileInfoType = 'Google_GaDataProfileInfo';
  1684. protected $__profileInfoDataType = '';
  1685. public $profileInfo;
  1686. protected $__queryType = 'Google_GaDataQuery';
  1687. protected $__queryDataType = '';
  1688. public $query;
  1689. public $rows;
  1690. public $selfLink;
  1691. public $totalResults;
  1692. public $totalsForAllResults;
  1693. public function setColumnHeaders( /* array(Google_GaDataColumnHeaders) */
  1694. $columnHeaders)
  1695. {
  1696. $this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__);
  1697. $this->columnHeaders = $columnHeaders;
  1698. }
  1699. public function getColumnHeaders()
  1700. {
  1701. return $this->columnHeaders;
  1702. }
  1703. public function setContainsSampledData($containsSampledData)
  1704. {
  1705. $this->containsSampledData = $containsSampledData;
  1706. }
  1707. public function getContainsSampledData()
  1708. {
  1709. return $this->containsSampledData;
  1710. }
  1711. public function setId($id)
  1712. {
  1713. $this->id = $id;
  1714. }
  1715. public function getId()
  1716. {
  1717. return $this->id;
  1718. }
  1719. public function setItemsPerPage($itemsPerPage)
  1720. {
  1721. $this->itemsPerPage = $itemsPerPage;
  1722. }
  1723. public function getItemsPerPage()
  1724. {
  1725. return $this->itemsPerPage;
  1726. }
  1727. public function setKind($kind)
  1728. {
  1729. $this->kind = $kind;
  1730. }
  1731. public function getKind()
  1732. {
  1733. return $this->kind;
  1734. }
  1735. public function setNextLink($nextLink)
  1736. {
  1737. $this->nextLink = $nextLink;
  1738. }
  1739. public function getNextLink()
  1740. {
  1741. return $this->nextLink;
  1742. }
  1743. public function setPreviousLink($previousLink)
  1744. {
  1745. $this->previousLink = $previousLink;
  1746. }
  1747. public function getPreviousLink()
  1748. {
  1749. return $this->previousLink;
  1750. }
  1751. public function setProfileInfo(Google_GaDataProfileInfo $profileInfo)
  1752. {
  1753. $this->profileInfo = $profileInfo;
  1754. }
  1755. public function getProfileInfo()
  1756. {
  1757. return $this->profileInfo;
  1758. }
  1759. public function setQuery(Google_GaDataQuery $query)
  1760. {
  1761. $this->query = $query;
  1762. }
  1763. public function getQuery()
  1764. {
  1765. return $this->query;
  1766. }
  1767. public function setRows( /* array(Google_string) */
  1768. $rows)
  1769. {
  1770. $this->assertIsArray($rows, 'Google_string', __METHOD__);
  1771. $this->rows = $rows;
  1772. }
  1773. public function getRows()
  1774. {
  1775. return $this->rows;
  1776. }
  1777. public function setSelfLink($selfLink)
  1778. {
  1779. $this->selfLink = $selfLink;
  1780. }
  1781. public function getSelfLink()
  1782. {
  1783. return $this->selfLink;
  1784. }
  1785. public function setTotalResults($totalResults)
  1786. {
  1787. $this->totalResults = $totalResults;
  1788. }
  1789. public function getTotalResults()
  1790. {
  1791. return $this->totalResults;
  1792. }
  1793. public function setTotalsForAllResults($totalsForAllResults)
  1794. {
  1795. $this->totalsForAllResults = $totalsForAllResults;
  1796. }
  1797. public function getTotalsForAllResults()
  1798. {
  1799. return $this->totalsForAllResults;
  1800. }
  1801. }
  1802. class Google_GaDataColumnHeaders extends Google_Model
  1803. {
  1804. public $columnType;
  1805. public $dataType;
  1806. public $name;
  1807. public function setColumnType($columnType)
  1808. {
  1809. $this->columnType = $columnType;
  1810. }
  1811. public function getColumnType()
  1812. {
  1813. return $this->columnType;
  1814. }
  1815. public function setDataType($dataType)
  1816. {
  1817. $this->dataType = $dataType;
  1818. }
  1819. public function getDataType()
  1820. {
  1821. return $this->dataType;
  1822. }
  1823. public function setName($name)
  1824. {
  1825. $this->name = $name;
  1826. }
  1827. public function getName()
  1828. {
  1829. return $this->name;
  1830. }
  1831. }
  1832. class Google_GaDataProfileInfo extends Google_Model
  1833. {
  1834. public $accountId;
  1835. public $internalWebPropertyId;
  1836. public $profileId;
  1837. public $profileName;
  1838. public $tableId;
  1839. public $webPropertyId;
  1840. public function setAccountId($accountId)
  1841. {
  1842. $this->accountId = $accountId;
  1843. }
  1844. public function getAccountId()
  1845. {
  1846. return $this->accountId;
  1847. }
  1848. public function setInternalWebPropertyId($internalWebPropertyId)
  1849. {
  1850. $this->internalWebPropertyId = $internalWebPropertyId;
  1851. }
  1852. public function getInternalWebPropertyId()
  1853. {
  1854. return $this->internalWebPropertyId;
  1855. }
  1856. public function setProfileId($profileId)
  1857. {
  1858. $this->profileId = $profileId;
  1859. }
  1860. public function getProfileId()
  1861. {
  1862. return $this->profileId;
  1863. }
  1864. public function setProfileName($profileName)
  1865. {
  1866. $this->profileName = $profileName;
  1867. }
  1868. public function getProfileName()
  1869. {
  1870. return $this->profileName;
  1871. }
  1872. public function setTableId($tableId)
  1873. {
  1874. $this->tableId = $tableId;
  1875. }
  1876. public function getTableId()
  1877. {
  1878. return $this->tableId;
  1879. }
  1880. public function setWebPropertyId($webPropertyId)
  1881. {
  1882. $this->webPropertyId = $webPropertyId;
  1883. }
  1884. public function getWebPropertyId()
  1885. {
  1886. return $this->webPropertyId;
  1887. }
  1888. }
  1889. class Google_GaDataQuery extends Google_Model
  1890. {
  1891. public $dimensions;
  1892. public $end_date;
  1893. public $filters;
  1894. public $ids;
  1895. public $max_results;
  1896. public $metrics;
  1897. public $segment;
  1898. public $sort;
  1899. public $start_date;
  1900. public $start_index;
  1901. public function setDimensions($dimensions)
  1902. {
  1903. $this->dimensions = $dimensions;
  1904. }
  1905. public function getDimensions()
  1906. {
  1907. return $this->dimensions;
  1908. }
  1909. public function setEnd_date($end_date)
  1910. {
  1911. $this->end_date = $end_date;
  1912. }
  1913. public function getEnd_date()
  1914. {
  1915. return $this->end_date;
  1916. }
  1917. public function setFilters($filters)
  1918. {
  1919. $this->filters = $filters;
  1920. }
  1921. public function getFilters()
  1922. {
  1923. return $this->filters;
  1924. }
  1925. public function setIds($ids)
  1926. {
  1927. $this->ids = $ids;
  1928. }
  1929. public function getIds()
  1930. {
  1931. return $this->ids;
  1932. }
  1933. public function setMax_results($max_results)
  1934. {
  1935. $this->max_results = $max_results;
  1936. }
  1937. public function getMax_results()
  1938. {
  1939. return $this->max_results;
  1940. }
  1941. public function setMetrics( /* array(Google_string) */
  1942. $metrics)
  1943. {
  1944. $this->assertIsArray($metrics, 'Google_string', __METHOD__);
  1945. $this->metrics = $metrics;
  1946. }
  1947. public function getMetrics()
  1948. {
  1949. return $this->metrics;
  1950. }
  1951. public function setSegment($segment)
  1952. {
  1953. $this->segment = $segment;
  1954. }
  1955. public function getSegment()
  1956. {
  1957. return $this->segment;
  1958. }
  1959. public function setSort( /* array(Google_string) */
  1960. $sort)
  1961. {
  1962. $this->assertIsArray($sort, 'Google_string', __METHOD__);
  1963. $this->sort = $sort;
  1964. }
  1965. public function getSort()
  1966. {
  1967. return $this->sort;
  1968. }
  1969. public function setStart_date($start_date)
  1970. {
  1971. $this->start_date = $start_date;
  1972. }
  1973. public function getStart_date()
  1974. {
  1975. return $this->start_date;
  1976. }
  1977. public function setStart_index($start_index)
  1978. {
  1979. $this->start_index = $start_index;
  1980. }
  1981. public function getStart_index()
  1982. {
  1983. return $this->start_index;
  1984. }
  1985. }
  1986. class Google_Goal extends Google_Model
  1987. {
  1988. public $accountId;
  1989. public $active;
  1990. public $created;
  1991. protected $__eventDetailsType = 'Google_GoalEventDetails';
  1992. protected $__eventDetailsDataType = '';
  1993. public $eventDetails;
  1994. public $id;
  1995. public $internalWebPropertyId;
  1996. public $kind;
  1997. public $name;
  1998. protected $__parentLinkType = 'Google_GoalParentLink';
  1999. protected $__parentLinkDataType = '';
  2000. public $parentLink;
  2001. public $profileId;
  2002. public $selfLink;
  2003. public $type;
  2004. public $updated;
  2005. protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails';
  2006. protected $__urlDestinationDetailsDataType = '';
  2007. public $urlDestinationDetails;
  2008. public $value;
  2009. protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails';
  2010. protected $__visitNumPagesDetailsDataType = '';
  2011. public $visitNumPagesDetails;
  2012. protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails';
  2013. protected $__visitTimeOnSiteDetailsDataType = '';
  2014. public $visitTimeOnSiteDetails;
  2015. public $webPropertyId;
  2016. public function setAccountId($accountId)
  2017. {
  2018. $this->accountId = $accountId;
  2019. }
  2020. public function getAccountId()
  2021. {
  2022. return $this->accountId;
  2023. }
  2024. public function setActive($active)
  2025. {
  2026. $this->active = $active;
  2027. }
  2028. public function getActive()
  2029. {
  2030. return $this->active;
  2031. }
  2032. public function setCreated($created)
  2033. {
  2034. $this->created = $created;
  2035. }
  2036. public function getCreated()
  2037. {
  2038. return $this->created;
  2039. }
  2040. public function setEventDetails(Google_GoalEventDetails $eventDetails)
  2041. {
  2042. $this->eventDetails = $eventDetails;
  2043. }
  2044. public function getEventDetails()
  2045. {
  2046. return $this->eventDetails;
  2047. }
  2048. public function setId($id)
  2049. {
  2050. $this->id = $id;
  2051. }
  2052. public function getId()
  2053. {
  2054. return $this->id;
  2055. }
  2056. public function setInternalWebPropertyId($internalWebPropertyId)
  2057. {
  2058. $this->internalWebPropertyId = $internalWebPropertyId;
  2059. }
  2060. public function getInternalWebPropertyId()
  2061. {
  2062. return $this->internalWebPropertyId;
  2063. }
  2064. public function setKind($kind)
  2065. {
  2066. $this->kind = $kind;
  2067. }
  2068. public function getKind()
  2069. {
  2070. return $this->kind;
  2071. }
  2072. public function setName($name)
  2073. {
  2074. $this->name = $name;
  2075. }
  2076. public function getName()
  2077. {
  2078. return $this->name;
  2079. }
  2080. public function setParentLink(Google_GoalParentLink $parentLink)
  2081. {
  2082. $this->parentLink = $parentLink;
  2083. }
  2084. public function getParentLink()
  2085. {
  2086. return $this->parentLink;
  2087. }
  2088. public function setProfileId($profileId)
  2089. {
  2090. $this->profileId = $profileId;
  2091. }
  2092. public function getProfileId()
  2093. {
  2094. return $this->profileId;
  2095. }
  2096. public function setSelfLink($selfLink)
  2097. {
  2098. $this->selfLink = $selfLink;
  2099. }
  2100. public function getSelfLink()
  2101. {
  2102. return $this->selfLink;
  2103. }
  2104. public function setType($type)
  2105. {
  2106. $this->type = $type;
  2107. }
  2108. public function getType()
  2109. {
  2110. return $this->type;
  2111. }
  2112. public function setUpdated($updated)
  2113. {
  2114. $this->updated = $updated;
  2115. }
  2116. public function getUpdated()
  2117. {
  2118. return $this->updated;
  2119. }
  2120. public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails)
  2121. {
  2122. $this->urlDestinationDetails = $urlDestinationDetails;
  2123. }
  2124. public function getUrlDestinationDetails()
  2125. {
  2126. return $this->urlDestinationDetails;
  2127. }
  2128. public function setValue($value)
  2129. {
  2130. $this->value = $value;
  2131. }
  2132. public function getValue()
  2133. {
  2134. return $this->value;
  2135. }
  2136. public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails)
  2137. {
  2138. $this->visitNumPagesDetails = $visitNumPagesDetails;
  2139. }
  2140. public function getVisitNumPagesDetails()
  2141. {
  2142. return $this->visitNumPagesDetails;
  2143. }
  2144. public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
  2145. {
  2146. $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
  2147. }
  2148. public function getVisitTimeOnSiteDetails()
  2149. {
  2150. return $this->visitTimeOnSiteDetails;
  2151. }
  2152. public function setWebPropertyId($webPropertyId)
  2153. {
  2154. $this->webPropertyId = $webPropertyId;
  2155. }
  2156. public function getWebPropertyId()
  2157. {
  2158. return $this->webPropertyId;
  2159. }
  2160. }
  2161. class Google_GoalEventDetails extends Google_Model
  2162. {
  2163. protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions';
  2164. protected $__eventConditionsDataType = 'array';
  2165. public $eventConditions;
  2166. public $useEventValue;
  2167. public function setEventConditions( /* array(Google_GoalEventDetailsEventConditions) */
  2168. $eventConditions)
  2169. {
  2170. $this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__);
  2171. $this->eventConditions = $eventConditions;
  2172. }
  2173. public function getEventConditions()
  2174. {
  2175. return $this->eventConditions;
  2176. }
  2177. public function setUseEventValue($useEventValue)
  2178. {
  2179. $this->useEventValue = $useEventValue;
  2180. }
  2181. public function getUseEventValue()
  2182. {
  2183. return $this->useEventValue;
  2184. }
  2185. }
  2186. class Google_GoalEventDetailsEventConditions extends Google_Model
  2187. {
  2188. public $comparisonType;
  2189. public $comparisonValue;
  2190. public $expression;
  2191. public $matchType;
  2192. public $type;
  2193. public function setComparisonType($comparisonType)
  2194. {
  2195. $this->comparisonType = $comparisonType;
  2196. }
  2197. public function getComparisonType()
  2198. {
  2199. return $this->comparisonType;
  2200. }
  2201. public function setComparisonValue($comparisonValue)
  2202. {
  2203. $this->comparisonValue = $comparisonValue;
  2204. }
  2205. public function getComparisonValue()
  2206. {
  2207. return $this->comparisonValue;
  2208. }
  2209. public function setExpression($expression)
  2210. {
  2211. $this->expression = $expression;
  2212. }
  2213. public function getExpression()
  2214. {
  2215. return $this->expression;
  2216. }
  2217. public function setMatchType($matchType)
  2218. {
  2219. $this->matchType = $matchType;
  2220. }
  2221. public function getMatchType()
  2222. {
  2223. return $this->matchType;
  2224. }
  2225. public function setType($type)
  2226. {
  2227. $this->type = $type;
  2228. }
  2229. public function getType()
  2230. {
  2231. return $this->type;
  2232. }
  2233. }
  2234. class Google_GoalParentLink extends Google_Model
  2235. {
  2236. public $href;
  2237. public $type;
  2238. public function setHref($href)
  2239. {
  2240. $this->href = $href;
  2241. }
  2242. public function getHref()
  2243. {
  2244. return $this->href;
  2245. }
  2246. public function setType($type)
  2247. {
  2248. $this->type = $type;
  2249. }
  2250. public function getType()
  2251. {
  2252. return $this->type;
  2253. }
  2254. }
  2255. class Google_GoalUrlDestinationDetails extends Google_Model
  2256. {
  2257. public $caseSensitive;
  2258. public $firstStepRequired;
  2259. public $matchType;
  2260. protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps';
  2261. protected $__stepsDataType = 'array';
  2262. public $steps;
  2263. public $url;
  2264. public function setCaseSensitive($caseSensitive)
  2265. {
  2266. $this->caseSensitive = $caseSensitive;
  2267. }
  2268. public function getCaseSensitive()
  2269. {
  2270. return $this->caseSensitive;
  2271. }
  2272. public function setFirstStepRequired($firstStepRequired)
  2273. {
  2274. $this->firstStepRequired = $firstStepRequired;
  2275. }
  2276. public function getFirstStepRequired()
  2277. {
  2278. return $this->firstStepRequired;
  2279. }
  2280. public function setMatchType($matchType)
  2281. {
  2282. $this->matchType = $matchType;
  2283. }
  2284. public function getMatchType()
  2285. {
  2286. return $this->matchType;
  2287. }
  2288. public function setSteps( /* array(Google_GoalUrlDestinationDetailsSteps) */
  2289. $steps)
  2290. {
  2291. $this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__);
  2292. $this->steps = $steps;
  2293. }
  2294. public function getSteps()
  2295. {
  2296. return $this->steps;
  2297. }
  2298. public function setUrl($url)
  2299. {
  2300. $this->url = $url;
  2301. }
  2302. public function getUrl()
  2303. {
  2304. return $this->url;
  2305. }
  2306. }
  2307. class Google_GoalUrlDestinationDetailsSteps extends Google_Model
  2308. {
  2309. public $name;
  2310. public $number;
  2311. public $url;
  2312. public function setName($name)
  2313. {
  2314. $this->name = $name;
  2315. }
  2316. public function getName()
  2317. {
  2318. return $this->name;
  2319. }
  2320. public function setNumber($number)
  2321. {
  2322. $this->number = $number;
  2323. }
  2324. public function getNumber()
  2325. {
  2326. return $this->number;
  2327. }
  2328. public function setUrl($url)
  2329. {
  2330. $this->url = $url;
  2331. }
  2332. public function getUrl()
  2333. {
  2334. return $this->url;
  2335. }
  2336. }
  2337. class Google_GoalVisitNumPagesDetails extends Google_Model
  2338. {
  2339. public $comparisonType;
  2340. public $comparisonValue;
  2341. public function setComparisonType($comparisonType)
  2342. {
  2343. $this->comparisonType = $comparisonType;
  2344. }
  2345. public function getComparisonType()
  2346. {
  2347. return $this->comparisonType;
  2348. }
  2349. public function setComparisonValue($comparisonValue)
  2350. {
  2351. $this->comparisonValue = $comparisonValue;
  2352. }
  2353. public function getComparisonValue()
  2354. {
  2355. return $this->comparisonValue;
  2356. }
  2357. }
  2358. class Google_GoalVisitTimeOnSiteDetails extends Google_Model
  2359. {
  2360. public $comparisonType;
  2361. public $comparisonValue;
  2362. public function setComparisonType($comparisonType)
  2363. {
  2364. $this->comparisonType = $comparisonType;
  2365. }
  2366. public function getComparisonType()
  2367. {
  2368. return $this->comparisonType;
  2369. }
  2370. public function setComparisonValue($comparisonValue)
  2371. {
  2372. $this->comparisonValue = $comparisonValue;
  2373. }
  2374. public function getComparisonValue()
  2375. {
  2376. return $this->comparisonValue;
  2377. }
  2378. }
  2379. class Google_Goals extends Google_Model
  2380. {
  2381. protected $__itemsType = 'Google_Goal';
  2382. protected $__itemsDataType = 'array';
  2383. public $items;
  2384. public $itemsPerPage;
  2385. public $kind;
  2386. public $nextLink;
  2387. public $previousLink;
  2388. public $startIndex;
  2389. public $totalResults;
  2390. public $username;
  2391. public function setItems( /* array(Google_Goal) */
  2392. $items)
  2393. {
  2394. $this->assertIsArray($items, 'Google_Goal', __METHOD__);
  2395. $this->items = $items;
  2396. }
  2397. public function getItems()
  2398. {
  2399. return $this->items;
  2400. }
  2401. public function setItemsPerPage($itemsPerPage)
  2402. {
  2403. $this->itemsPerPage = $itemsPerPage;
  2404. }
  2405. public function getItemsPerPage()
  2406. {
  2407. return $this->itemsPerPage;
  2408. }
  2409. public function setKind($kind)
  2410. {
  2411. $this->kind = $kind;
  2412. }
  2413. public function getKind()
  2414. {
  2415. return $this->kind;
  2416. }
  2417. public function setNextLink($nextLink)
  2418. {
  2419. $this->nextLink = $nextLink;
  2420. }
  2421. public function getNextLink()
  2422. {
  2423. return $this->nextLink;
  2424. }
  2425. public function setPreviousLink($previousLink)
  2426. {
  2427. $this->previousLink = $previousLink;
  2428. }
  2429. public function getPreviousLink()
  2430. {
  2431. return $this->previousLink;
  2432. }
  2433. public function setStartIndex($startIndex)
  2434. {
  2435. $this->startIndex = $startIndex;
  2436. }
  2437. public function getStartIndex()
  2438. {
  2439. return $this->startIndex;
  2440. }
  2441. public function setTotalResults($totalResults)
  2442. {
  2443. $this->totalResults = $totalResults;
  2444. }
  2445. public function getTotalResults()
  2446. {
  2447. return $this->totalResults;
  2448. }
  2449. public function setUsername($username)
  2450. {
  2451. $this->username = $username;
  2452. }
  2453. public function getUsername()
  2454. {
  2455. return $this->username;
  2456. }
  2457. }
  2458. class Google_McfData extends Google_Model
  2459. {
  2460. protected $__columnHeadersType = 'Google_McfDataColumnHeaders';
  2461. protected $__columnHeadersDataType = 'array';
  2462. public $columnHeaders;
  2463. public $containsSampledData;
  2464. public $id;
  2465. public $itemsPerPage;
  2466. public $kind;
  2467. public $nextLink;
  2468. public $previousLink;
  2469. protected $__profileInfoType = 'Google_McfDataProfileInfo';
  2470. protected $__profileInfoDataType = '';
  2471. public $profileInfo;
  2472. protected $__queryType = 'Google_McfDataQuery';
  2473. protected $__queryDataType = '';
  2474. public $query;
  2475. protected $__rowsType = 'Google_McfDataRows';
  2476. protected $__rowsDataType = 'array';
  2477. public $rows;
  2478. public $selfLink;
  2479. public $totalResults;
  2480. public $totalsForAllResults;
  2481. public function setColumnHeaders( /* array(Google_McfDataColumnHeaders) */
  2482. $columnHeaders)
  2483. {
  2484. $this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__);
  2485. $this->columnHeaders = $columnHeaders;
  2486. }
  2487. public function getColumnHeaders()
  2488. {
  2489. return $this->columnHeaders;
  2490. }
  2491. public function setContainsSampledData($containsSampledData)
  2492. {
  2493. $this->containsSampledData = $containsSampledData;
  2494. }
  2495. public function getContainsSampledData()
  2496. {
  2497. return $this->containsSampledData;
  2498. }
  2499. public function setId($id)
  2500. {
  2501. $this->id = $id;
  2502. }
  2503. public function getId()
  2504. {
  2505. return $this->id;
  2506. }
  2507. public function setItemsPerPage($itemsPerPage)
  2508. {
  2509. $this->itemsPerPage = $itemsPerPage;
  2510. }
  2511. public function getItemsPerPage()
  2512. {
  2513. return $this->itemsPerPage;
  2514. }
  2515. public function setKind($kind)
  2516. {
  2517. $this->kind = $kind;
  2518. }
  2519. public function getKind()
  2520. {
  2521. return $this->kind;
  2522. }
  2523. public function setNextLink($nextLink)
  2524. {
  2525. $this->nextLink = $nextLink;
  2526. }
  2527. public function getNextLink()
  2528. {
  2529. return $this->nextLink;
  2530. }
  2531. public function setPreviousLink($previousLink)
  2532. {
  2533. $this->previousLink = $previousLink;
  2534. }
  2535. public function getPreviousLink()
  2536. {
  2537. return $this->previousLink;
  2538. }
  2539. public function setProfileInfo(Google_McfDataProfileInfo $profileInfo)
  2540. {
  2541. $this->profileInfo = $profileInfo;
  2542. }
  2543. public function getProfileInfo()
  2544. {
  2545. return $this->profileInfo;
  2546. }
  2547. public function setQuery(Google_McfDataQuery $query)
  2548. {
  2549. $this->query = $query;
  2550. }
  2551. public function getQuery()
  2552. {
  2553. return $this->query;
  2554. }
  2555. public function setRows( /* array(Google_McfDataRows) */
  2556. $rows)
  2557. {
  2558. $this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__);
  2559. $this->rows = $rows;
  2560. }
  2561. public function getRows()
  2562. {
  2563. return $this->rows;
  2564. }
  2565. public function setSelfLink($selfLink)
  2566. {
  2567. $this->selfLink = $selfLink;
  2568. }
  2569. public function getSelfLink()
  2570. {
  2571. return $this->selfLink;
  2572. }
  2573. public function setTotalResults($totalResults)
  2574. {
  2575. $this->totalResults = $totalResults;
  2576. }
  2577. public function getTotalResults()
  2578. {
  2579. return $this->totalResults;
  2580. }
  2581. public function setTotalsForAllResults($totalsForAllResults)
  2582. {
  2583. $this->totalsForAllResults = $totalsForAllResults;
  2584. }
  2585. public function getTotalsForAllResults()
  2586. {
  2587. return $this->totalsForAllResults;
  2588. }
  2589. }
  2590. class Google_McfDataColumnHeaders extends Google_Model
  2591. {
  2592. public $columnType;
  2593. public $dataType;
  2594. public $name;
  2595. public function setColumnType($columnType)
  2596. {
  2597. $this->columnType = $columnType;
  2598. }
  2599. public function getColumnType()
  2600. {
  2601. return $this->columnType;
  2602. }
  2603. public function setDataType($dataType)
  2604. {
  2605. $this->dataType = $dataType;
  2606. }
  2607. public function getDataType()
  2608. {
  2609. return $this->dataType;
  2610. }
  2611. public function setName($name)
  2612. {
  2613. $this->name = $name;
  2614. }
  2615. public function getName()
  2616. {
  2617. return $this->name;
  2618. }
  2619. }
  2620. class Google_McfDataProfileInfo extends Google_Model
  2621. {
  2622. public $accountId;
  2623. public $internalWebPropertyId;
  2624. public $profileId;
  2625. public $profileName;
  2626. public $tableId;
  2627. public $webPropertyId;
  2628. public function setAccountId($accountId)
  2629. {
  2630. $this->accountId = $accountId;
  2631. }
  2632. public function getAccountId()
  2633. {
  2634. return $this->accountId;
  2635. }
  2636. public function setInternalWebPropertyId($internalWebPropertyId)
  2637. {
  2638. $this->internalWebPropertyId = $internalWebPropertyId;
  2639. }
  2640. public function getInternalWebPropertyId()
  2641. {
  2642. return $this->internalWebPropertyId;
  2643. }
  2644. public function setProfileId($profileId)
  2645. {
  2646. $this->profileId = $profileId;
  2647. }
  2648. public function getProfileId()
  2649. {
  2650. return $this->profileId;
  2651. }
  2652. public function setProfileName($profileName)
  2653. {
  2654. $this->profileName = $profileName;
  2655. }
  2656. public function getProfileName()
  2657. {
  2658. return $this->profileName;
  2659. }
  2660. public function setTableId($tableId)
  2661. {
  2662. $this->tableId = $tableId;
  2663. }
  2664. public function getTableId()
  2665. {
  2666. return $this->tableId;
  2667. }
  2668. public function setWebPropertyId($webPropertyId)
  2669. {
  2670. $this->webPropertyId = $webPropertyId;
  2671. }
  2672. public function getWebPropertyId()
  2673. {
  2674. return $this->webPropertyId;
  2675. }
  2676. }
  2677. class Google_McfDataQuery extends Google_Model
  2678. {
  2679. public $dimensions;
  2680. public $end_date;
  2681. public $filters;
  2682. public $ids;
  2683. public $max_results;
  2684. public $metrics;
  2685. public $segment;
  2686. public $sort;
  2687. public $start_date;
  2688. public $start_index;
  2689. public function setDimensions($dimensions)
  2690. {
  2691. $this->dimensions = $dimensions;
  2692. }
  2693. public function getDimensions()
  2694. {
  2695. return $this->dimensions;
  2696. }
  2697. public function setEnd_date($end_date)
  2698. {
  2699. $this->end_date = $end_date;
  2700. }
  2701. public function getEnd_date()
  2702. {
  2703. return $this->end_date;
  2704. }
  2705. public function setFilters($filters)
  2706. {
  2707. $this->filters = $filters;
  2708. }
  2709. public function getFilters()
  2710. {
  2711. return $this->filters;
  2712. }
  2713. public function setIds($ids)
  2714. {
  2715. $this->ids = $ids;
  2716. }
  2717. public function getIds()
  2718. {
  2719. return $this->ids;
  2720. }
  2721. public function setMax_results($max_results)
  2722. {
  2723. $this->max_results = $max_results;
  2724. }
  2725. public function getMax_results()
  2726. {
  2727. return $this->max_results;
  2728. }
  2729. public function setMetrics( /* array(Google_string) */
  2730. $metrics)
  2731. {
  2732. $this->assertIsArray($metrics, 'Google_string', __METHOD__);
  2733. $this->metrics = $metrics;
  2734. }
  2735. public function getMetrics()
  2736. {
  2737. return $this->metrics;
  2738. }
  2739. public function setSegment($segment)
  2740. {
  2741. $this->segment = $segment;
  2742. }
  2743. public function getSegment()
  2744. {
  2745. return $this->segment;
  2746. }
  2747. public function setSort( /* array(Google_string) */
  2748. $sort)
  2749. {
  2750. $this->assertIsArray($sort, 'Google_string', __METHOD__);
  2751. $this->sort = $sort;
  2752. }
  2753. public function getSort()
  2754. {
  2755. return $this->sort;
  2756. }
  2757. public function setStart_date($start_date)
  2758. {
  2759. $this->start_date = $start_date;
  2760. }
  2761. public function getStart_date()
  2762. {
  2763. return $this->start_date;
  2764. }
  2765. public function setStart_index($start_index)
  2766. {
  2767. $this->start_index = $start_index;
  2768. }
  2769. public function getStart_index()
  2770. {
  2771. return $this->start_index;
  2772. }
  2773. }
  2774. class Google_McfDataRows extends Google_Model
  2775. {
  2776. protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue';
  2777. protected $__conversionPathValueDataType = 'array';
  2778. public $conversionPathValue;
  2779. public $primitiveValue;
  2780. public function setConversionPathValue( /* array(Google_McfDataRowsConversionPathValue) */
  2781. $conversionPathValue)
  2782. {
  2783. $this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__);
  2784. $this->conversionPathValue = $conversionPathValue;
  2785. }
  2786. public function getConversionPathValue()
  2787. {
  2788. return $this->conversionPathValue;
  2789. }
  2790. public function setPrimitiveValue($primitiveValue)
  2791. {
  2792. $this->primitiveValue = $primitiveValue;
  2793. }
  2794. public function getPrimitiveValue()
  2795. {
  2796. return $this->primitiveValue;
  2797. }
  2798. }
  2799. class Google_McfDataRowsConversionPathValue extends Google_Model
  2800. {
  2801. public $interactionType;
  2802. public $nodeValue;
  2803. public function setInteractionType($interactionType)
  2804. {
  2805. $this->interactionType = $interactionType;
  2806. }
  2807. public function getInteractionType()
  2808. {
  2809. return $this->interactionType;
  2810. }
  2811. public function setNodeValue($nodeValue)
  2812. {
  2813. $this->nodeValue = $nodeValue;
  2814. }
  2815. public function getNodeValue()
  2816. {
  2817. return $this->nodeValue;
  2818. }
  2819. }
  2820. class Google_Profile extends Google_Model
  2821. {
  2822. public $accountId;
  2823. protected $__childLinkType = 'Google_ProfileChildLink';
  2824. protected $__childLinkDataType = '';
  2825. public $childLink;
  2826. public $created;
  2827. public $currency;
  2828. public $defaultPage;
  2829. public $eCommerceTracking;
  2830. public $excludeQueryParameters;
  2831. public $id;
  2832. public $internalWebPropertyId;
  2833. public $kind;
  2834. public $name;
  2835. protected $__parentLinkType = 'Google_ProfileParentLink';
  2836. protected $__parentLinkDataType = '';
  2837. public $parentLink;
  2838. public $selfLink;
  2839. public $siteSearchCategoryParameters;
  2840. public $siteSearchQueryParameters;
  2841. public $timezone;
  2842. public $type;
  2843. public $updated;
  2844. public $webPropertyId;
  2845. public $websiteUrl;
  2846. public function setAccountId($accountId)
  2847. {
  2848. $this->accountId = $accountId;
  2849. }
  2850. public function getAccountId()
  2851. {
  2852. return $this->accountId;
  2853. }
  2854. public function setChildLink(Google_ProfileChildLink $childLink)
  2855. {
  2856. $this->childLink = $childLink;
  2857. }
  2858. public function getChildLink()
  2859. {
  2860. return $this->childLink;
  2861. }
  2862. public function setCreated($created)
  2863. {
  2864. $this->created = $created;
  2865. }
  2866. public function getCreated()
  2867. {
  2868. return $this->created;
  2869. }
  2870. public function setCurrency($currency)
  2871. {
  2872. $this->currency = $currency;
  2873. }
  2874. public function getCurrency()
  2875. {
  2876. return $this->currency;
  2877. }
  2878. public function setDefaultPage($defaultPage)
  2879. {
  2880. $this->defaultPage = $defaultPage;
  2881. }
  2882. public function getDefaultPage()
  2883. {
  2884. return $this->defaultPage;
  2885. }
  2886. public function setECommerceTracking($eCommerceTracking)
  2887. {
  2888. $this->eCommerceTracking = $eCommerceTracking;
  2889. }
  2890. public function getECommerceTracking()
  2891. {
  2892. return $this->eCommerceTracking;
  2893. }
  2894. public function setExcludeQueryParameters($excludeQueryParameters)
  2895. {
  2896. $this->excludeQueryParameters = $excludeQueryParameters;
  2897. }
  2898. public function getExcludeQueryParameters()
  2899. {
  2900. return $this->excludeQueryParameters;
  2901. }
  2902. public function setId($id)
  2903. {
  2904. $this->id = $id;
  2905. }
  2906. public function getId()
  2907. {
  2908. return $this->id;
  2909. }
  2910. public function setInternalWebPropertyId($internalWebPropertyId)
  2911. {
  2912. $this->internalWebPropertyId = $internalWebPropertyId;
  2913. }
  2914. public function getInternalWebPropertyId()
  2915. {
  2916. return $this->internalWebPropertyId;
  2917. }
  2918. public function setKind($kind)
  2919. {
  2920. $this->kind = $kind;
  2921. }
  2922. public function getKind()
  2923. {
  2924. return $this->kind;
  2925. }
  2926. public function setName($name)
  2927. {
  2928. $this->name = $name;
  2929. }
  2930. public function getName()
  2931. {
  2932. return $this->name;
  2933. }
  2934. public function setParentLink(Google_ProfileParentLink $parentLink)
  2935. {
  2936. $this->parentLink = $parentLink;
  2937. }
  2938. public function getParentLink()
  2939. {
  2940. return $this->parentLink;
  2941. }
  2942. public function setSelfLink($selfLink)
  2943. {
  2944. $this->selfLink = $selfLink;
  2945. }
  2946. public function getSelfLink()
  2947. {
  2948. return $this->selfLink;
  2949. }
  2950. public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
  2951. {
  2952. $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
  2953. }
  2954. public function getSiteSearchCategoryParameters()
  2955. {
  2956. return $this->siteSearchCategoryParameters;
  2957. }
  2958. public function setSiteSearchQueryParameters($siteSearchQueryParameters)
  2959. {
  2960. $this->siteSearchQueryParameters = $siteSearchQueryParameters;
  2961. }
  2962. public function getSiteSearchQueryParameters()
  2963. {
  2964. return $this->siteSearchQueryParameters;
  2965. }
  2966. public function setTimezone($timezone)
  2967. {
  2968. $this->timezone = $timezone;
  2969. }
  2970. public function getTimezone()
  2971. {
  2972. return $this->timezone;
  2973. }
  2974. public function setType($type)
  2975. {
  2976. $this->type = $type;
  2977. }
  2978. public function getType()
  2979. {
  2980. return $this->type;
  2981. }
  2982. public function setUpdated($updated)
  2983. {
  2984. $this->updated = $updated;
  2985. }
  2986. public function getUpdated()
  2987. {
  2988. return $this->updated;
  2989. }
  2990. public function setWebPropertyId($webPropertyId)
  2991. {
  2992. $this->webPropertyId = $webPropertyId;
  2993. }
  2994. public function getWebPropertyId()
  2995. {
  2996. return $this->webPropertyId;
  2997. }
  2998. public function setWebsiteUrl($websiteUrl)
  2999. {
  3000. $this->websiteUrl = $websiteUrl;
  3001. }
  3002. public function getWebsiteUrl()
  3003. {
  3004. return $this->websiteUrl;
  3005. }
  3006. }
  3007. class Google_ProfileChildLink extends Google_Model
  3008. {
  3009. public $href;
  3010. public $type;
  3011. public function setHref($href)
  3012. {
  3013. $this->href = $href;
  3014. }
  3015. public function getHref()
  3016. {
  3017. return $this->href;
  3018. }
  3019. public function setType($type)
  3020. {
  3021. $this->type = $type;
  3022. }
  3023. public function getType()
  3024. {
  3025. return $this->type;
  3026. }
  3027. }
  3028. class Google_ProfileParentLink extends Google_Model
  3029. {
  3030. public $href;
  3031. public $type;
  3032. public function setHref($href)
  3033. {
  3034. $this->href = $href;
  3035. }
  3036. public function getHref()
  3037. {
  3038. return $this->href;
  3039. }
  3040. public function setType($type)
  3041. {
  3042. $this->type = $type;
  3043. }
  3044. public function getType()
  3045. {
  3046. return $this->type;
  3047. }
  3048. }
  3049. class Google_Profiles extends Google_Model
  3050. {
  3051. protected $__itemsType = 'Google_Profile';
  3052. protected $__itemsDataType = 'array';
  3053. public $items;
  3054. public $itemsPerPage;
  3055. public $kind;
  3056. public $nextLink;
  3057. public $previousLink;
  3058. public $startIndex;
  3059. public $totalResults;
  3060. public $username;
  3061. public function setItems( /* array(Google_Profile) */
  3062. $items)
  3063. {
  3064. $this->assertIsArray($items, 'Google_Profile', __METHOD__);
  3065. $this->items = $items;
  3066. }
  3067. public function getItems()
  3068. {
  3069. return $this->items;
  3070. }
  3071. public function setItemsPerPage($itemsPerPage)
  3072. {
  3073. $this->itemsPerPage = $itemsPerPage;
  3074. }
  3075. public function getItemsPerPage()
  3076. {
  3077. return $this->itemsPerPage;
  3078. }
  3079. public function setKind($kind)
  3080. {
  3081. $this->kind = $kind;
  3082. }
  3083. public function getKind()
  3084. {
  3085. return $this->kind;
  3086. }
  3087. public function setNextLink($nextLink)
  3088. {
  3089. $this->nextLink = $nextLink;
  3090. }
  3091. public function getNextLink()
  3092. {
  3093. return $this->nextLink;
  3094. }
  3095. public function setPreviousLink($previousLink)
  3096. {
  3097. $this->previousLink = $previousLink;
  3098. }
  3099. public function getPreviousLink()
  3100. {
  3101. return $this->previousLink;
  3102. }
  3103. public function setStartIndex($startIndex)
  3104. {
  3105. $this->startIndex = $startIndex;
  3106. }
  3107. public function getStartIndex()
  3108. {
  3109. return $this->startIndex;
  3110. }
  3111. public function setTotalResults($totalResults)
  3112. {
  3113. $this->totalResults = $totalResults;
  3114. }
  3115. public function getTotalResults()
  3116. {
  3117. return $this->totalResults;
  3118. }
  3119. public function setUsername($username)
  3120. {
  3121. $this->username = $username;
  3122. }
  3123. public function getUsername()
  3124. {
  3125. return $this->username;
  3126. }
  3127. }
  3128. class Google_Segment extends Google_Model
  3129. {
  3130. public $created;
  3131. public $definition;
  3132. public $id;
  3133. public $kind;
  3134. public $name;
  3135. public $segmentId;
  3136. public $selfLink;
  3137. public $updated;
  3138. public function setCreated($created)
  3139. {
  3140. $this->created = $created;
  3141. }
  3142. public function getCreated()
  3143. {
  3144. return $this->created;
  3145. }
  3146. public function setDefinition($definition)
  3147. {
  3148. $this->definition = $definition;
  3149. }
  3150. public function getDefinition()
  3151. {
  3152. return $this->definition;
  3153. }
  3154. public function setId($id)
  3155. {
  3156. $this->id = $id;
  3157. }
  3158. public function getId()
  3159. {
  3160. return $this->id;
  3161. }
  3162. public function setKind($kind)
  3163. {
  3164. $this->kind = $kind;
  3165. }
  3166. public function getKind()
  3167. {
  3168. return $this->kind;
  3169. }
  3170. public function setName($name)
  3171. {
  3172. $this->name = $name;
  3173. }
  3174. public function getName()
  3175. {
  3176. return $this->name;
  3177. }
  3178. public function setSegmentId($segmentId)
  3179. {
  3180. $this->segmentId = $segmentId;
  3181. }
  3182. public function getSegmentId()
  3183. {
  3184. return $this->segmentId;
  3185. }
  3186. public function setSelfLink($selfLink)
  3187. {
  3188. $this->selfLink = $selfLink;
  3189. }
  3190. public function getSelfLink()
  3191. {
  3192. return $this->selfLink;
  3193. }
  3194. public function setUpdated($updated)
  3195. {
  3196. $this->updated = $updated;
  3197. }
  3198. public function getUpdated()
  3199. {
  3200. return $this->updated;
  3201. }
  3202. }
  3203. class Google_Segments extends Google_Model
  3204. {
  3205. protected $__itemsType = 'Google_Segment';
  3206. protected $__itemsDataType = 'array';
  3207. public $items;
  3208. public $itemsPerPage;
  3209. public $kind;
  3210. public $nextLink;
  3211. public $previousLink;
  3212. public $startIndex;
  3213. public $totalResults;
  3214. public $username;
  3215. public function setItems( /* array(Google_Segment) */
  3216. $items)
  3217. {
  3218. $this->assertIsArray($items, 'Google_Segment', __METHOD__);
  3219. $this->items = $items;
  3220. }
  3221. public function getItems()
  3222. {
  3223. return $this->items;
  3224. }
  3225. public function setItemsPerPage($itemsPerPage)
  3226. {
  3227. $this->itemsPerPage = $itemsPerPage;
  3228. }
  3229. public function getItemsPerPage()
  3230. {
  3231. return $this->itemsPerPage;
  3232. }
  3233. public function setKind($kind)
  3234. {
  3235. $this->kind = $kind;
  3236. }
  3237. public function getKind()
  3238. {
  3239. return $this->kind;
  3240. }
  3241. public function setNextLink($nextLink)
  3242. {
  3243. $this->nextLink = $nextLink;
  3244. }
  3245. public function getNextLink()
  3246. {
  3247. return $this->nextLink;
  3248. }
  3249. public function setPreviousLink($previousLink)
  3250. {
  3251. $this->previousLink = $previousLink;
  3252. }
  3253. public function getPreviousLink()
  3254. {
  3255. return $this->previousLink;
  3256. }
  3257. public function setStartIndex($startIndex)
  3258. {
  3259. $this->startIndex = $startIndex;
  3260. }
  3261. public function getStartIndex()
  3262. {
  3263. return $this->startIndex;
  3264. }
  3265. public function setTotalResults($totalResults)
  3266. {
  3267. $this->totalResults = $totalResults;
  3268. }
  3269. public function getTotalResults()
  3270. {
  3271. return $this->totalResults;
  3272. }
  3273. public function setUsername($username)
  3274. {
  3275. $this->username = $username;
  3276. }
  3277. public function getUsername()
  3278. {
  3279. return $this->username;
  3280. }
  3281. }
  3282. class Google_Webproperties extends Google_Model
  3283. {
  3284. protected $__itemsType = 'Google_Webproperty';
  3285. protected $__itemsDataType = 'array';
  3286. public $items;
  3287. public $itemsPerPage;
  3288. public $kind;
  3289. public $nextLink;
  3290. public $previousLink;
  3291. public $startIndex;
  3292. public $totalResults;
  3293. public $username;
  3294. public function setItems( /* array(Google_Webproperty) */
  3295. $items)
  3296. {
  3297. $this->assertIsArray($items, 'Google_Webproperty', __METHOD__);
  3298. $this->items = $items;
  3299. }
  3300. public function getItems()
  3301. {
  3302. return $this->items;
  3303. }
  3304. public function setItemsPerPage($itemsPerPage)
  3305. {
  3306. $this->itemsPerPage = $itemsPerPage;
  3307. }
  3308. public function getItemsPerPage()
  3309. {
  3310. return $this->itemsPerPage;
  3311. }
  3312. public function setKind($kind)
  3313. {
  3314. $this->kind = $kind;
  3315. }
  3316. public function getKind()
  3317. {
  3318. return $this->kind;
  3319. }
  3320. public function setNextLink($nextLink)
  3321. {
  3322. $this->nextLink = $nextLink;
  3323. }
  3324. public function getNextLink()
  3325. {
  3326. return $this->nextLink;
  3327. }
  3328. public function setPreviousLink($previousLink)
  3329. {
  3330. $this->previousLink = $previousLink;
  3331. }
  3332. public function getPreviousLink()
  3333. {
  3334. return $this->previousLink;
  3335. }
  3336. public function setStartIndex($startIndex)
  3337. {
  3338. $this->startIndex = $startIndex;
  3339. }
  3340. public function getStartIndex()
  3341. {
  3342. return $this->startIndex;
  3343. }
  3344. public function setTotalResults($totalResults)
  3345. {
  3346. $this->totalResults = $totalResults;
  3347. }
  3348. public function getTotalResults()
  3349. {
  3350. return $this->totalResults;
  3351. }
  3352. public function setUsername($username)
  3353. {
  3354. $this->username = $username;
  3355. }
  3356. public function getUsername()
  3357. {
  3358. return $this->username;
  3359. }
  3360. }
  3361. class Google_Webproperty extends Google_Model
  3362. {
  3363. public $accountId;
  3364. protected $__childLinkType = 'Google_WebpropertyChildLink';
  3365. protected $__childLinkDataType = '';
  3366. public $childLink;
  3367. public $created;
  3368. public $id;
  3369. public $industryVertical;
  3370. public $internalWebPropertyId;
  3371. public $kind;
  3372. public $level;
  3373. public $name;
  3374. protected $__parentLinkType = 'Google_WebpropertyParentLink';
  3375. protected $__parentLinkDataType = '';
  3376. public $parentLink;
  3377. public $profileCount;
  3378. public $selfLink;
  3379. public $updated;
  3380. public $websiteUrl;
  3381. public function setAccountId($accountId)
  3382. {
  3383. $this->accountId = $accountId;
  3384. }
  3385. public function getAccountId()
  3386. {
  3387. return $this->accountId;
  3388. }
  3389. public function setChildLink(Google_WebpropertyChildLink $childLink)
  3390. {
  3391. $this->childLink = $childLink;
  3392. }
  3393. public function getChildLink()
  3394. {
  3395. return $this->childLink;
  3396. }
  3397. public function setCreated($created)
  3398. {
  3399. $this->created = $created;
  3400. }
  3401. public function getCreated()
  3402. {
  3403. return $this->created;
  3404. }
  3405. public function setId($id)
  3406. {
  3407. $this->id = $id;
  3408. }
  3409. public function getId()
  3410. {
  3411. return $this->id;
  3412. }
  3413. public function setIndustryVertical($industryVertical)
  3414. {
  3415. $this->industryVertical = $industryVertical;
  3416. }
  3417. public function getIndustryVertical()
  3418. {
  3419. return $this->industryVertical;
  3420. }
  3421. public function setInternalWebPropertyId($internalWebPropertyId)
  3422. {
  3423. $this->internalWebPropertyId = $internalWebPropertyId;
  3424. }
  3425. public function getInternalWebPropertyId()
  3426. {
  3427. return $this->internalWebPropertyId;
  3428. }
  3429. public function setKind($kind)
  3430. {
  3431. $this->kind = $kind;
  3432. }
  3433. public function getKind()
  3434. {
  3435. return $this->kind;
  3436. }
  3437. public function setLevel($level)
  3438. {
  3439. $this->level = $level;
  3440. }
  3441. public function getLevel()
  3442. {
  3443. return $this->level;
  3444. }
  3445. public function setName($name)
  3446. {
  3447. $this->name = $name;
  3448. }
  3449. public function getName()
  3450. {
  3451. return $this->name;
  3452. }
  3453. public function setParentLink(Google_WebpropertyParentLink $parentLink)
  3454. {
  3455. $this->parentLink = $parentLink;
  3456. }
  3457. public function getParentLink()
  3458. {
  3459. return $this->parentLink;
  3460. }
  3461. public function setProfileCount($profileCount)
  3462. {
  3463. $this->profileCount = $profileCount;
  3464. }
  3465. public function getProfileCount()
  3466. {
  3467. return $this->profileCount;
  3468. }
  3469. public function setSelfLink($selfLink)
  3470. {
  3471. $this->selfLink = $selfLink;
  3472. }
  3473. public function getSelfLink()
  3474. {
  3475. return $this->selfLink;
  3476. }
  3477. public function setUpdated($updated)
  3478. {
  3479. $this->updated = $updated;
  3480. }
  3481. public function getUpdated()
  3482. {
  3483. return $this->updated;
  3484. }
  3485. public function setWebsiteUrl($websiteUrl)
  3486. {
  3487. $this->websiteUrl = $websiteUrl;
  3488. }
  3489. public function getWebsiteUrl()
  3490. {
  3491. return $this->websiteUrl;
  3492. }
  3493. }
  3494. class Google_WebpropertyChildLink extends Google_Model
  3495. {
  3496. public $href;
  3497. public $type;
  3498. public function setHref($href)
  3499. {
  3500. $this->href = $href;
  3501. }
  3502. public function getHref()
  3503. {
  3504. return $this->href;
  3505. }
  3506. public function setType($type)
  3507. {
  3508. $this->type = $type;
  3509. }
  3510. public function getType()
  3511. {
  3512. return $this->type;
  3513. }
  3514. }
  3515. class Google_WebpropertyParentLink extends Google_Model
  3516. {
  3517. public $href;
  3518. public $type;
  3519. public function setHref($href)
  3520. {
  3521. $this->href = $href;
  3522. }
  3523. public function getHref()
  3524. {
  3525. return $this->href;
  3526. }
  3527. public function setType($type)
  3528. {
  3529. $this->type = $type;
  3530. }
  3531. public function getType()
  3532. {
  3533. return $this->type;
  3534. }
  3535. }