PageRenderTime 39ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 1ms

/htdocs/xampp/src/contrib/Google_AnalyticsService.php

https://bitbucket.org/adarshj/convenient_website
PHP | 1887 lines | 1641 code | 58 blank | 188 comment | 14 complexity | ebac87fabc96f512e2fde8b8514aec71 MD5 | raw file
Possible License(s): Apache-2.0, MPL-2.0-no-copyleft-exception, LGPL-2.1, BSD-2-Clause, GPL-2.0, LGPL-3.0

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

  1. <?php
  2. /*
  3. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  4. * use this file except in compliance with the License. You may obtain a copy of
  5. * the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  11. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  12. * License for the specific language governing permissions and limitations under
  13. * the License.
  14. */
  15. /**
  16. * The "management" collection of methods.
  17. * Typical usage is:
  18. * <code>
  19. * $analyticsService = new Google_AnalyticsService(...);
  20. * $management = $analyticsService->management;
  21. * </code>
  22. */
  23. class Google_ManagementServiceResource extends Google_ServiceResource {
  24. }
  25. /**
  26. * The "webproperties" collection of methods.
  27. * Typical usage is:
  28. * <code>
  29. * $analyticsService = new Google_AnalyticsService(...);
  30. * $webproperties = $analyticsService->webproperties;
  31. * </code>
  32. */
  33. class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource {
  34. /**
  35. * Lists web properties to which the user has access. (webproperties.list)
  36. *
  37. * @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.
  38. * @param array $optParams Optional parameters.
  39. *
  40. * @opt_param int max-results The maximum number of web properties to include in this response.
  41. * @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.
  42. * @return Google_Webproperties
  43. */
  44. public function listManagementWebproperties($accountId, $optParams = array()) {
  45. $params = array('accountId' => $accountId);
  46. $params = array_merge($params, $optParams);
  47. $data = $this->__call('list', array($params));
  48. if ($this->useObjects()) {
  49. return new Google_Webproperties($data);
  50. } else {
  51. return $data;
  52. }
  53. }
  54. }
  55. /**
  56. * The "segments" collection of methods.
  57. * Typical usage is:
  58. * <code>
  59. * $analyticsService = new Google_AnalyticsService(...);
  60. * $segments = $analyticsService->segments;
  61. * </code>
  62. */
  63. class Google_ManagementSegmentsServiceResource extends Google_ServiceResource {
  64. /**
  65. * Lists advanced segments to which the user has access. (segments.list)
  66. *
  67. * @param array $optParams Optional parameters.
  68. *
  69. * @opt_param int max-results The maximum number of advanced segments to include in this response.
  70. * @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.
  71. * @return Google_Segments
  72. */
  73. public function listManagementSegments($optParams = array()) {
  74. $params = array();
  75. $params = array_merge($params, $optParams);
  76. $data = $this->__call('list', array($params));
  77. if ($this->useObjects()) {
  78. return new Google_Segments($data);
  79. } else {
  80. return $data;
  81. }
  82. }
  83. }
  84. /**
  85. * The "accounts" collection of methods.
  86. * Typical usage is:
  87. * <code>
  88. * $analyticsService = new Google_AnalyticsService(...);
  89. * $accounts = $analyticsService->accounts;
  90. * </code>
  91. */
  92. class Google_ManagementAccountsServiceResource extends Google_ServiceResource {
  93. /**
  94. * Lists all accounts to which the user has access. (accounts.list)
  95. *
  96. * @param array $optParams Optional parameters.
  97. *
  98. * @opt_param int max-results The maximum number of accounts to include in this response.
  99. * @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.
  100. * @return Google_Accounts
  101. */
  102. public function listManagementAccounts($optParams = array()) {
  103. $params = array();
  104. $params = array_merge($params, $optParams);
  105. $data = $this->__call('list', array($params));
  106. if ($this->useObjects()) {
  107. return new Google_Accounts($data);
  108. } else {
  109. return $data;
  110. }
  111. }
  112. }
  113. /**
  114. * The "goals" collection of methods.
  115. * Typical usage is:
  116. * <code>
  117. * $analyticsService = new Google_AnalyticsService(...);
  118. * $goals = $analyticsService->goals;
  119. * </code>
  120. */
  121. class Google_ManagementGoalsServiceResource extends Google_ServiceResource {
  122. /**
  123. * Lists goals to which the user has access. (goals.list)
  124. *
  125. * @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.
  126. * @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.
  127. * @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.
  128. * @param array $optParams Optional parameters.
  129. *
  130. * @opt_param int max-results The maximum number of goals to include in this response.
  131. * @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.
  132. * @return Google_Goals
  133. */
  134. public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) {
  135. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
  136. $params = array_merge($params, $optParams);
  137. $data = $this->__call('list', array($params));
  138. if ($this->useObjects()) {
  139. return new Google_Goals($data);
  140. } else {
  141. return $data;
  142. }
  143. }
  144. }
  145. /**
  146. * The "profiles" collection of methods.
  147. * Typical usage is:
  148. * <code>
  149. * $analyticsService = new Google_AnalyticsService(...);
  150. * $profiles = $analyticsService->profiles;
  151. * </code>
  152. */
  153. class Google_ManagementProfilesServiceResource extends Google_ServiceResource {
  154. /**
  155. * Lists profiles to which the user has access. (profiles.list)
  156. *
  157. * @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.
  158. * @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.
  159. * @param array $optParams Optional parameters.
  160. *
  161. * @opt_param int max-results The maximum number of profiles to include in this response.
  162. * @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.
  163. * @return Google_Profiles
  164. */
  165. public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) {
  166. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
  167. $params = array_merge($params, $optParams);
  168. $data = $this->__call('list', array($params));
  169. if ($this->useObjects()) {
  170. return new Google_Profiles($data);
  171. } else {
  172. return $data;
  173. }
  174. }
  175. }
  176. /**
  177. * The "data" collection of methods.
  178. * Typical usage is:
  179. * <code>
  180. * $analyticsService = new Google_AnalyticsService(...);
  181. * $data = $analyticsService->data;
  182. * </code>
  183. */
  184. class Google_DataServiceResource extends Google_ServiceResource {
  185. }
  186. /**
  187. * The "mcf" collection of methods.
  188. * Typical usage is:
  189. * <code>
  190. * $analyticsService = new Google_AnalyticsService(...);
  191. * $mcf = $analyticsService->mcf;
  192. * </code>
  193. */
  194. class Google_DataMcfServiceResource extends Google_ServiceResource {
  195. /**
  196. * Returns Analytics Multi-Channel Funnels data for a profile. (mcf.get)
  197. *
  198. * @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.
  199. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  200. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  201. * @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.
  202. * @param array $optParams Optional parameters.
  203. *
  204. * @opt_param int max-results The maximum number of entries to include in this feed.
  205. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
  206. * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
  207. * @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.
  208. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data.
  209. * @return Google_McfData
  210. */
  211. public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
  212. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  213. $params = array_merge($params, $optParams);
  214. $data = $this->__call('get', array($params));
  215. if ($this->useObjects()) {
  216. return new Google_McfData($data);
  217. } else {
  218. return $data;
  219. }
  220. }
  221. }
  222. /**
  223. * The "ga" collection of methods.
  224. * Typical usage is:
  225. * <code>
  226. * $analyticsService = new Google_AnalyticsService(...);
  227. * $ga = $analyticsService->ga;
  228. * </code>
  229. */
  230. class Google_DataGaServiceResource extends Google_ServiceResource {
  231. /**
  232. * Returns Analytics data for a profile. (ga.get)
  233. *
  234. * @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.
  235. * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
  236. * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
  237. * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
  238. * @param array $optParams Optional parameters.
  239. *
  240. * @opt_param int max-results The maximum number of entries to include in this feed.
  241. * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
  242. * @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
  243. * @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.
  244. * @opt_param string segment An Analytics advanced segment to be applied to data.
  245. * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data.
  246. * @return Google_GaData
  247. */
  248. public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
  249. $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
  250. $params = array_merge($params, $optParams);
  251. $data = $this->__call('get', array($params));
  252. if ($this->useObjects()) {
  253. return new Google_GaData($data);
  254. } else {
  255. return $data;
  256. }
  257. }
  258. }
  259. /**
  260. * Service definition for Google_Analytics (v3).
  261. *
  262. * <p>
  263. * View and manage your Google Analytics data
  264. * </p>
  265. *
  266. * <p>
  267. * For more information about this service, see the
  268. * <a href="http://code.google.com/apis/analytics" target="_blank">API Documentation</a>
  269. * </p>
  270. *
  271. * @author Google, Inc.
  272. */
  273. class Google_AnalyticsService extends Google_Service {
  274. public $management_webproperties;
  275. public $management_segments;
  276. public $management_accounts;
  277. public $management_goals;
  278. public $management_profiles;
  279. public $data_mcf;
  280. public $data_ga;
  281. /**
  282. * Constructs the internal representation of the Analytics service.
  283. *
  284. * @param Google_Client $client
  285. */
  286. public function __construct(Google_Client $client) {
  287. $this->servicePath = 'analytics/v3/';
  288. $this->version = 'v3';
  289. $this->serviceName = 'analytics';
  290. $client->addService($this->serviceName, $this->version);
  291. $this->management_webproperties = new Google_ManagementWebpropertiesServiceResource($this, $this->serviceName, 'webproperties', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.webproperties.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties", "response": {"$ref": "Webproperties"}}}}', true));
  292. $this->management_segments = new Google_ManagementSegmentsServiceResource($this, $this->serviceName, 'segments', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "Segments"}, "httpMethod": "GET", "path": "management/segments", "id": "analytics.management.segments.list"}}}', true));
  293. $this->management_accounts = new Google_ManagementAccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "Accounts"}, "httpMethod": "GET", "path": "management/accounts", "id": "analytics.management.accounts.list"}}}', true));
  294. $this->management_goals = new Google_ManagementGoalsServiceResource($this, $this->serviceName, 'goals', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "profileId": {"required": true, "type": "string", "location": "path"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.goals.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", "response": {"$ref": "Goals"}}}}', true));
  295. $this->management_profiles = new Google_ManagementProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "webPropertyId": {"required": true, "type": "string", "location": "path"}, "accountId": {"required": true, "type": "string", "location": "path"}}, "id": "analytics.management.profiles.list", "httpMethod": "GET", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", "response": {"$ref": "Profiles"}}}}', true));
  296. $this->data_mcf = new Google_DataMcfServiceResource($this, $this->serviceName, 'mcf', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "sort": {"type": "string", "location": "query"}, "dimensions": {"type": "string", "location": "query"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "ids": {"required": true, "type": "string", "location": "query"}, "metrics": {"required": true, "type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "end-date": {"required": true, "type": "string", "location": "query"}}, "id": "analytics.data.mcf.get", "httpMethod": "GET", "path": "data/mcf", "response": {"$ref": "McfData"}}}}', true));
  297. $this->data_ga = new Google_DataGaServiceResource($this, $this->serviceName, 'ga', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "parameters": {"max-results": {"type": "integer", "location": "query", "format": "int32"}, "sort": {"type": "string", "location": "query"}, "dimensions": {"type": "string", "location": "query"}, "start-date": {"required": true, "type": "string", "location": "query"}, "start-index": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "segment": {"type": "string", "location": "query"}, "ids": {"required": true, "type": "string", "location": "query"}, "metrics": {"required": true, "type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "end-date": {"required": true, "type": "string", "location": "query"}}, "id": "analytics.data.ga.get", "httpMethod": "GET", "path": "data/ga", "response": {"$ref": "GaData"}}}}', true));
  298. }
  299. }
  300. class Google_Account extends Google_Model {
  301. public $kind;
  302. public $name;
  303. public $created;
  304. public $updated;
  305. protected $__childLinkType = 'Google_AccountChildLink';
  306. protected $__childLinkDataType = '';
  307. public $childLink;
  308. public $id;
  309. public $selfLink;
  310. public function setKind($kind) {
  311. $this->kind = $kind;
  312. }
  313. public function getKind() {
  314. return $this->kind;
  315. }
  316. public function setName($name) {
  317. $this->name = $name;
  318. }
  319. public function getName() {
  320. return $this->name;
  321. }
  322. public function setCreated($created) {
  323. $this->created = $created;
  324. }
  325. public function getCreated() {
  326. return $this->created;
  327. }
  328. public function setUpdated($updated) {
  329. $this->updated = $updated;
  330. }
  331. public function getUpdated() {
  332. return $this->updated;
  333. }
  334. public function setChildLink(Google_AccountChildLink $childLink) {
  335. $this->childLink = $childLink;
  336. }
  337. public function getChildLink() {
  338. return $this->childLink;
  339. }
  340. public function setId($id) {
  341. $this->id = $id;
  342. }
  343. public function getId() {
  344. return $this->id;
  345. }
  346. public function setSelfLink($selfLink) {
  347. $this->selfLink = $selfLink;
  348. }
  349. public function getSelfLink() {
  350. return $this->selfLink;
  351. }
  352. }
  353. class Google_AccountChildLink extends Google_Model {
  354. public $href;
  355. public $type;
  356. public function setHref($href) {
  357. $this->href = $href;
  358. }
  359. public function getHref() {
  360. return $this->href;
  361. }
  362. public function setType($type) {
  363. $this->type = $type;
  364. }
  365. public function getType() {
  366. return $this->type;
  367. }
  368. }
  369. class Google_Accounts extends Google_Model {
  370. public $username;
  371. public $kind;
  372. protected $__itemsType = 'Google_Account';
  373. protected $__itemsDataType = 'array';
  374. public $items;
  375. public $itemsPerPage;
  376. public $previousLink;
  377. public $startIndex;
  378. public $nextLink;
  379. public $totalResults;
  380. public function setUsername($username) {
  381. $this->username = $username;
  382. }
  383. public function getUsername() {
  384. return $this->username;
  385. }
  386. public function setKind($kind) {
  387. $this->kind = $kind;
  388. }
  389. public function getKind() {
  390. return $this->kind;
  391. }
  392. public function setItems(/* array(Google_Account) */ $items) {
  393. $this->assertIsArray($items, 'Google_Account', __METHOD__);
  394. $this->items = $items;
  395. }
  396. public function getItems() {
  397. return $this->items;
  398. }
  399. public function setItemsPerPage($itemsPerPage) {
  400. $this->itemsPerPage = $itemsPerPage;
  401. }
  402. public function getItemsPerPage() {
  403. return $this->itemsPerPage;
  404. }
  405. public function setPreviousLink($previousLink) {
  406. $this->previousLink = $previousLink;
  407. }
  408. public function getPreviousLink() {
  409. return $this->previousLink;
  410. }
  411. public function setStartIndex($startIndex) {
  412. $this->startIndex = $startIndex;
  413. }
  414. public function getStartIndex() {
  415. return $this->startIndex;
  416. }
  417. public function setNextLink($nextLink) {
  418. $this->nextLink = $nextLink;
  419. }
  420. public function getNextLink() {
  421. return $this->nextLink;
  422. }
  423. public function setTotalResults($totalResults) {
  424. $this->totalResults = $totalResults;
  425. }
  426. public function getTotalResults() {
  427. return $this->totalResults;
  428. }
  429. }
  430. class Google_GaData extends Google_Model {
  431. public $kind;
  432. public $rows;
  433. public $containsSampledData;
  434. public $totalResults;
  435. public $itemsPerPage;
  436. public $totalsForAllResults;
  437. public $nextLink;
  438. public $id;
  439. protected $__queryType = 'Google_GaDataQuery';
  440. protected $__queryDataType = '';
  441. public $query;
  442. public $previousLink;
  443. protected $__profileInfoType = 'Google_GaDataProfileInfo';
  444. protected $__profileInfoDataType = '';
  445. public $profileInfo;
  446. protected $__columnHeadersType = 'Google_GaDataColumnHeaders';
  447. protected $__columnHeadersDataType = 'array';
  448. public $columnHeaders;
  449. public $selfLink;
  450. public function setKind($kind) {
  451. $this->kind = $kind;
  452. }
  453. public function getKind() {
  454. return $this->kind;
  455. }
  456. public function setRows(/* array(Google_string) */ $rows) {
  457. $this->assertIsArray($rows, 'Google_string', __METHOD__);
  458. $this->rows = $rows;
  459. }
  460. public function getRows() {
  461. return $this->rows;
  462. }
  463. public function setContainsSampledData($containsSampledData) {
  464. $this->containsSampledData = $containsSampledData;
  465. }
  466. public function getContainsSampledData() {
  467. return $this->containsSampledData;
  468. }
  469. public function setTotalResults($totalResults) {
  470. $this->totalResults = $totalResults;
  471. }
  472. public function getTotalResults() {
  473. return $this->totalResults;
  474. }
  475. public function setItemsPerPage($itemsPerPage) {
  476. $this->itemsPerPage = $itemsPerPage;
  477. }
  478. public function getItemsPerPage() {
  479. return $this->itemsPerPage;
  480. }
  481. public function setTotalsForAllResults($totalsForAllResults) {
  482. $this->totalsForAllResults = $totalsForAllResults;
  483. }
  484. public function getTotalsForAllResults() {
  485. return $this->totalsForAllResults;
  486. }
  487. public function setNextLink($nextLink) {
  488. $this->nextLink = $nextLink;
  489. }
  490. public function getNextLink() {
  491. return $this->nextLink;
  492. }
  493. public function setId($id) {
  494. $this->id = $id;
  495. }
  496. public function getId() {
  497. return $this->id;
  498. }
  499. public function setQuery(Google_GaDataQuery $query) {
  500. $this->query = $query;
  501. }
  502. public function getQuery() {
  503. return $this->query;
  504. }
  505. public function setPreviousLink($previousLink) {
  506. $this->previousLink = $previousLink;
  507. }
  508. public function getPreviousLink() {
  509. return $this->previousLink;
  510. }
  511. public function setProfileInfo(Google_GaDataProfileInfo $profileInfo) {
  512. $this->profileInfo = $profileInfo;
  513. }
  514. public function getProfileInfo() {
  515. return $this->profileInfo;
  516. }
  517. public function setColumnHeaders(/* array(Google_GaDataColumnHeaders) */ $columnHeaders) {
  518. $this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__);
  519. $this->columnHeaders = $columnHeaders;
  520. }
  521. public function getColumnHeaders() {
  522. return $this->columnHeaders;
  523. }
  524. public function setSelfLink($selfLink) {
  525. $this->selfLink = $selfLink;
  526. }
  527. public function getSelfLink() {
  528. return $this->selfLink;
  529. }
  530. }
  531. class Google_GaDataColumnHeaders extends Google_Model {
  532. public $dataType;
  533. public $columnType;
  534. public $name;
  535. public function setDataType($dataType) {
  536. $this->dataType = $dataType;
  537. }
  538. public function getDataType() {
  539. return $this->dataType;
  540. }
  541. public function setColumnType($columnType) {
  542. $this->columnType = $columnType;
  543. }
  544. public function getColumnType() {
  545. return $this->columnType;
  546. }
  547. public function setName($name) {
  548. $this->name = $name;
  549. }
  550. public function getName() {
  551. return $this->name;
  552. }
  553. }
  554. class Google_GaDataProfileInfo extends Google_Model {
  555. public $webPropertyId;
  556. public $internalWebPropertyId;
  557. public $tableId;
  558. public $profileId;
  559. public $profileName;
  560. public $accountId;
  561. public function setWebPropertyId($webPropertyId) {
  562. $this->webPropertyId = $webPropertyId;
  563. }
  564. public function getWebPropertyId() {
  565. return $this->webPropertyId;
  566. }
  567. public function setInternalWebPropertyId($internalWebPropertyId) {
  568. $this->internalWebPropertyId = $internalWebPropertyId;
  569. }
  570. public function getInternalWebPropertyId() {
  571. return $this->internalWebPropertyId;
  572. }
  573. public function setTableId($tableId) {
  574. $this->tableId = $tableId;
  575. }
  576. public function getTableId() {
  577. return $this->tableId;
  578. }
  579. public function setProfileId($profileId) {
  580. $this->profileId = $profileId;
  581. }
  582. public function getProfileId() {
  583. return $this->profileId;
  584. }
  585. public function setProfileName($profileName) {
  586. $this->profileName = $profileName;
  587. }
  588. public function getProfileName() {
  589. return $this->profileName;
  590. }
  591. public function setAccountId($accountId) {
  592. $this->accountId = $accountId;
  593. }
  594. public function getAccountId() {
  595. return $this->accountId;
  596. }
  597. }
  598. class Google_GaDataQuery extends Google_Model {
  599. public $max_results;
  600. public $sort;
  601. public $dimensions;
  602. public $start_date;
  603. public $start_index;
  604. public $segment;
  605. public $ids;
  606. public $metrics;
  607. public $filters;
  608. public $end_date;
  609. public function setMax_results($max_results) {
  610. $this->max_results = $max_results;
  611. }
  612. public function getMax_results() {
  613. return $this->max_results;
  614. }
  615. public function setSort(/* array(Google_string) */ $sort) {
  616. $this->assertIsArray($sort, 'Google_string', __METHOD__);
  617. $this->sort = $sort;
  618. }
  619. public function getSort() {
  620. return $this->sort;
  621. }
  622. public function setDimensions($dimensions) {
  623. $this->dimensions = $dimensions;
  624. }
  625. public function getDimensions() {
  626. return $this->dimensions;
  627. }
  628. public function setStart_date($start_date) {
  629. $this->start_date = $start_date;
  630. }
  631. public function getStart_date() {
  632. return $this->start_date;
  633. }
  634. public function setStart_index($start_index) {
  635. $this->start_index = $start_index;
  636. }
  637. public function getStart_index() {
  638. return $this->start_index;
  639. }
  640. public function setSegment($segment) {
  641. $this->segment = $segment;
  642. }
  643. public function getSegment() {
  644. return $this->segment;
  645. }
  646. public function setIds($ids) {
  647. $this->ids = $ids;
  648. }
  649. public function getIds() {
  650. return $this->ids;
  651. }
  652. public function setMetrics(/* array(Google_string) */ $metrics) {
  653. $this->assertIsArray($metrics, 'Google_string', __METHOD__);
  654. $this->metrics = $metrics;
  655. }
  656. public function getMetrics() {
  657. return $this->metrics;
  658. }
  659. public function setFilters($filters) {
  660. $this->filters = $filters;
  661. }
  662. public function getFilters() {
  663. return $this->filters;
  664. }
  665. public function setEnd_date($end_date) {
  666. $this->end_date = $end_date;
  667. }
  668. public function getEnd_date() {
  669. return $this->end_date;
  670. }
  671. }
  672. class Google_Goal extends Google_Model {
  673. public $kind;
  674. protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails';
  675. protected $__visitTimeOnSiteDetailsDataType = '';
  676. public $visitTimeOnSiteDetails;
  677. public $name;
  678. public $created;
  679. protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails';
  680. protected $__urlDestinationDetailsDataType = '';
  681. public $urlDestinationDetails;
  682. public $updated;
  683. public $value;
  684. protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails';
  685. protected $__visitNumPagesDetailsDataType = '';
  686. public $visitNumPagesDetails;
  687. public $internalWebPropertyId;
  688. protected $__eventDetailsType = 'Google_GoalEventDetails';
  689. protected $__eventDetailsDataType = '';
  690. public $eventDetails;
  691. public $webPropertyId;
  692. public $active;
  693. public $profileId;
  694. protected $__parentLinkType = 'Google_GoalParentLink';
  695. protected $__parentLinkDataType = '';
  696. public $parentLink;
  697. public $type;
  698. public $id;
  699. public $selfLink;
  700. public $accountId;
  701. public function setKind($kind) {
  702. $this->kind = $kind;
  703. }
  704. public function getKind() {
  705. return $this->kind;
  706. }
  707. public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) {
  708. $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
  709. }
  710. public function getVisitTimeOnSiteDetails() {
  711. return $this->visitTimeOnSiteDetails;
  712. }
  713. public function setName($name) {
  714. $this->name = $name;
  715. }
  716. public function getName() {
  717. return $this->name;
  718. }
  719. public function setCreated($created) {
  720. $this->created = $created;
  721. }
  722. public function getCreated() {
  723. return $this->created;
  724. }
  725. public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails) {
  726. $this->urlDestinationDetails = $urlDestinationDetails;
  727. }
  728. public function getUrlDestinationDetails() {
  729. return $this->urlDestinationDetails;
  730. }
  731. public function setUpdated($updated) {
  732. $this->updated = $updated;
  733. }
  734. public function getUpdated() {
  735. return $this->updated;
  736. }
  737. public function setValue($value) {
  738. $this->value = $value;
  739. }
  740. public function getValue() {
  741. return $this->value;
  742. }
  743. public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails) {
  744. $this->visitNumPagesDetails = $visitNumPagesDetails;
  745. }
  746. public function getVisitNumPagesDetails() {
  747. return $this->visitNumPagesDetails;
  748. }
  749. public function setInternalWebPropertyId($internalWebPropertyId) {
  750. $this->internalWebPropertyId = $internalWebPropertyId;
  751. }
  752. public function getInternalWebPropertyId() {
  753. return $this->internalWebPropertyId;
  754. }
  755. public function setEventDetails(Google_GoalEventDetails $eventDetails) {
  756. $this->eventDetails = $eventDetails;
  757. }
  758. public function getEventDetails() {
  759. return $this->eventDetails;
  760. }
  761. public function setWebPropertyId($webPropertyId) {
  762. $this->webPropertyId = $webPropertyId;
  763. }
  764. public function getWebPropertyId() {
  765. return $this->webPropertyId;
  766. }
  767. public function setActive($active) {
  768. $this->active = $active;
  769. }
  770. public function getActive() {
  771. return $this->active;
  772. }
  773. public function setProfileId($profileId) {
  774. $this->profileId = $profileId;
  775. }
  776. public function getProfileId() {
  777. return $this->profileId;
  778. }
  779. public function setParentLink(Google_GoalParentLink $parentLink) {
  780. $this->parentLink = $parentLink;
  781. }
  782. public function getParentLink() {
  783. return $this->parentLink;
  784. }
  785. public function setType($type) {
  786. $this->type = $type;
  787. }
  788. public function getType() {
  789. return $this->type;
  790. }
  791. public function setId($id) {
  792. $this->id = $id;
  793. }
  794. public function getId() {
  795. return $this->id;
  796. }
  797. public function setSelfLink($selfLink) {
  798. $this->selfLink = $selfLink;
  799. }
  800. public function getSelfLink() {
  801. return $this->selfLink;
  802. }
  803. public function setAccountId($accountId) {
  804. $this->accountId = $accountId;
  805. }
  806. public function getAccountId() {
  807. return $this->accountId;
  808. }
  809. }
  810. class Google_GoalEventDetails extends Google_Model {
  811. protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions';
  812. protected $__eventConditionsDataType = 'array';
  813. public $eventConditions;
  814. public $useEventValue;
  815. public function setEventConditions(/* array(Google_GoalEventDetailsEventConditions) */ $eventConditions) {
  816. $this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__);
  817. $this->eventConditions = $eventConditions;
  818. }
  819. public function getEventConditions() {
  820. return $this->eventConditions;
  821. }
  822. public function setUseEventValue($useEventValue) {
  823. $this->useEventValue = $useEventValue;
  824. }
  825. public function getUseEventValue() {
  826. return $this->useEventValue;
  827. }
  828. }
  829. class Google_GoalEventDetailsEventConditions extends Google_Model {
  830. public $type;
  831. public $matchType;
  832. public $expression;
  833. public $comparisonType;
  834. public $comparisonValue;
  835. public function setType($type) {
  836. $this->type = $type;
  837. }
  838. public function getType() {
  839. return $this->type;
  840. }
  841. public function setMatchType($matchType) {
  842. $this->matchType = $matchType;
  843. }
  844. public function getMatchType() {
  845. return $this->matchType;
  846. }
  847. public function setExpression($expression) {
  848. $this->expression = $expression;
  849. }
  850. public function getExpression() {
  851. return $this->expression;
  852. }
  853. public function setComparisonType($comparisonType) {
  854. $this->comparisonType = $comparisonType;
  855. }
  856. public function getComparisonType() {
  857. return $this->comparisonType;
  858. }
  859. public function setComparisonValue($comparisonValue) {
  860. $this->comparisonValue = $comparisonValue;
  861. }
  862. public function getComparisonValue() {
  863. return $this->comparisonValue;
  864. }
  865. }
  866. class Google_GoalParentLink extends Google_Model {
  867. public $href;
  868. public $type;
  869. public function setHref($href) {
  870. $this->href = $href;
  871. }
  872. public function getHref() {
  873. return $this->href;
  874. }
  875. public function setType($type) {
  876. $this->type = $type;
  877. }
  878. public function getType() {
  879. return $this->type;
  880. }
  881. }
  882. class Google_GoalUrlDestinationDetails extends Google_Model {
  883. public $url;
  884. public $caseSensitive;
  885. public $matchType;
  886. protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps';
  887. protected $__stepsDataType = 'array';
  888. public $steps;
  889. public $firstStepRequired;
  890. public function setUrl($url) {
  891. $this->url = $url;
  892. }
  893. public function getUrl() {
  894. return $this->url;
  895. }
  896. public function setCaseSensitive($caseSensitive) {
  897. $this->caseSensitive = $caseSensitive;
  898. }
  899. public function getCaseSensitive() {
  900. return $this->caseSensitive;
  901. }
  902. public function setMatchType($matchType) {
  903. $this->matchType = $matchType;
  904. }
  905. public function getMatchType() {
  906. return $this->matchType;
  907. }
  908. public function setSteps(/* array(Google_GoalUrlDestinationDetailsSteps) */ $steps) {
  909. $this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__);
  910. $this->steps = $steps;
  911. }
  912. public function getSteps() {
  913. return $this->steps;
  914. }
  915. public function setFirstStepRequired($firstStepRequired) {
  916. $this->firstStepRequired = $firstStepRequired;
  917. }
  918. public function getFirstStepRequired() {
  919. return $this->firstStepRequired;
  920. }
  921. }
  922. class Google_GoalUrlDestinationDetailsSteps extends Google_Model {
  923. public $url;
  924. public $name;
  925. public $number;
  926. public function setUrl($url) {
  927. $this->url = $url;
  928. }
  929. public function getUrl() {
  930. return $this->url;
  931. }
  932. public function setName($name) {
  933. $this->name = $name;
  934. }
  935. public function getName() {
  936. return $this->name;
  937. }
  938. public function setNumber($number) {
  939. $this->number = $number;
  940. }
  941. public function getNumber() {
  942. return $this->number;
  943. }
  944. }
  945. class Google_GoalVisitNumPagesDetails extends Google_Model {
  946. public $comparisonType;
  947. public $comparisonValue;
  948. public function setComparisonType($comparisonType) {
  949. $this->comparisonType = $comparisonType;
  950. }
  951. public function getComparisonType() {
  952. return $this->comparisonType;
  953. }
  954. public function setComparisonValue($comparisonValue) {
  955. $this->comparisonValue = $comparisonValue;
  956. }
  957. public function getComparisonValue() {
  958. return $this->comparisonValue;
  959. }
  960. }
  961. class Google_GoalVisitTimeOnSiteDetails extends Google_Model {
  962. public $comparisonType;
  963. public $comparisonValue;
  964. public function setComparisonType($comparisonType) {
  965. $this->comparisonType = $comparisonType;
  966. }
  967. public function getComparisonType() {
  968. return $this->comparisonType;
  969. }
  970. public function setComparisonValue($comparisonValue) {
  971. $this->comparisonValue = $comparisonValue;
  972. }
  973. public function getComparisonValue() {
  974. return $this->comparisonValue;
  975. }
  976. }
  977. class Google_Goals extends Google_Model {
  978. public $username;
  979. public $kind;
  980. protected $__itemsType = 'Google_Goal';
  981. protected $__itemsDataType = 'array';
  982. public $items;
  983. public $itemsPerPage;
  984. public $previousLink;
  985. public $startIndex;
  986. public $nextLink;
  987. public $totalResults;
  988. public function setUsername($username) {
  989. $this->username = $username;
  990. }
  991. public function getUsername() {
  992. return $this->username;
  993. }
  994. public function setKind($kind) {
  995. $this->kind = $kind;
  996. }
  997. public function getKind() {
  998. return $this->kind;
  999. }
  1000. public function setItems(/* array(Google_Goal) */ $items) {
  1001. $this->assertIsArray($items, 'Google_Goal', __METHOD__);
  1002. $this->items = $items;
  1003. }
  1004. public function getItems() {
  1005. return $this->items;
  1006. }
  1007. public function setItemsPerPage($itemsPerPage) {
  1008. $this->itemsPerPage = $itemsPerPage;
  1009. }
  1010. public function getItemsPerPage() {
  1011. return $this->itemsPerPage;
  1012. }
  1013. public function setPreviousLink($previousLink) {
  1014. $this->previousLink = $previousLink;
  1015. }
  1016. public function getPreviousLink() {
  1017. return $this->previousLink;
  1018. }
  1019. public function setStartIndex($startIndex) {
  1020. $this->startIndex = $startIndex;
  1021. }
  1022. public function getStartIndex() {
  1023. return $this->startIndex;
  1024. }
  1025. public function setNextLink($nextLink) {
  1026. $this->nextLink = $nextLink;
  1027. }
  1028. public function getNextLink() {
  1029. return $this->nextLink;
  1030. }
  1031. public function setTotalResults($totalResults) {
  1032. $this->totalResults = $totalResults;
  1033. }
  1034. public function getTotalResults() {
  1035. return $this->totalResults;
  1036. }
  1037. }
  1038. class Google_McfData extends Google_Model {
  1039. public $kind;
  1040. protected $__rowsType = 'Google_McfDataRows';
  1041. protected $__rowsDataType = 'array';
  1042. public $rows;
  1043. public $containsSampledData;
  1044. public $totalResults;
  1045. public $itemsPerPage;
  1046. public $totalsForAllResults;
  1047. public $nextLink;
  1048. public $id;
  1049. protected $__queryType = 'Google_McfDataQuery';
  1050. protected $__queryDataType = '';
  1051. public $query;
  1052. public $previousLink;
  1053. protected $__profileInfoType = 'Google_McfDataProfileInfo';
  1054. protected $__profileInfoDataType = '';
  1055. public $profileInfo;
  1056. protected $__columnHeadersType = 'Google_McfDataColumnHeaders';
  1057. protected $__columnHeadersDataType = 'array';
  1058. public $columnHeaders;
  1059. public $selfLink;
  1060. public function setKind($kind) {
  1061. $this->kind = $kind;
  1062. }
  1063. public function getKind() {
  1064. return $this->kind;
  1065. }
  1066. public function setRows(/* array(Google_McfDataRows) */ $rows) {
  1067. $this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__);
  1068. $this->rows = $rows;
  1069. }
  1070. public function getRows() {
  1071. return $this->rows;
  1072. }
  1073. public function setContainsSampledData($containsSampledData) {
  1074. $this->containsSampledData = $containsSampledData;
  1075. }
  1076. public function getContainsSampledData() {
  1077. return $this->containsSampledData;
  1078. }
  1079. public function setTotalResults($totalResults) {
  1080. $this->totalResults = $totalResults;
  1081. }
  1082. public function getTotalResults() {
  1083. return $this->totalResults;
  1084. }
  1085. public function setItemsPerPage($itemsPerPage) {
  1086. $this->itemsPerPage = $itemsPerPage;
  1087. }
  1088. public function getItemsPerPage() {
  1089. return $this->itemsPerPage;
  1090. }
  1091. public function setTotalsForAllResults($totalsForAllResults) {
  1092. $this->totalsForAllResults = $totalsForAllResults;
  1093. }
  1094. public function getTotalsForAllResults() {
  1095. return $this->totalsForAllResults;
  1096. }
  1097. public function setNextLink($nextLink) {
  1098. $this->nextLink = $nextLink;
  1099. }
  1100. public function getNextLink() {
  1101. return $this->nextLink;
  1102. }
  1103. public function setId($id) {
  1104. $this->id = $id;
  1105. }
  1106. public function getId() {
  1107. return $this->id;
  1108. }
  1109. public function setQuery(Google_McfDataQuery $query) {
  1110. $this->query = $query;
  1111. }
  1112. public function getQuery() {
  1113. return $this->query;
  1114. }
  1115. public function setPreviousLink($previousLink) {
  1116. $this->previousLink = $previousLink;
  1117. }
  1118. public function getPreviousLink() {
  1119. return $this->previousLink;
  1120. }
  1121. public function setProfileInfo(Google_McfDataProfileInfo $profileInfo) {
  1122. $this->profileInfo = $profileInfo;
  1123. }
  1124. public function getProfileInfo() {
  1125. return $this->profileInfo;
  1126. }
  1127. public function setColumnHeaders(/* array(Google_McfDataColumnHeaders) */ $columnHeaders) {
  1128. $this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__);
  1129. $this->columnHeaders = $columnHeaders;
  1130. }
  1131. public function getColumnHeaders() {
  1132. return $this->columnHeaders;
  1133. }
  1134. public function setSelfLink($selfLink) {
  1135. $this->selfLink = $selfLink;
  1136. }
  1137. public function getSelfLink() {
  1138. return $this->selfLink;
  1139. }
  1140. }
  1141. class Google_McfDataColumnHeaders extends Google_Model {
  1142. public $dataType;
  1143. public $columnType;
  1144. public $name;
  1145. public function setDataType($dataType) {
  1146. $this->dataType = $dataType;
  1147. }
  1148. public function getDataType() {
  1149. return $this->dataType;
  1150. }
  1151. public function setColumnType($columnType) {
  1152. $this->columnType = $columnType;
  1153. }
  1154. public function getColumnType() {
  1155. return $this->columnType;
  1156. }
  1157. public function setName($name) {
  1158. $this->name = $name;
  1159. }
  1160. public function getName() {
  1161. return $this->name;
  1162. }
  1163. }
  1164. class Google_McfDataProfileInfo extends Google_Model {
  1165. public $webPropertyId;
  1166. public $internalWebPropertyId;
  1167. public $tableId;
  1168. public $profileId;
  1169. public $profileName;
  1170. public $accountId;
  1171. public function setWebPropertyId($webPropertyId) {
  1172. $this->webPropertyId = $webPropertyId;
  1173. }
  1174. public function getWebPropertyId() {
  1175. return $this->webPropertyId;
  1176. }
  1177. public function setInternalWebPropertyId($internalWebPropertyId) {
  1178. $this->internalWebPropertyId = $internalWebPropertyId;
  1179. }
  1180. public function getInternalWebPropertyId() {
  1181. return $this->internalWebPropertyId;
  1182. }
  1183. public function setTableId($tableId) {
  1184. $this->tableId = $tableId;
  1185. }
  1186. public function getTableId() {
  1187. return $this->tableId;
  1188. }
  1189. public function setProfileId($profileId) {
  1190. $this->profileId = $profileId;
  1191. }
  1192. public function getProfileId() {
  1193. return $this->profileId;
  1194. }
  1195. public function setProfileName($profileName) {
  1196. $this->profileName = $profileName;
  1197. }
  1198. public function getProfileName() {
  1199. return $this->profileName;
  1200. }
  1201. public function setAccountId($accountId) {
  1202. $this->accountId = $accountId;
  1203. }
  1204. public function getAccountId() {
  1205. return $this->accountId;
  1206. }
  1207. }
  1208. class Google_McfDataQuery extends Google_Model {
  1209. public $max_results;
  1210. public $sort;
  1211. public $dimensions;
  1212. public $start_date;
  1213. public $start_index;
  1214. public $segment;
  1215. public $ids;
  1216. public $metrics;
  1217. public $filters;
  1218. public $end_date;
  1219. public function setMax_results($max_results) {
  1220. $this->max_results = $max_results;
  1221. }
  1222. public function getMax_results() {
  1223. return $this->max_results;
  1224. }
  1225. public function setSort(/* array(Google_string) */ $sort) {
  1226. $this->assertIsArray($sort, 'Google_string', __METHOD__);
  1227. $this->sort = $sort;
  1228. }
  1229. public function getSort() {
  1230. return $this->sort;
  1231. }
  1232. public function setDimensions($dimensions) {
  1233. $this->dimensions = $dimensions;
  1234. }
  1235. public function getDimensions() {
  1236. return $this->dimensions;
  1237. }
  1238. public function setStart_date($start_date) {
  1239. $this->start_date = $start_date;
  1240. }
  1241. public function getStart_date() {
  1242. return $this->start_date;
  1243. }
  1244. public function setStart_index($start_index) {
  1245. $this->start_index = $start_index;
  1246. }
  1247. public function getStart_index() {
  1248. return $this->start_index;
  1249. }
  1250. public function setSegment($segment) {
  1251. $this->segment = $segment;
  1252. }
  1253. public function getSegment() {
  1254. return $this->segment;
  1255. }
  1256. public function setIds($ids) {
  1257. $this->ids = $ids;
  1258. }
  1259. public function getIds() {
  1260. return $this->ids;
  1261. }
  1262. public function setMetrics(/* array(Google_string) */ $metrics) {
  1263. $this->assertIsArray($metrics, 'Google_string', __METHOD__);
  1264. $this->metrics = $metrics;
  1265. }
  1266. public function getMetrics() {
  1267. return $this->metrics;
  1268. }
  1269. public function setFilters($filters) {
  1270. $this->filters = $filters;
  1271. }
  1272. public function getFilters() {
  1273. return $this->filters;
  1274. }
  1275. public function setEnd_date($end_date) {
  1276. $this->end_date = $end_date;
  1277. }
  1278. public function getEnd_date() {
  1279. return $this->end_date;
  1280. }
  1281. }
  1282. class Google_McfDataRows extends Google_Model {
  1283. public $primitiveValue;
  1284. protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue';
  1285. protected $__conversionPathValueDataType = 'array';
  1286. public $conversionPathValue;
  1287. public function setPrimitiveValue($primitiveValue) {
  1288. $this->primitiveValue = $primitiveValue;
  1289. }
  1290. public function getPrimitiveValue() {
  1291. return $this->primitiveValue;
  1292. }
  1293. public function setConversionPathValue(/* array(Google_McfDataRowsConversionPathValue) */ $conversionPathValue) {
  1294. $this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__);
  1295. $this->conversionPathValue = $conversionPathValue;
  1296. }
  1297. public function getConversionPathValue() {
  1298. return $this->conversionPathValue;
  1299. }
  1300. }
  1301. class Google_McfDataRowsConversionPathValue extends Google_Model {
  1302. public $nodeValue;
  1303. public $interactionType;
  1304. public function setNodeValue($nodeValue) {
  1305. $this->nodeValue = $nodeValue;
  1306. }
  1307. public function getNodeValue() {
  1308. return $this->nodeValue;
  1309. }
  1310. public function setInteractionType($interactionType) {
  1311. $this->interactionType = $interactionType;
  1312. }
  1313. public function getInteractionType() {
  1314. return $this->interactionType;
  1315. }
  1316. }
  1317. class Google_Profile extends Google_Model {
  1318. public $defaultPage;
  1319. public $kind;
  1320. public $excludeQueryParameters;
  1321. public $name;
  1322. public $created;
  1323. public $webPropertyId;
  1324. public $updated;
  1325. public $siteSearchQueryParameters;
  1326. public $currency;
  1327. public $internalWebPropertyId;
  1328. protected $__childLinkType = 'Google_ProfileChildLink';
  1329. protected $__childLinkDataType = '';
  1330. public $childLink;
  1331. public $timezone;
  1332. public $siteSearchCategoryParameters;
  1333. protected $__parentLinkType = 'Google_ProfileParentLink';
  1334. protected $__parentLinkDataType = '';
  1335. public $parentLink;
  1336. public $id;
  1337. public $selfLink;
  1338. public $accountId;
  1339. public function setDefaultPage($defaultPage) {
  1340. $this->defaultPage = $defaultPage;
  1341. }
  1342. public function getDefaultPage() {
  1343. return $this->defaultPage;
  1344. }
  1345. public function setKind($kind) {
  1346. $this->kind = $kind;
  1347. }
  1348. public function getKind() {
  1349. return $this->kind;
  1350. }
  1351. public function setExcludeQueryParameters($excludeQueryParameters) {
  1352. $this->excludeQueryParameters = $excludeQueryParameters;
  1353. }
  1354. public function getExcludeQueryParameters() {
  1355. return $this->excludeQueryParameters;
  1356. }
  1357. public function setName($name) {
  1358. $this->name = $name;
  1359. }
  1360. public function getName() {
  1361. return $this->name;
  1362. }
  1363. public function setCreated($created) {
  1364. $this->created = $created;
  1365. }
  1366. public function getCreated() {
  1367. return $this->created;
  1368. }
  1369. public function setWebPropertyId($webPropertyId) {
  1370. $this->webPropertyId = $webPropertyId;
  1371. }
  1372. public function getWebPropertyId() {
  1373. return $this->webPropertyId;
  1374. }
  1375. public function setUpdated($updated) {
  1376. $this->updated = $updated;
  1377. }
  1378. public function getUpdated() {
  1379. return $this->updated;
  1380. }
  1381. public function setSiteSearchQueryParameters($siteSearchQueryParameters) {
  1382. $this->siteSearchQueryParameters = $siteSearchQueryParameters;
  1383. }
  1384. public function getSiteSearchQueryParameters() {
  1385. return $this->siteSearchQueryParameters;
  1386. }
  1387. public function setCurrency($currency) {
  1388. $this->currency = $currency;
  1389. }
  1390. public function getCurrency() {
  1391. return $this->currency;
  1392. }
  1393. public function setInternalWebPropertyId($internalWebPropertyId) {
  1394. $this->internalWebPropertyId = $internalWebPropertyId;
  1395. }
  1396. public function getInternalWebPropertyId() {
  1397. return $this->internalWebPropertyId;
  1398. }
  1399. public function setChildLink(Google_ProfileChildLink $childLink) {
  1400. $this->childLink = $childLink;
  1401. }
  1402. public function getChildLink() {
  1403. return $this->childLink;
  1404. }
  1405. public function setTimezone($timezone) {
  1406. $this->timezone = $timezone;
  1407. }
  1408. public function getTimezone() {
  1409. return $this->timezone;
  1410. }
  1411. public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) {
  1412. $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
  1413. }
  1414. public function getSiteSearchCategoryParameters() {
  1415. return $this->siteSearchCategoryParameters;
  1416. }
  1417. public function setParentLink(Google_ProfileParentLink $parentLink) {
  1418. $this->parentLink = $parentLink;
  1419. }
  1420. public function getParentLink() {
  1421. return $this->parentLink;
  1422. }
  1423. public function setId($id) {
  1424. $this->id = $id;
  1425. }
  1426. public function getId() {
  1427. return $this->id;
  1428. }
  1429. public function setSelfLink($selfLink) {
  1430. $this->selfLink = $selfLink;
  1431. }
  1432. public function getSelfLink() {
  1433. return $this->selfLink;
  1434. }
  1435. public function setAccountId($accountId) {
  1436. $this->accountId = $accountId;
  1437. }
  1438. public function getAccountId() {
  1439. return $this->accountId;
  1440. }
  1441. }
  1442. class Google_ProfileChildLink extends Google_Model {
  1443. public $href;
  1444. public $type;
  1445. public function setHref($href) {
  1446. $this->href = $href;
  1447. }
  1448. public function getHref() {
  1449. return $this->href;
  1450. }
  1451. public function setType($type) {
  1452. $t

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