PageRenderTime 62ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 1ms

/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

Large files files are truncated, but you can click here to view the full 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. $recentCha

Large files files are truncated, but you can click here to view the full file