PageRenderTime 68ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 1ms

/lib/google-api-php-client/contrib/Google_AnalyticsService.php

https://github.com/jorik041/climatecommons
PHP | 2891 lines | 2488 code | 79 blank | 324 comment | 30 complexity | 5eb81ba07375cc3161b6b0e64f4f8df1 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. * The "ga" collection of methods.
  27. * Typical usage is:
  28. * <code>
  29. * $analyticsService = new Google_AnalyticsService(...);
  30. * $ga = $analyticsService->ga;
  31. * </code>
  32. */
  33. class Google_DataGaServiceResource extends Google_ServiceResource {
  34. /**
  35. * Returns Analytics data for a profile. (ga.get)
  36. *
  37. * @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.
  38. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  39. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  40. * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
  41. * @param array $optParams Optional parameters.
  42. *
  43. * @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
  44. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data.
  45. * @opt_param int max-results The maximum number of entries to include in this feed.
  46. * @opt_param string segment An Analytics advanced segment to be applied to data.
  47. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
  48. * @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.
  49. * @return Google_GaData
  50. */
  51. public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
  52. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  53. $params = array_merge($params, $optParams);
  54. $data = $this->__call('get', array($params));
  55. if ($this->useObjects()) {
  56. return new Google_GaData($data);
  57. } else {
  58. return $data;
  59. }
  60. }
  61. }
  62. /**
  63. * The "mcf" collection of methods.
  64. * Typical usage is:
  65. * <code>
  66. * $analyticsService = new Google_AnalyticsService(...);
  67. * $mcf = $analyticsService->mcf;
  68. * </code>
  69. */
  70. class Google_DataMcfServiceResource extends Google_ServiceResource {
  71. /**
  72. * Returns Analytics Multi-Channel Funnels data for a profile. (mcf.get)
  73. *
  74. * @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.
  75. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  76. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  77. * @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.
  78. * @param array $optParams Optional parameters.
  79. *
  80. * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
  81. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data.
  82. * @opt_param int max-results The maximum number of entries to include in this feed.
  83. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
  84. * @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.
  85. * @return Google_McfData
  86. */
  87. public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
  88. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  89. $params = array_merge($params, $optParams);
  90. $data = $this->__call('get', array($params));
  91. if ($this->useObjects()) {
  92. return new Google_McfData($data);
  93. } else {
  94. return $data;
  95. }
  96. }
  97. }
  98. /**
  99. * The "management" collection of methods.
  100. * Typical usage is:
  101. * <code>
  102. * $analyticsService = new Google_AnalyticsService(...);
  103. * $management = $analyticsService->management;
  104. * </code>
  105. */
  106. class Google_ManagementServiceResource extends Google_ServiceResource {
  107. }
  108. /**
  109. * The "accounts" collection of methods.
  110. * Typical usage is:
  111. * <code>
  112. * $analyticsService = new Google_AnalyticsService(...);
  113. * $accounts = $analyticsService->accounts;
  114. * </code>
  115. */
  116. class Google_ManagementAccountsServiceResource extends Google_ServiceResource {
  117. /**
  118. * Lists all accounts to which the user has access. (accounts.list)
  119. *
  120. * @param array $optParams Optional parameters.
  121. *
  122. * @opt_param int max-results The maximum number of accounts to include in this response.
  123. * @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.
  124. * @return Google_Accounts
  125. */
  126. public function listManagementAccounts($optParams = array()) {
  127. $params = array();
  128. $params = array_merge($params, $optParams);
  129. $data = $this->__call('list', array($params));
  130. if ($this->useObjects()) {
  131. return new Google_Accounts($data);
  132. } else {
  133. return $data;
  134. }
  135. }
  136. }
  137. /**
  138. * The "customDataSources" collection of methods.
  139. * Typical usage is:
  140. * <code>
  141. * $analyticsService = new Google_AnalyticsService(...);
  142. * $customDataSources = $analyticsService->customDataSources;
  143. * </code>
  144. */
  145. class Google_ManagementCustomDataSourcesServiceResource extends Google_ServiceResource {
  146. /**
  147. * List custom data sources to which the user has access. (customDataSources.list)
  148. *
  149. * @param string $accountId Account Id for the custom data sources to retrieve.
  150. * @param string $webPropertyId Web property Id for the custom data sources to retrieve.
  151. * @param array $optParams Optional parameters.
  152. *
  153. * @opt_param int max-results The maximum number of custom data sources to include in this response.
  154. * @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.
  155. * @return Google_CustomDataSources
  156. */
  157. public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) {
  158. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  159. $params = array_merge($params, $optParams);
  160. $data = $this->__call('list', array($params));
  161. if ($this->useObjects()) {
  162. return new Google_CustomDataSources($data);
  163. } else {
  164. return $data;
  165. }
  166. }
  167. }
  168. /**
  169. * The "dailyUploads" collection of methods.
  170. * Typical usage is:
  171. * <code>
  172. * $analyticsService = new Google_AnalyticsService(...);
  173. * $dailyUploads = $analyticsService->dailyUploads;
  174. * </code>
  175. */
  176. class Google_ManagementDailyUploadsServiceResource extends Google_ServiceResource {
  177. /**
  178. * Delete uploaded data for the given date. (dailyUploads.delete)
  179. *
  180. * @param string $accountId Account Id associated with daily upload delete.
  181. * @param string $webPropertyId Web property Id associated with daily upload delete.
  182. * @param string $customDataSourceId Custom data source Id associated with daily upload delete.
  183. * @param string $date Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
  184. * @param string $type Type of data for this delete.
  185. * @param array $optParams Optional parameters.
  186. */
  187. public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array()) {
  188. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
  189. $params = array_merge($params, $optParams);
  190. $data = $this->__call('delete', array($params));
  191. return $data;
  192. }
  193. /**
  194. * List daily uploads to which the user has access. (dailyUploads.list)
  195. *
  196. * @param string $accountId Account Id for the daily uploads to retrieve.
  197. * @param string $webPropertyId Web property Id for the daily uploads to retrieve.
  198. * @param string $customDataSourceId Custom data source Id for daily uploads to retrieve.
  199. * @param string $start_date Start date of the form YYYY-MM-DD.
  200. * @param string $end_date End date of the form YYYY-MM-DD.
  201. * @param array $optParams Optional parameters.
  202. *
  203. * @opt_param int max-results The maximum number of custom data sources to include in this response.
  204. * @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.
  205. * @return Google_DailyUploads
  206. */
  207. public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $start_date, $end_date, $optParams = array()) {
  208. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $start_date, 'end-date' => $end_date);
  209. $params = array_merge($params, $optParams);
  210. $data = $this->__call('list', array($params));
  211. if ($this->useObjects()) {
  212. return new Google_DailyUploads($data);
  213. } else {
  214. return $data;
  215. }
  216. }
  217. /**
  218. * Update/Overwrite data for a custom data source. (dailyUploads.upload)
  219. *
  220. * @param string $accountId Account Id associated with daily upload.
  221. * @param string $webPropertyId Web property Id associated with daily upload.
  222. * @param string $customDataSourceId Custom data source Id to which the data being uploaded belongs.
  223. * @param string $date Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
  224. * @param int $appendNumber Append number for this upload indexed from 1.
  225. * @param string $type Type of data for this upload.
  226. * @param array $optParams Optional parameters.
  227. *
  228. * @opt_param bool reset Reset/Overwrite all previous appends for this date and start over with this file as the first upload.
  229. * @return Google_DailyUploadAppend
  230. */
  231. public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array()) {
  232. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
  233. $params = array_merge($params, $optParams);
  234. $data = $this->__call('upload', array($params));
  235. if ($this->useObjects()) {
  236. return new Google_DailyUploadAppend($data);
  237. } else {
  238. return $data;
  239. }
  240. }
  241. }
  242. /**
  243. * The "experiments" collection of methods.
  244. * Typical usage is:
  245. * <code>
  246. * $analyticsService = new Google_AnalyticsService(...);
  247. * $experiments = $analyticsService->experiments;
  248. * </code>
  249. */
  250. class Google_ManagementExperimentsServiceResource extends Google_ServiceResource {
  251. /**
  252. * Delete an experiment. (experiments.delete)
  253. *
  254. * @param string $accountId Account ID to which the experiment belongs
  255. * @param string $webPropertyId Web property ID to which the experiment belongs
  256. * @param string $profileId Profile ID to which the experiment belongs
  257. * @param string $experimentId ID of the experiment to delete
  258. * @param array $optParams Optional parameters.
  259. */
  260. public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) {
  261. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
  262. $params = array_merge($params, $optParams);
  263. $data = $this->__call('delete', array($params));
  264. return $data;
  265. }
  266. /**
  267. * Returns an experiment to which the user has access. (experiments.get)
  268. *
  269. * @param string $accountId Account ID to retrieve the experiment for.
  270. * @param string $webPropertyId Web property ID to retrieve the experiment for.
  271. * @param string $profileId Profile ID to retrieve the experiment for.
  272. * @param string $experimentId Experiment ID to retrieve the experiment for.
  273. * @param array $optParams Optional parameters.
  274. * @return Google_Experiment
  275. */
  276. public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) {
  277. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
  278. $params = array_merge($params, $optParams);
  279. $data = $this->__call('get', array($params));
  280. if ($this->useObjects()) {
  281. return new Google_Experiment($data);
  282. } else {
  283. return $data;
  284. }
  285. }
  286. /**
  287. * Create a new experiment. (experiments.insert)
  288. *
  289. * @param string $accountId Account ID to create the experiment for.
  290. * @param string $webPropertyId Web property ID to create the experiment for.
  291. * @param string $profileId Profile ID to create the experiment for.
  292. * @param Google_Experiment $postBody
  293. * @param array $optParams Optional parameters.
  294. * @return Google_Experiment
  295. */
  296. public function insert($accountId, $webPropertyId, $profileId, Google_Experiment $postBody, $optParams = array()) {
  297. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
  298. $params = array_merge($params, $optParams);
  299. $data = $this->__call('insert', array($params));
  300. if ($this->useObjects()) {
  301. return new Google_Experiment($data);
  302. } else {
  303. return $data;
  304. }
  305. }
  306. /**
  307. * Lists experiments to which the user has access. (experiments.list)
  308. *
  309. * @param string $accountId Account ID to retrieve experiments for.
  310. * @param string $webPropertyId Web property ID to retrieve experiments for.
  311. * @param string $profileId Profile ID to retrieve experiments for.
  312. * @param array $optParams Optional parameters.
  313. *
  314. * @opt_param int max-results The maximum number of experiments to include in this response.
  315. * @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.
  316. * @return Google_Experiments
  317. */
  318. public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) {
  319. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  320. $params = array_merge($params, $optParams);
  321. $data = $this->__call('list', array($params));
  322. if ($this->useObjects()) {
  323. return new Google_Experiments($data);
  324. } else {
  325. return $data;
  326. }
  327. }
  328. /**
  329. * Update an existing experiment. This method supports patch semantics. (experiments.patch)
  330. *
  331. * @param string $accountId Account ID of the experiment to update.
  332. * @param string $webPropertyId Web property ID of the experiment to update.
  333. * @param string $profileId Profile ID of the experiment to update.
  334. * @param string $experimentId Experiment ID of the experiment to update.
  335. * @param Google_Experiment $postBody
  336. * @param array $optParams Optional parameters.
  337. * @return Google_Experiment
  338. */
  339. public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array()) {
  340. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
  341. $params = array_merge($params, $optParams);
  342. $data = $this->__call('patch', array($params));
  343. if ($this->useObjects()) {
  344. return new Google_Experiment($data);
  345. } else {
  346. return $data;
  347. }
  348. }
  349. /**
  350. * Update an existing experiment. (experiments.update)
  351. *
  352. * @param string $accountId Account ID of the experiment to update.
  353. * @param string $webPropertyId Web property ID of the experiment to update.
  354. * @param string $profileId Profile ID of the experiment to update.
  355. * @param string $experimentId Experiment ID of the experiment to update.
  356. * @param Google_Experiment $postBody
  357. * @param array $optParams Optional parameters.
  358. * @return Google_Experiment
  359. */
  360. public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array()) {
  361. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
  362. $params = array_merge($params, $optParams);
  363. $data = $this->__call('update', array($params));
  364. if ($this->useObjects()) {
  365. return new Google_Experiment($data);
  366. } else {
  367. return $data;
  368. }
  369. }
  370. }
  371. /**
  372. * The "goals" collection of methods.
  373. * Typical usage is:
  374. * <code>
  375. * $analyticsService = new Google_AnalyticsService(...);
  376. * $goals = $analyticsService->goals;
  377. * </code>
  378. */
  379. class Google_ManagementGoalsServiceResource extends Google_ServiceResource {
  380. /**
  381. * Lists goals to which the user has access. (goals.list)
  382. *
  383. * @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.
  384. * @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.
  385. * @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.
  386. * @param array $optParams Optional parameters.
  387. *
  388. * @opt_param int max-results The maximum number of goals to include in this response.
  389. * @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.
  390. * @return Google_Goals
  391. */
  392. public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) {
  393. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  394. $params = array_merge($params, $optParams);
  395. $data = $this->__call('list', array($params));
  396. if ($this->useObjects()) {
  397. return new Google_Goals($data);
  398. } else {
  399. return $data;
  400. }
  401. }
  402. }
  403. /**
  404. * The "profiles" collection of methods.
  405. * Typical usage is:
  406. * <code>
  407. * $analyticsService = new Google_AnalyticsService(...);
  408. * $profiles = $analyticsService->profiles;
  409. * </code>
  410. */
  411. class Google_ManagementProfilesServiceResource extends Google_ServiceResource {
  412. /**
  413. * Lists profiles to which the user has access. (profiles.list)
  414. *
  415. * @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.
  416. * @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.
  417. * @param array $optParams Optional parameters.
  418. *
  419. * @opt_param int max-results The maximum number of profiles to include in this response.
  420. * @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.
  421. * @return Google_Profiles
  422. */
  423. public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) {
  424. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  425. $params = array_merge($params, $optParams);
  426. $data = $this->__call('list', array($params));
  427. if ($this->useObjects()) {
  428. return new Google_Profiles($data);
  429. } else {
  430. return $data;
  431. }
  432. }
  433. }
  434. /**
  435. * The "segments" collection of methods.
  436. * Typical usage is:
  437. * <code>
  438. * $analyticsService = new Google_AnalyticsService(...);
  439. * $segments = $analyticsService->segments;
  440. * </code>
  441. */
  442. class Google_ManagementSegmentsServiceResource extends Google_ServiceResource {
  443. /**
  444. * Lists advanced segments to which the user has access. (segments.list)
  445. *
  446. * @param array $optParams Optional parameters.
  447. *
  448. * @opt_param int max-results The maximum number of advanced segments to include in this response.
  449. * @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.
  450. * @return Google_Segments
  451. */
  452. public function listManagementSegments($optParams = array()) {
  453. $params = array();
  454. $params = array_merge($params, $optParams);
  455. $data = $this->__call('list', array($params));
  456. if ($this->useObjects()) {
  457. return new Google_Segments($data);
  458. } else {
  459. return $data;
  460. }
  461. }
  462. }
  463. /**
  464. * The "webproperties" collection of methods.
  465. * Typical usage is:
  466. * <code>
  467. * $analyticsService = new Google_AnalyticsService(...);
  468. * $webproperties = $analyticsService->webproperties;
  469. * </code>
  470. */
  471. class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource {
  472. /**
  473. * Lists web properties to which the user has access. (webproperties.list)
  474. *
  475. * @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.
  476. * @param array $optParams Optional parameters.
  477. *
  478. * @opt_param int max-results The maximum number of web properties to include in this response.
  479. * @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.
  480. * @return Google_Webproperties
  481. */
  482. public function listManagementWebproperties($accountId, $optParams = array()) {
  483. $params = array('accountId' => $accountId);
  484. $params = array_merge($params, $optParams);
  485. $data = $this->__call('list', array($params));
  486. if ($this->useObjects()) {
  487. return new Google_Webproperties($data);
  488. } else {
  489. return $data;
  490. }
  491. }
  492. }
  493. /**
  494. * Service definition for Google_Analytics (v3).
  495. *
  496. * <p>
  497. * View and manage your Google Analytics data
  498. * </p>
  499. *
  500. * <p>
  501. * For more information about this service, see the
  502. * <a href="https://developers.google.com/analytics/" target="_blank">API Documentation</a>
  503. * </p>
  504. *
  505. * @author Google, Inc.
  506. */
  507. class Google_AnalyticsService extends Google_Service {
  508. public $data_ga;
  509. public $data_mcf;
  510. public $management_accounts;
  511. public $management_customDataSources;
  512. public $management_dailyUploads;
  513. public $management_experiments;
  514. public $management_goals;
  515. public $management_profiles;
  516. public $management_segments;
  517. public $management_webproperties;
  518. /**
  519. * Constructs the internal representation of the Analytics service.
  520. *
  521. * @param Google_Client $client
  522. */
  523. public function __construct(Google_Client $client) {
  524. $this->servicePath = 'analytics/v3/';
  525. $this->version = 'v3';
  526. $this->serviceName = 'analytics';
  527. $client->addService($this->serviceName, $this->version);
  528. $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));
  529. $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));
  530. $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));
  531. $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));
  532. $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));
  533. $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));
  534. $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));
  535. $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));
  536. $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));
  537. $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));
  538. }
  539. }
  540. class Google_Account extends Google_Model {
  541. protected $__childLinkType = 'Google_AccountChildLink';
  542. protected $__childLinkDataType = '';
  543. public $childLink;
  544. public $created;
  545. public $id;
  546. public $kind;
  547. public $name;
  548. public $selfLink;
  549. public $updated;
  550. public function setChildLink(Google_AccountChildLink $childLink) {
  551. $this->childLink = $childLink;
  552. }
  553. public function getChildLink() {
  554. return $this->childLink;
  555. }
  556. public function setCreated($created) {
  557. $this->created = $created;
  558. }
  559. public function getCreated() {
  560. return $this->created;
  561. }
  562. public function setId($id) {
  563. $this->id = $id;
  564. }
  565. public function getId() {
  566. return $this->id;
  567. }
  568. public function setKind($kind) {
  569. $this->kind = $kind;
  570. }
  571. public function getKind() {
  572. return $this->kind;
  573. }
  574. public function setName($name) {
  575. $this->name = $name;
  576. }
  577. public function getName() {
  578. return $this->name;
  579. }
  580. public function setSelfLink($selfLink) {
  581. $this->selfLink = $selfLink;
  582. }
  583. public function getSelfLink() {
  584. return $this->selfLink;
  585. }
  586. public function setUpdated($updated) {
  587. $this->updated = $updated;
  588. }
  589. public function getUpdated() {
  590. return $this->updated;
  591. }
  592. }
  593. class Google_AccountChildLink extends Google_Model {
  594. public $href;
  595. public $type;
  596. public function setHref($href) {
  597. $this->href = $href;
  598. }
  599. public function getHref() {
  600. return $this->href;
  601. }
  602. public function setType($type) {
  603. $this->type = $type;
  604. }
  605. public function getType() {
  606. return $this->type;
  607. }
  608. }
  609. class Google_Accounts extends Google_Model {
  610. protected $__itemsType = 'Google_Account';
  611. protected $__itemsDataType = 'array';
  612. public $items;
  613. public $itemsPerPage;
  614. public $kind;
  615. public $nextLink;
  616. public $previousLink;
  617. public $startIndex;
  618. public $totalResults;
  619. public $username;
  620. public function setItems(/* array(Google_Account) */ $items) {
  621. $this->assertIsArray($items, 'Google_Account', __METHOD__);
  622. $this->items = $items;
  623. }
  624. public function getItems() {
  625. return $this->items;
  626. }
  627. public function setItemsPerPage($itemsPerPage) {
  628. $this->itemsPerPage = $itemsPerPage;
  629. }
  630. public function getItemsPerPage() {
  631. return $this->itemsPerPage;
  632. }
  633. public function setKind($kind) {
  634. $this->kind = $kind;
  635. }
  636. public function getKind() {
  637. return $this->kind;
  638. }
  639. public function setNextLink($nextLink) {
  640. $this->nextLink = $nextLink;
  641. }
  642. public function getNextLink() {
  643. return $this->nextLink;
  644. }
  645. public function setPreviousLink($previousLink) {
  646. $this->previousLink = $previousLink;
  647. }
  648. public function getPreviousLink() {
  649. return $this->previousLink;
  650. }
  651. public function setStartIndex($startIndex) {
  652. $this->startIndex = $startIndex;
  653. }
  654. public function getStartIndex() {
  655. return $this->startIndex;
  656. }
  657. public function setTotalResults($totalResults) {
  658. $this->totalResults = $totalResults;
  659. }
  660. public function getTotalResults() {
  661. return $this->totalResults;
  662. }
  663. public function setUsername($username) {
  664. $this->username = $username;
  665. }
  666. public function getUsername() {
  667. return $this->username;
  668. }
  669. }
  670. class Google_CustomDataSource extends Google_Model {
  671. public $accountId;
  672. protected $__childLinkType = 'Google_CustomDataSourceChildLink';
  673. protected $__childLinkDataType = '';
  674. public $childLink;
  675. public $created;
  676. public $description;
  677. public $id;
  678. public $kind;
  679. public $name;
  680. protected $__parentLinkType = 'Google_CustomDataSourceParentLink';
  681. protected $__parentLinkDataType = '';
  682. public $parentLink;
  683. public $profilesLinked;
  684. public $selfLink;
  685. public $updated;
  686. public $webPropertyId;
  687. public function setAccountId($accountId) {
  688. $this->accountId = $accountId;
  689. }
  690. public function getAccountId() {
  691. return $this->accountId;
  692. }
  693. public function setChildLink(Google_CustomDataSourceChildLink $childLink) {
  694. $this->childLink = $childLink;
  695. }
  696. public function getChildLink() {
  697. return $this->childLink;
  698. }
  699. public function setCreated($created) {
  700. $this->created = $created;
  701. }
  702. public function getCreated() {
  703. return $this->created;
  704. }
  705. public function setDescription($description) {
  706. $this->description = $description;
  707. }
  708. public function getDescription() {
  709. return $this->description;
  710. }
  711. public function setId($id) {
  712. $this->id = $id;
  713. }
  714. public function getId() {
  715. return $this->id;
  716. }
  717. public function setKind($kind) {
  718. $this->kind = $kind;
  719. }
  720. public function getKind() {
  721. return $this->kind;
  722. }
  723. public function setName($name) {
  724. $this->name = $name;
  725. }
  726. public function getName() {
  727. return $this->name;
  728. }
  729. public function setParentLink(Google_CustomDataSourceParentLink $parentLink) {
  730. $this->parentLink = $parentLink;
  731. }
  732. public function getParentLink() {
  733. return $this->parentLink;
  734. }
  735. public function setProfilesLinked(/* array(Google_string) */ $profilesLinked) {
  736. $this->assertIsArray($profilesLinked, 'Google_string', __METHOD__);
  737. $this->profilesLinked = $profilesLinked;
  738. }
  739. public function getProfilesLinked() {
  740. return $this->profilesLinked;
  741. }
  742. public function setSelfLink($selfLink) {
  743. $this->selfLink = $selfLink;
  744. }
  745. public function getSelfLink() {
  746. return $this->selfLink;
  747. }
  748. public function setUpdated($updated) {
  749. $this->updated = $updated;
  750. }
  751. public function getUpdated() {
  752. return $this->updated;
  753. }
  754. public function setWebPropertyId($webPropertyId) {
  755. $this->webPropertyId = $webPropertyId;
  756. }
  757. public function getWebPropertyId() {
  758. return $this->webPropertyId;
  759. }
  760. }
  761. class Google_CustomDataSourceChildLink extends Google_Model {
  762. public $href;
  763. public $type;
  764. public function setHref($href) {
  765. $this->href = $href;
  766. }
  767. public function getHref() {
  768. return $this->href;
  769. }
  770. public function setType($type) {
  771. $this->type = $type;
  772. }
  773. public function getType() {
  774. return $this->type;
  775. }
  776. }
  777. class Google_CustomDataSourceParentLink extends Google_Model {
  778. public $href;
  779. public $type;
  780. public function setHref($href) {
  781. $this->href = $href;
  782. }
  783. public function getHref() {
  784. return $this->href;
  785. }
  786. public function setType($type) {
  787. $this->type = $type;
  788. }
  789. public function getType() {
  790. return $this->type;
  791. }
  792. }
  793. class Google_CustomDataSources extends Google_Model {
  794. protected $__itemsType = 'Google_CustomDataSource';
  795. protected $__itemsDataType = 'array';
  796. public $items;
  797. public $itemsPerPage;
  798. public $kind;
  799. public $nextLink;
  800. public $previousLink;
  801. public $startIndex;
  802. public $totalResults;
  803. public $username;
  804. public function setItems(/* array(Google_CustomDataSource) */ $items) {
  805. $this->assertIsArray($items, 'Google_CustomDataSource', __METHOD__);
  806. $this->items = $items;
  807. }
  808. public function getItems() {
  809. return $this->items;
  810. }
  811. public function setItemsPerPage($itemsPerPage) {
  812. $this->itemsPerPage = $itemsPerPage;
  813. }
  814. public function getItemsPerPage() {
  815. return $this->itemsPerPage;
  816. }
  817. public function setKind($kind) {
  818. $this->kind = $kind;
  819. }
  820. public function getKind() {
  821. return $this->kind;
  822. }
  823. public function setNextLink($nextLink) {
  824. $this->nextLink = $nextLink;
  825. }
  826. public function getNextLink() {
  827. return $this->nextLink;
  828. }
  829. public function setPreviousLink($previousLink) {
  830. $this->previousLink = $previousLink;
  831. }
  832. public function getPreviousLink() {
  833. return $this->previousLink;
  834. }
  835. public function setStartIndex($startIndex) {
  836. $this->startIndex = $startIndex;
  837. }
  838. public function getStartIndex() {
  839. return $this->startIndex;
  840. }
  841. public function setTotalResults($totalResults) {
  842. $this->totalResults = $totalResults;
  843. }
  844. public function getTotalResults() {
  845. return $this->totalResults;
  846. }
  847. public function setUsername($username) {
  848. $this->username = $username;
  849. }
  850. public function getUsername() {
  851. return $this->username;
  852. }
  853. }
  854. class Google_DailyUpload extends Google_Model {
  855. public $accountId;
  856. public $appendCount;
  857. public $createdTime;
  858. public $customDataSourceId;
  859. public $date;
  860. public $kind;
  861. public $modifiedTime;
  862. protected $__parentLinkType = 'Google_DailyUploadParentLink';
  863. protected $__parentLinkDataType = '';
  864. public $parentLink;
  865. protected $__recentChangesType = 'Google_DailyUploadRecentChanges';
  866. protected $__recentChangesDataType = 'array';
  867. public $recentChanges;
  868. public $selfLink;
  869. public $webPropertyId;
  870. public function setAccountId($accountId) {
  871. $this->accountId = $accountId;
  872. }
  873. public function getAccountId() {
  874. return $this->accountId;
  875. }
  876. public function setAppendCount($appendCount) {
  877. $this->appendCount = $appendCount;
  878. }
  879. public function getAppendCount() {
  880. return $this->appendCount;
  881. }
  882. public function setCreatedTime($createdTime) {
  883. $this->createdTime = $createdTime;
  884. }
  885. public function getCreatedTime() {
  886. return $this->createdTime;
  887. }
  888. public function setCustomDataSourceId($customDataSourceId) {
  889. $this->customDataSourceId = $customDataSourceId;
  890. }
  891. public function getCustomDataSourceId() {
  892. return $this->customDataSourceId;
  893. }
  894. public function setDate($date) {
  895. $this->date = $date;
  896. }
  897. public function getDate() {
  898. return $this->date;
  899. }
  900. public function setKind($kind) {
  901. $this->kind = $kind;
  902. }
  903. public function getKind() {
  904. return $this->kind;
  905. }
  906. public function setModifiedTime($modifiedTime) {
  907. $this->modifiedTime = $modifiedTime;
  908. }
  909. public function getModifiedTime() {
  910. return $this->modifiedTime;
  911. }
  912. public function setParentLink(Google_DailyUploadParentLink $parentLink) {
  913. $this->parentLink = $parentLink;
  914. }
  915. public function getParentLink() {
  916. return $this->parentLink;
  917. }
  918. public function setRecentChanges(/* array(Google_DailyUploadRecentChanges) */ $recentChanges) {
  919. $this->assertIsArray($recentChanges, 'Google_DailyUploadRecentChanges', __METHOD__);
  920. $this->recentChanges = $recentChanges;
  921. }
  922. public function getRecentChanges() {
  923. return $this->recentChanges;
  924. }
  925. public function setSelfLink($selfLink) {
  926. $this->selfLink = $selfLink;
  927. }
  928. public function getSelfLink() {
  929. return $this->selfLink;
  930. }
  931. public function setWebPropertyId($webPropertyId) {
  932. $this->webPropertyId = $webPropertyId;
  933. }
  934. public function getWebPropertyId() {
  935. return $this->webPropertyId;
  936. }
  937. }
  938. class Google_DailyUploadAppend extends Google_Model {
  939. public $accountId;
  940. public $appendNumber;
  941. public $customDataSourceId;
  942. public $date;
  943. public $kind;
  944. public $nextAppendLink;
  945. public $webPropertyId;
  946. public function setAccountId($accountId) {
  947. $this->accountId = $accountId;
  948. }
  949. public function getAccountId() {
  950. return $this->accountId;
  951. }
  952. public function setAppendNumber($appendNumber) {
  953. $this->appendNumber = $appendNumber;
  954. }
  955. public function getAppendNumber() {
  956. return $this->appendNumber;
  957. }
  958. public function setCustomDataSourceId($customDataSourceId) {
  959. $this->customDataSourceId = $customDataSourceId;
  960. }
  961. public function getCustomDataSourceId() {
  962. return $this->customDataSourceId;
  963. }
  964. public function setDate($date) {
  965. $this->date = $date;
  966. }
  967. public function getDate() {
  968. return $this->date;
  969. }
  970. public function setKind($kind) {
  971. $this->kind = $kind;
  972. }
  973. public function getKind() {
  974. return $this->kind;
  975. }
  976. public function setNextAppendLink($nextAppendLink) {
  977. $this->nextAppendLink = $nextAppendLink;
  978. }
  979. public function getNextAppendLink() {
  980. return $this->nextAppendLink;
  981. }

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