PageRenderTime 66ms CodeModel.GetById 21ms RepoModel.GetById 0ms 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
  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. }
  982. public function setWebPropertyId($webPropertyId) {
  983. $this->webPropertyId = $webPropertyId;
  984. }
  985. public function getWebPropertyId() {
  986. return $this->webPropertyId;
  987. }
  988. }
  989. class Google_DailyUploadParentLink extends Google_Model {
  990. public $href;
  991. public $type;
  992. public function setHref($href) {
  993. $this->href = $href;
  994. }
  995. public function getHref() {
  996. return $this->href;
  997. }
  998. public function setType($type) {
  999. $this->type = $type;
  1000. }
  1001. public function getType() {
  1002. return $this->type;
  1003. }
  1004. }
  1005. class Google_DailyUploadRecentChanges extends Google_Model {
  1006. public $change;
  1007. public $time;
  1008. public function setChange($change) {
  1009. $this->change = $change;
  1010. }
  1011. public function getChange() {
  1012. return $this->change;
  1013. }
  1014. public function setTime($time) {
  1015. $this->time = $time;
  1016. }
  1017. public function getTime() {
  1018. return $this->time;
  1019. }
  1020. }
  1021. class Google_DailyUploads extends Google_Model {
  1022. protected $__itemsType = 'Google_DailyUpload';
  1023. protected $__itemsDataType = 'array';
  1024. public $items;
  1025. public $itemsPerPage;
  1026. public $kind;
  1027. public $nextLink;
  1028. public $previousLink;
  1029. public $startIndex;
  1030. public $totalResults;
  1031. public $username;
  1032. public function setItems(/* array(Google_DailyUpload) */ $items) {
  1033. $this->assertIsArray($items, 'Google_DailyUpload', __METHOD__);
  1034. $this->items = $items;
  1035. }
  1036. public function getItems() {
  1037. return $this->items;
  1038. }
  1039. public function setItemsPerPage($itemsPerPage) {
  1040. $this->itemsPerPage = $itemsPerPage;
  1041. }
  1042. public function getItemsPerPage() {
  1043. return $this->itemsPerPage;
  1044. }
  1045. public function setKind($kind) {
  1046. $this->kind = $kind;
  1047. }
  1048. public function getKind() {
  1049. return $this->kind;
  1050. }
  1051. public function setNextLink($nextLink) {
  1052. $this->nextLink = $nextLink;
  1053. }
  1054. public function getNextLink() {
  1055. return $this->nextLink;
  1056. }
  1057. public function setPreviousLink($previousLink) {
  1058. $this->previousLink = $previousLink;
  1059. }
  1060. public function getPreviousLink() {
  1061. return $this->previousLink;
  1062. }
  1063. public function setStartIndex($startIndex) {
  1064. $this->startIndex = $startIndex;
  1065. }
  1066. public function getStartIndex() {
  1067. return $this->startIndex;
  1068. }
  1069. public function setTotalResults($totalResults) {
  1070. $this->totalResults = $totalResults;
  1071. }
  1072. public function getTotalResults() {
  1073. return $this->totalResults;
  1074. }
  1075. public function setUsername($username) {
  1076. $this->username = $username;
  1077. }
  1078. public function getUsername() {
  1079. return $this->username;
  1080. }
  1081. }
  1082. class Google_Experiment extends Google_Model {
  1083. public $accountId;
  1084. public $created;
  1085. public $description;
  1086. public $editableInGaUi;
  1087. public $endTime;
  1088. public $id;
  1089. public $internalWebPropertyId;
  1090. public $kind;
  1091. public $minimumExperimentLengthInDays;
  1092. public $name;
  1093. public $objectiveMetric;
  1094. public $optimizationType;
  1095. protected $__parentLinkType = 'Google_ExperimentParentLink';
  1096. protected $__parentLinkDataType = '';
  1097. public $parentLink;
  1098. public $profileId;
  1099. public $reasonExperimentEnded;
  1100. public $rewriteVariationUrlsAsOriginal;
  1101. public $selfLink;
  1102. public $servingFramework;
  1103. public $snippet;
  1104. public $startTime;
  1105. public $status;
  1106. public $trafficCoverage;
  1107. public $updated;
  1108. protected $__variationsType = 'Google_ExperimentVariations';
  1109. protected $__variationsDataType = 'array';
  1110. public $variations;
  1111. public $webPropertyId;
  1112. public $winnerConfidenceLevel;
  1113. public $winnerFound;
  1114. public function setAccountId($accountId) {
  1115. $this->accountId = $accountId;
  1116. }
  1117. public function getAccountId() {
  1118. return $this->accountId;
  1119. }
  1120. public function setCreated($created) {
  1121. $this->created = $created;
  1122. }
  1123. public function getCreated() {
  1124. return $this->created;
  1125. }
  1126. public function setDescription($description) {
  1127. $this->description = $description;
  1128. }
  1129. public function getDescription() {
  1130. return $this->description;
  1131. }
  1132. public function setEditableInGaUi($editableInGaUi) {
  1133. $this->editableInGaUi = $editableInGaUi;
  1134. }
  1135. public function getEditableInGaUi() {
  1136. return $this->editableInGaUi;
  1137. }
  1138. public function setEndTime($endTime) {
  1139. $this->endTime = $endTime;
  1140. }
  1141. public function getEndTime() {
  1142. return $this->endTime;
  1143. }
  1144. public function setId($id) {
  1145. $this->id = $id;
  1146. }
  1147. public function getId() {
  1148. return $this->id;
  1149. }
  1150. public function setInternalWebPropertyId($internalWebPropertyId) {
  1151. $this->internalWebPropertyId = $internalWebPropertyId;
  1152. }
  1153. public function getInternalWebPropertyId() {
  1154. return $this->internalWebPropertyId;
  1155. }
  1156. public function setKind($kind) {
  1157. $this->kind = $kind;
  1158. }
  1159. public function getKind() {
  1160. return $this->kind;
  1161. }
  1162. public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays) {
  1163. $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
  1164. }
  1165. public function getMinimumExperimentLengthInDays() {
  1166. return $this->minimumExperimentLengthInDays;
  1167. }
  1168. public function setName($name) {
  1169. $this->name = $name;
  1170. }
  1171. public function getName() {
  1172. return $this->name;
  1173. }
  1174. public function setObjectiveMetric($objectiveMetric) {
  1175. $this->objectiveMetric = $objectiveMetric;
  1176. }
  1177. public function getObjectiveMetric() {
  1178. return $this->objectiveMetric;
  1179. }
  1180. public function setOptimizationType($optimizationType) {
  1181. $this->optimizationType = $optimizationType;
  1182. }
  1183. public function getOptimizationType() {
  1184. return $this->optimizationType;
  1185. }
  1186. public function setParentLink(Google_ExperimentParentLink $parentLink) {
  1187. $this->parentLink = $parentLink;
  1188. }
  1189. public function getParentLink() {
  1190. return $this->parentLink;
  1191. }
  1192. public function setProfileId($profileId) {
  1193. $this->profileId = $profileId;
  1194. }
  1195. public function getProfileId() {
  1196. return $this->profileId;
  1197. }
  1198. public function setReasonExperimentEnded($reasonExperimentEnded) {
  1199. $this->reasonExperimentEnded = $reasonExperimentEnded;
  1200. }
  1201. public function getReasonExperimentEnded() {
  1202. return $this->reasonExperimentEnded;
  1203. }
  1204. public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal) {
  1205. $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
  1206. }
  1207. public function getRewriteVariationUrlsAsOriginal() {
  1208. return $this->rewriteVariationUrlsAsOriginal;
  1209. }
  1210. public function setSelfLink($selfLink) {
  1211. $this->selfLink = $selfLink;
  1212. }
  1213. public function getSelfLink() {
  1214. return $this->selfLink;
  1215. }
  1216. public function setServingFramework($servingFramework) {
  1217. $this->servingFramework = $servingFramework;
  1218. }
  1219. public function getServingFramework() {
  1220. return $this->servingFramework;
  1221. }
  1222. public function setSnippet($snippet) {
  1223. $this->snippet = $snippet;
  1224. }
  1225. public function getSnippet() {
  1226. return $this->snippet;
  1227. }
  1228. public function setStartTime($startTime) {
  1229. $this->startTime = $startTime;
  1230. }
  1231. public function getStartTime() {
  1232. return $this->startTime;
  1233. }
  1234. public function setStatus($status) {
  1235. $this->status = $status;
  1236. }
  1237. public function getStatus() {
  1238. return $this->status;
  1239. }
  1240. public function setTrafficCoverage($trafficCoverage) {
  1241. $this->trafficCoverage = $trafficCoverage;
  1242. }
  1243. public function getTrafficCoverage() {
  1244. return $this->trafficCoverage;
  1245. }
  1246. public function setUpdated($updated) {
  1247. $this->updated = $updated;
  1248. }
  1249. public function getUpdated() {
  1250. return $this->updated;
  1251. }
  1252. public function setVariations(/* array(Google_ExperimentVariations) */ $variations) {
  1253. $this->assertIsArray($variations, 'Google_ExperimentVariations', __METHOD__);
  1254. $this->variations = $variations;
  1255. }
  1256. public function getVariations() {
  1257. return $this->variations;
  1258. }
  1259. public function setWebPropertyId($webPropertyId) {
  1260. $this->webPropertyId = $webPropertyId;
  1261. }
  1262. public function getWebPropertyId() {
  1263. return $this->webPropertyId;
  1264. }
  1265. public function setWinnerConfidenceLevel($winnerConfidenceLevel) {
  1266. $this->winnerConfidenceLevel = $winnerConfidenceLevel;
  1267. }
  1268. public function getWinnerConfidenceLevel() {
  1269. return $this->winnerConfidenceLevel;
  1270. }
  1271. public function setWinnerFound($winnerFound) {
  1272. $this->winnerFound = $winnerFound;
  1273. }
  1274. public function getWinnerFound() {
  1275. return $this->winnerFound;
  1276. }
  1277. }
  1278. class Google_ExperimentParentLink extends Google_Model {
  1279. public $href;
  1280. public $type;
  1281. public function setHref($href) {
  1282. $this->href = $href;
  1283. }
  1284. public function getHref() {
  1285. return $this->href;
  1286. }
  1287. public function setType($type) {
  1288. $this->type = $type;
  1289. }
  1290. public function getType() {
  1291. return $this->type;
  1292. }
  1293. }
  1294. class Google_ExperimentVariations extends Google_Model {
  1295. public $name;
  1296. public $status;
  1297. public $url;
  1298. public $weight;
  1299. public $won;
  1300. public function setName($name) {
  1301. $this->name = $name;
  1302. }
  1303. public function getName() {
  1304. return $this->name;
  1305. }
  1306. public function setStatus($status) {
  1307. $this->status = $status;
  1308. }
  1309. public function getStatus() {
  1310. return $this->status;
  1311. }
  1312. public function setUrl($url) {
  1313. $this->url = $url;
  1314. }
  1315. public function getUrl() {
  1316. return $this->url;
  1317. }
  1318. public function setWeight($weight) {
  1319. $this->weight = $weight;
  1320. }
  1321. public function getWeight() {
  1322. return $this->weight;
  1323. }
  1324. public function setWon($won) {
  1325. $this->won = $won;
  1326. }
  1327. public function getWon() {
  1328. return $this->won;
  1329. }
  1330. }
  1331. class Google_Experiments extends Google_Model {
  1332. protected $__itemsType = 'Google_Experiment';
  1333. protected $__itemsDataType = 'array';
  1334. public $items;
  1335. public $itemsPerPage;
  1336. public $kind;
  1337. public $nextLink;
  1338. public $previousLink;
  1339. public $startIndex;
  1340. public $totalResults;
  1341. public $username;
  1342. public function setItems(/* array(Google_Experiment) */ $items) {
  1343. $this->assertIsArray($items, 'Google_Experiment', __METHOD__);
  1344. $this->items = $items;
  1345. }
  1346. public function getItems() {
  1347. return $this->items;
  1348. }
  1349. public function setItemsPerPage($itemsPerPage) {
  1350. $this->itemsPerPage = $itemsPerPage;
  1351. }
  1352. public function getItemsPerPage() {
  1353. return $this->itemsPerPage;
  1354. }
  1355. public function setKind($kind) {
  1356. $this->kind = $kind;
  1357. }
  1358. public function getKind() {
  1359. return $this->kind;
  1360. }
  1361. public function setNextLink($nextLink) {
  1362. $this->nextLink = $nextLink;
  1363. }
  1364. public function getNextLink() {
  1365. return $this->nextLink;
  1366. }
  1367. public function setPreviousLink($previousLink) {
  1368. $this->previousLink = $previousLink;
  1369. }
  1370. public function getPreviousLink() {
  1371. return $this->previousLink;
  1372. }
  1373. public function setStartIndex($startIndex) {
  1374. $this->startIndex = $startIndex;
  1375. }
  1376. public function getStartIndex() {
  1377. return $this->startIndex;
  1378. }
  1379. public function setTotalResults($totalResults) {
  1380. $this->totalResults = $totalResults;
  1381. }
  1382. public function getTotalResults() {
  1383. return $this->totalResults;
  1384. }
  1385. public function setUsername($username) {
  1386. $this->username = $username;
  1387. }
  1388. public function getUsername() {
  1389. return $this->username;
  1390. }
  1391. }
  1392. class Google_GaData extends Google_Model {
  1393. protected $__columnHeadersType = 'Google_GaDataColumnHeaders';
  1394. protected $__columnHeadersDataType = 'array';
  1395. public $columnHeaders;
  1396. public $containsSampledData;
  1397. public $id;
  1398. public $itemsPerPage;
  1399. public $kind;
  1400. public $nextLink;
  1401. public $previousLink;
  1402. protected $__profileInfoType = 'Google_GaDataProfileInfo';
  1403. protected $__profileInfoDataType = '';
  1404. public $profileInfo;
  1405. protected $__queryType = 'Google_GaDataQuery';
  1406. protected $__queryDataType = '';
  1407. public $query;
  1408. public $rows;
  1409. public $selfLink;
  1410. public $totalResults;
  1411. public $totalsForAllResults;
  1412. public function setColumnHeaders(/* array(Google_GaDataColumnHeaders) */ $columnHeaders) {
  1413. $this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__);
  1414. $this->columnHeaders = $columnHeaders;
  1415. }
  1416. public function getColumnHeaders() {
  1417. return $this->columnHeaders;
  1418. }
  1419. public function setContainsSampledData($containsSampledData) {
  1420. $this->containsSampledData = $containsSampledData;
  1421. }
  1422. public function getContainsSampledData() {
  1423. return $this->containsSampledData;
  1424. }
  1425. public function setId($id) {
  1426. $this->id = $id;
  1427. }
  1428. public function getId() {
  1429. return $this->id;
  1430. }
  1431. public function setItemsPerPage($itemsPerPage) {
  1432. $this->itemsPerPage = $itemsPerPage;
  1433. }
  1434. public function getItemsPerPage() {
  1435. return $this->itemsPerPage;
  1436. }
  1437. public function setKind($kind) {
  1438. $this->kind = $kind;
  1439. }
  1440. public function getKind() {
  1441. return $this->kind;
  1442. }
  1443. public function setNextLink($nextLink) {
  1444. $this->nextLink = $nextLink;
  1445. }
  1446. public function getNextLink() {
  1447. return $this->nextLink;
  1448. }
  1449. public function setPreviousLink($previousLink) {
  1450. $this->previousLink = $previousLink;
  1451. }
  1452. public function getPreviousLink() {
  1453. return $this->previousLink;
  1454. }
  1455. public function setProfileInfo(Google_GaDataProfileInfo $profileInfo) {
  1456. $this->profileInfo = $profileInfo;
  1457. }
  1458. public function getProfileInfo() {
  1459. return $this->profileInfo;
  1460. }
  1461. public function setQuery(Google_GaDataQuery $query) {
  1462. $this->query = $query;
  1463. }
  1464. public function getQuery() {
  1465. return $this->query;
  1466. }
  1467. public function setRows(/* array(Google_string) */ $rows) {
  1468. $this->assertIsArray($rows, 'Google_string', __METHOD__);
  1469. $this->rows = $rows;
  1470. }
  1471. public function getRows() {
  1472. return $this->rows;
  1473. }
  1474. public function setSelfLink($selfLink) {
  1475. $this->selfLink = $selfLink;
  1476. }
  1477. public function getSelfLink() {
  1478. return $this->selfLink;
  1479. }
  1480. public function setTotalResults($totalResults) {
  1481. $this->totalResults = $totalResults;
  1482. }
  1483. public function getTotalResults() {
  1484. return $this->totalResults;
  1485. }
  1486. public function setTotalsForAllResults($totalsForAllResults) {
  1487. $this->totalsForAllResults = $totalsForAllResults;
  1488. }
  1489. public function getTotalsForAllResults() {
  1490. return $this->totalsForAllResults;
  1491. }
  1492. }
  1493. class Google_GaDataColumnHeaders extends Google_Model {
  1494. public $columnType;
  1495. public $dataType;
  1496. public $name;
  1497. public function setColumnType($columnType) {
  1498. $this->columnType = $columnType;
  1499. }
  1500. public function getColumnType() {
  1501. return $this->columnType;
  1502. }
  1503. public function setDataType($dataType) {
  1504. $this->dataType = $dataType;
  1505. }
  1506. public function getDataType() {
  1507. return $this->dataType;
  1508. }
  1509. public function setName($name) {
  1510. $this->name = $name;
  1511. }
  1512. public function getName() {
  1513. return $this->name;
  1514. }
  1515. }
  1516. class Google_GaDataProfileInfo extends Google_Model {
  1517. public $accountId;
  1518. public $internalWebPropertyId;
  1519. public $profileId;
  1520. public $profileName;
  1521. public $tableId;
  1522. public $webPropertyId;
  1523. public function setAccountId($accountId) {
  1524. $this->accountId = $accountId;
  1525. }
  1526. public function getAccountId() {
  1527. return $this->accountId;
  1528. }
  1529. public function setInternalWebPropertyId($internalWebPropertyId) {
  1530. $this->internalWebPropertyId = $internalWebPropertyId;
  1531. }
  1532. public function getInternalWebPropertyId() {
  1533. return $this->internalWebPropertyId;
  1534. }
  1535. public function setProfileId($profileId) {
  1536. $this->profileId = $profileId;
  1537. }
  1538. public function getProfileId() {
  1539. return $this->profileId;
  1540. }
  1541. public function setProfileName($profileName) {
  1542. $this->profileName = $profileName;
  1543. }
  1544. public function getProfileName() {
  1545. return $this->profileName;
  1546. }
  1547. public function setTableId($tableId) {
  1548. $this->tableId = $tableId;
  1549. }
  1550. public function getTableId() {
  1551. return $this->tableId;
  1552. }
  1553. public function setWebPropertyId($webPropertyId) {
  1554. $this->webPropertyId = $webPropertyId;
  1555. }
  1556. public function getWebPropertyId() {
  1557. return $this->webPropertyId;
  1558. }
  1559. }
  1560. class Google_GaDataQuery extends Google_Model {
  1561. public $dimensions;
  1562. public $end_date;
  1563. public $filters;
  1564. public $ids;
  1565. public $max_results;
  1566. public $metrics;
  1567. public $segment;
  1568. public $sort;
  1569. public $start_date;
  1570. public $start_index;
  1571. public function setDimensions($dimensions) {
  1572. $this->dimensions = $dimensions;
  1573. }
  1574. public function getDimensions() {
  1575. return $this->dimensions;
  1576. }
  1577. public function setEnd_date($end_date) {
  1578. $this->end_date = $end_date;
  1579. }
  1580. public function getEnd_date() {
  1581. return $this->end_date;
  1582. }
  1583. public function setFilters($filters) {
  1584. $this->filters = $filters;
  1585. }
  1586. public function getFilters() {
  1587. return $this->filters;
  1588. }
  1589. public function setIds($ids) {
  1590. $this->ids = $ids;
  1591. }
  1592. public function getIds() {
  1593. return $this->ids;
  1594. }
  1595. public function setMax_results($max_results) {
  1596. $this->max_results = $max_results;
  1597. }
  1598. public function getMax_results() {
  1599. return $this->max_results;
  1600. }
  1601. public function setMetrics(/* array(Google_string) */ $metrics) {
  1602. $this->assertIsArray($metrics, 'Google_string', __METHOD__);
  1603. $this->metrics = $metrics;
  1604. }
  1605. public function getMetrics() {
  1606. return $this->metrics;
  1607. }
  1608. public function setSegment($segment) {
  1609. $this->segment = $segment;
  1610. }
  1611. public function getSegment() {
  1612. return $this->segment;
  1613. }
  1614. public function setSort(/* array(Google_string) */ $sort) {
  1615. $this->assertIsArray($sort, 'Google_string', __METHOD__);
  1616. $this->sort = $sort;
  1617. }
  1618. public function getSort() {
  1619. return $this->sort;
  1620. }
  1621. public function setStart_date($start_date) {
  1622. $this->start_date = $start_date;
  1623. }
  1624. public function getStart_date() {
  1625. return $this->start_date;
  1626. }
  1627. public function setStart_index($start_index) {
  1628. $this->start_index = $start_index;
  1629. }
  1630. public function getStart_index() {
  1631. return $this->start_index;
  1632. }
  1633. }
  1634. class Google_Goal extends Google_Model {
  1635. public $accountId;
  1636. public $active;
  1637. public $created;
  1638. protected $__eventDetailsType = 'Google_GoalEventDetails';
  1639. protected $__eventDetailsDataType = '';
  1640. public $eventDetails;
  1641. public $id;
  1642. public $internalWebPropertyId;
  1643. public $kind;
  1644. public $name;
  1645. protected $__parentLinkType = 'Google_GoalParentLink';
  1646. protected $__parentLinkDataType = '';
  1647. public $parentLink;
  1648. public $profileId;
  1649. public $selfLink;
  1650. public $type;
  1651. public $updated;
  1652. protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails';
  1653. protected $__urlDestinationDetailsDataType = '';
  1654. public $urlDestinationDetails;
  1655. public $value;
  1656. protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails';
  1657. protected $__visitNumPagesDetailsDataType = '';
  1658. public $visitNumPagesDetails;
  1659. protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails';
  1660. protected $__visitTimeOnSiteDetailsDataType = '';
  1661. public $visitTimeOnSiteDetails;
  1662. public $webPropertyId;
  1663. public function setAccountId($accountId) {
  1664. $this->accountId = $accountId;
  1665. }
  1666. public function getAccountId() {
  1667. return $this->accountId;
  1668. }
  1669. public function setActive($active) {
  1670. $this->active = $active;
  1671. }
  1672. public function getActive() {
  1673. return $this->active;
  1674. }
  1675. public function setCreated($created) {
  1676. $this->created = $created;
  1677. }
  1678. public function getCreated() {
  1679. return $this->created;
  1680. }
  1681. public function setEventDetails(Google_GoalEventDetails $eventDetails) {
  1682. $this->eventDetails = $eventDetails;
  1683. }
  1684. public function getEventDetails() {
  1685. return $this->eventDetails;
  1686. }
  1687. public function setId($id) {
  1688. $this->id = $id;
  1689. }
  1690. public function getId() {
  1691. return $this->id;
  1692. }
  1693. public function setInternalWebPropertyId($internalWebPropertyId) {
  1694. $this->internalWebPropertyId = $internalWebPropertyId;
  1695. }
  1696. public function getInternalWebPropertyId() {
  1697. return $this->internalWebPropertyId;
  1698. }
  1699. public function setKind($kind) {
  1700. $this->kind = $kind;
  1701. }
  1702. public function getKind() {
  1703. return $this->kind;
  1704. }
  1705. public function setName($name) {
  1706. $this->name = $name;
  1707. }
  1708. public function getName() {
  1709. return $this->name;
  1710. }
  1711. public function setParentLink(Google_GoalParentLink $parentLink) {
  1712. $this->parentLink = $parentLink;
  1713. }
  1714. public function getParentLink() {
  1715. return $this->parentLink;
  1716. }
  1717. public function setProfileId($profileId) {
  1718. $this->profileId = $profileId;
  1719. }
  1720. public function getProfileId() {
  1721. return $this->profileId;
  1722. }
  1723. public function setSelfLink($selfLink) {
  1724. $this->selfLink = $selfLink;
  1725. }
  1726. public function getSelfLink() {
  1727. return $this->selfLink;
  1728. }
  1729. public function setType($type) {
  1730. $this->type = $type;
  1731. }
  1732. public function getType() {
  1733. return $this->type;
  1734. }
  1735. public function setUpdated($updated) {
  1736. $this->updated = $updated;
  1737. }
  1738. public function getUpdated() {
  1739. return $this->updated;
  1740. }
  1741. public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails) {
  1742. $this->urlDestinationDetails = $urlDestinationDetails;
  1743. }
  1744. public function getUrlDestinationDetails() {
  1745. return $this->urlDestinationDetails;
  1746. }
  1747. public function setValue($value) {
  1748. $this->value = $value;
  1749. }
  1750. public function getValue() {
  1751. return $this->value;
  1752. }
  1753. public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails) {
  1754. $this->visitNumPagesDetails = $visitNumPagesDetails;
  1755. }
  1756. public function getVisitNumPagesDetails() {
  1757. return $this->visitNumPagesDetails;
  1758. }
  1759. public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) {
  1760. $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
  1761. }
  1762. public function getVisitTimeOnSiteDetails() {
  1763. return $this->visitTimeOnSiteDetails;
  1764. }
  1765. public function setWebPropertyId($webPropertyId) {
  1766. $this->webPropertyId = $webPropertyId;
  1767. }
  1768. public function getWebPropertyId() {
  1769. return $this->webPropertyId;
  1770. }
  1771. }
  1772. class Google_GoalEventDetails extends Google_Model {
  1773. protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions';
  1774. protected $__eventConditionsDataType = 'array';
  1775. public $eventConditions;
  1776. public $useEventValue;
  1777. public function setEventConditions(/* array(Google_GoalEventDetailsEventConditions) */ $eventConditions) {
  1778. $this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__);
  1779. $this->eventConditions = $eventConditions;
  1780. }
  1781. public function getEventConditions() {
  1782. return $this->eventConditions;
  1783. }
  1784. public function setUseEventValue($useEventValue) {
  1785. $this->useEventValue = $useEventValue;
  1786. }
  1787. public function getUseEventValue() {
  1788. return $this->useEventValue;
  1789. }
  1790. }
  1791. class Google_GoalEventDetailsEventConditions extends Google_Model {
  1792. public $comparisonType;
  1793. public $comparisonValue;
  1794. public $expression;
  1795. public $matchType;
  1796. public $type;
  1797. public function setComparisonType($comparisonType) {
  1798. $this->comparisonType = $comparisonType;
  1799. }
  1800. public function getComparisonType() {
  1801. return $this->comparisonType;
  1802. }
  1803. public function setComparisonValue($comparisonValue) {
  1804. $this->comparisonValue = $comparisonValue;
  1805. }
  1806. public function getComparisonValue() {
  1807. return $this->comparisonValue;
  1808. }
  1809. public function setExpression($expression) {
  1810. $this->expression = $expression;
  1811. }
  1812. public function getExpression() {
  1813. return $this->expression;
  1814. }
  1815. public function setMatchType($matchType) {
  1816. $this->matchType = $matchType;
  1817. }
  1818. public function getMatchType() {
  1819. return $this->matchType;
  1820. }
  1821. public function setType($type) {
  1822. $this->type = $type;
  1823. }
  1824. public function getType() {
  1825. return $this->type;
  1826. }
  1827. }
  1828. class Google_GoalParentLink extends Google_Model {
  1829. public $href;
  1830. public $type;
  1831. public function setHref($href) {
  1832. $this->href = $href;
  1833. }
  1834. public function getHref() {
  1835. return $this->href;
  1836. }
  1837. public function setType($type) {
  1838. $this->type = $type;
  1839. }
  1840. public function getType() {
  1841. return $this->type;
  1842. }
  1843. }
  1844. class Google_GoalUrlDestinationDetails extends Google_Model {
  1845. public $caseSensitive;
  1846. public $firstStepRequired;
  1847. public $matchType;
  1848. protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps';
  1849. protected $__stepsDataType = 'array';
  1850. public $steps;
  1851. public $url;
  1852. public function setCaseSensitive($caseSensitive) {
  1853. $this->caseSensitive = $caseSensitive;
  1854. }
  1855. public function getCaseSensitive() {
  1856. return $this->caseSensitive;
  1857. }
  1858. public function setFirstStepRequired($firstStepRequired) {
  1859. $this->firstStepRequired = $firstStepRequired;
  1860. }
  1861. public function getFirstStepRequired() {
  1862. return $this->firstStepRequired;
  1863. }
  1864. public function setMatchType($matchType) {
  1865. $this->matchType = $matchType;
  1866. }
  1867. public function getMatchType() {
  1868. return $this->matchType;
  1869. }
  1870. public function setSteps(/* array(Google_GoalUrlDestinationDetailsSteps) */ $steps) {
  1871. $this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__);
  1872. $this->steps = $steps;
  1873. }
  1874. public function getSteps() {
  1875. return $this->steps;
  1876. }
  1877. public function setUrl($url) {
  1878. $this->url = $url;
  1879. }
  1880. public function getUrl() {
  1881. return $this->url;
  1882. }
  1883. }
  1884. class Google_GoalUrlDestinationDetailsSteps extends Google_Model {
  1885. public $name;
  1886. public $number;
  1887. public $url;
  1888. public function setName($name) {
  1889. $this->name = $name;
  1890. }
  1891. public function getName() {
  1892. return $this->name;
  1893. }
  1894. public function setNumber($number) {
  1895. $this->number = $number;
  1896. }
  1897. public function getNumber() {
  1898. return $this->number;
  1899. }
  1900. public function setUrl($url) {
  1901. $this->url = $url;
  1902. }
  1903. public function getUrl() {
  1904. return $this->url;
  1905. }
  1906. }
  1907. class Google_GoalVisitNumPagesDetails extends Google_Model {
  1908. public $comparisonType;
  1909. public $comparisonValue;
  1910. public function setComparisonType($comparisonType) {
  1911. $this->comparisonType = $comparisonType;
  1912. }
  1913. public function getComparisonType() {
  1914. return $this->comparisonType;
  1915. }
  1916. public function setComparisonValue($comparisonValue) {
  1917. $this->comparisonValue = $comparisonValue;
  1918. }
  1919. public function getComparisonValue() {
  1920. return $this->comparisonValue;
  1921. }
  1922. }
  1923. class Google_GoalVisitTimeOnSiteDetails extends Google_Model {
  1924. public $comparisonType;
  1925. public $comparisonValue;
  1926. public function setComparisonType($comparisonType) {
  1927. $this->comparisonType = $comparisonType;
  1928. }
  1929. public function getComparisonType() {
  1930. return $this->comparisonType;
  1931. }
  1932. public function setComparisonValue($comparisonValue) {
  1933. $this->comparisonValue = $comparisonValue;
  1934. }
  1935. public function getComparisonValue() {
  1936. return $this->comparisonValue;
  1937. }
  1938. }
  1939. class Google_Goals extends Google_Model {
  1940. protected $__itemsType = 'Google_Goal';
  1941. protected $__itemsDataType = 'array';
  1942. public $items;
  1943. public $itemsPerPage;
  1944. public $kind;
  1945. public $nextLink;
  1946. public $previousLink;
  1947. public $startIndex;
  1948. public $totalResults;
  1949. public $username;
  1950. public function setItems(/* array(Google_Goal) */ $items) {
  1951. $this->assertIsArray($items, 'Google_Goal', __METHOD__);
  1952. $this->items = $items;
  1953. }
  1954. public function getItems() {
  1955. return $this->items;
  1956. }
  1957. public function setItemsPerPage($itemsPerPage) {
  1958. $this->itemsPerPage = $itemsPerPage;
  1959. }
  1960. public function getItemsPerPage() {
  1961. return $this->itemsPerPage;
  1962. }
  1963. public function setKind($kind) {
  1964. $this->kind = $kind;
  1965. }
  1966. public function getKind() {
  1967. return $this->kind;
  1968. }
  1969. public function setNextLink($nextLink) {
  1970. $this->nextLink = $nextLink;
  1971. }
  1972. public function getNextLink() {
  1973. return $this->nextLink;
  1974. }
  1975. public function setPreviousLink($previousLink) {
  1976. $this->previousLink = $previousLink;
  1977. }
  1978. public function getPreviousLink() {
  1979. return $this->previousLink;
  1980. }
  1981. public function setStartIndex($startIndex) {
  1982. $this->startIndex = $startIndex;
  1983. }
  1984. public function getStartIndex() {
  1985. return $this->startIndex;
  1986. }
  1987. public function setTotalResults($totalResults) {
  1988. $this->totalResults = $totalResults;
  1989. }
  1990. public function getTotalResults() {
  1991. return $this->totalResults;
  1992. }
  1993. public function setUsername($username) {
  1994. $this->username = $username;
  1995. }
  1996. public function getUsername() {
  1997. return $this->username;
  1998. }
  1999. }
  2000. class Google_McfData extends Google_Model {
  2001. protected $__columnHeadersType = 'Google_McfDataColumnHeaders';
  2002. protected $__columnHeadersDataType = 'array';
  2003. public $columnHeaders;
  2004. public $containsSampledData;
  2005. public $id;
  2006. public $itemsPerPage;
  2007. public $kind;
  2008. public $nextLink;
  2009. public $previousLink;
  2010. protected $__profileInfoType = 'Google_McfDataProfileInfo';
  2011. protected $__profileInfoDataType = '';
  2012. public $profileInfo;
  2013. protected $__queryType = 'Google_McfDataQuery';
  2014. protected $__queryDataType = '';
  2015. public $query;
  2016. protected $__rowsType = 'Google_McfDataRows';
  2017. protected $__rowsDataType = 'array';
  2018. public $rows;
  2019. public $selfLink;
  2020. public $totalResults;
  2021. public $totalsForAllResults;
  2022. public function setColumnHeaders(/* array(Google_McfDataColumnHeaders) */ $columnHeaders) {
  2023. $this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__);
  2024. $this->columnHeaders = $columnHeaders;
  2025. }
  2026. public function getColumnHeaders() {
  2027. return $this->columnHeaders;
  2028. }
  2029. public function setContainsSampledData($containsSampledData) {
  2030. $this->containsSampledData = $containsSampledData;
  2031. }
  2032. public function getContainsSampledData() {
  2033. return $this->containsSampledData;
  2034. }
  2035. public function setId($id) {
  2036. $this->id = $id;
  2037. }
  2038. public function getId() {
  2039. return $this->id;
  2040. }
  2041. public function setItemsPerPage($itemsPerPage) {
  2042. $this->itemsPerPage = $itemsPerPage;
  2043. }
  2044. public function getItemsPerPage() {
  2045. return $this->itemsPerPage;
  2046. }
  2047. public function setKind($kind) {
  2048. $this->kind = $kind;
  2049. }
  2050. public function getKind() {
  2051. return $this->kind;
  2052. }
  2053. public function setNextLink($nextLink) {
  2054. $this->nextLink = $nextLink;
  2055. }
  2056. public function getNextLink() {
  2057. return $this->nextLink;
  2058. }
  2059. public function setPreviousLink($previousLink) {
  2060. $this->previousLink = $previousLink;
  2061. }
  2062. public function getPreviousLink() {
  2063. return $this->previousLink;
  2064. }
  2065. public function setProfileInfo(Google_McfDataProfileInfo $profileInfo) {
  2066. $this->profileInfo = $profileInfo;
  2067. }
  2068. public function getProfileInfo() {
  2069. return $this->profileInfo;
  2070. }
  2071. public function setQuery(Google_McfDataQuery $query) {
  2072. $this->query = $query;
  2073. }
  2074. public function getQuery() {
  2075. return $this->query;
  2076. }
  2077. public function setRows(/* array(Google_McfDataRows) */ $rows) {
  2078. $this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__);
  2079. $this->rows = $rows;
  2080. }
  2081. public function getRows() {
  2082. return $this->rows;
  2083. }
  2084. public function setSelfLink($selfLink) {
  2085. $this->selfLink = $selfLink;
  2086. }
  2087. public function getSelfLink() {
  2088. return $this->selfLink;
  2089. }
  2090. public function setTotalResults($totalResults) {
  2091. $this->totalResults = $totalResults;
  2092. }
  2093. public function getTotalResults() {
  2094. return $this->totalResults;
  2095. }
  2096. public function setTotalsForAllResults($totalsForAllResults) {
  2097. $this->totalsForAllResults = $totalsForAllResults;
  2098. }
  2099. public function getTotalsForAllResults() {
  2100. return $this->totalsForAllResults;
  2101. }
  2102. }
  2103. class Google_McfDataColumnHeaders extends Google_Model {
  2104. public $columnType;
  2105. public $dataType;
  2106. public $name;
  2107. public function setColumnType($columnType) {
  2108. $this->columnType = $columnType;
  2109. }
  2110. public function getColumnType() {
  2111. return $this->columnType;
  2112. }
  2113. public function setDataType($dataType) {
  2114. $this->dataType = $dataType;
  2115. }
  2116. public function getDataType() {
  2117. return $this->dataType;
  2118. }
  2119. public function setName($name) {
  2120. $this->name = $name;
  2121. }
  2122. public function getName() {
  2123. return $this->name;
  2124. }
  2125. }
  2126. class Google_McfDataProfileInfo extends Google_Model {
  2127. public $accountId;
  2128. public $internalWebPropertyId;
  2129. public $profileId;
  2130. public $profileName;
  2131. public $tableId;
  2132. public $webPropertyId;
  2133. public function setAccountId($accountId) {
  2134. $this->accountId = $accountId;
  2135. }
  2136. public function getAccountId() {
  2137. return $this->accountId;
  2138. }
  2139. public function setInternalWebPropertyId($internalWebPropertyId) {
  2140. $this->internalWebPropertyId = $internalWebPropertyId;
  2141. }
  2142. public function getInternalWebPropertyId() {
  2143. return $this->internalWebPropertyId;
  2144. }
  2145. public function setProfileId($profileId) {
  2146. $this->profileId = $profileId;
  2147. }
  2148. public function getProfileId() {
  2149. return $this->profileId;
  2150. }
  2151. public function setProfileName($profileName) {
  2152. $this->profileName = $profileName;
  2153. }
  2154. public function getProfileName() {
  2155. return $this->profileName;
  2156. }
  2157. public function setTableId($tableId) {
  2158. $this->tableId = $tableId;
  2159. }
  2160. public function getTableId() {
  2161. return $this->tableId;
  2162. }
  2163. public function setWebPropertyId($webPropertyId) {
  2164. $this->webPropertyId = $webPropertyId;
  2165. }
  2166. public function getWebPropertyId() {
  2167. return $this->webPropertyId;
  2168. }
  2169. }
  2170. class Google_McfDataQuery extends Google_Model {
  2171. public $dimensions;
  2172. public $end_date;
  2173. public $filters;
  2174. public $ids;
  2175. public $max_results;
  2176. public $metrics;
  2177. public $segment;
  2178. public $sort;
  2179. public $start_date;
  2180. public $start_index;
  2181. public function setDimensions($dimensions) {
  2182. $this->dimensions = $dimensions;
  2183. }
  2184. public function getDimensions() {
  2185. return $this->dimensions;
  2186. }
  2187. public function setEnd_date($end_date) {
  2188. $this->end_date = $end_date;
  2189. }
  2190. public function getEnd_date() {
  2191. return $this->end_date;
  2192. }
  2193. public function setFilters($filters) {
  2194. $this->filters = $filters;
  2195. }
  2196. public function getFilters() {
  2197. return $this->filters;
  2198. }
  2199. public function setIds($ids) {
  2200. $this->ids = $ids;
  2201. }
  2202. public function getIds() {
  2203. return $this->ids;
  2204. }
  2205. public function setMax_results($max_results) {
  2206. $this->max_results = $max_results;
  2207. }
  2208. public function getMax_results() {
  2209. return $this->max_results;
  2210. }
  2211. public function setMetrics(/* array(Google_string) */ $metrics) {
  2212. $this->assertIsArray($metrics, 'Google_string', __METHOD__);
  2213. $this->metrics = $metrics;
  2214. }
  2215. public function getMetrics() {
  2216. return $this->metrics;
  2217. }
  2218. public function setSegment($segment) {
  2219. $this->segment = $segment;
  2220. }
  2221. public function getSegment() {
  2222. return $this->segment;
  2223. }
  2224. public function setSort(/* array(Google_string) */ $sort) {
  2225. $this->assertIsArray($sort, 'Google_string', __METHOD__);
  2226. $this->sort = $sort;
  2227. }
  2228. public function getSort() {
  2229. return $this->sort;
  2230. }
  2231. public function setStart_date($start_date) {
  2232. $this->start_date = $start_date;
  2233. }
  2234. public function getStart_date() {
  2235. return $this->start_date;
  2236. }
  2237. public function setStart_index($start_index) {
  2238. $this->start_index = $start_index;
  2239. }
  2240. public function getStart_index() {
  2241. return $this->start_index;
  2242. }
  2243. }
  2244. class Google_McfDataRows extends Google_Model {
  2245. protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue';
  2246. protected $__conversionPathValueDataType = 'array';
  2247. public $conversionPathValue;
  2248. public $primitiveValue;
  2249. public function setConversionPathValue(/* array(Google_McfDataRowsConversionPathValue) */ $conversionPathValue) {
  2250. $this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__);
  2251. $this->conversionPathValue = $conversionPathValue;
  2252. }
  2253. public function getConversionPathValue() {
  2254. return $this->conversionPathValue;
  2255. }
  2256. public function setPrimitiveValue($primitiveValue) {
  2257. $this->primitiveValue = $primitiveValue;
  2258. }
  2259. public function getPrimitiveValue() {
  2260. return $this->primitiveValue;
  2261. }
  2262. }
  2263. class Google_McfDataRowsConversionPathValue extends Google_Model {
  2264. public $interactionType;
  2265. public $nodeValue;
  2266. public function setInteractionType($interactionType) {
  2267. $this->interactionType = $interactionType;
  2268. }
  2269. public function getInteractionType() {
  2270. return $this->interactionType;
  2271. }
  2272. public function setNodeValue($nodeValue) {
  2273. $this->nodeValue = $nodeValue;
  2274. }
  2275. public function getNodeValue() {
  2276. return $this->nodeValue;
  2277. }
  2278. }
  2279. class Google_Profile extends Google_Model {
  2280. public $accountId;
  2281. protected $__childLinkType = 'Google_ProfileChildLink';
  2282. protected $__childLinkDataType = '';
  2283. public $childLink;
  2284. public $created;
  2285. public $currency;
  2286. public $defaultPage;
  2287. public $eCommerceTracking;
  2288. public $excludeQueryParameters;
  2289. public $id;
  2290. public $internalWebPropertyId;
  2291. public $kind;
  2292. public $name;
  2293. protected $__parentLinkType = 'Google_ProfileParentLink';
  2294. protected $__parentLinkDataType = '';
  2295. public $parentLink;
  2296. public $selfLink;
  2297. public $siteSearchCategoryParameters;
  2298. public $siteSearchQueryParameters;
  2299. public $timezone;
  2300. public $type;
  2301. public $updated;
  2302. public $webPropertyId;
  2303. public $websiteUrl;
  2304. public function setAccountId($accountId) {
  2305. $this->accountId = $accountId;
  2306. }
  2307. public function getAccountId() {
  2308. return $this->accountId;
  2309. }
  2310. public function setChildLink(Google_ProfileChildLink $childLink) {
  2311. $this->childLink = $childLink;
  2312. }
  2313. public function getChildLink() {
  2314. return $this->childLink;
  2315. }
  2316. public function setCreated($created) {
  2317. $this->created = $created;
  2318. }
  2319. public function getCreated() {
  2320. return $this->created;
  2321. }
  2322. public function setCurrency($currency) {
  2323. $this->currency = $currency;
  2324. }
  2325. public function getCurrency() {
  2326. return $this->currency;
  2327. }
  2328. public function setDefaultPage($defaultPage) {
  2329. $this->defaultPage = $defaultPage;
  2330. }
  2331. public function getDefaultPage() {
  2332. return $this->defaultPage;
  2333. }
  2334. public function setECommerceTracking($eCommerceTracking) {
  2335. $this->eCommerceTracking = $eCommerceTracking;
  2336. }
  2337. public function getECommerceTracking() {
  2338. return $this->eCommerceTracking;
  2339. }
  2340. public function setExcludeQueryParameters($excludeQueryParameters) {
  2341. $this->excludeQueryParameters = $excludeQueryParameters;
  2342. }
  2343. public function getExcludeQueryParameters() {
  2344. return $this->excludeQueryParameters;
  2345. }
  2346. public function setId($id) {
  2347. $this->id = $id;
  2348. }
  2349. public function getId() {
  2350. return $this->id;
  2351. }
  2352. public function setInternalWebPropertyId($internalWebPropertyId) {
  2353. $this->internalWebPropertyId = $internalWebPropertyId;
  2354. }
  2355. public function getInternalWebPropertyId() {
  2356. return $this->internalWebPropertyId;
  2357. }
  2358. public function setKind($kind) {
  2359. $this->kind = $kind;
  2360. }
  2361. public function getKind() {
  2362. return $this->kind;
  2363. }
  2364. public function setName($name) {
  2365. $this->name = $name;
  2366. }
  2367. public function getName() {
  2368. return $this->name;
  2369. }
  2370. public function setParentLink(Google_ProfileParentLink $parentLink) {
  2371. $this->parentLink = $parentLink;
  2372. }
  2373. public function getParentLink() {
  2374. return $this->parentLink;
  2375. }
  2376. public function setSelfLink($selfLink) {
  2377. $this->selfLink = $selfLink;
  2378. }
  2379. public function getSelfLink() {
  2380. return $this->selfLink;
  2381. }
  2382. public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) {
  2383. $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
  2384. }
  2385. public function getSiteSearchCategoryParameters() {
  2386. return $this->siteSearchCategoryParameters;
  2387. }
  2388. public function setSiteSearchQueryParameters($siteSearchQueryParameters) {
  2389. $this->siteSearchQueryParameters = $siteSearchQueryParameters;
  2390. }
  2391. public function getSiteSearchQueryParameters() {
  2392. return $this->siteSearchQueryParameters;
  2393. }
  2394. public function setTimezone($timezone) {
  2395. $this->timezone = $timezone;
  2396. }
  2397. public function getTimezone() {
  2398. return $this->timezone;
  2399. }
  2400. public function setType($type) {
  2401. $this->type = $type;
  2402. }
  2403. public function getType() {
  2404. return $this->type;
  2405. }
  2406. public function setUpdated($updated) {
  2407. $this->updated = $updated;
  2408. }
  2409. public function getUpdated() {
  2410. return $this->updated;
  2411. }
  2412. public function setWebPropertyId($webPropertyId) {
  2413. $this->webPropertyId = $webPropertyId;
  2414. }
  2415. public function getWebPropertyId() {
  2416. return $this->webPropertyId;
  2417. }
  2418. public function setWebsiteUrl($websiteUrl) {
  2419. $this->websiteUrl = $websiteUrl;
  2420. }
  2421. public function getWebsiteUrl() {
  2422. return $this->websiteUrl;
  2423. }
  2424. }
  2425. class Google_ProfileChildLink extends Google_Model {
  2426. public $href;
  2427. public $type;
  2428. public function setHref($href) {
  2429. $this->href = $href;
  2430. }
  2431. public function getHref() {
  2432. return $this->href;
  2433. }
  2434. public function setType($type) {
  2435. $this->type = $type;
  2436. }
  2437. public function getType() {
  2438. return $this->type;
  2439. }
  2440. }
  2441. class Google_ProfileParentLink extends Google_Model {
  2442. public $href;
  2443. public $type;
  2444. public function setHref($href) {
  2445. $this->href = $href;
  2446. }
  2447. public function getHref() {
  2448. return $this->href;
  2449. }
  2450. public function setType($type) {
  2451. $this->type = $type;
  2452. }
  2453. public function getType() {
  2454. return $this->type;
  2455. }
  2456. }
  2457. class Google_Profiles extends Google_Model {
  2458. protected $__itemsType = 'Google_Profile';
  2459. protected $__itemsDataType = 'array';
  2460. public $items;
  2461. public $itemsPerPage;
  2462. public $kind;
  2463. public $nextLink;
  2464. public $previousLink;
  2465. public $startIndex;
  2466. public $totalResults;
  2467. public $username;
  2468. public function setItems(/* array(Google_Profile) */ $items) {
  2469. $this->assertIsArray($items, 'Google_Profile', __METHOD__);
  2470. $this->items = $items;
  2471. }
  2472. public function getItems() {
  2473. return $this->items;
  2474. }
  2475. public function setItemsPerPage($itemsPerPage) {
  2476. $this->itemsPerPage = $itemsPerPage;
  2477. }
  2478. public function getItemsPerPage() {
  2479. return $this->itemsPerPage;
  2480. }
  2481. public function setKind($kind) {
  2482. $this->kind = $kind;
  2483. }
  2484. public function getKind() {
  2485. return $this->kind;
  2486. }
  2487. public function setNextLink($nextLink) {
  2488. $this->nextLink = $nextLink;
  2489. }
  2490. public function getNextLink() {
  2491. return $this->nextLink;
  2492. }
  2493. public function setPreviousLink($previousLink) {
  2494. $this->previousLink = $previousLink;
  2495. }
  2496. public function getPreviousLink() {
  2497. return $this->previousLink;
  2498. }
  2499. public function setStartIndex($startIndex) {
  2500. $this->startIndex = $startIndex;
  2501. }
  2502. public function getStartIndex() {
  2503. return $this->startIndex;
  2504. }
  2505. public function setTotalResults($totalResults) {
  2506. $this->totalResults = $totalResults;
  2507. }
  2508. public function getTotalResults() {
  2509. return $this->totalResults;
  2510. }
  2511. public function setUsername($username) {
  2512. $this->username = $username;
  2513. }
  2514. public function getUsername() {
  2515. return $this->username;
  2516. }
  2517. }
  2518. class Google_Segment extends Google_Model {
  2519. public $created;
  2520. public $definition;
  2521. public $id;
  2522. public $kind;
  2523. public $name;
  2524. public $segmentId;
  2525. public $selfLink;
  2526. public $updated;
  2527. public function setCreated($created) {
  2528. $this->created = $created;
  2529. }
  2530. public function getCreated() {
  2531. return $this->created;
  2532. }
  2533. public function setDefinition($definition) {
  2534. $this->definition = $definition;
  2535. }
  2536. public function getDefinition() {
  2537. return $this->definition;
  2538. }
  2539. public function setId($id) {
  2540. $this->id = $id;
  2541. }
  2542. public function getId() {
  2543. return $this->id;
  2544. }
  2545. public function setKind($kind) {
  2546. $this->kind = $kind;
  2547. }
  2548. public function getKind() {
  2549. return $this->kind;
  2550. }
  2551. public function setName($name) {
  2552. $this->name = $name;
  2553. }
  2554. public function getName() {
  2555. return $this->name;
  2556. }
  2557. public function setSegmentId($segmentId) {
  2558. $this->segmentId = $segmentId;
  2559. }
  2560. public function getSegmentId() {
  2561. return $this->segmentId;
  2562. }
  2563. public function setSelfLink($selfLink) {
  2564. $this->selfLink = $selfLink;
  2565. }
  2566. public function getSelfLink() {
  2567. return $this->selfLink;
  2568. }
  2569. public function setUpdated($updated) {
  2570. $this->updated = $updated;
  2571. }
  2572. public function getUpdated() {
  2573. return $this->updated;
  2574. }
  2575. }
  2576. class Google_Segments extends Google_Model {
  2577. protected $__itemsType = 'Google_Segment';
  2578. protected $__itemsDataType = 'array';
  2579. public $items;
  2580. public $itemsPerPage;
  2581. public $kind;
  2582. public $nextLink;
  2583. public $previousLink;
  2584. public $startIndex;
  2585. public $totalResults;
  2586. public $username;
  2587. public function setItems(/* array(Google_Segment) */ $items) {
  2588. $this->assertIsArray($items, 'Google_Segment', __METHOD__);
  2589. $this->items = $items;
  2590. }
  2591. public function getItems() {
  2592. return $this->items;
  2593. }
  2594. public function setItemsPerPage($itemsPerPage) {
  2595. $this->itemsPerPage = $itemsPerPage;
  2596. }
  2597. public function getItemsPerPage() {
  2598. return $this->itemsPerPage;
  2599. }
  2600. public function setKind($kind) {
  2601. $this->kind = $kind;
  2602. }
  2603. public function getKind() {
  2604. return $this->kind;
  2605. }
  2606. public function setNextLink($nextLink) {
  2607. $this->nextLink = $nextLink;
  2608. }
  2609. public function getNextLink() {
  2610. return $this->nextLink;
  2611. }
  2612. public function setPreviousLink($previousLink) {
  2613. $this->previousLink = $previousLink;
  2614. }
  2615. public function getPreviousLink() {
  2616. return $this->previousLink;
  2617. }
  2618. public function setStartIndex($startIndex) {
  2619. $this->startIndex = $startIndex;
  2620. }
  2621. public function getStartIndex() {
  2622. return $this->startIndex;
  2623. }
  2624. public function setTotalResults($totalResults) {
  2625. $this->totalResults = $totalResults;
  2626. }
  2627. public function getTotalResults() {
  2628. return $this->totalResults;
  2629. }
  2630. public function setUsername($username) {
  2631. $this->username = $username;
  2632. }
  2633. public function getUsername() {
  2634. return $this->username;
  2635. }
  2636. }
  2637. class Google_Webproperties extends Google_Model {
  2638. protected $__itemsType = 'Google_Webproperty';
  2639. protected $__itemsDataType = 'array';
  2640. public $items;
  2641. public $itemsPerPage;
  2642. public $kind;
  2643. public $nextLink;
  2644. public $previousLink;
  2645. public $startIndex;
  2646. public $totalResults;
  2647. public $username;
  2648. public function setItems(/* array(Google_Webproperty) */ $items) {
  2649. $this->assertIsArray($items, 'Google_Webproperty', __METHOD__);
  2650. $this->items = $items;
  2651. }
  2652. public function getItems() {
  2653. return $this->items;
  2654. }
  2655. public function setItemsPerPage($itemsPerPage) {
  2656. $this->itemsPerPage = $itemsPerPage;
  2657. }
  2658. public function getItemsPerPage() {
  2659. return $this->itemsPerPage;
  2660. }
  2661. public function setKind($kind) {
  2662. $this->kind = $kind;
  2663. }
  2664. public function getKind() {
  2665. return $this->kind;
  2666. }
  2667. public function setNextLink($nextLink) {
  2668. $this->nextLink = $nextLink;
  2669. }
  2670. public function getNextLink() {
  2671. return $this->nextLink;
  2672. }
  2673. public function setPreviousLink($previousLink) {
  2674. $this->previousLink = $previousLink;
  2675. }
  2676. public function getPreviousLink() {
  2677. return $this->previousLink;
  2678. }
  2679. public function setStartIndex($startIndex) {
  2680. $this->startIndex = $startIndex;
  2681. }
  2682. public function getStartIndex() {
  2683. return $this->startIndex;
  2684. }
  2685. public function setTotalResults($totalResults) {
  2686. $this->totalResults = $totalResults;
  2687. }
  2688. public function getTotalResults() {
  2689. return $this->totalResults;
  2690. }
  2691. public function setUsername($username) {
  2692. $this->username = $username;
  2693. }
  2694. public function getUsername() {
  2695. return $this->username;
  2696. }
  2697. }
  2698. class Google_Webproperty extends Google_Model {
  2699. public $accountId;
  2700. protected $__childLinkType = 'Google_WebpropertyChildLink';
  2701. protected $__childLinkDataType = '';
  2702. public $childLink;
  2703. public $created;
  2704. public $id;
  2705. public $internalWebPropertyId;
  2706. public $kind;
  2707. public $name;
  2708. protected $__parentLinkType = 'Google_WebpropertyParentLink';
  2709. protected $__parentLinkDataType = '';
  2710. public $parentLink;
  2711. public $selfLink;
  2712. public $updated;
  2713. public $websiteUrl;
  2714. public function setAccountId($accountId) {
  2715. $this->accountId = $accountId;
  2716. }
  2717. public function getAccountId() {
  2718. return $this->accountId;
  2719. }
  2720. public function setChildLink(Google_WebpropertyChildLink $childLink) {
  2721. $this->childLink = $childLink;
  2722. }
  2723. public function getChildLink() {
  2724. return $this->childLink;
  2725. }
  2726. public function setCreated($created) {
  2727. $this->created = $created;
  2728. }
  2729. public function getCreated() {
  2730. return $this->created;
  2731. }
  2732. public function setId($id) {
  2733. $this->id = $id;
  2734. }
  2735. public function getId() {
  2736. return $this->id;
  2737. }
  2738. public function setInternalWebPropertyId($internalWebPropertyId) {
  2739. $this->internalWebPropertyId = $internalWebPropertyId;
  2740. }
  2741. public function getInternalWebPropertyId() {
  2742. return $this->internalWebPropertyId;
  2743. }
  2744. public function setKind($kind) {
  2745. $this->kind = $kind;
  2746. }
  2747. public function getKind() {
  2748. return $this->kind;
  2749. }
  2750. public function setName($name) {
  2751. $this->name = $name;
  2752. }
  2753. public function getName() {
  2754. return $this->name;
  2755. }
  2756. public function setParentLink(Google_WebpropertyParentLink $parentLink) {
  2757. $this->parentLink = $parentLink;
  2758. }
  2759. public function getParentLink() {
  2760. return $this->parentLink;
  2761. }
  2762. public function setSelfLink($selfLink) {
  2763. $this->selfLink = $selfLink;
  2764. }
  2765. public function getSelfLink() {
  2766. return $this->selfLink;
  2767. }
  2768. public function setUpdated($updated) {
  2769. $this->updated = $updated;
  2770. }
  2771. public function getUpdated() {
  2772. return $this->updated;
  2773. }
  2774. public function setWebsiteUrl($websiteUrl) {
  2775. $this->websiteUrl = $websiteUrl;
  2776. }
  2777. public function getWebsiteUrl() {
  2778. return $this->websiteUrl;
  2779. }
  2780. }
  2781. class Google_WebpropertyChildLink extends Google_Model {
  2782. public $href;
  2783. public $type;
  2784. public function setHref($href) {
  2785. $this->href = $href;
  2786. }
  2787. public function getHref() {
  2788. return $this->href;
  2789. }
  2790. public function setType($type) {
  2791. $this->type = $type;
  2792. }
  2793. public function getType() {
  2794. return $this->type;
  2795. }
  2796. }
  2797. class Google_WebpropertyParentLink extends Google_Model {
  2798. public $href;
  2799. public $type;
  2800. public function setHref($href) {
  2801. $this->href = $href;
  2802. }
  2803. public function getHref() {
  2804. return $this->href;
  2805. }
  2806. public function setType($type) {
  2807. $this->type = $type;
  2808. }
  2809. public function getType() {
  2810. return $this->type;
  2811. }
  2812. }