/includes/api-libs/Google/Service/Analytics.php

  1. <?php 
  2. /** 
  3. * Copyright 2010 Google Inc. 
  4. * 
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
  6. * use this file except in compliance with the License. You may obtain a copy of 
  7. * the License at 
  8. * 
  9. * http://www.apache.org/licenses/LICENSE-2.0 
  10. * 
  11. * Unless required by applicable law or agreed to in writing, software 
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
  14. * License for the specific language governing permissions and limitations under 
  15. * the License. 
  16. */ 
  17.  
  18. /** 
  19. * Service definition for Analytics (v3). 
  20. * 
  21. * <p> 
  22. * View and manage your Google Analytics data</p> 
  23. * 
  24. * <p> 
  25. * For more information about this service, see the API 
  26. * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a> 
  27. * </p> 
  28. * 
  29. * @author Google, Inc. 
  30. */ 
  31. class Google_Service_Analytics extends Google_Service 
  32. /** View and manage your Google Analytics data. */ 
  33. const ANALYTICS = 
  34. "https://www.googleapis.com/auth/analytics"; 
  35. /** Edit Google Analytics management entities. */ 
  36. const ANALYTICS_EDIT = 
  37. "https://www.googleapis.com/auth/analytics.edit"; 
  38. /** Manage Google Analytics Account users by email address. */ 
  39. const ANALYTICS_MANAGE_USERS = 
  40. "https://www.googleapis.com/auth/analytics.manage.users"; 
  41. /** View Google Analytics user permissions. */ 
  42. const ANALYTICS_MANAGE_USERS_READONLY = 
  43. "https://www.googleapis.com/auth/analytics.manage.users.readonly"; 
  44. /** Create a new Google Analytics account along with its default property and view. */ 
  45. const ANALYTICS_PROVISION = 
  46. "https://www.googleapis.com/auth/analytics.provision"; 
  47. /** View your Google Analytics data. */ 
  48. const ANALYTICS_READONLY = 
  49. "https://www.googleapis.com/auth/analytics.readonly"; 
  50.  
  51. public $data_ga; 
  52. public $data_mcf; 
  53. public $data_realtime; 
  54. public $management_accountSummaries; 
  55. public $management_accountUserLinks; 
  56. public $management_accounts; 
  57. public $management_customDataSources; 
  58. public $management_customDimensions; 
  59. public $management_customMetrics; 
  60. public $management_dailyUploads; 
  61. public $management_experiments; 
  62. public $management_filters; 
  63. public $management_goals; 
  64. public $management_profileFilterLinks; 
  65. public $management_profileUserLinks; 
  66. public $management_profiles; 
  67. public $management_segments; 
  68. public $management_unsampledReports; 
  69. public $management_uploads; 
  70. public $management_webPropertyAdWordsLinks; 
  71. public $management_webproperties; 
  72. public $management_webpropertyUserLinks; 
  73. public $metadata_columns; 
  74. public $provisioning; 
  75.  
  76.  
  77. /** 
  78. * Constructs the internal representation of the Analytics service. 
  79. * 
  80. * @param Google_Client $client 
  81. */ 
  82. public function __construct(Google_Client $client) 
  83. parent::__construct($client); 
  84. $this->servicePath = 'analytics/v3/'; 
  85. $this->version = 'v3'; 
  86. $this->serviceName = 'analytics'; 
  87.  
  88. $this->data_ga = new Google_Service_Analytics_DataGa_Resource( 
  89. $this,  
  90. $this->serviceName,  
  91. 'ga',  
  92. array( 
  93. 'methods' => array( 
  94. 'get' => array( 
  95. 'path' => 'data/ga',  
  96. 'httpMethod' => 'GET',  
  97. 'parameters' => array( 
  98. 'ids' => array( 
  99. 'location' => 'query',  
  100. 'type' => 'string',  
  101. 'required' => true,  
  102. ),  
  103. 'start-date' => array( 
  104. 'location' => 'query',  
  105. 'type' => 'string',  
  106. 'required' => true,  
  107. ),  
  108. 'end-date' => array( 
  109. 'location' => 'query',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. 'metrics' => array( 
  114. 'location' => 'query',  
  115. 'type' => 'string',  
  116. 'required' => true,  
  117. ),  
  118. 'max-results' => array( 
  119. 'location' => 'query',  
  120. 'type' => 'integer',  
  121. ),  
  122. 'sort' => array( 
  123. 'location' => 'query',  
  124. 'type' => 'string',  
  125. ),  
  126. 'dimensions' => array( 
  127. 'location' => 'query',  
  128. 'type' => 'string',  
  129. ),  
  130. 'start-index' => array( 
  131. 'location' => 'query',  
  132. 'type' => 'integer',  
  133. ),  
  134. 'segment' => array( 
  135. 'location' => 'query',  
  136. 'type' => 'string',  
  137. ),  
  138. 'samplingLevel' => array( 
  139. 'location' => 'query',  
  140. 'type' => 'string',  
  141. ),  
  142. 'filters' => array( 
  143. 'location' => 'query',  
  144. 'type' => 'string',  
  145. ),  
  146. 'output' => array( 
  147. 'location' => 'query',  
  148. 'type' => 'string',  
  149. ),  
  150. ),  
  151. ),  
  152. ); 
  153. $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource( 
  154. $this,  
  155. $this->serviceName,  
  156. 'mcf',  
  157. array( 
  158. 'methods' => array( 
  159. 'get' => array( 
  160. 'path' => 'data/mcf',  
  161. 'httpMethod' => 'GET',  
  162. 'parameters' => array( 
  163. 'ids' => array( 
  164. 'location' => 'query',  
  165. 'type' => 'string',  
  166. 'required' => true,  
  167. ),  
  168. 'start-date' => array( 
  169. 'location' => 'query',  
  170. 'type' => 'string',  
  171. 'required' => true,  
  172. ),  
  173. 'end-date' => array( 
  174. 'location' => 'query',  
  175. 'type' => 'string',  
  176. 'required' => true,  
  177. ),  
  178. 'metrics' => array( 
  179. 'location' => 'query',  
  180. 'type' => 'string',  
  181. 'required' => true,  
  182. ),  
  183. 'max-results' => array( 
  184. 'location' => 'query',  
  185. 'type' => 'integer',  
  186. ),  
  187. 'sort' => array( 
  188. 'location' => 'query',  
  189. 'type' => 'string',  
  190. ),  
  191. 'dimensions' => array( 
  192. 'location' => 'query',  
  193. 'type' => 'string',  
  194. ),  
  195. 'start-index' => array( 
  196. 'location' => 'query',  
  197. 'type' => 'integer',  
  198. ),  
  199. 'samplingLevel' => array( 
  200. 'location' => 'query',  
  201. 'type' => 'string',  
  202. ),  
  203. 'filters' => array( 
  204. 'location' => 'query',  
  205. 'type' => 'string',  
  206. ),  
  207. ),  
  208. ),  
  209. ); 
  210. $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource( 
  211. $this,  
  212. $this->serviceName,  
  213. 'realtime',  
  214. array( 
  215. 'methods' => array( 
  216. 'get' => array( 
  217. 'path' => 'data/realtime',  
  218. 'httpMethod' => 'GET',  
  219. 'parameters' => array( 
  220. 'ids' => array( 
  221. 'location' => 'query',  
  222. 'type' => 'string',  
  223. 'required' => true,  
  224. ),  
  225. 'metrics' => array( 
  226. 'location' => 'query',  
  227. 'type' => 'string',  
  228. 'required' => true,  
  229. ),  
  230. 'max-results' => array( 
  231. 'location' => 'query',  
  232. 'type' => 'integer',  
  233. ),  
  234. 'sort' => array( 
  235. 'location' => 'query',  
  236. 'type' => 'string',  
  237. ),  
  238. 'dimensions' => array( 
  239. 'location' => 'query',  
  240. 'type' => 'string',  
  241. ),  
  242. 'filters' => array( 
  243. 'location' => 'query',  
  244. 'type' => 'string',  
  245. ),  
  246. ),  
  247. ),  
  248. ); 
  249. $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource( 
  250. $this,  
  251. $this->serviceName,  
  252. 'accountSummaries',  
  253. array( 
  254. 'methods' => array( 
  255. 'list' => array( 
  256. 'path' => 'management/accountSummaries',  
  257. 'httpMethod' => 'GET',  
  258. 'parameters' => array( 
  259. 'max-results' => array( 
  260. 'location' => 'query',  
  261. 'type' => 'integer',  
  262. ),  
  263. 'start-index' => array( 
  264. 'location' => 'query',  
  265. 'type' => 'integer',  
  266. ),  
  267. ),  
  268. ),  
  269. ); 
  270. $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource( 
  271. $this,  
  272. $this->serviceName,  
  273. 'accountUserLinks',  
  274. array( 
  275. 'methods' => array( 
  276. 'delete' => array( 
  277. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',  
  278. 'httpMethod' => 'DELETE',  
  279. 'parameters' => array( 
  280. 'accountId' => array( 
  281. 'location' => 'path',  
  282. 'type' => 'string',  
  283. 'required' => true,  
  284. ),  
  285. 'linkId' => array( 
  286. 'location' => 'path',  
  287. 'type' => 'string',  
  288. 'required' => true,  
  289. ),  
  290. ),  
  291. ), 'insert' => array( 
  292. 'path' => 'management/accounts/{accountId}/entityUserLinks',  
  293. 'httpMethod' => 'POST',  
  294. 'parameters' => array( 
  295. 'accountId' => array( 
  296. 'location' => 'path',  
  297. 'type' => 'string',  
  298. 'required' => true,  
  299. ),  
  300. ),  
  301. ), 'list' => array( 
  302. 'path' => 'management/accounts/{accountId}/entityUserLinks',  
  303. 'httpMethod' => 'GET',  
  304. 'parameters' => array( 
  305. 'accountId' => array( 
  306. 'location' => 'path',  
  307. 'type' => 'string',  
  308. 'required' => true,  
  309. ),  
  310. 'max-results' => array( 
  311. 'location' => 'query',  
  312. 'type' => 'integer',  
  313. ),  
  314. 'start-index' => array( 
  315. 'location' => 'query',  
  316. 'type' => 'integer',  
  317. ),  
  318. ),  
  319. ), 'update' => array( 
  320. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',  
  321. 'httpMethod' => 'PUT',  
  322. 'parameters' => array( 
  323. 'accountId' => array( 
  324. 'location' => 'path',  
  325. 'type' => 'string',  
  326. 'required' => true,  
  327. ),  
  328. 'linkId' => array( 
  329. 'location' => 'path',  
  330. 'type' => 'string',  
  331. 'required' => true,  
  332. ),  
  333. ),  
  334. ),  
  335. ); 
  336. $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource( 
  337. $this,  
  338. $this->serviceName,  
  339. 'accounts',  
  340. array( 
  341. 'methods' => array( 
  342. 'list' => array( 
  343. 'path' => 'management/accounts',  
  344. 'httpMethod' => 'GET',  
  345. 'parameters' => array( 
  346. 'max-results' => array( 
  347. 'location' => 'query',  
  348. 'type' => 'integer',  
  349. ),  
  350. 'start-index' => array( 
  351. 'location' => 'query',  
  352. 'type' => 'integer',  
  353. ),  
  354. ),  
  355. ),  
  356. ); 
  357. $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource( 
  358. $this,  
  359. $this->serviceName,  
  360. 'customDataSources',  
  361. array( 
  362. 'methods' => array( 
  363. 'list' => array( 
  364. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',  
  365. 'httpMethod' => 'GET',  
  366. 'parameters' => array( 
  367. 'accountId' => array( 
  368. 'location' => 'path',  
  369. 'type' => 'string',  
  370. 'required' => true,  
  371. ),  
  372. 'webPropertyId' => array( 
  373. 'location' => 'path',  
  374. 'type' => 'string',  
  375. 'required' => true,  
  376. ),  
  377. 'max-results' => array( 
  378. 'location' => 'query',  
  379. 'type' => 'integer',  
  380. ),  
  381. 'start-index' => array( 
  382. 'location' => 'query',  
  383. 'type' => 'integer',  
  384. ),  
  385. ),  
  386. ),  
  387. ); 
  388. $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource( 
  389. $this,  
  390. $this->serviceName,  
  391. 'customDimensions',  
  392. array( 
  393. 'methods' => array( 
  394. 'get' => array( 
  395. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  396. 'httpMethod' => 'GET',  
  397. 'parameters' => array( 
  398. 'accountId' => array( 
  399. 'location' => 'path',  
  400. 'type' => 'string',  
  401. 'required' => true,  
  402. ),  
  403. 'webPropertyId' => array( 
  404. 'location' => 'path',  
  405. 'type' => 'string',  
  406. 'required' => true,  
  407. ),  
  408. 'customDimensionId' => array( 
  409. 'location' => 'path',  
  410. 'type' => 'string',  
  411. 'required' => true,  
  412. ),  
  413. ),  
  414. ), 'insert' => array( 
  415. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',  
  416. 'httpMethod' => 'POST',  
  417. 'parameters' => array( 
  418. 'accountId' => array( 
  419. 'location' => 'path',  
  420. 'type' => 'string',  
  421. 'required' => true,  
  422. ),  
  423. 'webPropertyId' => array( 
  424. 'location' => 'path',  
  425. 'type' => 'string',  
  426. 'required' => true,  
  427. ),  
  428. ),  
  429. ), 'list' => array( 
  430. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',  
  431. 'httpMethod' => 'GET',  
  432. 'parameters' => array( 
  433. 'accountId' => array( 
  434. 'location' => 'path',  
  435. 'type' => 'string',  
  436. 'required' => true,  
  437. ),  
  438. 'webPropertyId' => array( 
  439. 'location' => 'path',  
  440. 'type' => 'string',  
  441. 'required' => true,  
  442. ),  
  443. 'max-results' => array( 
  444. 'location' => 'query',  
  445. 'type' => 'integer',  
  446. ),  
  447. 'start-index' => array( 
  448. 'location' => 'query',  
  449. 'type' => 'integer',  
  450. ),  
  451. ),  
  452. ), 'patch' => array( 
  453. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  454. 'httpMethod' => 'PATCH',  
  455. 'parameters' => array( 
  456. 'accountId' => array( 
  457. 'location' => 'path',  
  458. 'type' => 'string',  
  459. 'required' => true,  
  460. ),  
  461. 'webPropertyId' => array( 
  462. 'location' => 'path',  
  463. 'type' => 'string',  
  464. 'required' => true,  
  465. ),  
  466. 'customDimensionId' => array( 
  467. 'location' => 'path',  
  468. 'type' => 'string',  
  469. 'required' => true,  
  470. ),  
  471. 'ignoreCustomDataSourceLinks' => array( 
  472. 'location' => 'query',  
  473. 'type' => 'boolean',  
  474. ),  
  475. ),  
  476. ), 'update' => array( 
  477. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  478. 'httpMethod' => 'PUT',  
  479. 'parameters' => array( 
  480. 'accountId' => array( 
  481. 'location' => 'path',  
  482. 'type' => 'string',  
  483. 'required' => true,  
  484. ),  
  485. 'webPropertyId' => array( 
  486. 'location' => 'path',  
  487. 'type' => 'string',  
  488. 'required' => true,  
  489. ),  
  490. 'customDimensionId' => array( 
  491. 'location' => 'path',  
  492. 'type' => 'string',  
  493. 'required' => true,  
  494. ),  
  495. 'ignoreCustomDataSourceLinks' => array( 
  496. 'location' => 'query',  
  497. 'type' => 'boolean',  
  498. ),  
  499. ),  
  500. ),  
  501. ); 
  502. $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource( 
  503. $this,  
  504. $this->serviceName,  
  505. 'customMetrics',  
  506. array( 
  507. 'methods' => array( 
  508. 'get' => array( 
  509. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  510. 'httpMethod' => 'GET',  
  511. 'parameters' => array( 
  512. 'accountId' => array( 
  513. 'location' => 'path',  
  514. 'type' => 'string',  
  515. 'required' => true,  
  516. ),  
  517. 'webPropertyId' => array( 
  518. 'location' => 'path',  
  519. 'type' => 'string',  
  520. 'required' => true,  
  521. ),  
  522. 'customMetricId' => array( 
  523. 'location' => 'path',  
  524. 'type' => 'string',  
  525. 'required' => true,  
  526. ),  
  527. ),  
  528. ), 'insert' => array( 
  529. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',  
  530. 'httpMethod' => 'POST',  
  531. 'parameters' => array( 
  532. 'accountId' => array( 
  533. 'location' => 'path',  
  534. 'type' => 'string',  
  535. 'required' => true,  
  536. ),  
  537. 'webPropertyId' => array( 
  538. 'location' => 'path',  
  539. 'type' => 'string',  
  540. 'required' => true,  
  541. ),  
  542. ),  
  543. ), 'list' => array( 
  544. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',  
  545. 'httpMethod' => 'GET',  
  546. 'parameters' => array( 
  547. 'accountId' => array( 
  548. 'location' => 'path',  
  549. 'type' => 'string',  
  550. 'required' => true,  
  551. ),  
  552. 'webPropertyId' => array( 
  553. 'location' => 'path',  
  554. 'type' => 'string',  
  555. 'required' => true,  
  556. ),  
  557. 'max-results' => array( 
  558. 'location' => 'query',  
  559. 'type' => 'integer',  
  560. ),  
  561. 'start-index' => array( 
  562. 'location' => 'query',  
  563. 'type' => 'integer',  
  564. ),  
  565. ),  
  566. ), 'patch' => array( 
  567. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  568. 'httpMethod' => 'PATCH',  
  569. 'parameters' => array( 
  570. 'accountId' => array( 
  571. 'location' => 'path',  
  572. 'type' => 'string',  
  573. 'required' => true,  
  574. ),  
  575. 'webPropertyId' => array( 
  576. 'location' => 'path',  
  577. 'type' => 'string',  
  578. 'required' => true,  
  579. ),  
  580. 'customMetricId' => array( 
  581. 'location' => 'path',  
  582. 'type' => 'string',  
  583. 'required' => true,  
  584. ),  
  585. 'ignoreCustomDataSourceLinks' => array( 
  586. 'location' => 'query',  
  587. 'type' => 'boolean',  
  588. ),  
  589. ),  
  590. ), 'update' => array( 
  591. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  592. 'httpMethod' => 'PUT',  
  593. 'parameters' => array( 
  594. 'accountId' => array( 
  595. 'location' => 'path',  
  596. 'type' => 'string',  
  597. 'required' => true,  
  598. ),  
  599. 'webPropertyId' => array( 
  600. 'location' => 'path',  
  601. 'type' => 'string',  
  602. 'required' => true,  
  603. ),  
  604. 'customMetricId' => array( 
  605. 'location' => 'path',  
  606. 'type' => 'string',  
  607. 'required' => true,  
  608. ),  
  609. 'ignoreCustomDataSourceLinks' => array( 
  610. 'location' => 'query',  
  611. 'type' => 'boolean',  
  612. ),  
  613. ),  
  614. ),  
  615. ); 
  616. $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource( 
  617. $this,  
  618. $this->serviceName,  
  619. 'dailyUploads',  
  620. array( 
  621. 'methods' => array( 
  622. 'delete' => array( 
  623. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}',  
  624. 'httpMethod' => 'DELETE',  
  625. 'parameters' => array( 
  626. 'accountId' => array( 
  627. 'location' => 'path',  
  628. 'type' => 'string',  
  629. 'required' => true,  
  630. ),  
  631. 'webPropertyId' => array( 
  632. 'location' => 'path',  
  633. 'type' => 'string',  
  634. 'required' => true,  
  635. ),  
  636. 'customDataSourceId' => array( 
  637. 'location' => 'path',  
  638. 'type' => 'string',  
  639. 'required' => true,  
  640. ),  
  641. 'date' => array( 
  642. 'location' => 'path',  
  643. 'type' => 'string',  
  644. 'required' => true,  
  645. ),  
  646. 'type' => array( 
  647. 'location' => 'query',  
  648. 'type' => 'string',  
  649. 'required' => true,  
  650. ),  
  651. ),  
  652. ), 'list' => array( 
  653. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads',  
  654. 'httpMethod' => 'GET',  
  655. 'parameters' => array( 
  656. 'accountId' => array( 
  657. 'location' => 'path',  
  658. 'type' => 'string',  
  659. 'required' => true,  
  660. ),  
  661. 'webPropertyId' => array( 
  662. 'location' => 'path',  
  663. 'type' => 'string',  
  664. 'required' => true,  
  665. ),  
  666. 'customDataSourceId' => array( 
  667. 'location' => 'path',  
  668. 'type' => 'string',  
  669. 'required' => true,  
  670. ),  
  671. 'start-date' => array( 
  672. 'location' => 'query',  
  673. 'type' => 'string',  
  674. 'required' => true,  
  675. ),  
  676. 'end-date' => array( 
  677. 'location' => 'query',  
  678. 'type' => 'string',  
  679. 'required' => true,  
  680. ),  
  681. 'max-results' => array( 
  682. 'location' => 'query',  
  683. 'type' => 'integer',  
  684. ),  
  685. 'start-index' => array( 
  686. 'location' => 'query',  
  687. 'type' => 'integer',  
  688. ),  
  689. ),  
  690. ), 'upload' => array( 
  691. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads',  
  692. 'httpMethod' => 'POST',  
  693. 'parameters' => array( 
  694. 'accountId' => array( 
  695. 'location' => 'path',  
  696. 'type' => 'string',  
  697. 'required' => true,  
  698. ),  
  699. 'webPropertyId' => array( 
  700. 'location' => 'path',  
  701. 'type' => 'string',  
  702. 'required' => true,  
  703. ),  
  704. 'customDataSourceId' => array( 
  705. 'location' => 'path',  
  706. 'type' => 'string',  
  707. 'required' => true,  
  708. ),  
  709. 'date' => array( 
  710. 'location' => 'path',  
  711. 'type' => 'string',  
  712. 'required' => true,  
  713. ),  
  714. 'appendNumber' => array( 
  715. 'location' => 'query',  
  716. 'type' => 'integer',  
  717. 'required' => true,  
  718. ),  
  719. 'type' => array( 
  720. 'location' => 'query',  
  721. 'type' => 'string',  
  722. 'required' => true,  
  723. ),  
  724. 'reset' => array( 
  725. 'location' => 'query',  
  726. 'type' => 'boolean',  
  727. ),  
  728. ),  
  729. ),  
  730. ); 
  731. $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource( 
  732. $this,  
  733. $this->serviceName,  
  734. 'experiments',  
  735. array( 
  736. 'methods' => array( 
  737. 'delete' => array( 
  738. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  739. 'httpMethod' => 'DELETE',  
  740. 'parameters' => array( 
  741. 'accountId' => array( 
  742. 'location' => 'path',  
  743. 'type' => 'string',  
  744. 'required' => true,  
  745. ),  
  746. 'webPropertyId' => array( 
  747. 'location' => 'path',  
  748. 'type' => 'string',  
  749. 'required' => true,  
  750. ),  
  751. 'profileId' => array( 
  752. 'location' => 'path',  
  753. 'type' => 'string',  
  754. 'required' => true,  
  755. ),  
  756. 'experimentId' => array( 
  757. 'location' => 'path',  
  758. 'type' => 'string',  
  759. 'required' => true,  
  760. ),  
  761. ),  
  762. ), 'get' => array( 
  763. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  764. 'httpMethod' => 'GET',  
  765. 'parameters' => array( 
  766. 'accountId' => array( 
  767. 'location' => 'path',  
  768. 'type' => 'string',  
  769. 'required' => true,  
  770. ),  
  771. 'webPropertyId' => array( 
  772. 'location' => 'path',  
  773. 'type' => 'string',  
  774. 'required' => true,  
  775. ),  
  776. 'profileId' => array( 
  777. 'location' => 'path',  
  778. 'type' => 'string',  
  779. 'required' => true,  
  780. ),  
  781. 'experimentId' => array( 
  782. 'location' => 'path',  
  783. 'type' => 'string',  
  784. 'required' => true,  
  785. ),  
  786. ),  
  787. ), 'insert' => array( 
  788. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  789. 'httpMethod' => 'POST',  
  790. 'parameters' => array( 
  791. 'accountId' => array( 
  792. 'location' => 'path',  
  793. 'type' => 'string',  
  794. 'required' => true,  
  795. ),  
  796. 'webPropertyId' => array( 
  797. 'location' => 'path',  
  798. 'type' => 'string',  
  799. 'required' => true,  
  800. ),  
  801. 'profileId' => array( 
  802. 'location' => 'path',  
  803. 'type' => 'string',  
  804. 'required' => true,  
  805. ),  
  806. ),  
  807. ), 'list' => array( 
  808. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  809. 'httpMethod' => 'GET',  
  810. 'parameters' => array( 
  811. 'accountId' => array( 
  812. 'location' => 'path',  
  813. 'type' => 'string',  
  814. 'required' => true,  
  815. ),  
  816. 'webPropertyId' => array( 
  817. 'location' => 'path',  
  818. 'type' => 'string',  
  819. 'required' => true,  
  820. ),  
  821. 'profileId' => array( 
  822. 'location' => 'path',  
  823. 'type' => 'string',  
  824. 'required' => true,  
  825. ),  
  826. 'max-results' => array( 
  827. 'location' => 'query',  
  828. 'type' => 'integer',  
  829. ),  
  830. 'start-index' => array( 
  831. 'location' => 'query',  
  832. 'type' => 'integer',  
  833. ),  
  834. ),  
  835. ), 'patch' => array( 
  836. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  837. 'httpMethod' => 'PATCH',  
  838. 'parameters' => array( 
  839. 'accountId' => array( 
  840. 'location' => 'path',  
  841. 'type' => 'string',  
  842. 'required' => true,  
  843. ),  
  844. 'webPropertyId' => array( 
  845. 'location' => 'path',  
  846. 'type' => 'string',  
  847. 'required' => true,  
  848. ),  
  849. 'profileId' => array( 
  850. 'location' => 'path',  
  851. 'type' => 'string',  
  852. 'required' => true,  
  853. ),  
  854. 'experimentId' => array( 
  855. 'location' => 'path',  
  856. 'type' => 'string',  
  857. 'required' => true,  
  858. ),  
  859. ),  
  860. ), 'update' => array( 
  861. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  862. 'httpMethod' => 'PUT',  
  863. 'parameters' => array( 
  864. 'accountId' => array( 
  865. 'location' => 'path',  
  866. 'type' => 'string',  
  867. 'required' => true,  
  868. ),  
  869. 'webPropertyId' => array( 
  870. 'location' => 'path',  
  871. 'type' => 'string',  
  872. 'required' => true,  
  873. ),  
  874. 'profileId' => array( 
  875. 'location' => 'path',  
  876. 'type' => 'string',  
  877. 'required' => true,  
  878. ),  
  879. 'experimentId' => array( 
  880. 'location' => 'path',  
  881. 'type' => 'string',  
  882. 'required' => true,  
  883. ),  
  884. ),  
  885. ),  
  886. ); 
  887. $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource( 
  888. $this,  
  889. $this->serviceName,  
  890. 'filters',  
  891. array( 
  892. 'methods' => array( 
  893. 'delete' => array( 
  894. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  895. 'httpMethod' => 'DELETE',  
  896. 'parameters' => array( 
  897. 'accountId' => array( 
  898. 'location' => 'path',  
  899. 'type' => 'string',  
  900. 'required' => true,  
  901. ),  
  902. 'filterId' => array( 
  903. 'location' => 'path',  
  904. 'type' => 'string',  
  905. 'required' => true,  
  906. ),  
  907. ),  
  908. ), 'get' => array( 
  909. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  910. 'httpMethod' => 'GET',  
  911. 'parameters' => array( 
  912. 'accountId' => array( 
  913. 'location' => 'path',  
  914. 'type' => 'string',  
  915. 'required' => true,  
  916. ),  
  917. 'filterId' => array( 
  918. 'location' => 'path',  
  919. 'type' => 'string',  
  920. 'required' => true,  
  921. ),  
  922. ),  
  923. ), 'insert' => array( 
  924. 'path' => 'management/accounts/{accountId}/filters',  
  925. 'httpMethod' => 'POST',  
  926. 'parameters' => array( 
  927. 'accountId' => array( 
  928. 'location' => 'path',  
  929. 'type' => 'string',  
  930. 'required' => true,  
  931. ),  
  932. ),  
  933. ), 'list' => array( 
  934. 'path' => 'management/accounts/{accountId}/filters',  
  935. 'httpMethod' => 'GET',  
  936. 'parameters' => array( 
  937. 'accountId' => array( 
  938. 'location' => 'path',  
  939. 'type' => 'string',  
  940. 'required' => true,  
  941. ),  
  942. 'max-results' => array( 
  943. 'location' => 'query',  
  944. 'type' => 'integer',  
  945. ),  
  946. 'start-index' => array( 
  947. 'location' => 'query',  
  948. 'type' => 'integer',  
  949. ),  
  950. ),  
  951. ), 'patch' => array( 
  952. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  953. 'httpMethod' => 'PATCH',  
  954. 'parameters' => array( 
  955. 'accountId' => array( 
  956. 'location' => 'path',  
  957. 'type' => 'string',  
  958. 'required' => true,  
  959. ),  
  960. 'filterId' => array( 
  961. 'location' => 'path',  
  962. 'type' => 'string',  
  963. 'required' => true,  
  964. ),  
  965. ),  
  966. ), 'update' => array( 
  967. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  968. 'httpMethod' => 'PUT',  
  969. 'parameters' => array( 
  970. 'accountId' => array( 
  971. 'location' => 'path',  
  972. 'type' => 'string',  
  973. 'required' => true,  
  974. ),  
  975. 'filterId' => array( 
  976. 'location' => 'path',  
  977. 'type' => 'string',  
  978. 'required' => true,  
  979. ),  
  980. ),  
  981. ),  
  982. ); 
  983. $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource( 
  984. $this,  
  985. $this->serviceName,  
  986. 'goals',  
  987. array( 
  988. 'methods' => array( 
  989. 'get' => array( 
  990. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  991. 'httpMethod' => 'GET',  
  992. 'parameters' => array( 
  993. 'accountId' => array( 
  994. 'location' => 'path',  
  995. 'type' => 'string',  
  996. 'required' => true,  
  997. ),  
  998. 'webPropertyId' => array( 
  999. 'location' => 'path',  
  1000. 'type' => 'string',  
  1001. 'required' => true,  
  1002. ),  
  1003. 'profileId' => array( 
  1004. 'location' => 'path',  
  1005. 'type' => 'string',  
  1006. 'required' => true,  
  1007. ),  
  1008. 'goalId' => array( 
  1009. 'location' => 'path',  
  1010. 'type' => 'string',  
  1011. 'required' => true,  
  1012. ),  
  1013. ),  
  1014. ), 'insert' => array( 
  1015. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  1016. 'httpMethod' => 'POST',  
  1017. 'parameters' => array( 
  1018. 'accountId' => array( 
  1019. 'location' => 'path',  
  1020. 'type' => 'string',  
  1021. 'required' => true,  
  1022. ),  
  1023. 'webPropertyId' => array( 
  1024. 'location' => 'path',  
  1025. 'type' => 'string',  
  1026. 'required' => true,  
  1027. ),  
  1028. 'profileId' => array( 
  1029. 'location' => 'path',  
  1030. 'type' => 'string',  
  1031. 'required' => true,  
  1032. ),  
  1033. ),  
  1034. ), 'list' => array( 
  1035. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  1036. 'httpMethod' => 'GET',  
  1037. 'parameters' => array( 
  1038. 'accountId' => array( 
  1039. 'location' => 'path',  
  1040. 'type' => 'string',  
  1041. 'required' => true,  
  1042. ),  
  1043. 'webPropertyId' => array( 
  1044. 'location' => 'path',  
  1045. 'type' => 'string',  
  1046. 'required' => true,  
  1047. ),  
  1048. 'profileId' => array( 
  1049. 'location' => 'path',  
  1050. 'type' => 'string',  
  1051. 'required' => true,  
  1052. ),  
  1053. 'max-results' => array( 
  1054. 'location' => 'query',  
  1055. 'type' => 'integer',  
  1056. ),  
  1057. 'start-index' => array( 
  1058. 'location' => 'query',  
  1059. 'type' => 'integer',  
  1060. ),  
  1061. ),  
  1062. ), 'patch' => array( 
  1063. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  1064. 'httpMethod' => 'PATCH',  
  1065. 'parameters' => array( 
  1066. 'accountId' => array( 
  1067. 'location' => 'path',  
  1068. 'type' => 'string',  
  1069. 'required' => true,  
  1070. ),  
  1071. 'webPropertyId' => array( 
  1072. 'location' => 'path',  
  1073. 'type' => 'string',  
  1074. 'required' => true,  
  1075. ),  
  1076. 'profileId' => array( 
  1077. 'location' => 'path',  
  1078. 'type' => 'string',  
  1079. 'required' => true,  
  1080. ),  
  1081. 'goalId' => array( 
  1082. 'location' => 'path',  
  1083. 'type' => 'string',  
  1084. 'required' => true,  
  1085. ),  
  1086. ),  
  1087. ), 'update' => array( 
  1088. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  1089. 'httpMethod' => 'PUT',  
  1090. 'parameters' => array( 
  1091. 'accountId' => array( 
  1092. 'location' => 'path',  
  1093. 'type' => 'string',  
  1094. 'required' => true,  
  1095. ),  
  1096. 'webPropertyId' => array( 
  1097. 'location' => 'path',  
  1098. 'type' => 'string',  
  1099. 'required' => true,  
  1100. ),  
  1101. 'profileId' => array( 
  1102. 'location' => 'path',  
  1103. 'type' => 'string',  
  1104. 'required' => true,  
  1105. ),  
  1106. 'goalId' => array( 
  1107. 'location' => 'path',  
  1108. 'type' => 'string',  
  1109. 'required' => true,  
  1110. ),  
  1111. ),  
  1112. ),  
  1113. ); 
  1114. $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource( 
  1115. $this,  
  1116. $this->serviceName,  
  1117. 'profileFilterLinks',  
  1118. array( 
  1119. 'methods' => array( 
  1120. 'delete' => array( 
  1121. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1122. 'httpMethod' => 'DELETE',  
  1123. 'parameters' => array( 
  1124. 'accountId' => array( 
  1125. 'location' => 'path',  
  1126. 'type' => 'string',  
  1127. 'required' => true,  
  1128. ),  
  1129. 'webPropertyId' => array( 
  1130. 'location' => 'path',  
  1131. 'type' => 'string',  
  1132. 'required' => true,  
  1133. ),  
  1134. 'profileId' => array( 
  1135. 'location' => 'path',  
  1136. 'type' => 'string',  
  1137. 'required' => true,  
  1138. ),  
  1139. 'linkId' => array( 
  1140. 'location' => 'path',  
  1141. 'type' => 'string',  
  1142. 'required' => true,  
  1143. ),  
  1144. ),  
  1145. ), 'get' => array( 
  1146. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1147. 'httpMethod' => 'GET',  
  1148. 'parameters' => array( 
  1149. 'accountId' => array( 
  1150. 'location' => 'path',  
  1151. 'type' => 'string',  
  1152. 'required' => true,  
  1153. ),  
  1154. 'webPropertyId' => array( 
  1155. 'location' => 'path',  
  1156. 'type' => 'string',  
  1157. 'required' => true,  
  1158. ),  
  1159. 'profileId' => array( 
  1160. 'location' => 'path',  
  1161. 'type' => 'string',  
  1162. 'required' => true,  
  1163. ),  
  1164. 'linkId' => array( 
  1165. 'location' => 'path',  
  1166. 'type' => 'string',  
  1167. 'required' => true,  
  1168. ),  
  1169. ),  
  1170. ), 'insert' => array( 
  1171. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1172. 'httpMethod' => 'POST',  
  1173. 'parameters' => array( 
  1174. 'accountId' => array( 
  1175. 'location' => 'path',  
  1176. 'type' => 'string',  
  1177. 'required' => true,  
  1178. ),  
  1179. 'webPropertyId' => array( 
  1180. 'location' => 'path',  
  1181. 'type' => 'string',  
  1182. 'required' => true,  
  1183. ),  
  1184. 'profileId' => array( 
  1185. 'location' => 'path',  
  1186. 'type' => 'string',  
  1187. 'required' => true,  
  1188. ),  
  1189. ),  
  1190. ), 'list' => array( 
  1191. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1192. 'httpMethod' => 'GET',  
  1193. 'parameters' => array( 
  1194. 'accountId' => array( 
  1195. 'location' => 'path',  
  1196. 'type' => 'string',  
  1197. 'required' => true,  
  1198. ),  
  1199. 'webPropertyId' => array( 
  1200. 'location' => 'path',  
  1201. 'type' => 'string',  
  1202. 'required' => true,  
  1203. ),  
  1204. 'profileId' => array( 
  1205. 'location' => 'path',  
  1206. 'type' => 'string',  
  1207. 'required' => true,  
  1208. ),  
  1209. 'max-results' => array( 
  1210. 'location' => 'query',  
  1211. 'type' => 'integer',  
  1212. ),  
  1213. 'start-index' => array( 
  1214. 'location' => 'query',  
  1215. 'type' => 'integer',  
  1216. ),  
  1217. ),  
  1218. ), 'patch' => array( 
  1219. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1220. 'httpMethod' => 'PATCH',  
  1221. 'parameters' => array( 
  1222. 'accountId' => array( 
  1223. 'location' => 'path',  
  1224. 'type' => 'string',  
  1225. 'required' => true,  
  1226. ),  
  1227. 'webPropertyId' => array( 
  1228. 'location' => 'path',  
  1229. 'type' => 'string',  
  1230. 'required' => true,  
  1231. ),  
  1232. 'profileId' => array( 
  1233. 'location' => 'path',  
  1234. 'type' => 'string',  
  1235. 'required' => true,  
  1236. ),  
  1237. 'linkId' => array( 
  1238. 'location' => 'path',  
  1239. 'type' => 'string',  
  1240. 'required' => true,  
  1241. ),  
  1242. ),  
  1243. ), 'update' => array( 
  1244. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1245. 'httpMethod' => 'PUT',  
  1246. 'parameters' => array( 
  1247. 'accountId' => array( 
  1248. 'location' => 'path',  
  1249. 'type' => 'string',  
  1250. 'required' => true,  
  1251. ),  
  1252. 'webPropertyId' => array( 
  1253. 'location' => 'path',  
  1254. 'type' => 'string',  
  1255. 'required' => true,  
  1256. ),  
  1257. 'profileId' => array( 
  1258. 'location' => 'path',  
  1259. 'type' => 'string',  
  1260. 'required' => true,  
  1261. ),  
  1262. 'linkId' => array( 
  1263. 'location' => 'path',  
  1264. 'type' => 'string',  
  1265. 'required' => true,  
  1266. ),  
  1267. ),  
  1268. ),  
  1269. ); 
  1270. $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource( 
  1271. $this,  
  1272. $this->serviceName,  
  1273. 'profileUserLinks',  
  1274. array( 
  1275. 'methods' => array( 
  1276. 'delete' => array( 
  1277. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1278. 'httpMethod' => 'DELETE',  
  1279. 'parameters' => array( 
  1280. 'accountId' => array( 
  1281. 'location' => 'path',  
  1282. 'type' => 'string',  
  1283. 'required' => true,  
  1284. ),  
  1285. 'webPropertyId' => array( 
  1286. 'location' => 'path',  
  1287. 'type' => 'string',  
  1288. 'required' => true,  
  1289. ),  
  1290. 'profileId' => array( 
  1291. 'location' => 'path',  
  1292. 'type' => 'string',  
  1293. 'required' => true,  
  1294. ),  
  1295. 'linkId' => array( 
  1296. 'location' => 'path',  
  1297. 'type' => 'string',  
  1298. 'required' => true,  
  1299. ),  
  1300. ),  
  1301. ), 'insert' => array( 
  1302. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1303. 'httpMethod' => 'POST',  
  1304. 'parameters' => array( 
  1305. 'accountId' => array( 
  1306. 'location' => 'path',  
  1307. 'type' => 'string',  
  1308. 'required' => true,  
  1309. ),  
  1310. 'webPropertyId' => array( 
  1311. 'location' => 'path',  
  1312. 'type' => 'string',  
  1313. 'required' => true,  
  1314. ),  
  1315. 'profileId' => array( 
  1316. 'location' => 'path',  
  1317. 'type' => 'string',  
  1318. 'required' => true,  
  1319. ),  
  1320. ),  
  1321. ), 'list' => array( 
  1322. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1323. 'httpMethod' => 'GET',  
  1324. 'parameters' => array( 
  1325. 'accountId' => array( 
  1326. 'location' => 'path',  
  1327. 'type' => 'string',  
  1328. 'required' => true,  
  1329. ),  
  1330. 'webPropertyId' => array( 
  1331. 'location' => 'path',  
  1332. 'type' => 'string',  
  1333. 'required' => true,  
  1334. ),  
  1335. 'profileId' => array( 
  1336. 'location' => 'path',  
  1337. 'type' => 'string',  
  1338. 'required' => true,  
  1339. ),  
  1340. 'max-results' => array( 
  1341. 'location' => 'query',  
  1342. 'type' => 'integer',  
  1343. ),  
  1344. 'start-index' => array( 
  1345. 'location' => 'query',  
  1346. 'type' => 'integer',  
  1347. ),  
  1348. ),  
  1349. ), 'update' => array( 
  1350. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1351. 'httpMethod' => 'PUT',  
  1352. 'parameters' => array( 
  1353. 'accountId' => array( 
  1354. 'location' => 'path',  
  1355. 'type' => 'string',  
  1356. 'required' => true,  
  1357. ),  
  1358. 'webPropertyId' => array( 
  1359. 'location' => 'path',  
  1360. 'type' => 'string',  
  1361. 'required' => true,  
  1362. ),  
  1363. 'profileId' => array( 
  1364. 'location' => 'path',  
  1365. 'type' => 'string',  
  1366. 'required' => true,  
  1367. ),  
  1368. 'linkId' => array( 
  1369. 'location' => 'path',  
  1370. 'type' => 'string',  
  1371. 'required' => true,  
  1372. ),  
  1373. ),  
  1374. ),  
  1375. ); 
  1376. $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource( 
  1377. $this,  
  1378. $this->serviceName,  
  1379. 'profiles',  
  1380. array( 
  1381. 'methods' => array( 
  1382. 'delete' => array( 
  1383. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1384. 'httpMethod' => 'DELETE',  
  1385. 'parameters' => array( 
  1386. 'accountId' => array( 
  1387. 'location' => 'path',  
  1388. 'type' => 'string',  
  1389. 'required' => true,  
  1390. ),  
  1391. 'webPropertyId' => array( 
  1392. 'location' => 'path',  
  1393. 'type' => 'string',  
  1394. 'required' => true,  
  1395. ),  
  1396. 'profileId' => array( 
  1397. 'location' => 'path',  
  1398. 'type' => 'string',  
  1399. 'required' => true,  
  1400. ),  
  1401. ),  
  1402. ), 'get' => array( 
  1403. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1404. 'httpMethod' => 'GET',  
  1405. 'parameters' => array( 
  1406. 'accountId' => array( 
  1407. 'location' => 'path',  
  1408. 'type' => 'string',  
  1409. 'required' => true,  
  1410. ),  
  1411. 'webPropertyId' => array( 
  1412. 'location' => 'path',  
  1413. 'type' => 'string',  
  1414. 'required' => true,  
  1415. ),  
  1416. 'profileId' => array( 
  1417. 'location' => 'path',  
  1418. 'type' => 'string',  
  1419. 'required' => true,  
  1420. ),  
  1421. ),  
  1422. ), 'insert' => array( 
  1423. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1424. 'httpMethod' => 'POST',  
  1425. 'parameters' => array( 
  1426. 'accountId' => array( 
  1427. 'location' => 'path',  
  1428. 'type' => 'string',  
  1429. 'required' => true,  
  1430. ),  
  1431. 'webPropertyId' => array( 
  1432. 'location' => 'path',  
  1433. 'type' => 'string',  
  1434. 'required' => true,  
  1435. ),  
  1436. ),  
  1437. ), 'list' => array( 
  1438. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1439. 'httpMethod' => 'GET',  
  1440. 'parameters' => array( 
  1441. 'accountId' => array( 
  1442. 'location' => 'path',  
  1443. 'type' => 'string',  
  1444. 'required' => true,  
  1445. ),  
  1446. 'webPropertyId' => array( 
  1447. 'location' => 'path',  
  1448. 'type' => 'string',  
  1449. 'required' => true,  
  1450. ),  
  1451. 'max-results' => array( 
  1452. 'location' => 'query',  
  1453. 'type' => 'integer',  
  1454. ),  
  1455. 'start-index' => array( 
  1456. 'location' => 'query',  
  1457. 'type' => 'integer',  
  1458. ),  
  1459. ),  
  1460. ), 'patch' => array( 
  1461. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1462. 'httpMethod' => 'PATCH',  
  1463. 'parameters' => array( 
  1464. 'accountId' => array( 
  1465. 'location' => 'path',  
  1466. 'type' => 'string',  
  1467. 'required' => true,  
  1468. ),  
  1469. 'webPropertyId' => array( 
  1470. 'location' => 'path',  
  1471. 'type' => 'string',  
  1472. 'required' => true,  
  1473. ),  
  1474. 'profileId' => array( 
  1475. 'location' => 'path',  
  1476. 'type' => 'string',  
  1477. 'required' => true,  
  1478. ),  
  1479. ),  
  1480. ), 'update' => array( 
  1481. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1482. 'httpMethod' => 'PUT',  
  1483. 'parameters' => array( 
  1484. 'accountId' => array( 
  1485. 'location' => 'path',  
  1486. 'type' => 'string',  
  1487. 'required' => true,  
  1488. ),  
  1489. 'webPropertyId' => array( 
  1490. 'location' => 'path',  
  1491. 'type' => 'string',  
  1492. 'required' => true,  
  1493. ),  
  1494. 'profileId' => array( 
  1495. 'location' => 'path',  
  1496. 'type' => 'string',  
  1497. 'required' => true,  
  1498. ),  
  1499. ),  
  1500. ),  
  1501. ); 
  1502. $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource( 
  1503. $this,  
  1504. $this->serviceName,  
  1505. 'segments',  
  1506. array( 
  1507. 'methods' => array( 
  1508. 'list' => array( 
  1509. 'path' => 'management/segments',  
  1510. 'httpMethod' => 'GET',  
  1511. 'parameters' => array( 
  1512. 'max-results' => array( 
  1513. 'location' => 'query',  
  1514. 'type' => 'integer',  
  1515. ),  
  1516. 'start-index' => array( 
  1517. 'location' => 'query',  
  1518. 'type' => 'integer',  
  1519. ),  
  1520. ),  
  1521. ),  
  1522. ); 
  1523. $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource( 
  1524. $this,  
  1525. $this->serviceName,  
  1526. 'unsampledReports',  
  1527. array( 
  1528. 'methods' => array( 
  1529. 'get' => array( 
  1530. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',  
  1531. 'httpMethod' => 'GET',  
  1532. 'parameters' => array( 
  1533. 'accountId' => array( 
  1534. 'location' => 'path',  
  1535. 'type' => 'string',  
  1536. 'required' => true,  
  1537. ),  
  1538. 'webPropertyId' => array( 
  1539. 'location' => 'path',  
  1540. 'type' => 'string',  
  1541. 'required' => true,  
  1542. ),  
  1543. 'profileId' => array( 
  1544. 'location' => 'path',  
  1545. 'type' => 'string',  
  1546. 'required' => true,  
  1547. ),  
  1548. 'unsampledReportId' => array( 
  1549. 'location' => 'path',  
  1550. 'type' => 'string',  
  1551. 'required' => true,  
  1552. ),  
  1553. ),  
  1554. ), 'insert' => array( 
  1555. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1556. 'httpMethod' => 'POST',  
  1557. 'parameters' => array( 
  1558. 'accountId' => array( 
  1559. 'location' => 'path',  
  1560. 'type' => 'string',  
  1561. 'required' => true,  
  1562. ),  
  1563. 'webPropertyId' => array( 
  1564. 'location' => 'path',  
  1565. 'type' => 'string',  
  1566. 'required' => true,  
  1567. ),  
  1568. 'profileId' => array( 
  1569. 'location' => 'path',  
  1570. 'type' => 'string',  
  1571. 'required' => true,  
  1572. ),  
  1573. ),  
  1574. ), 'list' => array( 
  1575. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1576. 'httpMethod' => 'GET',  
  1577. 'parameters' => array( 
  1578. 'accountId' => array( 
  1579. 'location' => 'path',  
  1580. 'type' => 'string',  
  1581. 'required' => true,  
  1582. ),  
  1583. 'webPropertyId' => array( 
  1584. 'location' => 'path',  
  1585. 'type' => 'string',  
  1586. 'required' => true,  
  1587. ),  
  1588. 'profileId' => array( 
  1589. 'location' => 'path',  
  1590. 'type' => 'string',  
  1591. 'required' => true,  
  1592. ),  
  1593. 'max-results' => array( 
  1594. 'location' => 'query',  
  1595. 'type' => 'integer',  
  1596. ),  
  1597. 'start-index' => array( 
  1598. 'location' => 'query',  
  1599. 'type' => 'integer',  
  1600. ),  
  1601. ),  
  1602. ),  
  1603. ); 
  1604. $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource( 
  1605. $this,  
  1606. $this->serviceName,  
  1607. 'uploads',  
  1608. array( 
  1609. 'methods' => array( 
  1610. 'deleteUploadData' => array( 
  1611. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',  
  1612. 'httpMethod' => 'POST',  
  1613. 'parameters' => array( 
  1614. 'accountId' => array( 
  1615. 'location' => 'path',  
  1616. 'type' => 'string',  
  1617. 'required' => true,  
  1618. ),  
  1619. 'webPropertyId' => array( 
  1620. 'location' => 'path',  
  1621. 'type' => 'string',  
  1622. 'required' => true,  
  1623. ),  
  1624. 'customDataSourceId' => array( 
  1625. 'location' => 'path',  
  1626. 'type' => 'string',  
  1627. 'required' => true,  
  1628. ),  
  1629. ),  
  1630. ), 'get' => array( 
  1631. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',  
  1632. 'httpMethod' => 'GET',  
  1633. 'parameters' => array( 
  1634. 'accountId' => array( 
  1635. 'location' => 'path',  
  1636. 'type' => 'string',  
  1637. 'required' => true,  
  1638. ),  
  1639. 'webPropertyId' => array( 
  1640. 'location' => 'path',  
  1641. 'type' => 'string',  
  1642. 'required' => true,  
  1643. ),  
  1644. 'customDataSourceId' => array( 
  1645. 'location' => 'path',  
  1646. 'type' => 'string',  
  1647. 'required' => true,  
  1648. ),  
  1649. 'uploadId' => array( 
  1650. 'location' => 'path',  
  1651. 'type' => 'string',  
  1652. 'required' => true,  
  1653. ),  
  1654. ),  
  1655. ), 'list' => array( 
  1656. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1657. 'httpMethod' => 'GET',  
  1658. 'parameters' => array( 
  1659. 'accountId' => array( 
  1660. 'location' => 'path',  
  1661. 'type' => 'string',  
  1662. 'required' => true,  
  1663. ),  
  1664. 'webPropertyId' => array( 
  1665. 'location' => 'path',  
  1666. 'type' => 'string',  
  1667. 'required' => true,  
  1668. ),  
  1669. 'customDataSourceId' => array( 
  1670. 'location' => 'path',  
  1671. 'type' => 'string',  
  1672. 'required' => true,  
  1673. ),  
  1674. 'max-results' => array( 
  1675. 'location' => 'query',  
  1676. 'type' => 'integer',  
  1677. ),  
  1678. 'start-index' => array( 
  1679. 'location' => 'query',  
  1680. 'type' => 'integer',  
  1681. ),  
  1682. ),  
  1683. ), 'migrateDataImport' => array( 
  1684. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport',  
  1685. 'httpMethod' => 'POST',  
  1686. 'parameters' => array( 
  1687. 'accountId' => array( 
  1688. 'location' => 'path',  
  1689. 'type' => 'string',  
  1690. 'required' => true,  
  1691. ),  
  1692. 'webPropertyId' => array( 
  1693. 'location' => 'path',  
  1694. 'type' => 'string',  
  1695. 'required' => true,  
  1696. ),  
  1697. 'customDataSourceId' => array( 
  1698. 'location' => 'path',  
  1699. 'type' => 'string',  
  1700. 'required' => true,  
  1701. ),  
  1702. ),  
  1703. ), 'uploadData' => array( 
  1704. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1705. 'httpMethod' => 'POST',  
  1706. 'parameters' => array( 
  1707. 'accountId' => array( 
  1708. 'location' => 'path',  
  1709. 'type' => 'string',  
  1710. 'required' => true,  
  1711. ),  
  1712. 'webPropertyId' => array( 
  1713. 'location' => 'path',  
  1714. 'type' => 'string',  
  1715. 'required' => true,  
  1716. ),  
  1717. 'customDataSourceId' => array( 
  1718. 'location' => 'path',  
  1719. 'type' => 'string',  
  1720. 'required' => true,  
  1721. ),  
  1722. ),  
  1723. ),  
  1724. ); 
  1725. $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource( 
  1726. $this,  
  1727. $this->serviceName,  
  1728. 'webPropertyAdWordsLinks',  
  1729. array( 
  1730. 'methods' => array( 
  1731. 'delete' => array( 
  1732. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1733. 'httpMethod' => 'DELETE',  
  1734. 'parameters' => array( 
  1735. 'accountId' => array( 
  1736. 'location' => 'path',  
  1737. 'type' => 'string',  
  1738. 'required' => true,  
  1739. ),  
  1740. 'webPropertyId' => array( 
  1741. 'location' => 'path',  
  1742. 'type' => 'string',  
  1743. 'required' => true,  
  1744. ),  
  1745. 'webPropertyAdWordsLinkId' => array( 
  1746. 'location' => 'path',  
  1747. 'type' => 'string',  
  1748. 'required' => true,  
  1749. ),  
  1750. ),  
  1751. ), 'get' => array( 
  1752. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1753. 'httpMethod' => 'GET',  
  1754. 'parameters' => array( 
  1755. 'accountId' => array( 
  1756. 'location' => 'path',  
  1757. 'type' => 'string',  
  1758. 'required' => true,  
  1759. ),  
  1760. 'webPropertyId' => array( 
  1761. 'location' => 'path',  
  1762. 'type' => 'string',  
  1763. 'required' => true,  
  1764. ),  
  1765. 'webPropertyAdWordsLinkId' => array( 
  1766. 'location' => 'path',  
  1767. 'type' => 'string',  
  1768. 'required' => true,  
  1769. ),  
  1770. ),  
  1771. ), 'insert' => array( 
  1772. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1773. 'httpMethod' => 'POST',  
  1774. 'parameters' => array( 
  1775. 'accountId' => array( 
  1776. 'location' => 'path',  
  1777. 'type' => 'string',  
  1778. 'required' => true,  
  1779. ),  
  1780. 'webPropertyId' => array( 
  1781. 'location' => 'path',  
  1782. 'type' => 'string',  
  1783. 'required' => true,  
  1784. ),  
  1785. ),  
  1786. ), 'list' => array( 
  1787. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1788. 'httpMethod' => 'GET',  
  1789. 'parameters' => array( 
  1790. 'accountId' => array( 
  1791. 'location' => 'path',  
  1792. 'type' => 'string',  
  1793. 'required' => true,  
  1794. ),  
  1795. 'webPropertyId' => array( 
  1796. 'location' => 'path',  
  1797. 'type' => 'string',  
  1798. 'required' => true,  
  1799. ),  
  1800. 'max-results' => array( 
  1801. 'location' => 'query',  
  1802. 'type' => 'integer',  
  1803. ),  
  1804. 'start-index' => array( 
  1805. 'location' => 'query',  
  1806. 'type' => 'integer',  
  1807. ),  
  1808. ),  
  1809. ), 'patch' => array( 
  1810. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1811. 'httpMethod' => 'PATCH',  
  1812. 'parameters' => array( 
  1813. 'accountId' => array( 
  1814. 'location' => 'path',  
  1815. 'type' => 'string',  
  1816. 'required' => true,  
  1817. ),  
  1818. 'webPropertyId' => array( 
  1819. 'location' => 'path',  
  1820. 'type' => 'string',  
  1821. 'required' => true,  
  1822. ),  
  1823. 'webPropertyAdWordsLinkId' => array( 
  1824. 'location' => 'path',  
  1825. 'type' => 'string',  
  1826. 'required' => true,  
  1827. ),  
  1828. ),  
  1829. ), 'update' => array( 
  1830. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1831. 'httpMethod' => 'PUT',  
  1832. 'parameters' => array( 
  1833. 'accountId' => array( 
  1834. 'location' => 'path',  
  1835. 'type' => 'string',  
  1836. 'required' => true,  
  1837. ),  
  1838. 'webPropertyId' => array( 
  1839. 'location' => 'path',  
  1840. 'type' => 'string',  
  1841. 'required' => true,  
  1842. ),  
  1843. 'webPropertyAdWordsLinkId' => array( 
  1844. 'location' => 'path',  
  1845. 'type' => 'string',  
  1846. 'required' => true,  
  1847. ),  
  1848. ),  
  1849. ),  
  1850. ); 
  1851. $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource( 
  1852. $this,  
  1853. $this->serviceName,  
  1854. 'webproperties',  
  1855. array( 
  1856. 'methods' => array( 
  1857. 'get' => array( 
  1858. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1859. 'httpMethod' => 'GET',  
  1860. 'parameters' => array( 
  1861. 'accountId' => array( 
  1862. 'location' => 'path',  
  1863. 'type' => 'string',  
  1864. 'required' => true,  
  1865. ),  
  1866. 'webPropertyId' => array( 
  1867. 'location' => 'path',  
  1868. 'type' => 'string',  
  1869. 'required' => true,  
  1870. ),  
  1871. ),  
  1872. ), 'insert' => array( 
  1873. 'path' => 'management/accounts/{accountId}/webproperties',  
  1874. 'httpMethod' => 'POST',  
  1875. 'parameters' => array( 
  1876. 'accountId' => array( 
  1877. 'location' => 'path',  
  1878. 'type' => 'string',  
  1879. 'required' => true,  
  1880. ),  
  1881. ),  
  1882. ), 'list' => array( 
  1883. 'path' => 'management/accounts/{accountId}/webproperties',  
  1884. 'httpMethod' => 'GET',  
  1885. 'parameters' => array( 
  1886. 'accountId' => array( 
  1887. 'location' => 'path',  
  1888. 'type' => 'string',  
  1889. 'required' => true,  
  1890. ),  
  1891. 'max-results' => array( 
  1892. 'location' => 'query',  
  1893. 'type' => 'integer',  
  1894. ),  
  1895. 'start-index' => array( 
  1896. 'location' => 'query',  
  1897. 'type' => 'integer',  
  1898. ),  
  1899. ),  
  1900. ), 'patch' => array( 
  1901. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1902. 'httpMethod' => 'PATCH',  
  1903. 'parameters' => array( 
  1904. 'accountId' => array( 
  1905. 'location' => 'path',  
  1906. 'type' => 'string',  
  1907. 'required' => true,  
  1908. ),  
  1909. 'webPropertyId' => array( 
  1910. 'location' => 'path',  
  1911. 'type' => 'string',  
  1912. 'required' => true,  
  1913. ),  
  1914. ),  
  1915. ), 'update' => array( 
  1916. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1917. 'httpMethod' => 'PUT',  
  1918. 'parameters' => array( 
  1919. 'accountId' => array( 
  1920. 'location' => 'path',  
  1921. 'type' => 'string',  
  1922. 'required' => true,  
  1923. ),  
  1924. 'webPropertyId' => array( 
  1925. 'location' => 'path',  
  1926. 'type' => 'string',  
  1927. 'required' => true,  
  1928. ),  
  1929. ),  
  1930. ),  
  1931. ); 
  1932. $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource( 
  1933. $this,  
  1934. $this->serviceName,  
  1935. 'webpropertyUserLinks',  
  1936. array( 
  1937. 'methods' => array( 
  1938. 'delete' => array( 
  1939. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1940. 'httpMethod' => 'DELETE',  
  1941. 'parameters' => array( 
  1942. 'accountId' => array( 
  1943. 'location' => 'path',  
  1944. 'type' => 'string',  
  1945. 'required' => true,  
  1946. ),  
  1947. 'webPropertyId' => array( 
  1948. 'location' => 'path',  
  1949. 'type' => 'string',  
  1950. 'required' => true,  
  1951. ),  
  1952. 'linkId' => array( 
  1953. 'location' => 'path',  
  1954. 'type' => 'string',  
  1955. 'required' => true,  
  1956. ),  
  1957. ),  
  1958. ), 'insert' => array( 
  1959. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1960. 'httpMethod' => 'POST',  
  1961. 'parameters' => array( 
  1962. 'accountId' => array( 
  1963. 'location' => 'path',  
  1964. 'type' => 'string',  
  1965. 'required' => true,  
  1966. ),  
  1967. 'webPropertyId' => array( 
  1968. 'location' => 'path',  
  1969. 'type' => 'string',  
  1970. 'required' => true,  
  1971. ),  
  1972. ),  
  1973. ), 'list' => array( 
  1974. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1975. 'httpMethod' => 'GET',  
  1976. 'parameters' => array( 
  1977. 'accountId' => array( 
  1978. 'location' => 'path',  
  1979. 'type' => 'string',  
  1980. 'required' => true,  
  1981. ),  
  1982. 'webPropertyId' => array( 
  1983. 'location' => 'path',  
  1984. 'type' => 'string',  
  1985. 'required' => true,  
  1986. ),  
  1987. 'max-results' => array( 
  1988. 'location' => 'query',  
  1989. 'type' => 'integer',  
  1990. ),  
  1991. 'start-index' => array( 
  1992. 'location' => 'query',  
  1993. 'type' => 'integer',  
  1994. ),  
  1995. ),  
  1996. ), 'update' => array( 
  1997. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1998. 'httpMethod' => 'PUT',  
  1999. 'parameters' => array( 
  2000. 'accountId' => array( 
  2001. 'location' => 'path',  
  2002. 'type' => 'string',  
  2003. 'required' => true,  
  2004. ),  
  2005. 'webPropertyId' => array( 
  2006. 'location' => 'path',  
  2007. 'type' => 'string',  
  2008. 'required' => true,  
  2009. ),  
  2010. 'linkId' => array( 
  2011. 'location' => 'path',  
  2012. 'type' => 'string',  
  2013. 'required' => true,  
  2014. ),  
  2015. ),  
  2016. ),  
  2017. ); 
  2018. $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource( 
  2019. $this,  
  2020. $this->serviceName,  
  2021. 'columns',  
  2022. array( 
  2023. 'methods' => array( 
  2024. 'list' => array( 
  2025. 'path' => 'metadata/{reportType}/columns',  
  2026. 'httpMethod' => 'GET',  
  2027. 'parameters' => array( 
  2028. 'reportType' => array( 
  2029. 'location' => 'path',  
  2030. 'type' => 'string',  
  2031. 'required' => true,  
  2032. ),  
  2033. ),  
  2034. ),  
  2035. ); 
  2036. $this->provisioning = new Google_Service_Analytics_Provisioning_Resource( 
  2037. $this,  
  2038. $this->serviceName,  
  2039. 'provisioning',  
  2040. array( 
  2041. 'methods' => array( 
  2042. 'createAccountTicket' => array( 
  2043. 'path' => 'provisioning/createAccountTicket',  
  2044. 'httpMethod' => 'POST',  
  2045. 'parameters' => array(),  
  2046. ),  
  2047. ); 
  2048.  
  2049.  
  2050. /** 
  2051. * The "data" collection of methods. 
  2052. * Typical usage is: 
  2053. * <code> 
  2054. * $analyticsService = new Google_Service_Analytics(...); 
  2055. * $data = $analyticsService->data; 
  2056. * </code> 
  2057. */ 
  2058. class Google_Service_Analytics_Data_Resource extends Google_Service_Resource 
  2059.  
  2060. /** 
  2061. * The "ga" collection of methods. 
  2062. * Typical usage is: 
  2063. * <code> 
  2064. * $analyticsService = new Google_Service_Analytics(...); 
  2065. * $ga = $analyticsService->ga; 
  2066. * </code> 
  2067. */ 
  2068. class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource 
  2069.  
  2070. /** 
  2071. * Returns Analytics data for a view (profile). (ga.get) 
  2072. * 
  2073. * @param string $ids Unique table ID for retrieving Analytics data. Table ID is 
  2074. * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. 
  2075. * @param string $startDate Start date for fetching Analytics data. Requests can 
  2076. * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,  
  2077. * today, yesterday, or 7daysAgo). The default value is 7daysAgo. 
  2078. * @param string $endDate End date for fetching Analytics data. Request can 
  2079. * should specify an end date formatted as YYYY-MM-DD, or as a relative date 
  2080. * (e.g., today, yesterday, or 7daysAgo). The default value is yesterday. 
  2081. * @param string $metrics A comma-separated list of Analytics metrics. E.g.,  
  2082. * 'ga:sessions, ga:pageviews'. At least one metric must be specified. 
  2083. * @param array $optParams Optional parameters. 
  2084. * 
  2085. * @opt_param int max-results The maximum number of entries to include in this 
  2086. * feed. 
  2087. * @opt_param string sort A comma-separated list of dimensions or metrics that 
  2088. * determine the sort order for Analytics data. 
  2089. * @opt_param string dimensions A comma-separated list of Analytics dimensions. 
  2090. * E.g., 'ga:browser, ga:city'. 
  2091. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2092. * parameter as a pagination mechanism along with the max-results parameter. 
  2093. * @opt_param string segment An Analytics segment to be applied to data. 
  2094. * @opt_param string samplingLevel The desired sampling level. 
  2095. * @opt_param string filters A comma-separated list of dimension or metric 
  2096. * filters to be applied to Analytics data. 
  2097. * @opt_param string output The selected format for the response. Default format 
  2098. * is JSON. 
  2099. * @return Google_Service_Analytics_GaData 
  2100. */ 
  2101. public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) 
  2102. $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); 
  2103. $params = array_merge($params, $optParams); 
  2104. return $this->call('get', array($params), "Google_Service_Analytics_GaData"); 
  2105. /** 
  2106. * The "mcf" collection of methods. 
  2107. * Typical usage is: 
  2108. * <code> 
  2109. * $analyticsService = new Google_Service_Analytics(...); 
  2110. * $mcf = $analyticsService->mcf; 
  2111. * </code> 
  2112. */ 
  2113. class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource 
  2114.  
  2115. /** 
  2116. * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get) 
  2117. * 
  2118. * @param string $ids Unique table ID for retrieving Analytics data. Table ID is 
  2119. * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. 
  2120. * @param string $startDate Start date for fetching Analytics data. Requests can 
  2121. * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,  
  2122. * today, yesterday, or 7daysAgo). The default value is 7daysAgo. 
  2123. * @param string $endDate End date for fetching Analytics data. Requests can 
  2124. * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,  
  2125. * today, yesterday, or 7daysAgo). The default value is 7daysAgo. 
  2126. * @param string $metrics A comma-separated list of Multi-Channel Funnels 
  2127. * metrics. E.g., 'mcf:totalConversions, mcf:totalConversionValue'. At least one 
  2128. * metric must be specified. 
  2129. * @param array $optParams Optional parameters. 
  2130. * 
  2131. * @opt_param int max-results The maximum number of entries to include in this 
  2132. * feed. 
  2133. * @opt_param string sort A comma-separated list of dimensions or metrics that 
  2134. * determine the sort order for the Analytics data. 
  2135. * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels 
  2136. * dimensions. E.g., 'mcf:source, mcf:medium'. 
  2137. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2138. * parameter as a pagination mechanism along with the max-results parameter. 
  2139. * @opt_param string samplingLevel The desired sampling level. 
  2140. * @opt_param string filters A comma-separated list of dimension or metric 
  2141. * filters to be applied to the Analytics data. 
  2142. * @return Google_Service_Analytics_McfData 
  2143. */ 
  2144. public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) 
  2145. $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); 
  2146. $params = array_merge($params, $optParams); 
  2147. return $this->call('get', array($params), "Google_Service_Analytics_McfData"); 
  2148. /** 
  2149. * The "realtime" collection of methods. 
  2150. * Typical usage is: 
  2151. * <code> 
  2152. * $analyticsService = new Google_Service_Analytics(...); 
  2153. * $realtime = $analyticsService->realtime; 
  2154. * </code> 
  2155. */ 
  2156. class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource 
  2157.  
  2158. /** 
  2159. * Returns real time data for a view (profile). (realtime.get) 
  2160. * 
  2161. * @param string $ids Unique table ID for retrieving real time data. Table ID is 
  2162. * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. 
  2163. * @param string $metrics A comma-separated list of real time metrics. E.g.,  
  2164. * 'rt:activeUsers'. At least one metric must be specified. 
  2165. * @param array $optParams Optional parameters. 
  2166. * 
  2167. * @opt_param int max-results The maximum number of entries to include in this 
  2168. * feed. 
  2169. * @opt_param string sort A comma-separated list of dimensions or metrics that 
  2170. * determine the sort order for real time data. 
  2171. * @opt_param string dimensions A comma-separated list of real time dimensions. 
  2172. * E.g., 'rt:medium, rt:city'. 
  2173. * @opt_param string filters A comma-separated list of dimension or metric 
  2174. * filters to be applied to real time data. 
  2175. * @return Google_Service_Analytics_RealtimeData 
  2176. */ 
  2177. public function get($ids, $metrics, $optParams = array()) 
  2178. $params = array('ids' => $ids, 'metrics' => $metrics); 
  2179. $params = array_merge($params, $optParams); 
  2180. return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData"); 
  2181.  
  2182. /** 
  2183. * The "management" collection of methods. 
  2184. * Typical usage is: 
  2185. * <code> 
  2186. * $analyticsService = new Google_Service_Analytics(...); 
  2187. * $management = $analyticsService->management; 
  2188. * </code> 
  2189. */ 
  2190. class Google_Service_Analytics_Management_Resource extends Google_Service_Resource 
  2191.  
  2192. /** 
  2193. * The "accountSummaries" collection of methods. 
  2194. * Typical usage is: 
  2195. * <code> 
  2196. * $analyticsService = new Google_Service_Analytics(...); 
  2197. * $accountSummaries = $analyticsService->accountSummaries; 
  2198. * </code> 
  2199. */ 
  2200. class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource 
  2201.  
  2202. /** 
  2203. * Lists account summaries (lightweight tree comprised of 
  2204. * accounts/properties/profiles) to which the user has access. 
  2205. * (accountSummaries.listManagementAccountSummaries) 
  2206. * 
  2207. * @param array $optParams Optional parameters. 
  2208. * 
  2209. * @opt_param int max-results The maximum number of account summaries to include 
  2210. * in this response, where the largest acceptable value is 1000. 
  2211. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2212. * parameter as a pagination mechanism along with the max-results parameter. 
  2213. * @return Google_Service_Analytics_AccountSummaries 
  2214. */ 
  2215. public function listManagementAccountSummaries($optParams = array()) 
  2216. $params = array(); 
  2217. $params = array_merge($params, $optParams); 
  2218. return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries"); 
  2219. /** 
  2220. * The "accountUserLinks" collection of methods. 
  2221. * Typical usage is: 
  2222. * <code> 
  2223. * $analyticsService = new Google_Service_Analytics(...); 
  2224. * $accountUserLinks = $analyticsService->accountUserLinks; 
  2225. * </code> 
  2226. */ 
  2227. class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource 
  2228.  
  2229. /** 
  2230. * Removes a user from the given account. (accountUserLinks.delete) 
  2231. * 
  2232. * @param string $accountId Account ID to delete the user link for. 
  2233. * @param string $linkId Link ID to delete the user link for. 
  2234. * @param array $optParams Optional parameters. 
  2235. */ 
  2236. public function delete($accountId, $linkId, $optParams = array()) 
  2237. $params = array('accountId' => $accountId, 'linkId' => $linkId); 
  2238. $params = array_merge($params, $optParams); 
  2239. return $this->call('delete', array($params)); 
  2240.  
  2241. /** 
  2242. * Adds a new user to the given account. (accountUserLinks.insert) 
  2243. * 
  2244. * @param string $accountId Account ID to create the user link for. 
  2245. * @param Google_EntityUserLink $postBody 
  2246. * @param array $optParams Optional parameters. 
  2247. * @return Google_Service_Analytics_EntityUserLink 
  2248. */ 
  2249. public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) 
  2250. $params = array('accountId' => $accountId, 'postBody' => $postBody); 
  2251. $params = array_merge($params, $optParams); 
  2252. return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); 
  2253.  
  2254. /** 
  2255. * Lists account-user links for a given account. 
  2256. * (accountUserLinks.listManagementAccountUserLinks) 
  2257. * 
  2258. * @param string $accountId Account ID to retrieve the user links for. 
  2259. * @param array $optParams Optional parameters. 
  2260. * 
  2261. * @opt_param int max-results The maximum number of account-user links to 
  2262. * include in this response. 
  2263. * @opt_param int start-index An index of the first account-user link to 
  2264. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  2265. * results parameter. 
  2266. * @return Google_Service_Analytics_EntityUserLinks 
  2267. */ 
  2268. public function listManagementAccountUserLinks($accountId, $optParams = array()) 
  2269. $params = array('accountId' => $accountId); 
  2270. $params = array_merge($params, $optParams); 
  2271. return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); 
  2272.  
  2273. /** 
  2274. * Updates permissions for an existing user on the given account. 
  2275. * (accountUserLinks.update) 
  2276. * 
  2277. * @param string $accountId Account ID to update the account-user link for. 
  2278. * @param string $linkId Link ID to update the account-user link for. 
  2279. * @param Google_EntityUserLink $postBody 
  2280. * @param array $optParams Optional parameters. 
  2281. * @return Google_Service_Analytics_EntityUserLink 
  2282. */ 
  2283. public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) 
  2284. $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody); 
  2285. $params = array_merge($params, $optParams); 
  2286. return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); 
  2287. /** 
  2288. * The "accounts" collection of methods. 
  2289. * Typical usage is: 
  2290. * <code> 
  2291. * $analyticsService = new Google_Service_Analytics(...); 
  2292. * $accounts = $analyticsService->accounts; 
  2293. * </code> 
  2294. */ 
  2295. class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource 
  2296.  
  2297. /** 
  2298. * Lists all accounts to which the user has access. 
  2299. * (accounts.listManagementAccounts) 
  2300. * 
  2301. * @param array $optParams Optional parameters. 
  2302. * 
  2303. * @opt_param int max-results The maximum number of accounts to include in this 
  2304. * response. 
  2305. * @opt_param int start-index An index of the first account to retrieve. Use 
  2306. * this parameter as a pagination mechanism along with the max-results 
  2307. * parameter. 
  2308. * @return Google_Service_Analytics_Accounts 
  2309. */ 
  2310. public function listManagementAccounts($optParams = array()) 
  2311. $params = array(); 
  2312. $params = array_merge($params, $optParams); 
  2313. return $this->call('list', array($params), "Google_Service_Analytics_Accounts"); 
  2314. /** 
  2315. * The "customDataSources" collection of methods. 
  2316. * Typical usage is: 
  2317. * <code> 
  2318. * $analyticsService = new Google_Service_Analytics(...); 
  2319. * $customDataSources = $analyticsService->customDataSources; 
  2320. * </code> 
  2321. */ 
  2322. class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource 
  2323.  
  2324. /** 
  2325. * List custom data sources to which the user has access. 
  2326. * (customDataSources.listManagementCustomDataSources) 
  2327. * 
  2328. * @param string $accountId Account Id for the custom data sources to retrieve. 
  2329. * @param string $webPropertyId Web property Id for the custom data sources to 
  2330. * retrieve. 
  2331. * @param array $optParams Optional parameters. 
  2332. * 
  2333. * @opt_param int max-results The maximum number of custom data sources to 
  2334. * include in this response. 
  2335. * @opt_param int start-index A 1-based index of the first custom data source to 
  2336. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  2337. * results parameter. 
  2338. * @return Google_Service_Analytics_CustomDataSources 
  2339. */ 
  2340. public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) 
  2341. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  2342. $params = array_merge($params, $optParams); 
  2343. return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources"); 
  2344. /** 
  2345. * The "customDimensions" collection of methods. 
  2346. * Typical usage is: 
  2347. * <code> 
  2348. * $analyticsService = new Google_Service_Analytics(...); 
  2349. * $customDimensions = $analyticsService->customDimensions; 
  2350. * </code> 
  2351. */ 
  2352. class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Google_Service_Resource 
  2353.  
  2354. /** 
  2355. * Get a custom dimension to which the user has access. (customDimensions.get) 
  2356. * 
  2357. * @param string $accountId Account ID for the custom dimension to retrieve. 
  2358. * @param string $webPropertyId Web property ID for the custom dimension to 
  2359. * retrieve. 
  2360. * @param string $customDimensionId The ID of the custom dimension to retrieve. 
  2361. * @param array $optParams Optional parameters. 
  2362. * @return Google_Service_Analytics_CustomDimension 
  2363. */ 
  2364. public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array()) 
  2365. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId); 
  2366. $params = array_merge($params, $optParams); 
  2367. return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension"); 
  2368.  
  2369. /** 
  2370. * Create a new custom dimension. (customDimensions.insert) 
  2371. * 
  2372. * @param string $accountId Account ID for the custom dimension to create. 
  2373. * @param string $webPropertyId Web property ID for the custom dimension to 
  2374. * create. 
  2375. * @param Google_CustomDimension $postBody 
  2376. * @param array $optParams Optional parameters. 
  2377. * @return Google_Service_Analytics_CustomDimension 
  2378. */ 
  2379. public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) 
  2380. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  2381. $params = array_merge($params, $optParams); 
  2382. return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension"); 
  2383.  
  2384. /** 
  2385. * Lists custom dimensions to which the user has access. 
  2386. * (customDimensions.listManagementCustomDimensions) 
  2387. * 
  2388. * @param string $accountId Account ID for the custom dimensions to retrieve. 
  2389. * @param string $webPropertyId Web property ID for the custom dimensions to 
  2390. * retrieve. 
  2391. * @param array $optParams Optional parameters. 
  2392. * 
  2393. * @opt_param int max-results The maximum number of custom dimensions to include 
  2394. * in this response. 
  2395. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2396. * parameter as a pagination mechanism along with the max-results parameter. 
  2397. * @return Google_Service_Analytics_CustomDimensions 
  2398. */ 
  2399. public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array()) 
  2400. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  2401. $params = array_merge($params, $optParams); 
  2402. return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions"); 
  2403.  
  2404. /** 
  2405. * Updates an existing custom dimension. This method supports patch semantics. 
  2406. * (customDimensions.patch) 
  2407. * 
  2408. * @param string $accountId Account ID for the custom dimension to update. 
  2409. * @param string $webPropertyId Web property ID for the custom dimension to 
  2410. * update. 
  2411. * @param string $customDimensionId Custom dimension ID for the custom dimension 
  2412. * to update. 
  2413. * @param Google_CustomDimension $postBody 
  2414. * @param array $optParams Optional parameters. 
  2415. * 
  2416. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any 
  2417. * warnings related to the custom dimension being linked to a custom data source 
  2418. * / data set. 
  2419. * @return Google_Service_Analytics_CustomDimension 
  2420. */ 
  2421. public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) 
  2422. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody); 
  2423. $params = array_merge($params, $optParams); 
  2424. return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension"); 
  2425.  
  2426. /** 
  2427. * Updates an existing custom dimension. (customDimensions.update) 
  2428. * 
  2429. * @param string $accountId Account ID for the custom dimension to update. 
  2430. * @param string $webPropertyId Web property ID for the custom dimension to 
  2431. * update. 
  2432. * @param string $customDimensionId Custom dimension ID for the custom dimension 
  2433. * to update. 
  2434. * @param Google_CustomDimension $postBody 
  2435. * @param array $optParams Optional parameters. 
  2436. * 
  2437. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any 
  2438. * warnings related to the custom dimension being linked to a custom data source 
  2439. * / data set. 
  2440. * @return Google_Service_Analytics_CustomDimension 
  2441. */ 
  2442. public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) 
  2443. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody); 
  2444. $params = array_merge($params, $optParams); 
  2445. return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension"); 
  2446. /** 
  2447. * The "customMetrics" collection of methods. 
  2448. * Typical usage is: 
  2449. * <code> 
  2450. * $analyticsService = new Google_Service_Analytics(...); 
  2451. * $customMetrics = $analyticsService->customMetrics; 
  2452. * </code> 
  2453. */ 
  2454. class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_Service_Resource 
  2455.  
  2456. /** 
  2457. * Get a custom metric to which the user has access. (customMetrics.get) 
  2458. * 
  2459. * @param string $accountId Account ID for the custom metric to retrieve. 
  2460. * @param string $webPropertyId Web property ID for the custom metric to 
  2461. * retrieve. 
  2462. * @param string $customMetricId The ID of the custom metric to retrieve. 
  2463. * @param array $optParams Optional parameters. 
  2464. * @return Google_Service_Analytics_CustomMetric 
  2465. */ 
  2466. public function get($accountId, $webPropertyId, $customMetricId, $optParams = array()) 
  2467. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId); 
  2468. $params = array_merge($params, $optParams); 
  2469. return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric"); 
  2470.  
  2471. /** 
  2472. * Create a new custom metric. (customMetrics.insert) 
  2473. * 
  2474. * @param string $accountId Account ID for the custom metric to create. 
  2475. * @param string $webPropertyId Web property ID for the custom dimension to 
  2476. * create. 
  2477. * @param Google_CustomMetric $postBody 
  2478. * @param array $optParams Optional parameters. 
  2479. * @return Google_Service_Analytics_CustomMetric 
  2480. */ 
  2481. public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) 
  2482. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  2483. $params = array_merge($params, $optParams); 
  2484. return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric"); 
  2485.  
  2486. /** 
  2487. * Lists custom metrics to which the user has access. 
  2488. * (customMetrics.listManagementCustomMetrics) 
  2489. * 
  2490. * @param string $accountId Account ID for the custom metrics to retrieve. 
  2491. * @param string $webPropertyId Web property ID for the custom metrics to 
  2492. * retrieve. 
  2493. * @param array $optParams Optional parameters. 
  2494. * 
  2495. * @opt_param int max-results The maximum number of custom metrics to include in 
  2496. * this response. 
  2497. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2498. * parameter as a pagination mechanism along with the max-results parameter. 
  2499. * @return Google_Service_Analytics_CustomMetrics 
  2500. */ 
  2501. public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array()) 
  2502. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  2503. $params = array_merge($params, $optParams); 
  2504. return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics"); 
  2505.  
  2506. /** 
  2507. * Updates an existing custom metric. This method supports patch semantics. 
  2508. * (customMetrics.patch) 
  2509. * 
  2510. * @param string $accountId Account ID for the custom metric to update. 
  2511. * @param string $webPropertyId Web property ID for the custom metric to update. 
  2512. * @param string $customMetricId Custom metric ID for the custom metric to 
  2513. * update. 
  2514. * @param Google_CustomMetric $postBody 
  2515. * @param array $optParams Optional parameters. 
  2516. * 
  2517. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any 
  2518. * warnings related to the custom metric being linked to a custom data source / 
  2519. * data set. 
  2520. * @return Google_Service_Analytics_CustomMetric 
  2521. */ 
  2522. public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) 
  2523. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody); 
  2524. $params = array_merge($params, $optParams); 
  2525. return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric"); 
  2526.  
  2527. /** 
  2528. * Updates an existing custom metric. (customMetrics.update) 
  2529. * 
  2530. * @param string $accountId Account ID for the custom metric to update. 
  2531. * @param string $webPropertyId Web property ID for the custom metric to update. 
  2532. * @param string $customMetricId Custom metric ID for the custom metric to 
  2533. * update. 
  2534. * @param Google_CustomMetric $postBody 
  2535. * @param array $optParams Optional parameters. 
  2536. * 
  2537. * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any 
  2538. * warnings related to the custom metric being linked to a custom data source / 
  2539. * data set. 
  2540. * @return Google_Service_Analytics_CustomMetric 
  2541. */ 
  2542. public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) 
  2543. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody); 
  2544. $params = array_merge($params, $optParams); 
  2545. return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric"); 
  2546. /** 
  2547. * The "dailyUploads" collection of methods. 
  2548. * Typical usage is: 
  2549. * <code> 
  2550. * $analyticsService = new Google_Service_Analytics(...); 
  2551. * $dailyUploads = $analyticsService->dailyUploads; 
  2552. * </code> 
  2553. */ 
  2554. class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource 
  2555.  
  2556. /** 
  2557. * Delete uploaded data for the given date. (dailyUploads.delete) 
  2558. * 
  2559. * @param string $accountId Account Id associated with daily upload delete. 
  2560. * @param string $webPropertyId Web property Id associated with daily upload 
  2561. * delete. 
  2562. * @param string $customDataSourceId Custom data source Id associated with daily 
  2563. * upload delete. 
  2564. * @param string $date Date for which data is to be deleted. Date should be 
  2565. * formatted as YYYY-MM-DD. 
  2566. * @param string $type Type of data for this delete. 
  2567. * @param array $optParams Optional parameters. 
  2568. */ 
  2569. public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array()) 
  2570. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type); 
  2571. $params = array_merge($params, $optParams); 
  2572. return $this->call('delete', array($params)); 
  2573.  
  2574. /** 
  2575. * List daily uploads to which the user has access. 
  2576. * (dailyUploads.listManagementDailyUploads) 
  2577. * 
  2578. * @param string $accountId Account Id for the daily uploads to retrieve. 
  2579. * @param string $webPropertyId Web property Id for the daily uploads to 
  2580. * retrieve. 
  2581. * @param string $customDataSourceId Custom data source Id for daily uploads to 
  2582. * retrieve. 
  2583. * @param string $startDate Start date of the form YYYY-MM-DD. 
  2584. * @param string $endDate End date of the form YYYY-MM-DD. 
  2585. * @param array $optParams Optional parameters. 
  2586. * 
  2587. * @opt_param int max-results The maximum number of custom data sources to 
  2588. * include in this response. 
  2589. * @opt_param int start-index A 1-based index of the first daily upload to 
  2590. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  2591. * results parameter. 
  2592. * @return Google_Service_Analytics_DailyUploads 
  2593. */ 
  2594. public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array()) 
  2595. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate); 
  2596. $params = array_merge($params, $optParams); 
  2597. return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads"); 
  2598.  
  2599. /** 
  2600. * Update/Overwrite data for a custom data source. (dailyUploads.upload) 
  2601. * 
  2602. * @param string $accountId Account Id associated with daily upload. 
  2603. * @param string $webPropertyId Web property Id associated with daily upload. 
  2604. * @param string $customDataSourceId Custom data source Id to which the data 
  2605. * being uploaded belongs. 
  2606. * @param string $date Date for which data is uploaded. Date should be formatted 
  2607. * as YYYY-MM-DD. 
  2608. * @param int $appendNumber Append number for this upload indexed from 1. 
  2609. * @param string $type Type of data for this upload. 
  2610. * @param array $optParams Optional parameters. 
  2611. * 
  2612. * @opt_param bool reset Reset/Overwrite all previous appends for this date and 
  2613. * start over with this file as the first upload. 
  2614. * @return Google_Service_Analytics_DailyUploadAppend 
  2615. */ 
  2616. public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array()) 
  2617. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type); 
  2618. $params = array_merge($params, $optParams); 
  2619. return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend"); 
  2620. /** 
  2621. * The "experiments" collection of methods. 
  2622. * Typical usage is: 
  2623. * <code> 
  2624. * $analyticsService = new Google_Service_Analytics(...); 
  2625. * $experiments = $analyticsService->experiments; 
  2626. * </code> 
  2627. */ 
  2628. class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource 
  2629.  
  2630. /** 
  2631. * Delete an experiment. (experiments.delete) 
  2632. * 
  2633. * @param string $accountId Account ID to which the experiment belongs 
  2634. * @param string $webPropertyId Web property ID to which the experiment belongs 
  2635. * @param string $profileId View (Profile) ID to which the experiment belongs 
  2636. * @param string $experimentId ID of the experiment to delete 
  2637. * @param array $optParams Optional parameters. 
  2638. */ 
  2639. public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) 
  2640. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); 
  2641. $params = array_merge($params, $optParams); 
  2642. return $this->call('delete', array($params)); 
  2643.  
  2644. /** 
  2645. * Returns an experiment to which the user has access. (experiments.get) 
  2646. * 
  2647. * @param string $accountId Account ID to retrieve the experiment for. 
  2648. * @param string $webPropertyId Web property ID to retrieve the experiment for. 
  2649. * @param string $profileId View (Profile) ID to retrieve the experiment for. 
  2650. * @param string $experimentId Experiment ID to retrieve the experiment for. 
  2651. * @param array $optParams Optional parameters. 
  2652. * @return Google_Service_Analytics_Experiment 
  2653. */ 
  2654. public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) 
  2655. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); 
  2656. $params = array_merge($params, $optParams); 
  2657. return $this->call('get', array($params), "Google_Service_Analytics_Experiment"); 
  2658.  
  2659. /** 
  2660. * Create a new experiment. (experiments.insert) 
  2661. * 
  2662. * @param string $accountId Account ID to create the experiment for. 
  2663. * @param string $webPropertyId Web property ID to create the experiment for. 
  2664. * @param string $profileId View (Profile) ID to create the experiment for. 
  2665. * @param Google_Experiment $postBody 
  2666. * @param array $optParams Optional parameters. 
  2667. * @return Google_Service_Analytics_Experiment 
  2668. */ 
  2669. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) 
  2670. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  2671. $params = array_merge($params, $optParams); 
  2672. return $this->call('insert', array($params), "Google_Service_Analytics_Experiment"); 
  2673.  
  2674. /** 
  2675. * Lists experiments to which the user has access. 
  2676. * (experiments.listManagementExperiments) 
  2677. * 
  2678. * @param string $accountId Account ID to retrieve experiments for. 
  2679. * @param string $webPropertyId Web property ID to retrieve experiments for. 
  2680. * @param string $profileId View (Profile) ID to retrieve experiments for. 
  2681. * @param array $optParams Optional parameters. 
  2682. * 
  2683. * @opt_param int max-results The maximum number of experiments to include in 
  2684. * this response. 
  2685. * @opt_param int start-index An index of the first experiment to retrieve. Use 
  2686. * this parameter as a pagination mechanism along with the max-results 
  2687. * parameter. 
  2688. * @return Google_Service_Analytics_Experiments 
  2689. */ 
  2690. public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) 
  2691. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  2692. $params = array_merge($params, $optParams); 
  2693. return $this->call('list', array($params), "Google_Service_Analytics_Experiments"); 
  2694.  
  2695. /** 
  2696. * Update an existing experiment. This method supports patch semantics. 
  2697. * (experiments.patch) 
  2698. * 
  2699. * @param string $accountId Account ID of the experiment to update. 
  2700. * @param string $webPropertyId Web property ID of the experiment to update. 
  2701. * @param string $profileId View (Profile) ID of the experiment to update. 
  2702. * @param string $experimentId Experiment ID of the experiment to update. 
  2703. * @param Google_Experiment $postBody 
  2704. * @param array $optParams Optional parameters. 
  2705. * @return Google_Service_Analytics_Experiment 
  2706. */ 
  2707. public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) 
  2708. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); 
  2709. $params = array_merge($params, $optParams); 
  2710. return $this->call('patch', array($params), "Google_Service_Analytics_Experiment"); 
  2711.  
  2712. /** 
  2713. * Update an existing experiment. (experiments.update) 
  2714. * 
  2715. * @param string $accountId Account ID of the experiment to update. 
  2716. * @param string $webPropertyId Web property ID of the experiment to update. 
  2717. * @param string $profileId View (Profile) ID of the experiment to update. 
  2718. * @param string $experimentId Experiment ID of the experiment to update. 
  2719. * @param Google_Experiment $postBody 
  2720. * @param array $optParams Optional parameters. 
  2721. * @return Google_Service_Analytics_Experiment 
  2722. */ 
  2723. public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) 
  2724. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); 
  2725. $params = array_merge($params, $optParams); 
  2726. return $this->call('update', array($params), "Google_Service_Analytics_Experiment"); 
  2727. /** 
  2728. * The "filters" collection of methods. 
  2729. * Typical usage is: 
  2730. * <code> 
  2731. * $analyticsService = new Google_Service_Analytics(...); 
  2732. * $filters = $analyticsService->filters; 
  2733. * </code> 
  2734. */ 
  2735. class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource 
  2736.  
  2737. /** 
  2738. * Delete a filter. (filters.delete) 
  2739. * 
  2740. * @param string $accountId Account ID to delete the filter for. 
  2741. * @param string $filterId ID of the filter to be deleted. 
  2742. * @param array $optParams Optional parameters. 
  2743. * @return Google_Service_Analytics_Filter 
  2744. */ 
  2745. public function delete($accountId, $filterId, $optParams = array()) 
  2746. $params = array('accountId' => $accountId, 'filterId' => $filterId); 
  2747. $params = array_merge($params, $optParams); 
  2748. return $this->call('delete', array($params), "Google_Service_Analytics_Filter"); 
  2749.  
  2750. /** 
  2751. * Returns a filters to which the user has access. (filters.get) 
  2752. * 
  2753. * @param string $accountId Account ID to retrieve filters for. 
  2754. * @param string $filterId Filter ID to retrieve filters for. 
  2755. * @param array $optParams Optional parameters. 
  2756. * @return Google_Service_Analytics_Filter 
  2757. */ 
  2758. public function get($accountId, $filterId, $optParams = array()) 
  2759. $params = array('accountId' => $accountId, 'filterId' => $filterId); 
  2760. $params = array_merge($params, $optParams); 
  2761. return $this->call('get', array($params), "Google_Service_Analytics_Filter"); 
  2762.  
  2763. /** 
  2764. * Create a new filter. (filters.insert) 
  2765. * 
  2766. * @param string $accountId Account ID to create filter for. 
  2767. * @param Google_Filter $postBody 
  2768. * @param array $optParams Optional parameters. 
  2769. * @return Google_Service_Analytics_Filter 
  2770. */ 
  2771. public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array()) 
  2772. $params = array('accountId' => $accountId, 'postBody' => $postBody); 
  2773. $params = array_merge($params, $optParams); 
  2774. return $this->call('insert', array($params), "Google_Service_Analytics_Filter"); 
  2775.  
  2776. /** 
  2777. * Lists all filters for an account (filters.listManagementFilters) 
  2778. * 
  2779. * @param string $accountId Account ID to retrieve filters for. 
  2780. * @param array $optParams Optional parameters. 
  2781. * 
  2782. * @opt_param int max-results The maximum number of filters to include in this 
  2783. * response. 
  2784. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2785. * parameter as a pagination mechanism along with the max-results parameter. 
  2786. * @return Google_Service_Analytics_Filters 
  2787. */ 
  2788. public function listManagementFilters($accountId, $optParams = array()) 
  2789. $params = array('accountId' => $accountId); 
  2790. $params = array_merge($params, $optParams); 
  2791. return $this->call('list', array($params), "Google_Service_Analytics_Filters"); 
  2792.  
  2793. /** 
  2794. * Updates an existing filter. This method supports patch semantics. 
  2795. * (filters.patch) 
  2796. * 
  2797. * @param string $accountId Account ID to which the filter belongs. 
  2798. * @param string $filterId ID of the filter to be updated. 
  2799. * @param Google_Filter $postBody 
  2800. * @param array $optParams Optional parameters. 
  2801. * @return Google_Service_Analytics_Filter 
  2802. */ 
  2803. public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) 
  2804. $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); 
  2805. $params = array_merge($params, $optParams); 
  2806. return $this->call('patch', array($params), "Google_Service_Analytics_Filter"); 
  2807.  
  2808. /** 
  2809. * Updates an existing filter. (filters.update) 
  2810. * 
  2811. * @param string $accountId Account ID to which the filter belongs. 
  2812. * @param string $filterId ID of the filter to be updated. 
  2813. * @param Google_Filter $postBody 
  2814. * @param array $optParams Optional parameters. 
  2815. * @return Google_Service_Analytics_Filter 
  2816. */ 
  2817. public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) 
  2818. $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); 
  2819. $params = array_merge($params, $optParams); 
  2820. return $this->call('update', array($params), "Google_Service_Analytics_Filter"); 
  2821. /** 
  2822. * The "goals" collection of methods. 
  2823. * Typical usage is: 
  2824. * <code> 
  2825. * $analyticsService = new Google_Service_Analytics(...); 
  2826. * $goals = $analyticsService->goals; 
  2827. * </code> 
  2828. */ 
  2829. class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource 
  2830.  
  2831. /** 
  2832. * Gets a goal to which the user has access. (goals.get) 
  2833. * 
  2834. * @param string $accountId Account ID to retrieve the goal for. 
  2835. * @param string $webPropertyId Web property ID to retrieve the goal for. 
  2836. * @param string $profileId View (Profile) ID to retrieve the goal for. 
  2837. * @param string $goalId Goal ID to retrieve the goal for. 
  2838. * @param array $optParams Optional parameters. 
  2839. * @return Google_Service_Analytics_Goal 
  2840. */ 
  2841. public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array()) 
  2842. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId); 
  2843. $params = array_merge($params, $optParams); 
  2844. return $this->call('get', array($params), "Google_Service_Analytics_Goal"); 
  2845.  
  2846. /** 
  2847. * Create a new goal. (goals.insert) 
  2848. * 
  2849. * @param string $accountId Account ID to create the goal for. 
  2850. * @param string $webPropertyId Web property ID to create the goal for. 
  2851. * @param string $profileId View (Profile) ID to create the goal for. 
  2852. * @param Google_Goal $postBody 
  2853. * @param array $optParams Optional parameters. 
  2854. * @return Google_Service_Analytics_Goal 
  2855. */ 
  2856. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array()) 
  2857. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  2858. $params = array_merge($params, $optParams); 
  2859. return $this->call('insert', array($params), "Google_Service_Analytics_Goal"); 
  2860.  
  2861. /** 
  2862. * Lists goals to which the user has access. (goals.listManagementGoals) 
  2863. * 
  2864. * @param string $accountId Account ID to retrieve goals for. Can either be a 
  2865. * specific account ID or '~all', which refers to all the accounts that user has 
  2866. * access to. 
  2867. * @param string $webPropertyId Web property ID to retrieve goals for. Can 
  2868. * either be a specific web property ID or '~all', which refers to all the web 
  2869. * properties that user has access to. 
  2870. * @param string $profileId View (Profile) ID to retrieve goals for. Can either 
  2871. * be a specific view (profile) ID or '~all', which refers to all the views 
  2872. * (profiles) that user has access to. 
  2873. * @param array $optParams Optional parameters. 
  2874. * 
  2875. * @opt_param int max-results The maximum number of goals to include in this 
  2876. * response. 
  2877. * @opt_param int start-index An index of the first goal to retrieve. Use this 
  2878. * parameter as a pagination mechanism along with the max-results parameter. 
  2879. * @return Google_Service_Analytics_Goals 
  2880. */ 
  2881. public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) 
  2882. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  2883. $params = array_merge($params, $optParams); 
  2884. return $this->call('list', array($params), "Google_Service_Analytics_Goals"); 
  2885.  
  2886. /** 
  2887. * Updates an existing view (profile). This method supports patch semantics. 
  2888. * (goals.patch) 
  2889. * 
  2890. * @param string $accountId Account ID to update the goal. 
  2891. * @param string $webPropertyId Web property ID to update the goal. 
  2892. * @param string $profileId View (Profile) ID to update the goal. 
  2893. * @param string $goalId Index of the goal to be updated. 
  2894. * @param Google_Goal $postBody 
  2895. * @param array $optParams Optional parameters. 
  2896. * @return Google_Service_Analytics_Goal 
  2897. */ 
  2898. public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) 
  2899. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); 
  2900. $params = array_merge($params, $optParams); 
  2901. return $this->call('patch', array($params), "Google_Service_Analytics_Goal"); 
  2902.  
  2903. /** 
  2904. * Updates an existing view (profile). (goals.update) 
  2905. * 
  2906. * @param string $accountId Account ID to update the goal. 
  2907. * @param string $webPropertyId Web property ID to update the goal. 
  2908. * @param string $profileId View (Profile) ID to update the goal. 
  2909. * @param string $goalId Index of the goal to be updated. 
  2910. * @param Google_Goal $postBody 
  2911. * @param array $optParams Optional parameters. 
  2912. * @return Google_Service_Analytics_Goal 
  2913. */ 
  2914. public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) 
  2915. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); 
  2916. $params = array_merge($params, $optParams); 
  2917. return $this->call('update', array($params), "Google_Service_Analytics_Goal"); 
  2918. /** 
  2919. * The "profileFilterLinks" collection of methods. 
  2920. * Typical usage is: 
  2921. * <code> 
  2922. * $analyticsService = new Google_Service_Analytics(...); 
  2923. * $profileFilterLinks = $analyticsService->profileFilterLinks; 
  2924. * </code> 
  2925. */ 
  2926. class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource 
  2927.  
  2928. /** 
  2929. * Delete a profile filter link. (profileFilterLinks.delete) 
  2930. * 
  2931. * @param string $accountId Account ID to which the profile filter link belongs. 
  2932. * @param string $webPropertyId Web property Id to which the profile filter link 
  2933. * belongs. 
  2934. * @param string $profileId Profile ID to which the filter link belongs. 
  2935. * @param string $linkId ID of the profile filter link to delete. 
  2936. * @param array $optParams Optional parameters. 
  2937. */ 
  2938. public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) 
  2939. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); 
  2940. $params = array_merge($params, $optParams); 
  2941. return $this->call('delete', array($params)); 
  2942.  
  2943. /** 
  2944. * Returns a single profile filter link. (profileFilterLinks.get) 
  2945. * 
  2946. * @param string $accountId Account ID to retrieve profile filter link for. 
  2947. * @param string $webPropertyId Web property Id to retrieve profile filter link 
  2948. * for. 
  2949. * @param string $profileId Profile ID to retrieve filter link for. 
  2950. * @param string $linkId ID of the profile filter link. 
  2951. * @param array $optParams Optional parameters. 
  2952. * @return Google_Service_Analytics_ProfileFilterLink 
  2953. */ 
  2954. public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) 
  2955. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); 
  2956. $params = array_merge($params, $optParams); 
  2957. return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink"); 
  2958.  
  2959. /** 
  2960. * Create a new profile filter link. (profileFilterLinks.insert) 
  2961. * 
  2962. * @param string $accountId Account ID to create profile filter link for. 
  2963. * @param string $webPropertyId Web property Id to create profile filter link 
  2964. * for. 
  2965. * @param string $profileId Profile ID to create filter link for. 
  2966. * @param Google_ProfileFilterLink $postBody 
  2967. * @param array $optParams Optional parameters. 
  2968. * @return Google_Service_Analytics_ProfileFilterLink 
  2969. */ 
  2970. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) 
  2971. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  2972. $params = array_merge($params, $optParams); 
  2973. return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink"); 
  2974.  
  2975. /** 
  2976. * Lists all profile filter links for a profile. 
  2977. * (profileFilterLinks.listManagementProfileFilterLinks) 
  2978. * 
  2979. * @param string $accountId Account ID to retrieve profile filter links for. 
  2980. * @param string $webPropertyId Web property Id for profile filter links for. 
  2981. * Can either be a specific web property ID or '~all', which refers to all the 
  2982. * web properties that user has access to. 
  2983. * @param string $profileId Profile ID to retrieve filter links for. Can either 
  2984. * be a specific profile ID or '~all', which refers to all the profiles that 
  2985. * user has access to. 
  2986. * @param array $optParams Optional parameters. 
  2987. * 
  2988. * @opt_param int max-results The maximum number of profile filter links to 
  2989. * include in this response. 
  2990. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  2991. * parameter as a pagination mechanism along with the max-results parameter. 
  2992. * @return Google_Service_Analytics_ProfileFilterLinks 
  2993. */ 
  2994. public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array()) 
  2995. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  2996. $params = array_merge($params, $optParams); 
  2997. return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks"); 
  2998.  
  2999. /** 
  3000. * Update an existing profile filter link. This method supports patch semantics. 
  3001. * (profileFilterLinks.patch) 
  3002. * 
  3003. * @param string $accountId Account ID to which profile filter link belongs. 
  3004. * @param string $webPropertyId Web property Id to which profile filter link 
  3005. * belongs 
  3006. * @param string $profileId Profile ID to which filter link belongs 
  3007. * @param string $linkId ID of the profile filter link to be updated. 
  3008. * @param Google_ProfileFilterLink $postBody 
  3009. * @param array $optParams Optional parameters. 
  3010. * @return Google_Service_Analytics_ProfileFilterLink 
  3011. */ 
  3012. public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) 
  3013. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); 
  3014. $params = array_merge($params, $optParams); 
  3015. return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink"); 
  3016.  
  3017. /** 
  3018. * Update an existing profile filter link. (profileFilterLinks.update) 
  3019. * 
  3020. * @param string $accountId Account ID to which profile filter link belongs. 
  3021. * @param string $webPropertyId Web property Id to which profile filter link 
  3022. * belongs 
  3023. * @param string $profileId Profile ID to which filter link belongs 
  3024. * @param string $linkId ID of the profile filter link to be updated. 
  3025. * @param Google_ProfileFilterLink $postBody 
  3026. * @param array $optParams Optional parameters. 
  3027. * @return Google_Service_Analytics_ProfileFilterLink 
  3028. */ 
  3029. public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) 
  3030. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); 
  3031. $params = array_merge($params, $optParams); 
  3032. return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink"); 
  3033. /** 
  3034. * The "profileUserLinks" collection of methods. 
  3035. * Typical usage is: 
  3036. * <code> 
  3037. * $analyticsService = new Google_Service_Analytics(...); 
  3038. * $profileUserLinks = $analyticsService->profileUserLinks; 
  3039. * </code> 
  3040. */ 
  3041. class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource 
  3042.  
  3043. /** 
  3044. * Removes a user from the given view (profile). (profileUserLinks.delete) 
  3045. * 
  3046. * @param string $accountId Account ID to delete the user link for. 
  3047. * @param string $webPropertyId Web Property ID to delete the user link for. 
  3048. * @param string $profileId View (Profile) ID to delete the user link for. 
  3049. * @param string $linkId Link ID to delete the user link for. 
  3050. * @param array $optParams Optional parameters. 
  3051. */ 
  3052. public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) 
  3053. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); 
  3054. $params = array_merge($params, $optParams); 
  3055. return $this->call('delete', array($params)); 
  3056.  
  3057. /** 
  3058. * Adds a new user to the given view (profile). (profileUserLinks.insert) 
  3059. * 
  3060. * @param string $accountId Account ID to create the user link for. 
  3061. * @param string $webPropertyId Web Property ID to create the user link for. 
  3062. * @param string $profileId View (Profile) ID to create the user link for. 
  3063. * @param Google_EntityUserLink $postBody 
  3064. * @param array $optParams Optional parameters. 
  3065. * @return Google_Service_Analytics_EntityUserLink 
  3066. */ 
  3067. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) 
  3068. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  3069. $params = array_merge($params, $optParams); 
  3070. return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); 
  3071.  
  3072. /** 
  3073. * Lists profile-user links for a given view (profile). 
  3074. * (profileUserLinks.listManagementProfileUserLinks) 
  3075. * 
  3076. * @param string $accountId Account ID which the given view (profile) belongs 
  3077. * to. 
  3078. * @param string $webPropertyId Web Property ID which the given view (profile) 
  3079. * belongs to. Can either be a specific web property ID or '~all', which refers 
  3080. * to all the web properties that user has access to. 
  3081. * @param string $profileId View (Profile) ID to retrieve the profile-user links 
  3082. * for. Can either be a specific profile ID or '~all', which refers to all the 
  3083. * profiles that user has access to. 
  3084. * @param array $optParams Optional parameters. 
  3085. * 
  3086. * @opt_param int max-results The maximum number of profile-user links to 
  3087. * include in this response. 
  3088. * @opt_param int start-index An index of the first profile-user link to 
  3089. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  3090. * results parameter. 
  3091. * @return Google_Service_Analytics_EntityUserLinks 
  3092. */ 
  3093. public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array()) 
  3094. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  3095. $params = array_merge($params, $optParams); 
  3096. return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); 
  3097.  
  3098. /** 
  3099. * Updates permissions for an existing user on the given view (profile). 
  3100. * (profileUserLinks.update) 
  3101. * 
  3102. * @param string $accountId Account ID to update the user link for. 
  3103. * @param string $webPropertyId Web Property ID to update the user link for. 
  3104. * @param string $profileId View (Profile ID) to update the user link for. 
  3105. * @param string $linkId Link ID to update the user link for. 
  3106. * @param Google_EntityUserLink $postBody 
  3107. * @param array $optParams Optional parameters. 
  3108. * @return Google_Service_Analytics_EntityUserLink 
  3109. */ 
  3110. public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) 
  3111. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); 
  3112. $params = array_merge($params, $optParams); 
  3113. return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); 
  3114. /** 
  3115. * The "profiles" collection of methods. 
  3116. * Typical usage is: 
  3117. * <code> 
  3118. * $analyticsService = new Google_Service_Analytics(...); 
  3119. * $profiles = $analyticsService->profiles; 
  3120. * </code> 
  3121. */ 
  3122. class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource 
  3123.  
  3124. /** 
  3125. * Deletes a view (profile). (profiles.delete) 
  3126. * 
  3127. * @param string $accountId Account ID to delete the view (profile) for. 
  3128. * @param string $webPropertyId Web property ID to delete the view (profile) 
  3129. * for. 
  3130. * @param string $profileId ID of the view (profile) to be deleted. 
  3131. * @param array $optParams Optional parameters. 
  3132. */ 
  3133. public function delete($accountId, $webPropertyId, $profileId, $optParams = array()) 
  3134. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  3135. $params = array_merge($params, $optParams); 
  3136. return $this->call('delete', array($params)); 
  3137.  
  3138. /** 
  3139. * Gets a view (profile) to which the user has access. (profiles.get) 
  3140. * 
  3141. * @param string $accountId Account ID to retrieve the goal for. 
  3142. * @param string $webPropertyId Web property ID to retrieve the goal for. 
  3143. * @param string $profileId View (Profile) ID to retrieve the goal for. 
  3144. * @param array $optParams Optional parameters. 
  3145. * @return Google_Service_Analytics_Profile 
  3146. */ 
  3147. public function get($accountId, $webPropertyId, $profileId, $optParams = array()) 
  3148. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  3149. $params = array_merge($params, $optParams); 
  3150. return $this->call('get', array($params), "Google_Service_Analytics_Profile"); 
  3151.  
  3152. /** 
  3153. * Create a new view (profile). (profiles.insert) 
  3154. * 
  3155. * @param string $accountId Account ID to create the view (profile) for. 
  3156. * @param string $webPropertyId Web property ID to create the view (profile) 
  3157. * for. 
  3158. * @param Google_Profile $postBody 
  3159. * @param array $optParams Optional parameters. 
  3160. * @return Google_Service_Analytics_Profile 
  3161. */ 
  3162. public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array()) 
  3163. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  3164. $params = array_merge($params, $optParams); 
  3165. return $this->call('insert', array($params), "Google_Service_Analytics_Profile"); 
  3166.  
  3167. /** 
  3168. * Lists views (profiles) to which the user has access. 
  3169. * (profiles.listManagementProfiles) 
  3170. * 
  3171. * @param string $accountId Account ID for the view (profiles) to retrieve. Can 
  3172. * either be a specific account ID or '~all', which refers to all the accounts 
  3173. * to which the user has access. 
  3174. * @param string $webPropertyId Web property ID for the views (profiles) to 
  3175. * retrieve. Can either be a specific web property ID or '~all', which refers to 
  3176. * all the web properties to which the user has access. 
  3177. * @param array $optParams Optional parameters. 
  3178. * 
  3179. * @opt_param int max-results The maximum number of views (profiles) to include 
  3180. * in this response. 
  3181. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  3182. * parameter as a pagination mechanism along with the max-results parameter. 
  3183. * @return Google_Service_Analytics_Profiles 
  3184. */ 
  3185. public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) 
  3186. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  3187. $params = array_merge($params, $optParams); 
  3188. return $this->call('list', array($params), "Google_Service_Analytics_Profiles"); 
  3189.  
  3190. /** 
  3191. * Updates an existing view (profile). This method supports patch semantics. 
  3192. * (profiles.patch) 
  3193. * 
  3194. * @param string $accountId Account ID to which the view (profile) belongs 
  3195. * @param string $webPropertyId Web property ID to which the view (profile) 
  3196. * belongs 
  3197. * @param string $profileId ID of the view (profile) to be updated. 
  3198. * @param Google_Profile $postBody 
  3199. * @param array $optParams Optional parameters. 
  3200. * @return Google_Service_Analytics_Profile 
  3201. */ 
  3202. public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) 
  3203. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  3204. $params = array_merge($params, $optParams); 
  3205. return $this->call('patch', array($params), "Google_Service_Analytics_Profile"); 
  3206.  
  3207. /** 
  3208. * Updates an existing view (profile). (profiles.update) 
  3209. * 
  3210. * @param string $accountId Account ID to which the view (profile) belongs 
  3211. * @param string $webPropertyId Web property ID to which the view (profile) 
  3212. * belongs 
  3213. * @param string $profileId ID of the view (profile) to be updated. 
  3214. * @param Google_Profile $postBody 
  3215. * @param array $optParams Optional parameters. 
  3216. * @return Google_Service_Analytics_Profile 
  3217. */ 
  3218. public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) 
  3219. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  3220. $params = array_merge($params, $optParams); 
  3221. return $this->call('update', array($params), "Google_Service_Analytics_Profile"); 
  3222. /** 
  3223. * The "segments" collection of methods. 
  3224. * Typical usage is: 
  3225. * <code> 
  3226. * $analyticsService = new Google_Service_Analytics(...); 
  3227. * $segments = $analyticsService->segments; 
  3228. * </code> 
  3229. */ 
  3230. class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource 
  3231.  
  3232. /** 
  3233. * Lists segments to which the user has access. 
  3234. * (segments.listManagementSegments) 
  3235. * 
  3236. * @param array $optParams Optional parameters. 
  3237. * 
  3238. * @opt_param int max-results The maximum number of segments to include in this 
  3239. * response. 
  3240. * @opt_param int start-index An index of the first segment to retrieve. Use 
  3241. * this parameter as a pagination mechanism along with the max-results 
  3242. * parameter. 
  3243. * @return Google_Service_Analytics_Segments 
  3244. */ 
  3245. public function listManagementSegments($optParams = array()) 
  3246. $params = array(); 
  3247. $params = array_merge($params, $optParams); 
  3248. return $this->call('list', array($params), "Google_Service_Analytics_Segments"); 
  3249. /** 
  3250. * The "unsampledReports" collection of methods. 
  3251. * Typical usage is: 
  3252. * <code> 
  3253. * $analyticsService = new Google_Service_Analytics(...); 
  3254. * $unsampledReports = $analyticsService->unsampledReports; 
  3255. * </code> 
  3256. */ 
  3257. class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource 
  3258.  
  3259. /** 
  3260. * Returns a single unsampled report. (unsampledReports.get) 
  3261. * 
  3262. * @param string $accountId Account ID to retrieve unsampled report for. 
  3263. * @param string $webPropertyId Web property ID to retrieve unsampled reports 
  3264. * for. 
  3265. * @param string $profileId View (Profile) ID to retrieve unsampled report for. 
  3266. * @param string $unsampledReportId ID of the unsampled report to retrieve. 
  3267. * @param array $optParams Optional parameters. 
  3268. * @return Google_Service_Analytics_UnsampledReport 
  3269. */ 
  3270. public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array()) 
  3271. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId); 
  3272. $params = array_merge($params, $optParams); 
  3273. return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport"); 
  3274.  
  3275. /** 
  3276. * Create a new unsampled report. (unsampledReports.insert) 
  3277. * 
  3278. * @param string $accountId Account ID to create the unsampled report for. 
  3279. * @param string $webPropertyId Web property ID to create the unsampled report 
  3280. * for. 
  3281. * @param string $profileId View (Profile) ID to create the unsampled report 
  3282. * for. 
  3283. * @param Google_UnsampledReport $postBody 
  3284. * @param array $optParams Optional parameters. 
  3285. * @return Google_Service_Analytics_UnsampledReport 
  3286. */ 
  3287. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array()) 
  3288. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  3289. $params = array_merge($params, $optParams); 
  3290. return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport"); 
  3291.  
  3292. /** 
  3293. * Lists unsampled reports to which the user has access. 
  3294. * (unsampledReports.listManagementUnsampledReports) 
  3295. * 
  3296. * @param string $accountId Account ID to retrieve unsampled reports for. Must 
  3297. * be a specific account ID, ~all is not supported. 
  3298. * @param string $webPropertyId Web property ID to retrieve unsampled reports 
  3299. * for. Must be a specific web property ID, ~all is not supported. 
  3300. * @param string $profileId View (Profile) ID to retrieve unsampled reports for. 
  3301. * Must be a specific view (profile) ID, ~all is not supported. 
  3302. * @param array $optParams Optional parameters. 
  3303. * 
  3304. * @opt_param int max-results The maximum number of unsampled reports to include 
  3305. * in this response. 
  3306. * @opt_param int start-index An index of the first unsampled report to 
  3307. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  3308. * results parameter. 
  3309. * @return Google_Service_Analytics_UnsampledReports 
  3310. */ 
  3311. public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array()) 
  3312. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  3313. $params = array_merge($params, $optParams); 
  3314. return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports"); 
  3315. /** 
  3316. * The "uploads" collection of methods. 
  3317. * Typical usage is: 
  3318. * <code> 
  3319. * $analyticsService = new Google_Service_Analytics(...); 
  3320. * $uploads = $analyticsService->uploads; 
  3321. * </code> 
  3322. */ 
  3323. class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource 
  3324.  
  3325. /** 
  3326. * Delete data associated with a previous upload. (uploads.deleteUploadData) 
  3327. * 
  3328. * @param string $accountId Account Id for the uploads to be deleted. 
  3329. * @param string $webPropertyId Web property Id for the uploads to be deleted. 
  3330. * @param string $customDataSourceId Custom data source Id for the uploads to be 
  3331. * deleted. 
  3332. * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody 
  3333. * @param array $optParams Optional parameters. 
  3334. */ 
  3335. public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array()) 
  3336. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody); 
  3337. $params = array_merge($params, $optParams); 
  3338. return $this->call('deleteUploadData', array($params)); 
  3339.  
  3340. /** 
  3341. * List uploads to which the user has access. (uploads.get) 
  3342. * 
  3343. * @param string $accountId Account Id for the upload to retrieve. 
  3344. * @param string $webPropertyId Web property Id for the upload to retrieve. 
  3345. * @param string $customDataSourceId Custom data source Id for upload to 
  3346. * retrieve. 
  3347. * @param string $uploadId Upload Id to retrieve. 
  3348. * @param array $optParams Optional parameters. 
  3349. * @return Google_Service_Analytics_Upload 
  3350. */ 
  3351. public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array()) 
  3352. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId); 
  3353. $params = array_merge($params, $optParams); 
  3354. return $this->call('get', array($params), "Google_Service_Analytics_Upload"); 
  3355.  
  3356. /** 
  3357. * List uploads to which the user has access. (uploads.listManagementUploads) 
  3358. * 
  3359. * @param string $accountId Account Id for the uploads to retrieve. 
  3360. * @param string $webPropertyId Web property Id for the uploads to retrieve. 
  3361. * @param string $customDataSourceId Custom data source Id for uploads to 
  3362. * retrieve. 
  3363. * @param array $optParams Optional parameters. 
  3364. * 
  3365. * @opt_param int max-results The maximum number of uploads to include in this 
  3366. * response. 
  3367. * @opt_param int start-index A 1-based index of the first upload to retrieve. 
  3368. * Use this parameter as a pagination mechanism along with the max-results 
  3369. * parameter. 
  3370. * @return Google_Service_Analytics_Uploads 
  3371. */ 
  3372. public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) 
  3373. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); 
  3374. $params = array_merge($params, $optParams); 
  3375. return $this->call('list', array($params), "Google_Service_Analytics_Uploads"); 
  3376.  
  3377. /** 
  3378. * Migrate custom data source and data imports to latest version. 
  3379. * (uploads.migrateDataImport) 
  3380. * 
  3381. * @param string $accountId Account Id for migration. 
  3382. * @param string $webPropertyId Web property Id for migration. 
  3383. * @param string $customDataSourceId Custom data source Id for migration. 
  3384. * @param array $optParams Optional parameters. 
  3385. */ 
  3386. public function migrateDataImport($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) 
  3387. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); 
  3388. $params = array_merge($params, $optParams); 
  3389. return $this->call('migrateDataImport', array($params)); 
  3390.  
  3391. /** 
  3392. * Upload data for a custom data source. (uploads.uploadData) 
  3393. * 
  3394. * @param string $accountId Account Id associated with the upload. 
  3395. * @param string $webPropertyId Web property UA-string associated with the 
  3396. * upload. 
  3397. * @param string $customDataSourceId Custom data source Id to which the data 
  3398. * being uploaded belongs. 
  3399. * @param array $optParams Optional parameters. 
  3400. * @return Google_Service_Analytics_Upload 
  3401. */ 
  3402. public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) 
  3403. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); 
  3404. $params = array_merge($params, $optParams); 
  3405. return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload"); 
  3406. /** 
  3407. * The "webPropertyAdWordsLinks" collection of methods. 
  3408. * Typical usage is: 
  3409. * <code> 
  3410. * $analyticsService = new Google_Service_Analytics(...); 
  3411. * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks; 
  3412. * </code> 
  3413. */ 
  3414. class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource 
  3415.  
  3416. /** 
  3417. * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete) 
  3418. * 
  3419. * @param string $accountId ID of the account which the given web property 
  3420. * belongs to. 
  3421. * @param string $webPropertyId Web property ID to delete the AdWords link for. 
  3422. * @param string $webPropertyAdWordsLinkId Web property AdWords link ID. 
  3423. * @param array $optParams Optional parameters. 
  3424. */ 
  3425. public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) 
  3426. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); 
  3427. $params = array_merge($params, $optParams); 
  3428. return $this->call('delete', array($params)); 
  3429.  
  3430. /** 
  3431. * Returns a web property-AdWords link to which the user has access. 
  3432. * (webPropertyAdWordsLinks.get) 
  3433. * 
  3434. * @param string $accountId ID of the account which the given web property 
  3435. * belongs to. 
  3436. * @param string $webPropertyId Web property ID to retrieve the AdWords link 
  3437. * for. 
  3438. * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. 
  3439. * @param array $optParams Optional parameters. 
  3440. * @return Google_Service_Analytics_EntityAdWordsLink 
  3441. */ 
  3442. public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) 
  3443. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); 
  3444. $params = array_merge($params, $optParams); 
  3445. return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink"); 
  3446.  
  3447. /** 
  3448. * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert) 
  3449. * 
  3450. * @param string $accountId ID of the Google Analytics account to create the 
  3451. * link for. 
  3452. * @param string $webPropertyId Web property ID to create the link for. 
  3453. * @param Google_EntityAdWordsLink $postBody 
  3454. * @param array $optParams Optional parameters. 
  3455. * @return Google_Service_Analytics_EntityAdWordsLink 
  3456. */ 
  3457. public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) 
  3458. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  3459. $params = array_merge($params, $optParams); 
  3460. return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink"); 
  3461.  
  3462. /** 
  3463. * Lists webProperty-AdWords links for a given web property. 
  3464. * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks) 
  3465. * 
  3466. * @param string $accountId ID of the account which the given web property 
  3467. * belongs to. 
  3468. * @param string $webPropertyId Web property ID to retrieve the AdWords links 
  3469. * for. 
  3470. * @param array $optParams Optional parameters. 
  3471. * 
  3472. * @opt_param int max-results The maximum number of webProperty-AdWords links to 
  3473. * include in this response. 
  3474. * @opt_param int start-index An index of the first webProperty-AdWords link to 
  3475. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  3476. * results parameter. 
  3477. * @return Google_Service_Analytics_EntityAdWordsLinks 
  3478. */ 
  3479. public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array()) 
  3480. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  3481. $params = array_merge($params, $optParams); 
  3482. return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks"); 
  3483.  
  3484. /** 
  3485. * Updates an existing webProperty-AdWords link. This method supports patch 
  3486. * semantics. (webPropertyAdWordsLinks.patch) 
  3487. * 
  3488. * @param string $accountId ID of the account which the given web property 
  3489. * belongs to. 
  3490. * @param string $webPropertyId Web property ID to retrieve the AdWords link 
  3491. * for. 
  3492. * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. 
  3493. * @param Google_EntityAdWordsLink $postBody 
  3494. * @param array $optParams Optional parameters. 
  3495. * @return Google_Service_Analytics_EntityAdWordsLink 
  3496. */ 
  3497. public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) 
  3498. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); 
  3499. $params = array_merge($params, $optParams); 
  3500. return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink"); 
  3501.  
  3502. /** 
  3503. * Updates an existing webProperty-AdWords link. 
  3504. * (webPropertyAdWordsLinks.update) 
  3505. * 
  3506. * @param string $accountId ID of the account which the given web property 
  3507. * belongs to. 
  3508. * @param string $webPropertyId Web property ID to retrieve the AdWords link 
  3509. * for. 
  3510. * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. 
  3511. * @param Google_EntityAdWordsLink $postBody 
  3512. * @param array $optParams Optional parameters. 
  3513. * @return Google_Service_Analytics_EntityAdWordsLink 
  3514. */ 
  3515. public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) 
  3516. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); 
  3517. $params = array_merge($params, $optParams); 
  3518. return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink"); 
  3519. /** 
  3520. * The "webproperties" collection of methods. 
  3521. * Typical usage is: 
  3522. * <code> 
  3523. * $analyticsService = new Google_Service_Analytics(...); 
  3524. * $webproperties = $analyticsService->webproperties; 
  3525. * </code> 
  3526. */ 
  3527. class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource 
  3528.  
  3529. /** 
  3530. * Gets a web property to which the user has access. (webproperties.get) 
  3531. * 
  3532. * @param string $accountId Account ID to retrieve the web property for. 
  3533. * @param string $webPropertyId ID to retrieve the web property for. 
  3534. * @param array $optParams Optional parameters. 
  3535. * @return Google_Service_Analytics_Webproperty 
  3536. */ 
  3537. public function get($accountId, $webPropertyId, $optParams = array()) 
  3538. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  3539. $params = array_merge($params, $optParams); 
  3540. return $this->call('get', array($params), "Google_Service_Analytics_Webproperty"); 
  3541.  
  3542. /** 
  3543. * Create a new property if the account has fewer than 20 properties. Web 
  3544. * properties are visible in the Google Analytics interface only if they have at 
  3545. * least one profile. (webproperties.insert) 
  3546. * 
  3547. * @param string $accountId Account ID to create the web property for. 
  3548. * @param Google_Webproperty $postBody 
  3549. * @param array $optParams Optional parameters. 
  3550. * @return Google_Service_Analytics_Webproperty 
  3551. */ 
  3552. public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) 
  3553. $params = array('accountId' => $accountId, 'postBody' => $postBody); 
  3554. $params = array_merge($params, $optParams); 
  3555. return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty"); 
  3556.  
  3557. /** 
  3558. * Lists web properties to which the user has access. 
  3559. * (webproperties.listManagementWebproperties) 
  3560. * 
  3561. * @param string $accountId Account ID to retrieve web properties for. Can 
  3562. * either be a specific account ID or '~all', which refers to all the accounts 
  3563. * that user has access to. 
  3564. * @param array $optParams Optional parameters. 
  3565. * 
  3566. * @opt_param int max-results The maximum number of web properties to include in 
  3567. * this response. 
  3568. * @opt_param int start-index An index of the first entity to retrieve. Use this 
  3569. * parameter as a pagination mechanism along with the max-results parameter. 
  3570. * @return Google_Service_Analytics_Webproperties 
  3571. */ 
  3572. public function listManagementWebproperties($accountId, $optParams = array()) 
  3573. $params = array('accountId' => $accountId); 
  3574. $params = array_merge($params, $optParams); 
  3575. return $this->call('list', array($params), "Google_Service_Analytics_Webproperties"); 
  3576.  
  3577. /** 
  3578. * Updates an existing web property. This method supports patch semantics. 
  3579. * (webproperties.patch) 
  3580. * 
  3581. * @param string $accountId Account ID to which the web property belongs 
  3582. * @param string $webPropertyId Web property ID 
  3583. * @param Google_Webproperty $postBody 
  3584. * @param array $optParams Optional parameters. 
  3585. * @return Google_Service_Analytics_Webproperty 
  3586. */ 
  3587. public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) 
  3588. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  3589. $params = array_merge($params, $optParams); 
  3590. return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty"); 
  3591.  
  3592. /** 
  3593. * Updates an existing web property. (webproperties.update) 
  3594. * 
  3595. * @param string $accountId Account ID to which the web property belongs 
  3596. * @param string $webPropertyId Web property ID 
  3597. * @param Google_Webproperty $postBody 
  3598. * @param array $optParams Optional parameters. 
  3599. * @return Google_Service_Analytics_Webproperty 
  3600. */ 
  3601. public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) 
  3602. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  3603. $params = array_merge($params, $optParams); 
  3604. return $this->call('update', array($params), "Google_Service_Analytics_Webproperty"); 
  3605. /** 
  3606. * The "webpropertyUserLinks" collection of methods. 
  3607. * Typical usage is: 
  3608. * <code> 
  3609. * $analyticsService = new Google_Service_Analytics(...); 
  3610. * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks; 
  3611. * </code> 
  3612. */ 
  3613. class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource 
  3614.  
  3615. /** 
  3616. * Removes a user from the given web property. (webpropertyUserLinks.delete) 
  3617. * 
  3618. * @param string $accountId Account ID to delete the user link for. 
  3619. * @param string $webPropertyId Web Property ID to delete the user link for. 
  3620. * @param string $linkId Link ID to delete the user link for. 
  3621. * @param array $optParams Optional parameters. 
  3622. */ 
  3623. public function delete($accountId, $webPropertyId, $linkId, $optParams = array()) 
  3624. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId); 
  3625. $params = array_merge($params, $optParams); 
  3626. return $this->call('delete', array($params)); 
  3627.  
  3628. /** 
  3629. * Adds a new user to the given web property. (webpropertyUserLinks.insert) 
  3630. * 
  3631. * @param string $accountId Account ID to create the user link for. 
  3632. * @param string $webPropertyId Web Property ID to create the user link for. 
  3633. * @param Google_EntityUserLink $postBody 
  3634. * @param array $optParams Optional parameters. 
  3635. * @return Google_Service_Analytics_EntityUserLink 
  3636. */ 
  3637. public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) 
  3638. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); 
  3639. $params = array_merge($params, $optParams); 
  3640. return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); 
  3641.  
  3642. /** 
  3643. * Lists webProperty-user links for a given web property. 
  3644. * (webpropertyUserLinks.listManagementWebpropertyUserLinks) 
  3645. * 
  3646. * @param string $accountId Account ID which the given web property belongs to. 
  3647. * @param string $webPropertyId Web Property ID for the webProperty-user links 
  3648. * to retrieve. Can either be a specific web property ID or '~all', which refers 
  3649. * to all the web properties that user has access to. 
  3650. * @param array $optParams Optional parameters. 
  3651. * 
  3652. * @opt_param int max-results The maximum number of webProperty-user Links to 
  3653. * include in this response. 
  3654. * @opt_param int start-index An index of the first webProperty-user link to 
  3655. * retrieve. Use this parameter as a pagination mechanism along with the max- 
  3656. * results parameter. 
  3657. * @return Google_Service_Analytics_EntityUserLinks 
  3658. */ 
  3659. public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array()) 
  3660. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); 
  3661. $params = array_merge($params, $optParams); 
  3662. return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); 
  3663.  
  3664. /** 
  3665. * Updates permissions for an existing user on the given web property. 
  3666. * (webpropertyUserLinks.update) 
  3667. * 
  3668. * @param string $accountId Account ID to update the account-user link for. 
  3669. * @param string $webPropertyId Web property ID to update the account-user link 
  3670. * for. 
  3671. * @param string $linkId Link ID to update the account-user link for. 
  3672. * @param Google_EntityUserLink $postBody 
  3673. * @param array $optParams Optional parameters. 
  3674. * @return Google_Service_Analytics_EntityUserLink 
  3675. */ 
  3676. public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) 
  3677. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody); 
  3678. $params = array_merge($params, $optParams); 
  3679. return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); 
  3680.  
  3681. /** 
  3682. * The "metadata" collection of methods. 
  3683. * Typical usage is: 
  3684. * <code> 
  3685. * $analyticsService = new Google_Service_Analytics(...); 
  3686. * $metadata = $analyticsService->metadata; 
  3687. * </code> 
  3688. */ 
  3689. class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource 
  3690.  
  3691. /** 
  3692. * The "columns" collection of methods. 
  3693. * Typical usage is: 
  3694. * <code> 
  3695. * $analyticsService = new Google_Service_Analytics(...); 
  3696. * $columns = $analyticsService->columns; 
  3697. * </code> 
  3698. */ 
  3699. class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource 
  3700.  
  3701. /** 
  3702. * Lists all columns for a report type (columns.listMetadataColumns) 
  3703. * 
  3704. * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga' 
  3705. * corresponds to the Core Reporting API 
  3706. * @param array $optParams Optional parameters. 
  3707. * @return Google_Service_Analytics_Columns 
  3708. */ 
  3709. public function listMetadataColumns($reportType, $optParams = array()) 
  3710. $params = array('reportType' => $reportType); 
  3711. $params = array_merge($params, $optParams); 
  3712. return $this->call('list', array($params), "Google_Service_Analytics_Columns"); 
  3713.  
  3714. /** 
  3715. * The "provisioning" collection of methods. 
  3716. * Typical usage is: 
  3717. * <code> 
  3718. * $analyticsService = new Google_Service_Analytics(...); 
  3719. * $provisioning = $analyticsService->provisioning; 
  3720. * </code> 
  3721. */ 
  3722. class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource 
  3723.  
  3724. /** 
  3725. * Creates an account ticket. (provisioning.createAccountTicket) 
  3726. * 
  3727. * @param Google_AccountTicket $postBody 
  3728. * @param array $optParams Optional parameters. 
  3729. * @return Google_Service_Analytics_AccountTicket 
  3730. */ 
  3731. public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array()) 
  3732. $params = array('postBody' => $postBody); 
  3733. $params = array_merge($params, $optParams); 
  3734. return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket"); 
  3735.  
  3736.  
  3737.  
  3738.  
  3739. class Google_Service_Analytics_Account extends Google_Model 
  3740. protected $internal_gapi_mappings = array( 
  3741. ); 
  3742. protected $childLinkType = 'Google_Service_Analytics_AccountChildLink'; 
  3743. protected $childLinkDataType = ''; 
  3744. public $created; 
  3745. public $id; 
  3746. public $kind; 
  3747. public $name; 
  3748. protected $permissionsType = 'Google_Service_Analytics_AccountPermissions'; 
  3749. protected $permissionsDataType = ''; 
  3750. public $selfLink; 
  3751. public $updated; 
  3752.  
  3753.  
  3754. public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink) 
  3755. $this->childLink = $childLink; 
  3756. public function getChildLink() 
  3757. return $this->childLink; 
  3758. public function setCreated($created) 
  3759. $this->created = $created; 
  3760. public function getCreated() 
  3761. return $this->created; 
  3762. public function setId($id) 
  3763. $this->id = $id; 
  3764. public function getId() 
  3765. return $this->id; 
  3766. public function setKind($kind) 
  3767. $this->kind = $kind; 
  3768. public function getKind() 
  3769. return $this->kind; 
  3770. public function setName($name) 
  3771. $this->name = $name; 
  3772. public function getName() 
  3773. return $this->name; 
  3774. public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions) 
  3775. $this->permissions = $permissions; 
  3776. public function getPermissions() 
  3777. return $this->permissions; 
  3778. public function setSelfLink($selfLink) 
  3779. $this->selfLink = $selfLink; 
  3780. public function getSelfLink() 
  3781. return $this->selfLink; 
  3782. public function setUpdated($updated) 
  3783. $this->updated = $updated; 
  3784. public function getUpdated() 
  3785. return $this->updated; 
  3786.  
  3787. class Google_Service_Analytics_AccountChildLink extends Google_Model 
  3788. protected $internal_gapi_mappings = array( 
  3789. ); 
  3790. public $href; 
  3791. public $type; 
  3792.  
  3793.  
  3794. public function setHref($href) 
  3795. $this->href = $href; 
  3796. public function getHref() 
  3797. return $this->href; 
  3798. public function setType($type) 
  3799. $this->type = $type; 
  3800. public function getType() 
  3801. return $this->type; 
  3802.  
  3803. class Google_Service_Analytics_AccountPermissions extends Google_Collection 
  3804. protected $collection_key = 'effective'; 
  3805. protected $internal_gapi_mappings = array( 
  3806. ); 
  3807. public $effective; 
  3808.  
  3809.  
  3810. public function setEffective($effective) 
  3811. $this->effective = $effective; 
  3812. public function getEffective() 
  3813. return $this->effective; 
  3814.  
  3815. class Google_Service_Analytics_AccountRef extends Google_Model 
  3816. protected $internal_gapi_mappings = array( 
  3817. ); 
  3818. public $href; 
  3819. public $id; 
  3820. public $kind; 
  3821. public $name; 
  3822.  
  3823.  
  3824. public function setHref($href) 
  3825. $this->href = $href; 
  3826. public function getHref() 
  3827. return $this->href; 
  3828. public function setId($id) 
  3829. $this->id = $id; 
  3830. public function getId() 
  3831. return $this->id; 
  3832. public function setKind($kind) 
  3833. $this->kind = $kind; 
  3834. public function getKind() 
  3835. return $this->kind; 
  3836. public function setName($name) 
  3837. $this->name = $name; 
  3838. public function getName() 
  3839. return $this->name; 
  3840.  
  3841. class Google_Service_Analytics_AccountSummaries extends Google_Collection 
  3842. protected $collection_key = 'items'; 
  3843. protected $internal_gapi_mappings = array( 
  3844. ); 
  3845. protected $itemsType = 'Google_Service_Analytics_AccountSummary'; 
  3846. protected $itemsDataType = 'array'; 
  3847. public $itemsPerPage; 
  3848. public $kind; 
  3849. public $nextLink; 
  3850. public $previousLink; 
  3851. public $startIndex; 
  3852. public $totalResults; 
  3853. public $username; 
  3854.  
  3855.  
  3856. public function setItems($items) 
  3857. $this->items = $items; 
  3858. public function getItems() 
  3859. return $this->items; 
  3860. public function setItemsPerPage($itemsPerPage) 
  3861. $this->itemsPerPage = $itemsPerPage; 
  3862. public function getItemsPerPage() 
  3863. return $this->itemsPerPage; 
  3864. public function setKind($kind) 
  3865. $this->kind = $kind; 
  3866. public function getKind() 
  3867. return $this->kind; 
  3868. public function setNextLink($nextLink) 
  3869. $this->nextLink = $nextLink; 
  3870. public function getNextLink() 
  3871. return $this->nextLink; 
  3872. public function setPreviousLink($previousLink) 
  3873. $this->previousLink = $previousLink; 
  3874. public function getPreviousLink() 
  3875. return $this->previousLink; 
  3876. public function setStartIndex($startIndex) 
  3877. $this->startIndex = $startIndex; 
  3878. public function getStartIndex() 
  3879. return $this->startIndex; 
  3880. public function setTotalResults($totalResults) 
  3881. $this->totalResults = $totalResults; 
  3882. public function getTotalResults() 
  3883. return $this->totalResults; 
  3884. public function setUsername($username) 
  3885. $this->username = $username; 
  3886. public function getUsername() 
  3887. return $this->username; 
  3888.  
  3889. class Google_Service_Analytics_AccountSummary extends Google_Collection 
  3890. protected $collection_key = 'webProperties'; 
  3891. protected $internal_gapi_mappings = array( 
  3892. ); 
  3893. public $id; 
  3894. public $kind; 
  3895. public $name; 
  3896. protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary'; 
  3897. protected $webPropertiesDataType = 'array'; 
  3898.  
  3899.  
  3900. public function setId($id) 
  3901. $this->id = $id; 
  3902. public function getId() 
  3903. return $this->id; 
  3904. public function setKind($kind) 
  3905. $this->kind = $kind; 
  3906. public function getKind() 
  3907. return $this->kind; 
  3908. public function setName($name) 
  3909. $this->name = $name; 
  3910. public function getName() 
  3911. return $this->name; 
  3912. public function setWebProperties($webProperties) 
  3913. $this->webProperties = $webProperties; 
  3914. public function getWebProperties() 
  3915. return $this->webProperties; 
  3916.  
  3917. class Google_Service_Analytics_AccountTicket extends Google_Model 
  3918. protected $internal_gapi_mappings = array( 
  3919. ); 
  3920. protected $accountType = 'Google_Service_Analytics_Account'; 
  3921. protected $accountDataType = ''; 
  3922. public $id; 
  3923. public $kind; 
  3924. protected $profileType = 'Google_Service_Analytics_Profile'; 
  3925. protected $profileDataType = ''; 
  3926. public $redirectUri; 
  3927. protected $webpropertyType = 'Google_Service_Analytics_Webproperty'; 
  3928. protected $webpropertyDataType = ''; 
  3929.  
  3930.  
  3931. public function setAccount(Google_Service_Analytics_Account $account) 
  3932. $this->account = $account; 
  3933. public function getAccount() 
  3934. return $this->account; 
  3935. public function setId($id) 
  3936. $this->id = $id; 
  3937. public function getId() 
  3938. return $this->id; 
  3939. public function setKind($kind) 
  3940. $this->kind = $kind; 
  3941. public function getKind() 
  3942. return $this->kind; 
  3943. public function setProfile(Google_Service_Analytics_Profile $profile) 
  3944. $this->profile = $profile; 
  3945. public function getProfile() 
  3946. return $this->profile; 
  3947. public function setRedirectUri($redirectUri) 
  3948. $this->redirectUri = $redirectUri; 
  3949. public function getRedirectUri() 
  3950. return $this->redirectUri; 
  3951. public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty) 
  3952. $this->webproperty = $webproperty; 
  3953. public function getWebproperty() 
  3954. return $this->webproperty; 
  3955.  
  3956. class Google_Service_Analytics_Accounts extends Google_Collection 
  3957. protected $collection_key = 'items'; 
  3958. protected $internal_gapi_mappings = array( 
  3959. ); 
  3960. protected $itemsType = 'Google_Service_Analytics_Account'; 
  3961. protected $itemsDataType = 'array'; 
  3962. public $itemsPerPage; 
  3963. public $kind; 
  3964. public $nextLink; 
  3965. public $previousLink; 
  3966. public $startIndex; 
  3967. public $totalResults; 
  3968. public $username; 
  3969.  
  3970.  
  3971. public function setItems($items) 
  3972. $this->items = $items; 
  3973. public function getItems() 
  3974. return $this->items; 
  3975. public function setItemsPerPage($itemsPerPage) 
  3976. $this->itemsPerPage = $itemsPerPage; 
  3977. public function getItemsPerPage() 
  3978. return $this->itemsPerPage; 
  3979. public function setKind($kind) 
  3980. $this->kind = $kind; 
  3981. public function getKind() 
  3982. return $this->kind; 
  3983. public function setNextLink($nextLink) 
  3984. $this->nextLink = $nextLink; 
  3985. public function getNextLink() 
  3986. return $this->nextLink; 
  3987. public function setPreviousLink($previousLink) 
  3988. $this->previousLink = $previousLink; 
  3989. public function getPreviousLink() 
  3990. return $this->previousLink; 
  3991. public function setStartIndex($startIndex) 
  3992. $this->startIndex = $startIndex; 
  3993. public function getStartIndex() 
  3994. return $this->startIndex; 
  3995. public function setTotalResults($totalResults) 
  3996. $this->totalResults = $totalResults; 
  3997. public function getTotalResults() 
  3998. return $this->totalResults; 
  3999. public function setUsername($username) 
  4000. $this->username = $username; 
  4001. public function getUsername() 
  4002. return $this->username; 
  4003.  
  4004. class Google_Service_Analytics_AdWordsAccount extends Google_Model 
  4005. protected $internal_gapi_mappings = array( 
  4006. ); 
  4007. public $autoTaggingEnabled; 
  4008. public $customerId; 
  4009. public $kind; 
  4010.  
  4011.  
  4012. public function setAutoTaggingEnabled($autoTaggingEnabled) 
  4013. $this->autoTaggingEnabled = $autoTaggingEnabled; 
  4014. public function getAutoTaggingEnabled() 
  4015. return $this->autoTaggingEnabled; 
  4016. public function setCustomerId($customerId) 
  4017. $this->customerId = $customerId; 
  4018. public function getCustomerId() 
  4019. return $this->customerId; 
  4020. public function setKind($kind) 
  4021. $this->kind = $kind; 
  4022. public function getKind() 
  4023. return $this->kind; 
  4024.  
  4025. class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection 
  4026. protected $collection_key = 'customDataImportUids'; 
  4027. protected $internal_gapi_mappings = array( 
  4028. ); 
  4029. public $customDataImportUids; 
  4030.  
  4031.  
  4032. public function setCustomDataImportUids($customDataImportUids) 
  4033. $this->customDataImportUids = $customDataImportUids; 
  4034. public function getCustomDataImportUids() 
  4035. return $this->customDataImportUids; 
  4036.  
  4037. class Google_Service_Analytics_Column extends Google_Model 
  4038. protected $internal_gapi_mappings = array( 
  4039. ); 
  4040. public $attributes; 
  4041. public $id; 
  4042. public $kind; 
  4043.  
  4044.  
  4045. public function setAttributes($attributes) 
  4046. $this->attributes = $attributes; 
  4047. public function getAttributes() 
  4048. return $this->attributes; 
  4049. public function setId($id) 
  4050. $this->id = $id; 
  4051. public function getId() 
  4052. return $this->id; 
  4053. public function setKind($kind) 
  4054. $this->kind = $kind; 
  4055. public function getKind() 
  4056. return $this->kind; 
  4057.  
  4058. class Google_Service_Analytics_ColumnAttributes extends Google_Model 
  4059.  
  4060. class Google_Service_Analytics_Columns extends Google_Collection 
  4061. protected $collection_key = 'items'; 
  4062. protected $internal_gapi_mappings = array( 
  4063. ); 
  4064. public $attributeNames; 
  4065. public $etag; 
  4066. protected $itemsType = 'Google_Service_Analytics_Column'; 
  4067. protected $itemsDataType = 'array'; 
  4068. public $kind; 
  4069. public $totalResults; 
  4070.  
  4071.  
  4072. public function setAttributeNames($attributeNames) 
  4073. $this->attributeNames = $attributeNames; 
  4074. public function getAttributeNames() 
  4075. return $this->attributeNames; 
  4076. public function setEtag($etag) 
  4077. $this->etag = $etag; 
  4078. public function getEtag() 
  4079. return $this->etag; 
  4080. public function setItems($items) 
  4081. $this->items = $items; 
  4082. public function getItems() 
  4083. return $this->items; 
  4084. public function setKind($kind) 
  4085. $this->kind = $kind; 
  4086. public function getKind() 
  4087. return $this->kind; 
  4088. public function setTotalResults($totalResults) 
  4089. $this->totalResults = $totalResults; 
  4090. public function getTotalResults() 
  4091. return $this->totalResults; 
  4092.  
  4093. class Google_Service_Analytics_CustomDataSource extends Google_Collection 
  4094. protected $collection_key = 'profilesLinked'; 
  4095. protected $internal_gapi_mappings = array( 
  4096. ); 
  4097. public $accountId; 
  4098. protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink'; 
  4099. protected $childLinkDataType = ''; 
  4100. public $created; 
  4101. public $description; 
  4102. public $id; 
  4103. public $importBehavior; 
  4104. public $kind; 
  4105. public $name; 
  4106. protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink'; 
  4107. protected $parentLinkDataType = ''; 
  4108. public $profilesLinked; 
  4109. public $selfLink; 
  4110. public $type; 
  4111. public $updated; 
  4112. public $uploadType; 
  4113. public $webPropertyId; 
  4114.  
  4115.  
  4116. public function setAccountId($accountId) 
  4117. $this->accountId = $accountId; 
  4118. public function getAccountId() 
  4119. return $this->accountId; 
  4120. public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink) 
  4121. $this->childLink = $childLink; 
  4122. public function getChildLink() 
  4123. return $this->childLink; 
  4124. public function setCreated($created) 
  4125. $this->created = $created; 
  4126. public function getCreated() 
  4127. return $this->created; 
  4128. public function setDescription($description) 
  4129. $this->description = $description; 
  4130. public function getDescription() 
  4131. return $this->description; 
  4132. public function setId($id) 
  4133. $this->id = $id; 
  4134. public function getId() 
  4135. return $this->id; 
  4136. public function setImportBehavior($importBehavior) 
  4137. $this->importBehavior = $importBehavior; 
  4138. public function getImportBehavior() 
  4139. return $this->importBehavior; 
  4140. public function setKind($kind) 
  4141. $this->kind = $kind; 
  4142. public function getKind() 
  4143. return $this->kind; 
  4144. public function setName($name) 
  4145. $this->name = $name; 
  4146. public function getName() 
  4147. return $this->name; 
  4148. public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink) 
  4149. $this->parentLink = $parentLink; 
  4150. public function getParentLink() 
  4151. return $this->parentLink; 
  4152. public function setProfilesLinked($profilesLinked) 
  4153. $this->profilesLinked = $profilesLinked; 
  4154. public function getProfilesLinked() 
  4155. return $this->profilesLinked; 
  4156. public function setSelfLink($selfLink) 
  4157. $this->selfLink = $selfLink; 
  4158. public function getSelfLink() 
  4159. return $this->selfLink; 
  4160. public function setType($type) 
  4161. $this->type = $type; 
  4162. public function getType() 
  4163. return $this->type; 
  4164. public function setUpdated($updated) 
  4165. $this->updated = $updated; 
  4166. public function getUpdated() 
  4167. return $this->updated; 
  4168. public function setUploadType($uploadType) 
  4169. $this->uploadType = $uploadType; 
  4170. public function getUploadType() 
  4171. return $this->uploadType; 
  4172. public function setWebPropertyId($webPropertyId) 
  4173. $this->webPropertyId = $webPropertyId; 
  4174. public function getWebPropertyId() 
  4175. return $this->webPropertyId; 
  4176.  
  4177. class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model 
  4178. protected $internal_gapi_mappings = array( 
  4179. ); 
  4180. public $href; 
  4181. public $type; 
  4182.  
  4183.  
  4184. public function setHref($href) 
  4185. $this->href = $href; 
  4186. public function getHref() 
  4187. return $this->href; 
  4188. public function setType($type) 
  4189. $this->type = $type; 
  4190. public function getType() 
  4191. return $this->type; 
  4192.  
  4193. class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model 
  4194. protected $internal_gapi_mappings = array( 
  4195. ); 
  4196. public $href; 
  4197. public $type; 
  4198.  
  4199.  
  4200. public function setHref($href) 
  4201. $this->href = $href; 
  4202. public function getHref() 
  4203. return $this->href; 
  4204. public function setType($type) 
  4205. $this->type = $type; 
  4206. public function getType() 
  4207. return $this->type; 
  4208.  
  4209. class Google_Service_Analytics_CustomDataSources extends Google_Collection 
  4210. protected $collection_key = 'items'; 
  4211. protected $internal_gapi_mappings = array( 
  4212. ); 
  4213. protected $itemsType = 'Google_Service_Analytics_CustomDataSource'; 
  4214. protected $itemsDataType = 'array'; 
  4215. public $itemsPerPage; 
  4216. public $kind; 
  4217. public $nextLink; 
  4218. public $previousLink; 
  4219. public $startIndex; 
  4220. public $totalResults; 
  4221. public $username; 
  4222.  
  4223.  
  4224. public function setItems($items) 
  4225. $this->items = $items; 
  4226. public function getItems() 
  4227. return $this->items; 
  4228. public function setItemsPerPage($itemsPerPage) 
  4229. $this->itemsPerPage = $itemsPerPage; 
  4230. public function getItemsPerPage() 
  4231. return $this->itemsPerPage; 
  4232. public function setKind($kind) 
  4233. $this->kind = $kind; 
  4234. public function getKind() 
  4235. return $this->kind; 
  4236. public function setNextLink($nextLink) 
  4237. $this->nextLink = $nextLink; 
  4238. public function getNextLink() 
  4239. return $this->nextLink; 
  4240. public function setPreviousLink($previousLink) 
  4241. $this->previousLink = $previousLink; 
  4242. public function getPreviousLink() 
  4243. return $this->previousLink; 
  4244. public function setStartIndex($startIndex) 
  4245. $this->startIndex = $startIndex; 
  4246. public function getStartIndex() 
  4247. return $this->startIndex; 
  4248. public function setTotalResults($totalResults) 
  4249. $this->totalResults = $totalResults; 
  4250. public function getTotalResults() 
  4251. return $this->totalResults; 
  4252. public function setUsername($username) 
  4253. $this->username = $username; 
  4254. public function getUsername() 
  4255. return $this->username; 
  4256.  
  4257. class Google_Service_Analytics_CustomDimension extends Google_Model 
  4258. protected $internal_gapi_mappings = array( 
  4259. ); 
  4260. public $accountId; 
  4261. public $active; 
  4262. public $created; 
  4263. public $id; 
  4264. public $index; 
  4265. public $kind; 
  4266. public $name; 
  4267. protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink'; 
  4268. protected $parentLinkDataType = ''; 
  4269. public $scope; 
  4270. public $selfLink; 
  4271. public $updated; 
  4272. public $webPropertyId; 
  4273.  
  4274.  
  4275. public function setAccountId($accountId) 
  4276. $this->accountId = $accountId; 
  4277. public function getAccountId() 
  4278. return $this->accountId; 
  4279. public function setActive($active) 
  4280. $this->active = $active; 
  4281. public function getActive() 
  4282. return $this->active; 
  4283. public function setCreated($created) 
  4284. $this->created = $created; 
  4285. public function getCreated() 
  4286. return $this->created; 
  4287. public function setId($id) 
  4288. $this->id = $id; 
  4289. public function getId() 
  4290. return $this->id; 
  4291. public function setIndex($index) 
  4292. $this->index = $index; 
  4293. public function getIndex() 
  4294. return $this->index; 
  4295. public function setKind($kind) 
  4296. $this->kind = $kind; 
  4297. public function getKind() 
  4298. return $this->kind; 
  4299. public function setName($name) 
  4300. $this->name = $name; 
  4301. public function getName() 
  4302. return $this->name; 
  4303. public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink) 
  4304. $this->parentLink = $parentLink; 
  4305. public function getParentLink() 
  4306. return $this->parentLink; 
  4307. public function setScope($scope) 
  4308. $this->scope = $scope; 
  4309. public function getScope() 
  4310. return $this->scope; 
  4311. public function setSelfLink($selfLink) 
  4312. $this->selfLink = $selfLink; 
  4313. public function getSelfLink() 
  4314. return $this->selfLink; 
  4315. public function setUpdated($updated) 
  4316. $this->updated = $updated; 
  4317. public function getUpdated() 
  4318. return $this->updated; 
  4319. public function setWebPropertyId($webPropertyId) 
  4320. $this->webPropertyId = $webPropertyId; 
  4321. public function getWebPropertyId() 
  4322. return $this->webPropertyId; 
  4323.  
  4324. class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model 
  4325. protected $internal_gapi_mappings = array( 
  4326. ); 
  4327. public $href; 
  4328. public $type; 
  4329.  
  4330.  
  4331. public function setHref($href) 
  4332. $this->href = $href; 
  4333. public function getHref() 
  4334. return $this->href; 
  4335. public function setType($type) 
  4336. $this->type = $type; 
  4337. public function getType() 
  4338. return $this->type; 
  4339.  
  4340. class Google_Service_Analytics_CustomDimensions extends Google_Collection 
  4341. protected $collection_key = 'items'; 
  4342. protected $internal_gapi_mappings = array( 
  4343. ); 
  4344. protected $itemsType = 'Google_Service_Analytics_CustomDimension'; 
  4345. protected $itemsDataType = 'array'; 
  4346. public $itemsPerPage; 
  4347. public $kind; 
  4348. public $nextLink; 
  4349. public $previousLink; 
  4350. public $startIndex; 
  4351. public $totalResults; 
  4352. public $username; 
  4353.  
  4354.  
  4355. public function setItems($items) 
  4356. $this->items = $items; 
  4357. public function getItems() 
  4358. return $this->items; 
  4359. public function setItemsPerPage($itemsPerPage) 
  4360. $this->itemsPerPage = $itemsPerPage; 
  4361. public function getItemsPerPage() 
  4362. return $this->itemsPerPage; 
  4363. public function setKind($kind) 
  4364. $this->kind = $kind; 
  4365. public function getKind() 
  4366. return $this->kind; 
  4367. public function setNextLink($nextLink) 
  4368. $this->nextLink = $nextLink; 
  4369. public function getNextLink() 
  4370. return $this->nextLink; 
  4371. public function setPreviousLink($previousLink) 
  4372. $this->previousLink = $previousLink; 
  4373. public function getPreviousLink() 
  4374. return $this->previousLink; 
  4375. public function setStartIndex($startIndex) 
  4376. $this->startIndex = $startIndex; 
  4377. public function getStartIndex() 
  4378. return $this->startIndex; 
  4379. public function setTotalResults($totalResults) 
  4380. $this->totalResults = $totalResults; 
  4381. public function getTotalResults() 
  4382. return $this->totalResults; 
  4383. public function setUsername($username) 
  4384. $this->username = $username; 
  4385. public function getUsername() 
  4386. return $this->username; 
  4387.  
  4388. class Google_Service_Analytics_CustomMetric extends Google_Model 
  4389. protected $internal_gapi_mappings = array( 
  4390. "maxValue" => "max_value",  
  4391. "minValue" => "min_value",  
  4392. ); 
  4393. public $accountId; 
  4394. public $active; 
  4395. public $created; 
  4396. public $id; 
  4397. public $index; 
  4398. public $kind; 
  4399. public $maxValue; 
  4400. public $minValue; 
  4401. public $name; 
  4402. protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink'; 
  4403. protected $parentLinkDataType = ''; 
  4404. public $scope; 
  4405. public $selfLink; 
  4406. public $type; 
  4407. public $updated; 
  4408. public $webPropertyId; 
  4409.  
  4410.  
  4411. public function setAccountId($accountId) 
  4412. $this->accountId = $accountId; 
  4413. public function getAccountId() 
  4414. return $this->accountId; 
  4415. public function setActive($active) 
  4416. $this->active = $active; 
  4417. public function getActive() 
  4418. return $this->active; 
  4419. public function setCreated($created) 
  4420. $this->created = $created; 
  4421. public function getCreated() 
  4422. return $this->created; 
  4423. public function setId($id) 
  4424. $this->id = $id; 
  4425. public function getId() 
  4426. return $this->id; 
  4427. public function setIndex($index) 
  4428. $this->index = $index; 
  4429. public function getIndex() 
  4430. return $this->index; 
  4431. public function setKind($kind) 
  4432. $this->kind = $kind; 
  4433. public function getKind() 
  4434. return $this->kind; 
  4435. public function setMaxValue($maxValue) 
  4436. $this->maxValue = $maxValue; 
  4437. public function getMaxValue() 
  4438. return $this->maxValue; 
  4439. public function setMinValue($minValue) 
  4440. $this->minValue = $minValue; 
  4441. public function getMinValue() 
  4442. return $this->minValue; 
  4443. public function setName($name) 
  4444. $this->name = $name; 
  4445. public function getName() 
  4446. return $this->name; 
  4447. public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink) 
  4448. $this->parentLink = $parentLink; 
  4449. public function getParentLink() 
  4450. return $this->parentLink; 
  4451. public function setScope($scope) 
  4452. $this->scope = $scope; 
  4453. public function getScope() 
  4454. return $this->scope; 
  4455. public function setSelfLink($selfLink) 
  4456. $this->selfLink = $selfLink; 
  4457. public function getSelfLink() 
  4458. return $this->selfLink; 
  4459. public function setType($type) 
  4460. $this->type = $type; 
  4461. public function getType() 
  4462. return $this->type; 
  4463. public function setUpdated($updated) 
  4464. $this->updated = $updated; 
  4465. public function getUpdated() 
  4466. return $this->updated; 
  4467. public function setWebPropertyId($webPropertyId) 
  4468. $this->webPropertyId = $webPropertyId; 
  4469. public function getWebPropertyId() 
  4470. return $this->webPropertyId; 
  4471.  
  4472. class Google_Service_Analytics_CustomMetricParentLink extends Google_Model 
  4473. protected $internal_gapi_mappings = array( 
  4474. ); 
  4475. public $href; 
  4476. public $type; 
  4477.  
  4478.  
  4479. public function setHref($href) 
  4480. $this->href = $href; 
  4481. public function getHref() 
  4482. return $this->href; 
  4483. public function setType($type) 
  4484. $this->type = $type; 
  4485. public function getType() 
  4486. return $this->type; 
  4487.  
  4488. class Google_Service_Analytics_CustomMetrics extends Google_Collection 
  4489. protected $collection_key = 'items'; 
  4490. protected $internal_gapi_mappings = array( 
  4491. ); 
  4492. protected $itemsType = 'Google_Service_Analytics_CustomMetric'; 
  4493. protected $itemsDataType = 'array'; 
  4494. public $itemsPerPage; 
  4495. public $kind; 
  4496. public $nextLink; 
  4497. public $previousLink; 
  4498. public $startIndex; 
  4499. public $totalResults; 
  4500. public $username; 
  4501.  
  4502.  
  4503. public function setItems($items) 
  4504. $this->items = $items; 
  4505. public function getItems() 
  4506. return $this->items; 
  4507. public function setItemsPerPage($itemsPerPage) 
  4508. $this->itemsPerPage = $itemsPerPage; 
  4509. public function getItemsPerPage() 
  4510. return $this->itemsPerPage; 
  4511. public function setKind($kind) 
  4512. $this->kind = $kind; 
  4513. public function getKind() 
  4514. return $this->kind; 
  4515. public function setNextLink($nextLink) 
  4516. $this->nextLink = $nextLink; 
  4517. public function getNextLink() 
  4518. return $this->nextLink; 
  4519. public function setPreviousLink($previousLink) 
  4520. $this->previousLink = $previousLink; 
  4521. public function getPreviousLink() 
  4522. return $this->previousLink; 
  4523. public function setStartIndex($startIndex) 
  4524. $this->startIndex = $startIndex; 
  4525. public function getStartIndex() 
  4526. return $this->startIndex; 
  4527. public function setTotalResults($totalResults) 
  4528. $this->totalResults = $totalResults; 
  4529. public function getTotalResults() 
  4530. return $this->totalResults; 
  4531. public function setUsername($username) 
  4532. $this->username = $username; 
  4533. public function getUsername() 
  4534. return $this->username; 
  4535.  
  4536. class Google_Service_Analytics_DailyUpload extends Google_Collection 
  4537. protected $collection_key = 'recentChanges'; 
  4538. protected $internal_gapi_mappings = array( 
  4539. ); 
  4540. public $accountId; 
  4541. public $appendCount; 
  4542. public $createdTime; 
  4543. public $customDataSourceId; 
  4544. public $date; 
  4545. public $kind; 
  4546. public $modifiedTime; 
  4547. protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink'; 
  4548. protected $parentLinkDataType = ''; 
  4549. protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges'; 
  4550. protected $recentChangesDataType = 'array'; 
  4551. public $selfLink; 
  4552. public $webPropertyId; 
  4553.  
  4554.  
  4555. public function setAccountId($accountId) 
  4556. $this->accountId = $accountId; 
  4557. public function getAccountId() 
  4558. return $this->accountId; 
  4559. public function setAppendCount($appendCount) 
  4560. $this->appendCount = $appendCount; 
  4561. public function getAppendCount() 
  4562. return $this->appendCount; 
  4563. public function setCreatedTime($createdTime) 
  4564. $this->createdTime = $createdTime; 
  4565. public function getCreatedTime() 
  4566. return $this->createdTime; 
  4567. public function setCustomDataSourceId($customDataSourceId) 
  4568. $this->customDataSourceId = $customDataSourceId; 
  4569. public function getCustomDataSourceId() 
  4570. return $this->customDataSourceId; 
  4571. public function setDate($date) 
  4572. $this->date = $date; 
  4573. public function getDate() 
  4574. return $this->date; 
  4575. public function setKind($kind) 
  4576. $this->kind = $kind; 
  4577. public function getKind() 
  4578. return $this->kind; 
  4579. public function setModifiedTime($modifiedTime) 
  4580. $this->modifiedTime = $modifiedTime; 
  4581. public function getModifiedTime() 
  4582. return $this->modifiedTime; 
  4583. public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink) 
  4584. $this->parentLink = $parentLink; 
  4585. public function getParentLink() 
  4586. return $this->parentLink; 
  4587. public function setRecentChanges($recentChanges) 
  4588. $this->recentChanges = $recentChanges; 
  4589. public function getRecentChanges() 
  4590. return $this->recentChanges; 
  4591. public function setSelfLink($selfLink) 
  4592. $this->selfLink = $selfLink; 
  4593. public function getSelfLink() 
  4594. return $this->selfLink; 
  4595. public function setWebPropertyId($webPropertyId) 
  4596. $this->webPropertyId = $webPropertyId; 
  4597. public function getWebPropertyId() 
  4598. return $this->webPropertyId; 
  4599.  
  4600. class Google_Service_Analytics_DailyUploadAppend extends Google_Model 
  4601. protected $internal_gapi_mappings = array( 
  4602. ); 
  4603. public $accountId; 
  4604. public $appendNumber; 
  4605. public $customDataSourceId; 
  4606. public $date; 
  4607. public $kind; 
  4608. public $nextAppendLink; 
  4609. public $webPropertyId; 
  4610.  
  4611.  
  4612. public function setAccountId($accountId) 
  4613. $this->accountId = $accountId; 
  4614. public function getAccountId() 
  4615. return $this->accountId; 
  4616. public function setAppendNumber($appendNumber) 
  4617. $this->appendNumber = $appendNumber; 
  4618. public function getAppendNumber() 
  4619. return $this->appendNumber; 
  4620. public function setCustomDataSourceId($customDataSourceId) 
  4621. $this->customDataSourceId = $customDataSourceId; 
  4622. public function getCustomDataSourceId() 
  4623. return $this->customDataSourceId; 
  4624. public function setDate($date) 
  4625. $this->date = $date; 
  4626. public function getDate() 
  4627. return $this->date; 
  4628. public function setKind($kind) 
  4629. $this->kind = $kind; 
  4630. public function getKind() 
  4631. return $this->kind; 
  4632. public function setNextAppendLink($nextAppendLink) 
  4633. $this->nextAppendLink = $nextAppendLink; 
  4634. public function getNextAppendLink() 
  4635. return $this->nextAppendLink; 
  4636. public function setWebPropertyId($webPropertyId) 
  4637. $this->webPropertyId = $webPropertyId; 
  4638. public function getWebPropertyId() 
  4639. return $this->webPropertyId; 
  4640.  
  4641. class Google_Service_Analytics_DailyUploadParentLink extends Google_Model 
  4642. protected $internal_gapi_mappings = array( 
  4643. ); 
  4644. public $href; 
  4645. public $type; 
  4646.  
  4647.  
  4648. public function setHref($href) 
  4649. $this->href = $href; 
  4650. public function getHref() 
  4651. return $this->href; 
  4652. public function setType($type) 
  4653. $this->type = $type; 
  4654. public function getType() 
  4655. return $this->type; 
  4656.  
  4657. class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model 
  4658. protected $internal_gapi_mappings = array( 
  4659. ); 
  4660. public $change; 
  4661. public $time; 
  4662.  
  4663.  
  4664. public function setChange($change) 
  4665. $this->change = $change; 
  4666. public function getChange() 
  4667. return $this->change; 
  4668. public function setTime($time) 
  4669. $this->time = $time; 
  4670. public function getTime() 
  4671. return $this->time; 
  4672.  
  4673. class Google_Service_Analytics_DailyUploads extends Google_Collection 
  4674. protected $collection_key = 'items'; 
  4675. protected $internal_gapi_mappings = array( 
  4676. ); 
  4677. protected $itemsType = 'Google_Service_Analytics_DailyUpload'; 
  4678. protected $itemsDataType = 'array'; 
  4679. public $itemsPerPage; 
  4680. public $kind; 
  4681. public $nextLink; 
  4682. public $previousLink; 
  4683. public $startIndex; 
  4684. public $totalResults; 
  4685. public $username; 
  4686.  
  4687.  
  4688. public function setItems($items) 
  4689. $this->items = $items; 
  4690. public function getItems() 
  4691. return $this->items; 
  4692. public function setItemsPerPage($itemsPerPage) 
  4693. $this->itemsPerPage = $itemsPerPage; 
  4694. public function getItemsPerPage() 
  4695. return $this->itemsPerPage; 
  4696. public function setKind($kind) 
  4697. $this->kind = $kind; 
  4698. public function getKind() 
  4699. return $this->kind; 
  4700. public function setNextLink($nextLink) 
  4701. $this->nextLink = $nextLink; 
  4702. public function getNextLink() 
  4703. return $this->nextLink; 
  4704. public function setPreviousLink($previousLink) 
  4705. $this->previousLink = $previousLink; 
  4706. public function getPreviousLink() 
  4707. return $this->previousLink; 
  4708. public function setStartIndex($startIndex) 
  4709. $this->startIndex = $startIndex; 
  4710. public function getStartIndex() 
  4711. return $this->startIndex; 
  4712. public function setTotalResults($totalResults) 
  4713. $this->totalResults = $totalResults; 
  4714. public function getTotalResults() 
  4715. return $this->totalResults; 
  4716. public function setUsername($username) 
  4717. $this->username = $username; 
  4718. public function getUsername() 
  4719. return $this->username; 
  4720.  
  4721. class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection 
  4722. protected $collection_key = 'profileIds'; 
  4723. protected $internal_gapi_mappings = array( 
  4724. ); 
  4725. protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount'; 
  4726. protected $adWordsAccountsDataType = 'array'; 
  4727. protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity'; 
  4728. protected $entityDataType = ''; 
  4729. public $id; 
  4730. public $kind; 
  4731. public $name; 
  4732. public $profileIds; 
  4733. public $selfLink; 
  4734.  
  4735.  
  4736. public function setAdWordsAccounts($adWordsAccounts) 
  4737. $this->adWordsAccounts = $adWordsAccounts; 
  4738. public function getAdWordsAccounts() 
  4739. return $this->adWordsAccounts; 
  4740. public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity) 
  4741. $this->entity = $entity; 
  4742. public function getEntity() 
  4743. return $this->entity; 
  4744. public function setId($id) 
  4745. $this->id = $id; 
  4746. public function getId() 
  4747. return $this->id; 
  4748. public function setKind($kind) 
  4749. $this->kind = $kind; 
  4750. public function getKind() 
  4751. return $this->kind; 
  4752. public function setName($name) 
  4753. $this->name = $name; 
  4754. public function getName() 
  4755. return $this->name; 
  4756. public function setProfileIds($profileIds) 
  4757. $this->profileIds = $profileIds; 
  4758. public function getProfileIds() 
  4759. return $this->profileIds; 
  4760. public function setSelfLink($selfLink) 
  4761. $this->selfLink = $selfLink; 
  4762. public function getSelfLink() 
  4763. return $this->selfLink; 
  4764.  
  4765. class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model 
  4766. protected $internal_gapi_mappings = array( 
  4767. ); 
  4768. protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef'; 
  4769. protected $webPropertyRefDataType = ''; 
  4770.  
  4771.  
  4772. public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) 
  4773. $this->webPropertyRef = $webPropertyRef; 
  4774. public function getWebPropertyRef() 
  4775. return $this->webPropertyRef; 
  4776.  
  4777. class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection 
  4778. protected $collection_key = 'items'; 
  4779. protected $internal_gapi_mappings = array( 
  4780. ); 
  4781. protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink'; 
  4782. protected $itemsDataType = 'array'; 
  4783. public $itemsPerPage; 
  4784. public $kind; 
  4785. public $nextLink; 
  4786. public $previousLink; 
  4787. public $startIndex; 
  4788. public $totalResults; 
  4789.  
  4790.  
  4791. public function setItems($items) 
  4792. $this->items = $items; 
  4793. public function getItems() 
  4794. return $this->items; 
  4795. public function setItemsPerPage($itemsPerPage) 
  4796. $this->itemsPerPage = $itemsPerPage; 
  4797. public function getItemsPerPage() 
  4798. return $this->itemsPerPage; 
  4799. public function setKind($kind) 
  4800. $this->kind = $kind; 
  4801. public function getKind() 
  4802. return $this->kind; 
  4803. public function setNextLink($nextLink) 
  4804. $this->nextLink = $nextLink; 
  4805. public function getNextLink() 
  4806. return $this->nextLink; 
  4807. public function setPreviousLink($previousLink) 
  4808. $this->previousLink = $previousLink; 
  4809. public function getPreviousLink() 
  4810. return $this->previousLink; 
  4811. public function setStartIndex($startIndex) 
  4812. $this->startIndex = $startIndex; 
  4813. public function getStartIndex() 
  4814. return $this->startIndex; 
  4815. public function setTotalResults($totalResults) 
  4816. $this->totalResults = $totalResults; 
  4817. public function getTotalResults() 
  4818. return $this->totalResults; 
  4819.  
  4820. class Google_Service_Analytics_EntityUserLink extends Google_Model 
  4821. protected $internal_gapi_mappings = array( 
  4822. ); 
  4823. protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity'; 
  4824. protected $entityDataType = ''; 
  4825. public $id; 
  4826. public $kind; 
  4827. protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions'; 
  4828. protected $permissionsDataType = ''; 
  4829. public $selfLink; 
  4830. protected $userRefType = 'Google_Service_Analytics_UserRef'; 
  4831. protected $userRefDataType = ''; 
  4832.  
  4833.  
  4834. public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity) 
  4835. $this->entity = $entity; 
  4836. public function getEntity() 
  4837. return $this->entity; 
  4838. public function setId($id) 
  4839. $this->id = $id; 
  4840. public function getId() 
  4841. return $this->id; 
  4842. public function setKind($kind) 
  4843. $this->kind = $kind; 
  4844. public function getKind() 
  4845. return $this->kind; 
  4846. public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions) 
  4847. $this->permissions = $permissions; 
  4848. public function getPermissions() 
  4849. return $this->permissions; 
  4850. public function setSelfLink($selfLink) 
  4851. $this->selfLink = $selfLink; 
  4852. public function getSelfLink() 
  4853. return $this->selfLink; 
  4854. public function setUserRef(Google_Service_Analytics_UserRef $userRef) 
  4855. $this->userRef = $userRef; 
  4856. public function getUserRef() 
  4857. return $this->userRef; 
  4858.  
  4859. class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model 
  4860. protected $internal_gapi_mappings = array( 
  4861. ); 
  4862. protected $accountRefType = 'Google_Service_Analytics_AccountRef'; 
  4863. protected $accountRefDataType = ''; 
  4864. protected $profileRefType = 'Google_Service_Analytics_ProfileRef'; 
  4865. protected $profileRefDataType = ''; 
  4866. protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef'; 
  4867. protected $webPropertyRefDataType = ''; 
  4868.  
  4869.  
  4870. public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef) 
  4871. $this->accountRef = $accountRef; 
  4872. public function getAccountRef() 
  4873. return $this->accountRef; 
  4874. public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) 
  4875. $this->profileRef = $profileRef; 
  4876. public function getProfileRef() 
  4877. return $this->profileRef; 
  4878. public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) 
  4879. $this->webPropertyRef = $webPropertyRef; 
  4880. public function getWebPropertyRef() 
  4881. return $this->webPropertyRef; 
  4882.  
  4883. class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection 
  4884. protected $collection_key = 'local'; 
  4885. protected $internal_gapi_mappings = array( 
  4886. ); 
  4887. public $effective; 
  4888. public $local; 
  4889.  
  4890.  
  4891. public function setEffective($effective) 
  4892. $this->effective = $effective; 
  4893. public function getEffective() 
  4894. return $this->effective; 
  4895. public function setLocal($local) 
  4896. $this->local = $local; 
  4897. public function getLocal() 
  4898. return $this->local; 
  4899.  
  4900. class Google_Service_Analytics_EntityUserLinks extends Google_Collection 
  4901. protected $collection_key = 'items'; 
  4902. protected $internal_gapi_mappings = array( 
  4903. ); 
  4904. protected $itemsType = 'Google_Service_Analytics_EntityUserLink'; 
  4905. protected $itemsDataType = 'array'; 
  4906. public $itemsPerPage; 
  4907. public $kind; 
  4908. public $nextLink; 
  4909. public $previousLink; 
  4910. public $startIndex; 
  4911. public $totalResults; 
  4912.  
  4913.  
  4914. public function setItems($items) 
  4915. $this->items = $items; 
  4916. public function getItems() 
  4917. return $this->items; 
  4918. public function setItemsPerPage($itemsPerPage) 
  4919. $this->itemsPerPage = $itemsPerPage; 
  4920. public function getItemsPerPage() 
  4921. return $this->itemsPerPage; 
  4922. public function setKind($kind) 
  4923. $this->kind = $kind; 
  4924. public function getKind() 
  4925. return $this->kind; 
  4926. public function setNextLink($nextLink) 
  4927. $this->nextLink = $nextLink; 
  4928. public function getNextLink() 
  4929. return $this->nextLink; 
  4930. public function setPreviousLink($previousLink) 
  4931. $this->previousLink = $previousLink; 
  4932. public function getPreviousLink() 
  4933. return $this->previousLink; 
  4934. public function setStartIndex($startIndex) 
  4935. $this->startIndex = $startIndex; 
  4936. public function getStartIndex() 
  4937. return $this->startIndex; 
  4938. public function setTotalResults($totalResults) 
  4939. $this->totalResults = $totalResults; 
  4940. public function getTotalResults() 
  4941. return $this->totalResults; 
  4942.  
  4943. class Google_Service_Analytics_Experiment extends Google_Collection 
  4944. protected $collection_key = 'variations'; 
  4945. protected $internal_gapi_mappings = array( 
  4946. ); 
  4947. public $accountId; 
  4948. public $created; 
  4949. public $description; 
  4950. public $editableInGaUi; 
  4951. public $endTime; 
  4952. public $equalWeighting; 
  4953. public $id; 
  4954. public $internalWebPropertyId; 
  4955. public $kind; 
  4956. public $minimumExperimentLengthInDays; 
  4957. public $name; 
  4958. public $objectiveMetric; 
  4959. public $optimizationType; 
  4960. protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink'; 
  4961. protected $parentLinkDataType = ''; 
  4962. public $profileId; 
  4963. public $reasonExperimentEnded; 
  4964. public $rewriteVariationUrlsAsOriginal; 
  4965. public $selfLink; 
  4966. public $servingFramework; 
  4967. public $snippet; 
  4968. public $startTime; 
  4969. public $status; 
  4970. public $trafficCoverage; 
  4971. public $updated; 
  4972. protected $variationsType = 'Google_Service_Analytics_ExperimentVariations'; 
  4973. protected $variationsDataType = 'array'; 
  4974. public $webPropertyId; 
  4975. public $winnerConfidenceLevel; 
  4976. public $winnerFound; 
  4977.  
  4978.  
  4979. public function setAccountId($accountId) 
  4980. $this->accountId = $accountId; 
  4981. public function getAccountId() 
  4982. return $this->accountId; 
  4983. public function setCreated($created) 
  4984. $this->created = $created; 
  4985. public function getCreated() 
  4986. return $this->created; 
  4987. public function setDescription($description) 
  4988. $this->description = $description; 
  4989. public function getDescription() 
  4990. return $this->description; 
  4991. public function setEditableInGaUi($editableInGaUi) 
  4992. $this->editableInGaUi = $editableInGaUi; 
  4993. public function getEditableInGaUi() 
  4994. return $this->editableInGaUi; 
  4995. public function setEndTime($endTime) 
  4996. $this->endTime = $endTime; 
  4997. public function getEndTime() 
  4998. return $this->endTime; 
  4999. public function setEqualWeighting($equalWeighting) 
  5000. $this->equalWeighting = $equalWeighting; 
  5001. public function getEqualWeighting() 
  5002. return $this->equalWeighting; 
  5003. public function setId($id) 
  5004. $this->id = $id; 
  5005. public function getId() 
  5006. return $this->id; 
  5007. public function setInternalWebPropertyId($internalWebPropertyId) 
  5008. $this->internalWebPropertyId = $internalWebPropertyId; 
  5009. public function getInternalWebPropertyId() 
  5010. return $this->internalWebPropertyId; 
  5011. public function setKind($kind) 
  5012. $this->kind = $kind; 
  5013. public function getKind() 
  5014. return $this->kind; 
  5015. public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays) 
  5016. $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays; 
  5017. public function getMinimumExperimentLengthInDays() 
  5018. return $this->minimumExperimentLengthInDays; 
  5019. public function setName($name) 
  5020. $this->name = $name; 
  5021. public function getName() 
  5022. return $this->name; 
  5023. public function setObjectiveMetric($objectiveMetric) 
  5024. $this->objectiveMetric = $objectiveMetric; 
  5025. public function getObjectiveMetric() 
  5026. return $this->objectiveMetric; 
  5027. public function setOptimizationType($optimizationType) 
  5028. $this->optimizationType = $optimizationType; 
  5029. public function getOptimizationType() 
  5030. return $this->optimizationType; 
  5031. public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink) 
  5032. $this->parentLink = $parentLink; 
  5033. public function getParentLink() 
  5034. return $this->parentLink; 
  5035. public function setProfileId($profileId) 
  5036. $this->profileId = $profileId; 
  5037. public function getProfileId() 
  5038. return $this->profileId; 
  5039. public function setReasonExperimentEnded($reasonExperimentEnded) 
  5040. $this->reasonExperimentEnded = $reasonExperimentEnded; 
  5041. public function getReasonExperimentEnded() 
  5042. return $this->reasonExperimentEnded; 
  5043. public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal) 
  5044. $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal; 
  5045. public function getRewriteVariationUrlsAsOriginal() 
  5046. return $this->rewriteVariationUrlsAsOriginal; 
  5047. public function setSelfLink($selfLink) 
  5048. $this->selfLink = $selfLink; 
  5049. public function getSelfLink() 
  5050. return $this->selfLink; 
  5051. public function setServingFramework($servingFramework) 
  5052. $this->servingFramework = $servingFramework; 
  5053. public function getServingFramework() 
  5054. return $this->servingFramework; 
  5055. public function setSnippet($snippet) 
  5056. $this->snippet = $snippet; 
  5057. public function getSnippet() 
  5058. return $this->snippet; 
  5059. public function setStartTime($startTime) 
  5060. $this->startTime = $startTime; 
  5061. public function getStartTime() 
  5062. return $this->startTime; 
  5063. public function setStatus($status) 
  5064. $this->status = $status; 
  5065. public function getStatus() 
  5066. return $this->status; 
  5067. public function setTrafficCoverage($trafficCoverage) 
  5068. $this->trafficCoverage = $trafficCoverage; 
  5069. public function getTrafficCoverage() 
  5070. return $this->trafficCoverage; 
  5071. public function setUpdated($updated) 
  5072. $this->updated = $updated; 
  5073. public function getUpdated() 
  5074. return $this->updated; 
  5075. public function setVariations($variations) 
  5076. $this->variations = $variations; 
  5077. public function getVariations() 
  5078. return $this->variations; 
  5079. public function setWebPropertyId($webPropertyId) 
  5080. $this->webPropertyId = $webPropertyId; 
  5081. public function getWebPropertyId() 
  5082. return $this->webPropertyId; 
  5083. public function setWinnerConfidenceLevel($winnerConfidenceLevel) 
  5084. $this->winnerConfidenceLevel = $winnerConfidenceLevel; 
  5085. public function getWinnerConfidenceLevel() 
  5086. return $this->winnerConfidenceLevel; 
  5087. public function setWinnerFound($winnerFound) 
  5088. $this->winnerFound = $winnerFound; 
  5089. public function getWinnerFound() 
  5090. return $this->winnerFound; 
  5091.  
  5092. class Google_Service_Analytics_ExperimentParentLink extends Google_Model 
  5093. protected $internal_gapi_mappings = array( 
  5094. ); 
  5095. public $href; 
  5096. public $type; 
  5097.  
  5098.  
  5099. public function setHref($href) 
  5100. $this->href = $href; 
  5101. public function getHref() 
  5102. return $this->href; 
  5103. public function setType($type) 
  5104. $this->type = $type; 
  5105. public function getType() 
  5106. return $this->type; 
  5107.  
  5108. class Google_Service_Analytics_ExperimentVariations extends Google_Model 
  5109. protected $internal_gapi_mappings = array( 
  5110. ); 
  5111. public $name; 
  5112. public $status; 
  5113. public $url; 
  5114. public $weight; 
  5115. public $won; 
  5116.  
  5117.  
  5118. public function setName($name) 
  5119. $this->name = $name; 
  5120. public function getName() 
  5121. return $this->name; 
  5122. public function setStatus($status) 
  5123. $this->status = $status; 
  5124. public function getStatus() 
  5125. return $this->status; 
  5126. public function setUrl($url) 
  5127. $this->url = $url; 
  5128. public function getUrl() 
  5129. return $this->url; 
  5130. public function setWeight($weight) 
  5131. $this->weight = $weight; 
  5132. public function getWeight() 
  5133. return $this->weight; 
  5134. public function setWon($won) 
  5135. $this->won = $won; 
  5136. public function getWon() 
  5137. return $this->won; 
  5138.  
  5139. class Google_Service_Analytics_Experiments extends Google_Collection 
  5140. protected $collection_key = 'items'; 
  5141. protected $internal_gapi_mappings = array( 
  5142. ); 
  5143. protected $itemsType = 'Google_Service_Analytics_Experiment'; 
  5144. protected $itemsDataType = 'array'; 
  5145. public $itemsPerPage; 
  5146. public $kind; 
  5147. public $nextLink; 
  5148. public $previousLink; 
  5149. public $startIndex; 
  5150. public $totalResults; 
  5151. public $username; 
  5152.  
  5153.  
  5154. public function setItems($items) 
  5155. $this->items = $items; 
  5156. public function getItems() 
  5157. return $this->items; 
  5158. public function setItemsPerPage($itemsPerPage) 
  5159. $this->itemsPerPage = $itemsPerPage; 
  5160. public function getItemsPerPage() 
  5161. return $this->itemsPerPage; 
  5162. public function setKind($kind) 
  5163. $this->kind = $kind; 
  5164. public function getKind() 
  5165. return $this->kind; 
  5166. public function setNextLink($nextLink) 
  5167. $this->nextLink = $nextLink; 
  5168. public function getNextLink() 
  5169. return $this->nextLink; 
  5170. public function setPreviousLink($previousLink) 
  5171. $this->previousLink = $previousLink; 
  5172. public function getPreviousLink() 
  5173. return $this->previousLink; 
  5174. public function setStartIndex($startIndex) 
  5175. $this->startIndex = $startIndex; 
  5176. public function getStartIndex() 
  5177. return $this->startIndex; 
  5178. public function setTotalResults($totalResults) 
  5179. $this->totalResults = $totalResults; 
  5180. public function getTotalResults() 
  5181. return $this->totalResults; 
  5182. public function setUsername($username) 
  5183. $this->username = $username; 
  5184. public function getUsername() 
  5185. return $this->username; 
  5186.  
  5187. class Google_Service_Analytics_Filter extends Google_Model 
  5188. protected $internal_gapi_mappings = array( 
  5189. ); 
  5190. public $accountId; 
  5191. protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails'; 
  5192. protected $advancedDetailsDataType = ''; 
  5193. public $created; 
  5194. protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression'; 
  5195. protected $excludeDetailsDataType = ''; 
  5196. public $id; 
  5197. protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression'; 
  5198. protected $includeDetailsDataType = ''; 
  5199. public $kind; 
  5200. protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails'; 
  5201. protected $lowercaseDetailsDataType = ''; 
  5202. public $name; 
  5203. protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink'; 
  5204. protected $parentLinkDataType = ''; 
  5205. protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails'; 
  5206. protected $searchAndReplaceDetailsDataType = ''; 
  5207. public $selfLink; 
  5208. public $type; 
  5209. public $updated; 
  5210. protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails'; 
  5211. protected $uppercaseDetailsDataType = ''; 
  5212.  
  5213.  
  5214. public function setAccountId($accountId) 
  5215. $this->accountId = $accountId; 
  5216. public function getAccountId() 
  5217. return $this->accountId; 
  5218. public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails) 
  5219. $this->advancedDetails = $advancedDetails; 
  5220. public function getAdvancedDetails() 
  5221. return $this->advancedDetails; 
  5222. public function setCreated($created) 
  5223. $this->created = $created; 
  5224. public function getCreated() 
  5225. return $this->created; 
  5226. public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails) 
  5227. $this->excludeDetails = $excludeDetails; 
  5228. public function getExcludeDetails() 
  5229. return $this->excludeDetails; 
  5230. public function setId($id) 
  5231. $this->id = $id; 
  5232. public function getId() 
  5233. return $this->id; 
  5234. public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails) 
  5235. $this->includeDetails = $includeDetails; 
  5236. public function getIncludeDetails() 
  5237. return $this->includeDetails; 
  5238. public function setKind($kind) 
  5239. $this->kind = $kind; 
  5240. public function getKind() 
  5241. return $this->kind; 
  5242. public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails) 
  5243. $this->lowercaseDetails = $lowercaseDetails; 
  5244. public function getLowercaseDetails() 
  5245. return $this->lowercaseDetails; 
  5246. public function setName($name) 
  5247. $this->name = $name; 
  5248. public function getName() 
  5249. return $this->name; 
  5250. public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink) 
  5251. $this->parentLink = $parentLink; 
  5252. public function getParentLink() 
  5253. return $this->parentLink; 
  5254. public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails) 
  5255. $this->searchAndReplaceDetails = $searchAndReplaceDetails; 
  5256. public function getSearchAndReplaceDetails() 
  5257. return $this->searchAndReplaceDetails; 
  5258. public function setSelfLink($selfLink) 
  5259. $this->selfLink = $selfLink; 
  5260. public function getSelfLink() 
  5261. return $this->selfLink; 
  5262. public function setType($type) 
  5263. $this->type = $type; 
  5264. public function getType() 
  5265. return $this->type; 
  5266. public function setUpdated($updated) 
  5267. $this->updated = $updated; 
  5268. public function getUpdated() 
  5269. return $this->updated; 
  5270. public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails) 
  5271. $this->uppercaseDetails = $uppercaseDetails; 
  5272. public function getUppercaseDetails() 
  5273. return $this->uppercaseDetails; 
  5274.  
  5275. class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model 
  5276. protected $internal_gapi_mappings = array( 
  5277. ); 
  5278. public $caseSensitive; 
  5279. public $extractA; 
  5280. public $extractB; 
  5281. public $fieldA; 
  5282. public $fieldARequired; 
  5283. public $fieldB; 
  5284. public $fieldBRequired; 
  5285. public $outputConstructor; 
  5286. public $outputToField; 
  5287. public $overrideOutputField; 
  5288.  
  5289.  
  5290. public function setCaseSensitive($caseSensitive) 
  5291. $this->caseSensitive = $caseSensitive; 
  5292. public function getCaseSensitive() 
  5293. return $this->caseSensitive; 
  5294. public function setExtractA($extractA) 
  5295. $this->extractA = $extractA; 
  5296. public function getExtractA() 
  5297. return $this->extractA; 
  5298. public function setExtractB($extractB) 
  5299. $this->extractB = $extractB; 
  5300. public function getExtractB() 
  5301. return $this->extractB; 
  5302. public function setFieldA($fieldA) 
  5303. $this->fieldA = $fieldA; 
  5304. public function getFieldA() 
  5305. return $this->fieldA; 
  5306. public function setFieldARequired($fieldARequired) 
  5307. $this->fieldARequired = $fieldARequired; 
  5308. public function getFieldARequired() 
  5309. return $this->fieldARequired; 
  5310. public function setFieldB($fieldB) 
  5311. $this->fieldB = $fieldB; 
  5312. public function getFieldB() 
  5313. return $this->fieldB; 
  5314. public function setFieldBRequired($fieldBRequired) 
  5315. $this->fieldBRequired = $fieldBRequired; 
  5316. public function getFieldBRequired() 
  5317. return $this->fieldBRequired; 
  5318. public function setOutputConstructor($outputConstructor) 
  5319. $this->outputConstructor = $outputConstructor; 
  5320. public function getOutputConstructor() 
  5321. return $this->outputConstructor; 
  5322. public function setOutputToField($outputToField) 
  5323. $this->outputToField = $outputToField; 
  5324. public function getOutputToField() 
  5325. return $this->outputToField; 
  5326. public function setOverrideOutputField($overrideOutputField) 
  5327. $this->overrideOutputField = $overrideOutputField; 
  5328. public function getOverrideOutputField() 
  5329. return $this->overrideOutputField; 
  5330.  
  5331. class Google_Service_Analytics_FilterExpression extends Google_Model 
  5332. protected $internal_gapi_mappings = array( 
  5333. ); 
  5334. public $caseSensitive; 
  5335. public $expressionValue; 
  5336. public $field; 
  5337. public $kind; 
  5338. public $matchType; 
  5339.  
  5340.  
  5341. public function setCaseSensitive($caseSensitive) 
  5342. $this->caseSensitive = $caseSensitive; 
  5343. public function getCaseSensitive() 
  5344. return $this->caseSensitive; 
  5345. public function setExpressionValue($expressionValue) 
  5346. $this->expressionValue = $expressionValue; 
  5347. public function getExpressionValue() 
  5348. return $this->expressionValue; 
  5349. public function setField($field) 
  5350. $this->field = $field; 
  5351. public function getField() 
  5352. return $this->field; 
  5353. public function setKind($kind) 
  5354. $this->kind = $kind; 
  5355. public function getKind() 
  5356. return $this->kind; 
  5357. public function setMatchType($matchType) 
  5358. $this->matchType = $matchType; 
  5359. public function getMatchType() 
  5360. return $this->matchType; 
  5361.  
  5362. class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model 
  5363. protected $internal_gapi_mappings = array( 
  5364. ); 
  5365. public $field; 
  5366.  
  5367.  
  5368. public function setField($field) 
  5369. $this->field = $field; 
  5370. public function getField() 
  5371. return $this->field; 
  5372.  
  5373. class Google_Service_Analytics_FilterParentLink extends Google_Model 
  5374. protected $internal_gapi_mappings = array( 
  5375. ); 
  5376. public $href; 
  5377. public $type; 
  5378.  
  5379.  
  5380. public function setHref($href) 
  5381. $this->href = $href; 
  5382. public function getHref() 
  5383. return $this->href; 
  5384. public function setType($type) 
  5385. $this->type = $type; 
  5386. public function getType() 
  5387. return $this->type; 
  5388.  
  5389. class Google_Service_Analytics_FilterRef extends Google_Model 
  5390. protected $internal_gapi_mappings = array( 
  5391. ); 
  5392. public $accountId; 
  5393. public $href; 
  5394. public $id; 
  5395. public $kind; 
  5396. public $name; 
  5397.  
  5398.  
  5399. public function setAccountId($accountId) 
  5400. $this->accountId = $accountId; 
  5401. public function getAccountId() 
  5402. return $this->accountId; 
  5403. public function setHref($href) 
  5404. $this->href = $href; 
  5405. public function getHref() 
  5406. return $this->href; 
  5407. public function setId($id) 
  5408. $this->id = $id; 
  5409. public function getId() 
  5410. return $this->id; 
  5411. public function setKind($kind) 
  5412. $this->kind = $kind; 
  5413. public function getKind() 
  5414. return $this->kind; 
  5415. public function setName($name) 
  5416. $this->name = $name; 
  5417. public function getName() 
  5418. return $this->name; 
  5419.  
  5420. class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model 
  5421. protected $internal_gapi_mappings = array( 
  5422. ); 
  5423. public $caseSensitive; 
  5424. public $field; 
  5425. public $replaceString; 
  5426. public $searchString; 
  5427.  
  5428.  
  5429. public function setCaseSensitive($caseSensitive) 
  5430. $this->caseSensitive = $caseSensitive; 
  5431. public function getCaseSensitive() 
  5432. return $this->caseSensitive; 
  5433. public function setField($field) 
  5434. $this->field = $field; 
  5435. public function getField() 
  5436. return $this->field; 
  5437. public function setReplaceString($replaceString) 
  5438. $this->replaceString = $replaceString; 
  5439. public function getReplaceString() 
  5440. return $this->replaceString; 
  5441. public function setSearchString($searchString) 
  5442. $this->searchString = $searchString; 
  5443. public function getSearchString() 
  5444. return $this->searchString; 
  5445.  
  5446. class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model 
  5447. protected $internal_gapi_mappings = array( 
  5448. ); 
  5449. public $field; 
  5450.  
  5451.  
  5452. public function setField($field) 
  5453. $this->field = $field; 
  5454. public function getField() 
  5455. return $this->field; 
  5456.  
  5457. class Google_Service_Analytics_Filters extends Google_Collection 
  5458. protected $collection_key = 'items'; 
  5459. protected $internal_gapi_mappings = array( 
  5460. ); 
  5461. protected $itemsType = 'Google_Service_Analytics_Filter'; 
  5462. protected $itemsDataType = 'array'; 
  5463. public $itemsPerPage; 
  5464. public $kind; 
  5465. public $nextLink; 
  5466. public $previousLink; 
  5467. public $startIndex; 
  5468. public $totalResults; 
  5469. public $username; 
  5470.  
  5471.  
  5472. public function setItems($items) 
  5473. $this->items = $items; 
  5474. public function getItems() 
  5475. return $this->items; 
  5476. public function setItemsPerPage($itemsPerPage) 
  5477. $this->itemsPerPage = $itemsPerPage; 
  5478. public function getItemsPerPage() 
  5479. return $this->itemsPerPage; 
  5480. public function setKind($kind) 
  5481. $this->kind = $kind; 
  5482. public function getKind() 
  5483. return $this->kind; 
  5484. public function setNextLink($nextLink) 
  5485. $this->nextLink = $nextLink; 
  5486. public function getNextLink() 
  5487. return $this->nextLink; 
  5488. public function setPreviousLink($previousLink) 
  5489. $this->previousLink = $previousLink; 
  5490. public function getPreviousLink() 
  5491. return $this->previousLink; 
  5492. public function setStartIndex($startIndex) 
  5493. $this->startIndex = $startIndex; 
  5494. public function getStartIndex() 
  5495. return $this->startIndex; 
  5496. public function setTotalResults($totalResults) 
  5497. $this->totalResults = $totalResults; 
  5498. public function getTotalResults() 
  5499. return $this->totalResults; 
  5500. public function setUsername($username) 
  5501. $this->username = $username; 
  5502. public function getUsername() 
  5503. return $this->username; 
  5504.  
  5505. class Google_Service_Analytics_GaData extends Google_Collection 
  5506. protected $collection_key = 'rows'; 
  5507. protected $internal_gapi_mappings = array( 
  5508. ); 
  5509. protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders'; 
  5510. protected $columnHeadersDataType = 'array'; 
  5511. public $containsSampledData; 
  5512. protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable'; 
  5513. protected $dataTableDataType = ''; 
  5514. public $id; 
  5515. public $itemsPerPage; 
  5516. public $kind; 
  5517. public $nextLink; 
  5518. public $previousLink; 
  5519. protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo'; 
  5520. protected $profileInfoDataType = ''; 
  5521. protected $queryType = 'Google_Service_Analytics_GaDataQuery'; 
  5522. protected $queryDataType = ''; 
  5523. public $rows; 
  5524. public $sampleSize; 
  5525. public $sampleSpace; 
  5526. public $selfLink; 
  5527. public $totalResults; 
  5528. public $totalsForAllResults; 
  5529.  
  5530.  
  5531. public function setColumnHeaders($columnHeaders) 
  5532. $this->columnHeaders = $columnHeaders; 
  5533. public function getColumnHeaders() 
  5534. return $this->columnHeaders; 
  5535. public function setContainsSampledData($containsSampledData) 
  5536. $this->containsSampledData = $containsSampledData; 
  5537. public function getContainsSampledData() 
  5538. return $this->containsSampledData; 
  5539. public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable) 
  5540. $this->dataTable = $dataTable; 
  5541. public function getDataTable() 
  5542. return $this->dataTable; 
  5543. public function setId($id) 
  5544. $this->id = $id; 
  5545. public function getId() 
  5546. return $this->id; 
  5547. public function setItemsPerPage($itemsPerPage) 
  5548. $this->itemsPerPage = $itemsPerPage; 
  5549. public function getItemsPerPage() 
  5550. return $this->itemsPerPage; 
  5551. public function setKind($kind) 
  5552. $this->kind = $kind; 
  5553. public function getKind() 
  5554. return $this->kind; 
  5555. public function setNextLink($nextLink) 
  5556. $this->nextLink = $nextLink; 
  5557. public function getNextLink() 
  5558. return $this->nextLink; 
  5559. public function setPreviousLink($previousLink) 
  5560. $this->previousLink = $previousLink; 
  5561. public function getPreviousLink() 
  5562. return $this->previousLink; 
  5563. public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo) 
  5564. $this->profileInfo = $profileInfo; 
  5565. public function getProfileInfo() 
  5566. return $this->profileInfo; 
  5567. public function setQuery(Google_Service_Analytics_GaDataQuery $query) 
  5568. $this->query = $query; 
  5569. public function getQuery() 
  5570. return $this->query; 
  5571. public function setRows($rows) 
  5572. $this->rows = $rows; 
  5573. public function getRows() 
  5574. return $this->rows; 
  5575. public function setSampleSize($sampleSize) 
  5576. $this->sampleSize = $sampleSize; 
  5577. public function getSampleSize() 
  5578. return $this->sampleSize; 
  5579. public function setSampleSpace($sampleSpace) 
  5580. $this->sampleSpace = $sampleSpace; 
  5581. public function getSampleSpace() 
  5582. return $this->sampleSpace; 
  5583. public function setSelfLink($selfLink) 
  5584. $this->selfLink = $selfLink; 
  5585. public function getSelfLink() 
  5586. return $this->selfLink; 
  5587. public function setTotalResults($totalResults) 
  5588. $this->totalResults = $totalResults; 
  5589. public function getTotalResults() 
  5590. return $this->totalResults; 
  5591. public function setTotalsForAllResults($totalsForAllResults) 
  5592. $this->totalsForAllResults = $totalsForAllResults; 
  5593. public function getTotalsForAllResults() 
  5594. return $this->totalsForAllResults; 
  5595.  
  5596. class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model 
  5597. protected $internal_gapi_mappings = array( 
  5598. ); 
  5599. public $columnType; 
  5600. public $dataType; 
  5601. public $name; 
  5602.  
  5603.  
  5604. public function setColumnType($columnType) 
  5605. $this->columnType = $columnType; 
  5606. public function getColumnType() 
  5607. return $this->columnType; 
  5608. public function setDataType($dataType) 
  5609. $this->dataType = $dataType; 
  5610. public function getDataType() 
  5611. return $this->dataType; 
  5612. public function setName($name) 
  5613. $this->name = $name; 
  5614. public function getName() 
  5615. return $this->name; 
  5616.  
  5617. class Google_Service_Analytics_GaDataDataTable extends Google_Collection 
  5618. protected $collection_key = 'rows'; 
  5619. protected $internal_gapi_mappings = array( 
  5620. ); 
  5621. protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols'; 
  5622. protected $colsDataType = 'array'; 
  5623. protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows'; 
  5624. protected $rowsDataType = 'array'; 
  5625.  
  5626.  
  5627. public function setCols($cols) 
  5628. $this->cols = $cols; 
  5629. public function getCols() 
  5630. return $this->cols; 
  5631. public function setRows($rows) 
  5632. $this->rows = $rows; 
  5633. public function getRows() 
  5634. return $this->rows; 
  5635.  
  5636. class Google_Service_Analytics_GaDataDataTableCols extends Google_Model 
  5637. protected $internal_gapi_mappings = array( 
  5638. ); 
  5639. public $id; 
  5640. public $label; 
  5641. public $type; 
  5642.  
  5643.  
  5644. public function setId($id) 
  5645. $this->id = $id; 
  5646. public function getId() 
  5647. return $this->id; 
  5648. public function setLabel($label) 
  5649. $this->label = $label; 
  5650. public function getLabel() 
  5651. return $this->label; 
  5652. public function setType($type) 
  5653. $this->type = $type; 
  5654. public function getType() 
  5655. return $this->type; 
  5656.  
  5657. class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection 
  5658. protected $collection_key = 'c'; 
  5659. protected $internal_gapi_mappings = array( 
  5660. ); 
  5661. protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC'; 
  5662. protected $cDataType = 'array'; 
  5663.  
  5664.  
  5665. public function setC($c) 
  5666. $this->c = $c; 
  5667. public function getC() 
  5668. return $this->c; 
  5669.  
  5670. class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model 
  5671. protected $internal_gapi_mappings = array( 
  5672. ); 
  5673. public $v; 
  5674.  
  5675.  
  5676. public function setV($v) 
  5677. $this->v = $v; 
  5678. public function getV() 
  5679. return $this->v; 
  5680.  
  5681. class Google_Service_Analytics_GaDataProfileInfo extends Google_Model 
  5682. protected $internal_gapi_mappings = array( 
  5683. ); 
  5684. public $accountId; 
  5685. public $internalWebPropertyId; 
  5686. public $profileId; 
  5687. public $profileName; 
  5688. public $tableId; 
  5689. public $webPropertyId; 
  5690.  
  5691.  
  5692. public function setAccountId($accountId) 
  5693. $this->accountId = $accountId; 
  5694. public function getAccountId() 
  5695. return $this->accountId; 
  5696. public function setInternalWebPropertyId($internalWebPropertyId) 
  5697. $this->internalWebPropertyId = $internalWebPropertyId; 
  5698. public function getInternalWebPropertyId() 
  5699. return $this->internalWebPropertyId; 
  5700. public function setProfileId($profileId) 
  5701. $this->profileId = $profileId; 
  5702. public function getProfileId() 
  5703. return $this->profileId; 
  5704. public function setProfileName($profileName) 
  5705. $this->profileName = $profileName; 
  5706. public function getProfileName() 
  5707. return $this->profileName; 
  5708. public function setTableId($tableId) 
  5709. $this->tableId = $tableId; 
  5710. public function getTableId() 
  5711. return $this->tableId; 
  5712. public function setWebPropertyId($webPropertyId) 
  5713. $this->webPropertyId = $webPropertyId; 
  5714. public function getWebPropertyId() 
  5715. return $this->webPropertyId; 
  5716.  
  5717. class Google_Service_Analytics_GaDataQuery extends Google_Collection 
  5718. protected $collection_key = 'sort'; 
  5719. protected $internal_gapi_mappings = array( 
  5720. "endDate" => "end-date",  
  5721. "maxResults" => "max-results",  
  5722. "startDate" => "start-date",  
  5723. "startIndex" => "start-index",  
  5724. ); 
  5725. public $dimensions; 
  5726. public $endDate; 
  5727. public $filters; 
  5728. public $ids; 
  5729. public $maxResults; 
  5730. public $metrics; 
  5731. public $samplingLevel; 
  5732. public $segment; 
  5733. public $sort; 
  5734. public $startDate; 
  5735. public $startIndex; 
  5736.  
  5737.  
  5738. public function setDimensions($dimensions) 
  5739. $this->dimensions = $dimensions; 
  5740. public function getDimensions() 
  5741. return $this->dimensions; 
  5742. public function setEndDate($endDate) 
  5743. $this->endDate = $endDate; 
  5744. public function getEndDate() 
  5745. return $this->endDate; 
  5746. public function setFilters($filters) 
  5747. $this->filters = $filters; 
  5748. public function getFilters() 
  5749. return $this->filters; 
  5750. public function setIds($ids) 
  5751. $this->ids = $ids; 
  5752. public function getIds() 
  5753. return $this->ids; 
  5754. public function setMaxResults($maxResults) 
  5755. $this->maxResults = $maxResults; 
  5756. public function getMaxResults() 
  5757. return $this->maxResults; 
  5758. public function setMetrics($metrics) 
  5759. $this->metrics = $metrics; 
  5760. public function getMetrics() 
  5761. return $this->metrics; 
  5762. public function setSamplingLevel($samplingLevel) 
  5763. $this->samplingLevel = $samplingLevel; 
  5764. public function getSamplingLevel() 
  5765. return $this->samplingLevel; 
  5766. public function setSegment($segment) 
  5767. $this->segment = $segment; 
  5768. public function getSegment() 
  5769. return $this->segment; 
  5770. public function setSort($sort) 
  5771. $this->sort = $sort; 
  5772. public function getSort() 
  5773. return $this->sort; 
  5774. public function setStartDate($startDate) 
  5775. $this->startDate = $startDate; 
  5776. public function getStartDate() 
  5777. return $this->startDate; 
  5778. public function setStartIndex($startIndex) 
  5779. $this->startIndex = $startIndex; 
  5780. public function getStartIndex() 
  5781. return $this->startIndex; 
  5782.  
  5783. class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model 
  5784.  
  5785. class Google_Service_Analytics_Goal extends Google_Model 
  5786. protected $internal_gapi_mappings = array( 
  5787. ); 
  5788. public $accountId; 
  5789. public $active; 
  5790. public $created; 
  5791. protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails'; 
  5792. protected $eventDetailsDataType = ''; 
  5793. public $id; 
  5794. public $internalWebPropertyId; 
  5795. public $kind; 
  5796. public $name; 
  5797. protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink'; 
  5798. protected $parentLinkDataType = ''; 
  5799. public $profileId; 
  5800. public $selfLink; 
  5801. public $type; 
  5802. public $updated; 
  5803. protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails'; 
  5804. protected $urlDestinationDetailsDataType = ''; 
  5805. public $value; 
  5806. protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails'; 
  5807. protected $visitNumPagesDetailsDataType = ''; 
  5808. protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails'; 
  5809. protected $visitTimeOnSiteDetailsDataType = ''; 
  5810. public $webPropertyId; 
  5811.  
  5812.  
  5813. public function setAccountId($accountId) 
  5814. $this->accountId = $accountId; 
  5815. public function getAccountId() 
  5816. return $this->accountId; 
  5817. public function setActive($active) 
  5818. $this->active = $active; 
  5819. public function getActive() 
  5820. return $this->active; 
  5821. public function setCreated($created) 
  5822. $this->created = $created; 
  5823. public function getCreated() 
  5824. return $this->created; 
  5825. public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails) 
  5826. $this->eventDetails = $eventDetails; 
  5827. public function getEventDetails() 
  5828. return $this->eventDetails; 
  5829. public function setId($id) 
  5830. $this->id = $id; 
  5831. public function getId() 
  5832. return $this->id; 
  5833. public function setInternalWebPropertyId($internalWebPropertyId) 
  5834. $this->internalWebPropertyId = $internalWebPropertyId; 
  5835. public function getInternalWebPropertyId() 
  5836. return $this->internalWebPropertyId; 
  5837. public function setKind($kind) 
  5838. $this->kind = $kind; 
  5839. public function getKind() 
  5840. return $this->kind; 
  5841. public function setName($name) 
  5842. $this->name = $name; 
  5843. public function getName() 
  5844. return $this->name; 
  5845. public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink) 
  5846. $this->parentLink = $parentLink; 
  5847. public function getParentLink() 
  5848. return $this->parentLink; 
  5849. public function setProfileId($profileId) 
  5850. $this->profileId = $profileId; 
  5851. public function getProfileId() 
  5852. return $this->profileId; 
  5853. public function setSelfLink($selfLink) 
  5854. $this->selfLink = $selfLink; 
  5855. public function getSelfLink() 
  5856. return $this->selfLink; 
  5857. public function setType($type) 
  5858. $this->type = $type; 
  5859. public function getType() 
  5860. return $this->type; 
  5861. public function setUpdated($updated) 
  5862. $this->updated = $updated; 
  5863. public function getUpdated() 
  5864. return $this->updated; 
  5865. public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails) 
  5866. $this->urlDestinationDetails = $urlDestinationDetails; 
  5867. public function getUrlDestinationDetails() 
  5868. return $this->urlDestinationDetails; 
  5869. public function setValue($value) 
  5870. $this->value = $value; 
  5871. public function getValue() 
  5872. return $this->value; 
  5873. public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails) 
  5874. $this->visitNumPagesDetails = $visitNumPagesDetails; 
  5875. public function getVisitNumPagesDetails() 
  5876. return $this->visitNumPagesDetails; 
  5877. public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) 
  5878. $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails; 
  5879. public function getVisitTimeOnSiteDetails() 
  5880. return $this->visitTimeOnSiteDetails; 
  5881. public function setWebPropertyId($webPropertyId) 
  5882. $this->webPropertyId = $webPropertyId; 
  5883. public function getWebPropertyId() 
  5884. return $this->webPropertyId; 
  5885.  
  5886. class Google_Service_Analytics_GoalEventDetails extends Google_Collection 
  5887. protected $collection_key = 'eventConditions'; 
  5888. protected $internal_gapi_mappings = array( 
  5889. ); 
  5890. protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions'; 
  5891. protected $eventConditionsDataType = 'array'; 
  5892. public $useEventValue; 
  5893.  
  5894.  
  5895. public function setEventConditions($eventConditions) 
  5896. $this->eventConditions = $eventConditions; 
  5897. public function getEventConditions() 
  5898. return $this->eventConditions; 
  5899. public function setUseEventValue($useEventValue) 
  5900. $this->useEventValue = $useEventValue; 
  5901. public function getUseEventValue() 
  5902. return $this->useEventValue; 
  5903.  
  5904. class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model 
  5905. protected $internal_gapi_mappings = array( 
  5906. ); 
  5907. public $comparisonType; 
  5908. public $comparisonValue; 
  5909. public $expression; 
  5910. public $matchType; 
  5911. public $type; 
  5912.  
  5913.  
  5914. public function setComparisonType($comparisonType) 
  5915. $this->comparisonType = $comparisonType; 
  5916. public function getComparisonType() 
  5917. return $this->comparisonType; 
  5918. public function setComparisonValue($comparisonValue) 
  5919. $this->comparisonValue = $comparisonValue; 
  5920. public function getComparisonValue() 
  5921. return $this->comparisonValue; 
  5922. public function setExpression($expression) 
  5923. $this->expression = $expression; 
  5924. public function getExpression() 
  5925. return $this->expression; 
  5926. public function setMatchType($matchType) 
  5927. $this->matchType = $matchType; 
  5928. public function getMatchType() 
  5929. return $this->matchType; 
  5930. public function setType($type) 
  5931. $this->type = $type; 
  5932. public function getType() 
  5933. return $this->type; 
  5934.  
  5935. class Google_Service_Analytics_GoalParentLink extends Google_Model 
  5936. protected $internal_gapi_mappings = array( 
  5937. ); 
  5938. public $href; 
  5939. public $type; 
  5940.  
  5941.  
  5942. public function setHref($href) 
  5943. $this->href = $href; 
  5944. public function getHref() 
  5945. return $this->href; 
  5946. public function setType($type) 
  5947. $this->type = $type; 
  5948. public function getType() 
  5949. return $this->type; 
  5950.  
  5951. class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection 
  5952. protected $collection_key = 'steps'; 
  5953. protected $internal_gapi_mappings = array( 
  5954. ); 
  5955. public $caseSensitive; 
  5956. public $firstStepRequired; 
  5957. public $matchType; 
  5958. protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps'; 
  5959. protected $stepsDataType = 'array'; 
  5960. public $url; 
  5961.  
  5962.  
  5963. public function setCaseSensitive($caseSensitive) 
  5964. $this->caseSensitive = $caseSensitive; 
  5965. public function getCaseSensitive() 
  5966. return $this->caseSensitive; 
  5967. public function setFirstStepRequired($firstStepRequired) 
  5968. $this->firstStepRequired = $firstStepRequired; 
  5969. public function getFirstStepRequired() 
  5970. return $this->firstStepRequired; 
  5971. public function setMatchType($matchType) 
  5972. $this->matchType = $matchType; 
  5973. public function getMatchType() 
  5974. return $this->matchType; 
  5975. public function setSteps($steps) 
  5976. $this->steps = $steps; 
  5977. public function getSteps() 
  5978. return $this->steps; 
  5979. public function setUrl($url) 
  5980. $this->url = $url; 
  5981. public function getUrl() 
  5982. return $this->url; 
  5983.  
  5984. class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model 
  5985. protected $internal_gapi_mappings = array( 
  5986. ); 
  5987. public $name; 
  5988. public $number; 
  5989. public $url; 
  5990.  
  5991.  
  5992. public function setName($name) 
  5993. $this->name = $name; 
  5994. public function getName() 
  5995. return $this->name; 
  5996. public function setNumber($number) 
  5997. $this->number = $number; 
  5998. public function getNumber() 
  5999. return $this->number; 
  6000. public function setUrl($url) 
  6001. $this->url = $url; 
  6002. public function getUrl() 
  6003. return $this->url; 
  6004.  
  6005. class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model 
  6006. protected $internal_gapi_mappings = array( 
  6007. ); 
  6008. public $comparisonType; 
  6009. public $comparisonValue; 
  6010.  
  6011.  
  6012. public function setComparisonType($comparisonType) 
  6013. $this->comparisonType = $comparisonType; 
  6014. public function getComparisonType() 
  6015. return $this->comparisonType; 
  6016. public function setComparisonValue($comparisonValue) 
  6017. $this->comparisonValue = $comparisonValue; 
  6018. public function getComparisonValue() 
  6019. return $this->comparisonValue; 
  6020.  
  6021. class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model 
  6022. protected $internal_gapi_mappings = array( 
  6023. ); 
  6024. public $comparisonType; 
  6025. public $comparisonValue; 
  6026.  
  6027.  
  6028. public function setComparisonType($comparisonType) 
  6029. $this->comparisonType = $comparisonType; 
  6030. public function getComparisonType() 
  6031. return $this->comparisonType; 
  6032. public function setComparisonValue($comparisonValue) 
  6033. $this->comparisonValue = $comparisonValue; 
  6034. public function getComparisonValue() 
  6035. return $this->comparisonValue; 
  6036.  
  6037. class Google_Service_Analytics_Goals extends Google_Collection 
  6038. protected $collection_key = 'items'; 
  6039. protected $internal_gapi_mappings = array( 
  6040. ); 
  6041. protected $itemsType = 'Google_Service_Analytics_Goal'; 
  6042. protected $itemsDataType = 'array'; 
  6043. public $itemsPerPage; 
  6044. public $kind; 
  6045. public $nextLink; 
  6046. public $previousLink; 
  6047. public $startIndex; 
  6048. public $totalResults; 
  6049. public $username; 
  6050.  
  6051.  
  6052. public function setItems($items) 
  6053. $this->items = $items; 
  6054. public function getItems() 
  6055. return $this->items; 
  6056. public function setItemsPerPage($itemsPerPage) 
  6057. $this->itemsPerPage = $itemsPerPage; 
  6058. public function getItemsPerPage() 
  6059. return $this->itemsPerPage; 
  6060. public function setKind($kind) 
  6061. $this->kind = $kind; 
  6062. public function getKind() 
  6063. return $this->kind; 
  6064. public function setNextLink($nextLink) 
  6065. $this->nextLink = $nextLink; 
  6066. public function getNextLink() 
  6067. return $this->nextLink; 
  6068. public function setPreviousLink($previousLink) 
  6069. $this->previousLink = $previousLink; 
  6070. public function getPreviousLink() 
  6071. return $this->previousLink; 
  6072. public function setStartIndex($startIndex) 
  6073. $this->startIndex = $startIndex; 
  6074. public function getStartIndex() 
  6075. return $this->startIndex; 
  6076. public function setTotalResults($totalResults) 
  6077. $this->totalResults = $totalResults; 
  6078. public function getTotalResults() 
  6079. return $this->totalResults; 
  6080. public function setUsername($username) 
  6081. $this->username = $username; 
  6082. public function getUsername() 
  6083. return $this->username; 
  6084.  
  6085. class Google_Service_Analytics_McfData extends Google_Collection 
  6086. protected $collection_key = 'rows'; 
  6087. protected $internal_gapi_mappings = array( 
  6088. ); 
  6089. protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders'; 
  6090. protected $columnHeadersDataType = 'array'; 
  6091. public $containsSampledData; 
  6092. public $id; 
  6093. public $itemsPerPage; 
  6094. public $kind; 
  6095. public $nextLink; 
  6096. public $previousLink; 
  6097. protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo'; 
  6098. protected $profileInfoDataType = ''; 
  6099. protected $queryType = 'Google_Service_Analytics_McfDataQuery'; 
  6100. protected $queryDataType = ''; 
  6101. protected $rowsType = 'Google_Service_Analytics_McfDataRows'; 
  6102. protected $rowsDataType = 'array'; 
  6103. public $sampleSize; 
  6104. public $sampleSpace; 
  6105. public $selfLink; 
  6106. public $totalResults; 
  6107. public $totalsForAllResults; 
  6108.  
  6109.  
  6110. public function setColumnHeaders($columnHeaders) 
  6111. $this->columnHeaders = $columnHeaders; 
  6112. public function getColumnHeaders() 
  6113. return $this->columnHeaders; 
  6114. public function setContainsSampledData($containsSampledData) 
  6115. $this->containsSampledData = $containsSampledData; 
  6116. public function getContainsSampledData() 
  6117. return $this->containsSampledData; 
  6118. public function setId($id) 
  6119. $this->id = $id; 
  6120. public function getId() 
  6121. return $this->id; 
  6122. public function setItemsPerPage($itemsPerPage) 
  6123. $this->itemsPerPage = $itemsPerPage; 
  6124. public function getItemsPerPage() 
  6125. return $this->itemsPerPage; 
  6126. public function setKind($kind) 
  6127. $this->kind = $kind; 
  6128. public function getKind() 
  6129. return $this->kind; 
  6130. public function setNextLink($nextLink) 
  6131. $this->nextLink = $nextLink; 
  6132. public function getNextLink() 
  6133. return $this->nextLink; 
  6134. public function setPreviousLink($previousLink) 
  6135. $this->previousLink = $previousLink; 
  6136. public function getPreviousLink() 
  6137. return $this->previousLink; 
  6138. public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo) 
  6139. $this->profileInfo = $profileInfo; 
  6140. public function getProfileInfo() 
  6141. return $this->profileInfo; 
  6142. public function setQuery(Google_Service_Analytics_McfDataQuery $query) 
  6143. $this->query = $query; 
  6144. public function getQuery() 
  6145. return $this->query; 
  6146. public function setRows($rows) 
  6147. $this->rows = $rows; 
  6148. public function getRows() 
  6149. return $this->rows; 
  6150. public function setSampleSize($sampleSize) 
  6151. $this->sampleSize = $sampleSize; 
  6152. public function getSampleSize() 
  6153. return $this->sampleSize; 
  6154. public function setSampleSpace($sampleSpace) 
  6155. $this->sampleSpace = $sampleSpace; 
  6156. public function getSampleSpace() 
  6157. return $this->sampleSpace; 
  6158. public function setSelfLink($selfLink) 
  6159. $this->selfLink = $selfLink; 
  6160. public function getSelfLink() 
  6161. return $this->selfLink; 
  6162. public function setTotalResults($totalResults) 
  6163. $this->totalResults = $totalResults; 
  6164. public function getTotalResults() 
  6165. return $this->totalResults; 
  6166. public function setTotalsForAllResults($totalsForAllResults) 
  6167. $this->totalsForAllResults = $totalsForAllResults; 
  6168. public function getTotalsForAllResults() 
  6169. return $this->totalsForAllResults; 
  6170.  
  6171. class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model 
  6172. protected $internal_gapi_mappings = array( 
  6173. ); 
  6174. public $columnType; 
  6175. public $dataType; 
  6176. public $name; 
  6177.  
  6178.  
  6179. public function setColumnType($columnType) 
  6180. $this->columnType = $columnType; 
  6181. public function getColumnType() 
  6182. return $this->columnType; 
  6183. public function setDataType($dataType) 
  6184. $this->dataType = $dataType; 
  6185. public function getDataType() 
  6186. return $this->dataType; 
  6187. public function setName($name) 
  6188. $this->name = $name; 
  6189. public function getName() 
  6190. return $this->name; 
  6191.  
  6192. class Google_Service_Analytics_McfDataProfileInfo extends Google_Model 
  6193. protected $internal_gapi_mappings = array( 
  6194. ); 
  6195. public $accountId; 
  6196. public $internalWebPropertyId; 
  6197. public $profileId; 
  6198. public $profileName; 
  6199. public $tableId; 
  6200. public $webPropertyId; 
  6201.  
  6202.  
  6203. public function setAccountId($accountId) 
  6204. $this->accountId = $accountId; 
  6205. public function getAccountId() 
  6206. return $this->accountId; 
  6207. public function setInternalWebPropertyId($internalWebPropertyId) 
  6208. $this->internalWebPropertyId = $internalWebPropertyId; 
  6209. public function getInternalWebPropertyId() 
  6210. return $this->internalWebPropertyId; 
  6211. public function setProfileId($profileId) 
  6212. $this->profileId = $profileId; 
  6213. public function getProfileId() 
  6214. return $this->profileId; 
  6215. public function setProfileName($profileName) 
  6216. $this->profileName = $profileName; 
  6217. public function getProfileName() 
  6218. return $this->profileName; 
  6219. public function setTableId($tableId) 
  6220. $this->tableId = $tableId; 
  6221. public function getTableId() 
  6222. return $this->tableId; 
  6223. public function setWebPropertyId($webPropertyId) 
  6224. $this->webPropertyId = $webPropertyId; 
  6225. public function getWebPropertyId() 
  6226. return $this->webPropertyId; 
  6227.  
  6228. class Google_Service_Analytics_McfDataQuery extends Google_Collection 
  6229. protected $collection_key = 'sort'; 
  6230. protected $internal_gapi_mappings = array( 
  6231. "endDate" => "end-date",  
  6232. "maxResults" => "max-results",  
  6233. "startDate" => "start-date",  
  6234. "startIndex" => "start-index",  
  6235. ); 
  6236. public $dimensions; 
  6237. public $endDate; 
  6238. public $filters; 
  6239. public $ids; 
  6240. public $maxResults; 
  6241. public $metrics; 
  6242. public $samplingLevel; 
  6243. public $segment; 
  6244. public $sort; 
  6245. public $startDate; 
  6246. public $startIndex; 
  6247.  
  6248.  
  6249. public function setDimensions($dimensions) 
  6250. $this->dimensions = $dimensions; 
  6251. public function getDimensions() 
  6252. return $this->dimensions; 
  6253. public function setEndDate($endDate) 
  6254. $this->endDate = $endDate; 
  6255. public function getEndDate() 
  6256. return $this->endDate; 
  6257. public function setFilters($filters) 
  6258. $this->filters = $filters; 
  6259. public function getFilters() 
  6260. return $this->filters; 
  6261. public function setIds($ids) 
  6262. $this->ids = $ids; 
  6263. public function getIds() 
  6264. return $this->ids; 
  6265. public function setMaxResults($maxResults) 
  6266. $this->maxResults = $maxResults; 
  6267. public function getMaxResults() 
  6268. return $this->maxResults; 
  6269. public function setMetrics($metrics) 
  6270. $this->metrics = $metrics; 
  6271. public function getMetrics() 
  6272. return $this->metrics; 
  6273. public function setSamplingLevel($samplingLevel) 
  6274. $this->samplingLevel = $samplingLevel; 
  6275. public function getSamplingLevel() 
  6276. return $this->samplingLevel; 
  6277. public function setSegment($segment) 
  6278. $this->segment = $segment; 
  6279. public function getSegment() 
  6280. return $this->segment; 
  6281. public function setSort($sort) 
  6282. $this->sort = $sort; 
  6283. public function getSort() 
  6284. return $this->sort; 
  6285. public function setStartDate($startDate) 
  6286. $this->startDate = $startDate; 
  6287. public function getStartDate() 
  6288. return $this->startDate; 
  6289. public function setStartIndex($startIndex) 
  6290. $this->startIndex = $startIndex; 
  6291. public function getStartIndex() 
  6292. return $this->startIndex; 
  6293.  
  6294. class Google_Service_Analytics_McfDataRows extends Google_Collection 
  6295. protected $collection_key = 'conversionPathValue'; 
  6296. protected $internal_gapi_mappings = array( 
  6297. ); 
  6298. protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue'; 
  6299. protected $conversionPathValueDataType = 'array'; 
  6300. public $primitiveValue; 
  6301.  
  6302.  
  6303. public function setConversionPathValue($conversionPathValue) 
  6304. $this->conversionPathValue = $conversionPathValue; 
  6305. public function getConversionPathValue() 
  6306. return $this->conversionPathValue; 
  6307. public function setPrimitiveValue($primitiveValue) 
  6308. $this->primitiveValue = $primitiveValue; 
  6309. public function getPrimitiveValue() 
  6310. return $this->primitiveValue; 
  6311.  
  6312. class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model 
  6313. protected $internal_gapi_mappings = array( 
  6314. ); 
  6315. public $interactionType; 
  6316. public $nodeValue; 
  6317.  
  6318.  
  6319. public function setInteractionType($interactionType) 
  6320. $this->interactionType = $interactionType; 
  6321. public function getInteractionType() 
  6322. return $this->interactionType; 
  6323. public function setNodeValue($nodeValue) 
  6324. $this->nodeValue = $nodeValue; 
  6325. public function getNodeValue() 
  6326. return $this->nodeValue; 
  6327.  
  6328. class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model 
  6329.  
  6330. class Google_Service_Analytics_Profile extends Google_Model 
  6331. protected $internal_gapi_mappings = array( 
  6332. ); 
  6333. public $accountId; 
  6334. protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink'; 
  6335. protected $childLinkDataType = ''; 
  6336. public $created; 
  6337. public $currency; 
  6338. public $defaultPage; 
  6339. public $eCommerceTracking; 
  6340. public $enhancedECommerceTracking; 
  6341. public $excludeQueryParameters; 
  6342. public $id; 
  6343. public $internalWebPropertyId; 
  6344. public $kind; 
  6345. public $name; 
  6346. protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink'; 
  6347. protected $parentLinkDataType = ''; 
  6348. protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions'; 
  6349. protected $permissionsDataType = ''; 
  6350. public $selfLink; 
  6351. public $siteSearchCategoryParameters; 
  6352. public $siteSearchQueryParameters; 
  6353. public $stripSiteSearchCategoryParameters; 
  6354. public $stripSiteSearchQueryParameters; 
  6355. public $timezone; 
  6356. public $type; 
  6357. public $updated; 
  6358. public $webPropertyId; 
  6359. public $websiteUrl; 
  6360.  
  6361.  
  6362. public function setAccountId($accountId) 
  6363. $this->accountId = $accountId; 
  6364. public function getAccountId() 
  6365. return $this->accountId; 
  6366. public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink) 
  6367. $this->childLink = $childLink; 
  6368. public function getChildLink() 
  6369. return $this->childLink; 
  6370. public function setCreated($created) 
  6371. $this->created = $created; 
  6372. public function getCreated() 
  6373. return $this->created; 
  6374. public function setCurrency($currency) 
  6375. $this->currency = $currency; 
  6376. public function getCurrency() 
  6377. return $this->currency; 
  6378. public function setDefaultPage($defaultPage) 
  6379. $this->defaultPage = $defaultPage; 
  6380. public function getDefaultPage() 
  6381. return $this->defaultPage; 
  6382. public function setECommerceTracking($eCommerceTracking) 
  6383. $this->eCommerceTracking = $eCommerceTracking; 
  6384. public function getECommerceTracking() 
  6385. return $this->eCommerceTracking; 
  6386. public function setEnhancedECommerceTracking($enhancedECommerceTracking) 
  6387. $this->enhancedECommerceTracking = $enhancedECommerceTracking; 
  6388. public function getEnhancedECommerceTracking() 
  6389. return $this->enhancedECommerceTracking; 
  6390. public function setExcludeQueryParameters($excludeQueryParameters) 
  6391. $this->excludeQueryParameters = $excludeQueryParameters; 
  6392. public function getExcludeQueryParameters() 
  6393. return $this->excludeQueryParameters; 
  6394. public function setId($id) 
  6395. $this->id = $id; 
  6396. public function getId() 
  6397. return $this->id; 
  6398. public function setInternalWebPropertyId($internalWebPropertyId) 
  6399. $this->internalWebPropertyId = $internalWebPropertyId; 
  6400. public function getInternalWebPropertyId() 
  6401. return $this->internalWebPropertyId; 
  6402. public function setKind($kind) 
  6403. $this->kind = $kind; 
  6404. public function getKind() 
  6405. return $this->kind; 
  6406. public function setName($name) 
  6407. $this->name = $name; 
  6408. public function getName() 
  6409. return $this->name; 
  6410. public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink) 
  6411. $this->parentLink = $parentLink; 
  6412. public function getParentLink() 
  6413. return $this->parentLink; 
  6414. public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions) 
  6415. $this->permissions = $permissions; 
  6416. public function getPermissions() 
  6417. return $this->permissions; 
  6418. public function setSelfLink($selfLink) 
  6419. $this->selfLink = $selfLink; 
  6420. public function getSelfLink() 
  6421. return $this->selfLink; 
  6422. public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) 
  6423. $this->siteSearchCategoryParameters = $siteSearchCategoryParameters; 
  6424. public function getSiteSearchCategoryParameters() 
  6425. return $this->siteSearchCategoryParameters; 
  6426. public function setSiteSearchQueryParameters($siteSearchQueryParameters) 
  6427. $this->siteSearchQueryParameters = $siteSearchQueryParameters; 
  6428. public function getSiteSearchQueryParameters() 
  6429. return $this->siteSearchQueryParameters; 
  6430. public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters) 
  6431. $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters; 
  6432. public function getStripSiteSearchCategoryParameters() 
  6433. return $this->stripSiteSearchCategoryParameters; 
  6434. public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters) 
  6435. $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters; 
  6436. public function getStripSiteSearchQueryParameters() 
  6437. return $this->stripSiteSearchQueryParameters; 
  6438. public function setTimezone($timezone) 
  6439. $this->timezone = $timezone; 
  6440. public function getTimezone() 
  6441. return $this->timezone; 
  6442. public function setType($type) 
  6443. $this->type = $type; 
  6444. public function getType() 
  6445. return $this->type; 
  6446. public function setUpdated($updated) 
  6447. $this->updated = $updated; 
  6448. public function getUpdated() 
  6449. return $this->updated; 
  6450. public function setWebPropertyId($webPropertyId) 
  6451. $this->webPropertyId = $webPropertyId; 
  6452. public function getWebPropertyId() 
  6453. return $this->webPropertyId; 
  6454. public function setWebsiteUrl($websiteUrl) 
  6455. $this->websiteUrl = $websiteUrl; 
  6456. public function getWebsiteUrl() 
  6457. return $this->websiteUrl; 
  6458.  
  6459. class Google_Service_Analytics_ProfileChildLink extends Google_Model 
  6460. protected $internal_gapi_mappings = array( 
  6461. ); 
  6462. public $href; 
  6463. public $type; 
  6464.  
  6465.  
  6466. public function setHref($href) 
  6467. $this->href = $href; 
  6468. public function getHref() 
  6469. return $this->href; 
  6470. public function setType($type) 
  6471. $this->type = $type; 
  6472. public function getType() 
  6473. return $this->type; 
  6474.  
  6475. class Google_Service_Analytics_ProfileFilterLink extends Google_Model 
  6476. protected $internal_gapi_mappings = array( 
  6477. ); 
  6478. protected $filterRefType = 'Google_Service_Analytics_FilterRef'; 
  6479. protected $filterRefDataType = ''; 
  6480. public $id; 
  6481. public $kind; 
  6482. protected $profileRefType = 'Google_Service_Analytics_ProfileRef'; 
  6483. protected $profileRefDataType = ''; 
  6484. public $rank; 
  6485. public $selfLink; 
  6486.  
  6487.  
  6488. public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef) 
  6489. $this->filterRef = $filterRef; 
  6490. public function getFilterRef() 
  6491. return $this->filterRef; 
  6492. public function setId($id) 
  6493. $this->id = $id; 
  6494. public function getId() 
  6495. return $this->id; 
  6496. public function setKind($kind) 
  6497. $this->kind = $kind; 
  6498. public function getKind() 
  6499. return $this->kind; 
  6500. public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) 
  6501. $this->profileRef = $profileRef; 
  6502. public function getProfileRef() 
  6503. return $this->profileRef; 
  6504. public function setRank($rank) 
  6505. $this->rank = $rank; 
  6506. public function getRank() 
  6507. return $this->rank; 
  6508. public function setSelfLink($selfLink) 
  6509. $this->selfLink = $selfLink; 
  6510. public function getSelfLink() 
  6511. return $this->selfLink; 
  6512.  
  6513. class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection 
  6514. protected $collection_key = 'items'; 
  6515. protected $internal_gapi_mappings = array( 
  6516. ); 
  6517. protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink'; 
  6518. protected $itemsDataType = 'array'; 
  6519. public $itemsPerPage; 
  6520. public $kind; 
  6521. public $nextLink; 
  6522. public $previousLink; 
  6523. public $startIndex; 
  6524. public $totalResults; 
  6525. public $username; 
  6526.  
  6527.  
  6528. public function setItems($items) 
  6529. $this->items = $items; 
  6530. public function getItems() 
  6531. return $this->items; 
  6532. public function setItemsPerPage($itemsPerPage) 
  6533. $this->itemsPerPage = $itemsPerPage; 
  6534. public function getItemsPerPage() 
  6535. return $this->itemsPerPage; 
  6536. public function setKind($kind) 
  6537. $this->kind = $kind; 
  6538. public function getKind() 
  6539. return $this->kind; 
  6540. public function setNextLink($nextLink) 
  6541. $this->nextLink = $nextLink; 
  6542. public function getNextLink() 
  6543. return $this->nextLink; 
  6544. public function setPreviousLink($previousLink) 
  6545. $this->previousLink = $previousLink; 
  6546. public function getPreviousLink() 
  6547. return $this->previousLink; 
  6548. public function setStartIndex($startIndex) 
  6549. $this->startIndex = $startIndex; 
  6550. public function getStartIndex() 
  6551. return $this->startIndex; 
  6552. public function setTotalResults($totalResults) 
  6553. $this->totalResults = $totalResults; 
  6554. public function getTotalResults() 
  6555. return $this->totalResults; 
  6556. public function setUsername($username) 
  6557. $this->username = $username; 
  6558. public function getUsername() 
  6559. return $this->username; 
  6560.  
  6561. class Google_Service_Analytics_ProfileParentLink extends Google_Model 
  6562. protected $internal_gapi_mappings = array( 
  6563. ); 
  6564. public $href; 
  6565. public $type; 
  6566.  
  6567.  
  6568. public function setHref($href) 
  6569. $this->href = $href; 
  6570. public function getHref() 
  6571. return $this->href; 
  6572. public function setType($type) 
  6573. $this->type = $type; 
  6574. public function getType() 
  6575. return $this->type; 
  6576.  
  6577. class Google_Service_Analytics_ProfilePermissions extends Google_Collection 
  6578. protected $collection_key = 'effective'; 
  6579. protected $internal_gapi_mappings = array( 
  6580. ); 
  6581. public $effective; 
  6582.  
  6583.  
  6584. public function setEffective($effective) 
  6585. $this->effective = $effective; 
  6586. public function getEffective() 
  6587. return $this->effective; 
  6588.  
  6589. class Google_Service_Analytics_ProfileRef extends Google_Model 
  6590. protected $internal_gapi_mappings = array( 
  6591. ); 
  6592. public $accountId; 
  6593. public $href; 
  6594. public $id; 
  6595. public $internalWebPropertyId; 
  6596. public $kind; 
  6597. public $name; 
  6598. public $webPropertyId; 
  6599.  
  6600.  
  6601. public function setAccountId($accountId) 
  6602. $this->accountId = $accountId; 
  6603. public function getAccountId() 
  6604. return $this->accountId; 
  6605. public function setHref($href) 
  6606. $this->href = $href; 
  6607. public function getHref() 
  6608. return $this->href; 
  6609. public function setId($id) 
  6610. $this->id = $id; 
  6611. public function getId() 
  6612. return $this->id; 
  6613. public function setInternalWebPropertyId($internalWebPropertyId) 
  6614. $this->internalWebPropertyId = $internalWebPropertyId; 
  6615. public function getInternalWebPropertyId() 
  6616. return $this->internalWebPropertyId; 
  6617. public function setKind($kind) 
  6618. $this->kind = $kind; 
  6619. public function getKind() 
  6620. return $this->kind; 
  6621. public function setName($name) 
  6622. $this->name = $name; 
  6623. public function getName() 
  6624. return $this->name; 
  6625. public function setWebPropertyId($webPropertyId) 
  6626. $this->webPropertyId = $webPropertyId; 
  6627. public function getWebPropertyId() 
  6628. return $this->webPropertyId; 
  6629.  
  6630. class Google_Service_Analytics_ProfileSummary extends Google_Model 
  6631. protected $internal_gapi_mappings = array( 
  6632. ); 
  6633. public $id; 
  6634. public $kind; 
  6635. public $name; 
  6636. public $type; 
  6637.  
  6638.  
  6639. public function setId($id) 
  6640. $this->id = $id; 
  6641. public function getId() 
  6642. return $this->id; 
  6643. public function setKind($kind) 
  6644. $this->kind = $kind; 
  6645. public function getKind() 
  6646. return $this->kind; 
  6647. public function setName($name) 
  6648. $this->name = $name; 
  6649. public function getName() 
  6650. return $this->name; 
  6651. public function setType($type) 
  6652. $this->type = $type; 
  6653. public function getType() 
  6654. return $this->type; 
  6655.  
  6656. class Google_Service_Analytics_Profiles extends Google_Collection 
  6657. protected $collection_key = 'items'; 
  6658. protected $internal_gapi_mappings = array( 
  6659. ); 
  6660. protected $itemsType = 'Google_Service_Analytics_Profile'; 
  6661. protected $itemsDataType = 'array'; 
  6662. public $itemsPerPage; 
  6663. public $kind; 
  6664. public $nextLink; 
  6665. public $previousLink; 
  6666. public $startIndex; 
  6667. public $totalResults; 
  6668. public $username; 
  6669.  
  6670.  
  6671. public function setItems($items) 
  6672. $this->items = $items; 
  6673. public function getItems() 
  6674. return $this->items; 
  6675. public function setItemsPerPage($itemsPerPage) 
  6676. $this->itemsPerPage = $itemsPerPage; 
  6677. public function getItemsPerPage() 
  6678. return $this->itemsPerPage; 
  6679. public function setKind($kind) 
  6680. $this->kind = $kind; 
  6681. public function getKind() 
  6682. return $this->kind; 
  6683. public function setNextLink($nextLink) 
  6684. $this->nextLink = $nextLink; 
  6685. public function getNextLink() 
  6686. return $this->nextLink; 
  6687. public function setPreviousLink($previousLink) 
  6688. $this->previousLink = $previousLink; 
  6689. public function getPreviousLink() 
  6690. return $this->previousLink; 
  6691. public function setStartIndex($startIndex) 
  6692. $this->startIndex = $startIndex; 
  6693. public function getStartIndex() 
  6694. return $this->startIndex; 
  6695. public function setTotalResults($totalResults) 
  6696. $this->totalResults = $totalResults; 
  6697. public function getTotalResults() 
  6698. return $this->totalResults; 
  6699. public function setUsername($username) 
  6700. $this->username = $username; 
  6701. public function getUsername() 
  6702. return $this->username; 
  6703.  
  6704. class Google_Service_Analytics_RealtimeData extends Google_Collection 
  6705. protected $collection_key = 'rows'; 
  6706. protected $internal_gapi_mappings = array( 
  6707. ); 
  6708. protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders'; 
  6709. protected $columnHeadersDataType = 'array'; 
  6710. public $id; 
  6711. public $kind; 
  6712. protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo'; 
  6713. protected $profileInfoDataType = ''; 
  6714. protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery'; 
  6715. protected $queryDataType = ''; 
  6716. public $rows; 
  6717. public $selfLink; 
  6718. public $totalResults; 
  6719. public $totalsForAllResults; 
  6720.  
  6721.  
  6722. public function setColumnHeaders($columnHeaders) 
  6723. $this->columnHeaders = $columnHeaders; 
  6724. public function getColumnHeaders() 
  6725. return $this->columnHeaders; 
  6726. public function setId($id) 
  6727. $this->id = $id; 
  6728. public function getId() 
  6729. return $this->id; 
  6730. public function setKind($kind) 
  6731. $this->kind = $kind; 
  6732. public function getKind() 
  6733. return $this->kind; 
  6734. public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo) 
  6735. $this->profileInfo = $profileInfo; 
  6736. public function getProfileInfo() 
  6737. return $this->profileInfo; 
  6738. public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query) 
  6739. $this->query = $query; 
  6740. public function getQuery() 
  6741. return $this->query; 
  6742. public function setRows($rows) 
  6743. $this->rows = $rows; 
  6744. public function getRows() 
  6745. return $this->rows; 
  6746. public function setSelfLink($selfLink) 
  6747. $this->selfLink = $selfLink; 
  6748. public function getSelfLink() 
  6749. return $this->selfLink; 
  6750. public function setTotalResults($totalResults) 
  6751. $this->totalResults = $totalResults; 
  6752. public function getTotalResults() 
  6753. return $this->totalResults; 
  6754. public function setTotalsForAllResults($totalsForAllResults) 
  6755. $this->totalsForAllResults = $totalsForAllResults; 
  6756. public function getTotalsForAllResults() 
  6757. return $this->totalsForAllResults; 
  6758.  
  6759. class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model 
  6760. protected $internal_gapi_mappings = array( 
  6761. ); 
  6762. public $columnType; 
  6763. public $dataType; 
  6764. public $name; 
  6765.  
  6766.  
  6767. public function setColumnType($columnType) 
  6768. $this->columnType = $columnType; 
  6769. public function getColumnType() 
  6770. return $this->columnType; 
  6771. public function setDataType($dataType) 
  6772. $this->dataType = $dataType; 
  6773. public function getDataType() 
  6774. return $this->dataType; 
  6775. public function setName($name) 
  6776. $this->name = $name; 
  6777. public function getName() 
  6778. return $this->name; 
  6779.  
  6780. class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model 
  6781. protected $internal_gapi_mappings = array( 
  6782. ); 
  6783. public $accountId; 
  6784. public $internalWebPropertyId; 
  6785. public $profileId; 
  6786. public $profileName; 
  6787. public $tableId; 
  6788. public $webPropertyId; 
  6789.  
  6790.  
  6791. public function setAccountId($accountId) 
  6792. $this->accountId = $accountId; 
  6793. public function getAccountId() 
  6794. return $this->accountId; 
  6795. public function setInternalWebPropertyId($internalWebPropertyId) 
  6796. $this->internalWebPropertyId = $internalWebPropertyId; 
  6797. public function getInternalWebPropertyId() 
  6798. return $this->internalWebPropertyId; 
  6799. public function setProfileId($profileId) 
  6800. $this->profileId = $profileId; 
  6801. public function getProfileId() 
  6802. return $this->profileId; 
  6803. public function setProfileName($profileName) 
  6804. $this->profileName = $profileName; 
  6805. public function getProfileName() 
  6806. return $this->profileName; 
  6807. public function setTableId($tableId) 
  6808. $this->tableId = $tableId; 
  6809. public function getTableId() 
  6810. return $this->tableId; 
  6811. public function setWebPropertyId($webPropertyId) 
  6812. $this->webPropertyId = $webPropertyId; 
  6813. public function getWebPropertyId() 
  6814. return $this->webPropertyId; 
  6815.  
  6816. class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection 
  6817. protected $collection_key = 'sort'; 
  6818. protected $internal_gapi_mappings = array( 
  6819. "maxResults" => "max-results",  
  6820. ); 
  6821. public $dimensions; 
  6822. public $filters; 
  6823. public $ids; 
  6824. public $maxResults; 
  6825. public $metrics; 
  6826. public $sort; 
  6827.  
  6828.  
  6829. public function setDimensions($dimensions) 
  6830. $this->dimensions = $dimensions; 
  6831. public function getDimensions() 
  6832. return $this->dimensions; 
  6833. public function setFilters($filters) 
  6834. $this->filters = $filters; 
  6835. public function getFilters() 
  6836. return $this->filters; 
  6837. public function setIds($ids) 
  6838. $this->ids = $ids; 
  6839. public function getIds() 
  6840. return $this->ids; 
  6841. public function setMaxResults($maxResults) 
  6842. $this->maxResults = $maxResults; 
  6843. public function getMaxResults() 
  6844. return $this->maxResults; 
  6845. public function setMetrics($metrics) 
  6846. $this->metrics = $metrics; 
  6847. public function getMetrics() 
  6848. return $this->metrics; 
  6849. public function setSort($sort) 
  6850. $this->sort = $sort; 
  6851. public function getSort() 
  6852. return $this->sort; 
  6853.  
  6854. class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model 
  6855.  
  6856. class Google_Service_Analytics_Segment extends Google_Model 
  6857. protected $internal_gapi_mappings = array( 
  6858. ); 
  6859. public $created; 
  6860. public $definition; 
  6861. public $id; 
  6862. public $kind; 
  6863. public $name; 
  6864. public $segmentId; 
  6865. public $selfLink; 
  6866. public $type; 
  6867. public $updated; 
  6868.  
  6869.  
  6870. public function setCreated($created) 
  6871. $this->created = $created; 
  6872. public function getCreated() 
  6873. return $this->created; 
  6874. public function setDefinition($definition) 
  6875. $this->definition = $definition; 
  6876. public function getDefinition() 
  6877. return $this->definition; 
  6878. public function setId($id) 
  6879. $this->id = $id; 
  6880. public function getId() 
  6881. return $this->id; 
  6882. public function setKind($kind) 
  6883. $this->kind = $kind; 
  6884. public function getKind() 
  6885. return $this->kind; 
  6886. public function setName($name) 
  6887. $this->name = $name; 
  6888. public function getName() 
  6889. return $this->name; 
  6890. public function setSegmentId($segmentId) 
  6891. $this->segmentId = $segmentId; 
  6892. public function getSegmentId() 
  6893. return $this->segmentId; 
  6894. public function setSelfLink($selfLink) 
  6895. $this->selfLink = $selfLink; 
  6896. public function getSelfLink() 
  6897. return $this->selfLink; 
  6898. public function setType($type) 
  6899. $this->type = $type; 
  6900. public function getType() 
  6901. return $this->type; 
  6902. public function setUpdated($updated) 
  6903. $this->updated = $updated; 
  6904. public function getUpdated() 
  6905. return $this->updated; 
  6906.  
  6907. class Google_Service_Analytics_Segments extends Google_Collection 
  6908. protected $collection_key = 'items'; 
  6909. protected $internal_gapi_mappings = array( 
  6910. ); 
  6911. protected $itemsType = 'Google_Service_Analytics_Segment'; 
  6912. protected $itemsDataType = 'array'; 
  6913. public $itemsPerPage; 
  6914. public $kind; 
  6915. public $nextLink; 
  6916. public $previousLink; 
  6917. public $startIndex; 
  6918. public $totalResults; 
  6919. public $username; 
  6920.  
  6921.  
  6922. public function setItems($items) 
  6923. $this->items = $items; 
  6924. public function getItems() 
  6925. return $this->items; 
  6926. public function setItemsPerPage($itemsPerPage) 
  6927. $this->itemsPerPage = $itemsPerPage; 
  6928. public function getItemsPerPage() 
  6929. return $this->itemsPerPage; 
  6930. public function setKind($kind) 
  6931. $this->kind = $kind; 
  6932. public function getKind() 
  6933. return $this->kind; 
  6934. public function setNextLink($nextLink) 
  6935. $this->nextLink = $nextLink; 
  6936. public function getNextLink() 
  6937. return $this->nextLink; 
  6938. public function setPreviousLink($previousLink) 
  6939. $this->previousLink = $previousLink; 
  6940. public function getPreviousLink() 
  6941. return $this->previousLink; 
  6942. public function setStartIndex($startIndex) 
  6943. $this->startIndex = $startIndex; 
  6944. public function getStartIndex() 
  6945. return $this->startIndex; 
  6946. public function setTotalResults($totalResults) 
  6947. $this->totalResults = $totalResults; 
  6948. public function getTotalResults() 
  6949. return $this->totalResults; 
  6950. public function setUsername($username) 
  6951. $this->username = $username; 
  6952. public function getUsername() 
  6953. return $this->username; 
  6954.  
  6955. class Google_Service_Analytics_UnsampledReport extends Google_Model 
  6956. protected $internal_gapi_mappings = array( 
  6957. "endDate" => "end-date",  
  6958. "startDate" => "start-date",  
  6959. ); 
  6960. public $accountId; 
  6961. protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails'; 
  6962. protected $cloudStorageDownloadDetailsDataType = ''; 
  6963. public $created; 
  6964. public $dimensions; 
  6965. public $downloadType; 
  6966. protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails'; 
  6967. protected $driveDownloadDetailsDataType = ''; 
  6968. public $endDate; 
  6969. public $filters; 
  6970. public $id; 
  6971. public $kind; 
  6972. public $metrics; 
  6973. public $profileId; 
  6974. public $segment; 
  6975. public $selfLink; 
  6976. public $startDate; 
  6977. public $status; 
  6978. public $title; 
  6979. public $updated; 
  6980. public $webPropertyId; 
  6981.  
  6982.  
  6983. public function setAccountId($accountId) 
  6984. $this->accountId = $accountId; 
  6985. public function getAccountId() 
  6986. return $this->accountId; 
  6987. public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails) 
  6988. $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails; 
  6989. public function getCloudStorageDownloadDetails() 
  6990. return $this->cloudStorageDownloadDetails; 
  6991. public function setCreated($created) 
  6992. $this->created = $created; 
  6993. public function getCreated() 
  6994. return $this->created; 
  6995. public function setDimensions($dimensions) 
  6996. $this->dimensions = $dimensions; 
  6997. public function getDimensions() 
  6998. return $this->dimensions; 
  6999. public function setDownloadType($downloadType) 
  7000. $this->downloadType = $downloadType; 
  7001. public function getDownloadType() 
  7002. return $this->downloadType; 
  7003. public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails) 
  7004. $this->driveDownloadDetails = $driveDownloadDetails; 
  7005. public function getDriveDownloadDetails() 
  7006. return $this->driveDownloadDetails; 
  7007. public function setEndDate($endDate) 
  7008. $this->endDate = $endDate; 
  7009. public function getEndDate() 
  7010. return $this->endDate; 
  7011. public function setFilters($filters) 
  7012. $this->filters = $filters; 
  7013. public function getFilters() 
  7014. return $this->filters; 
  7015. public function setId($id) 
  7016. $this->id = $id; 
  7017. public function getId() 
  7018. return $this->id; 
  7019. public function setKind($kind) 
  7020. $this->kind = $kind; 
  7021. public function getKind() 
  7022. return $this->kind; 
  7023. public function setMetrics($metrics) 
  7024. $this->metrics = $metrics; 
  7025. public function getMetrics() 
  7026. return $this->metrics; 
  7027. public function setProfileId($profileId) 
  7028. $this->profileId = $profileId; 
  7029. public function getProfileId() 
  7030. return $this->profileId; 
  7031. public function setSegment($segment) 
  7032. $this->segment = $segment; 
  7033. public function getSegment() 
  7034. return $this->segment; 
  7035. public function setSelfLink($selfLink) 
  7036. $this->selfLink = $selfLink; 
  7037. public function getSelfLink() 
  7038. return $this->selfLink; 
  7039. public function setStartDate($startDate) 
  7040. $this->startDate = $startDate; 
  7041. public function getStartDate() 
  7042. return $this->startDate; 
  7043. public function setStatus($status) 
  7044. $this->status = $status; 
  7045. public function getStatus() 
  7046. return $this->status; 
  7047. public function setTitle($title) 
  7048. $this->title = $title; 
  7049. public function getTitle() 
  7050. return $this->title; 
  7051. public function setUpdated($updated) 
  7052. $this->updated = $updated; 
  7053. public function getUpdated() 
  7054. return $this->updated; 
  7055. public function setWebPropertyId($webPropertyId) 
  7056. $this->webPropertyId = $webPropertyId; 
  7057. public function getWebPropertyId() 
  7058. return $this->webPropertyId; 
  7059.  
  7060. class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model 
  7061. protected $internal_gapi_mappings = array( 
  7062. ); 
  7063. public $bucketId; 
  7064. public $objectId; 
  7065.  
  7066.  
  7067. public function setBucketId($bucketId) 
  7068. $this->bucketId = $bucketId; 
  7069. public function getBucketId() 
  7070. return $this->bucketId; 
  7071. public function setObjectId($objectId) 
  7072. $this->objectId = $objectId; 
  7073. public function getObjectId() 
  7074. return $this->objectId; 
  7075.  
  7076. class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model 
  7077. protected $internal_gapi_mappings = array( 
  7078. ); 
  7079. public $documentId; 
  7080.  
  7081.  
  7082. public function setDocumentId($documentId) 
  7083. $this->documentId = $documentId; 
  7084. public function getDocumentId() 
  7085. return $this->documentId; 
  7086.  
  7087. class Google_Service_Analytics_UnsampledReports extends Google_Collection 
  7088. protected $collection_key = 'items'; 
  7089. protected $internal_gapi_mappings = array( 
  7090. ); 
  7091. protected $itemsType = 'Google_Service_Analytics_UnsampledReport'; 
  7092. protected $itemsDataType = 'array'; 
  7093. public $itemsPerPage; 
  7094. public $kind; 
  7095. public $nextLink; 
  7096. public $previousLink; 
  7097. public $startIndex; 
  7098. public $totalResults; 
  7099. public $username; 
  7100.  
  7101.  
  7102. public function setItems($items) 
  7103. $this->items = $items; 
  7104. public function getItems() 
  7105. return $this->items; 
  7106. public function setItemsPerPage($itemsPerPage) 
  7107. $this->itemsPerPage = $itemsPerPage; 
  7108. public function getItemsPerPage() 
  7109. return $this->itemsPerPage; 
  7110. public function setKind($kind) 
  7111. $this->kind = $kind; 
  7112. public function getKind() 
  7113. return $this->kind; 
  7114. public function setNextLink($nextLink) 
  7115. $this->nextLink = $nextLink; 
  7116. public function getNextLink() 
  7117. return $this->nextLink; 
  7118. public function setPreviousLink($previousLink) 
  7119. $this->previousLink = $previousLink; 
  7120. public function getPreviousLink() 
  7121. return $this->previousLink; 
  7122. public function setStartIndex($startIndex) 
  7123. $this->startIndex = $startIndex; 
  7124. public function getStartIndex() 
  7125. return $this->startIndex; 
  7126. public function setTotalResults($totalResults) 
  7127. $this->totalResults = $totalResults; 
  7128. public function getTotalResults() 
  7129. return $this->totalResults; 
  7130. public function setUsername($username) 
  7131. $this->username = $username; 
  7132. public function getUsername() 
  7133. return $this->username; 
  7134.  
  7135. class Google_Service_Analytics_Upload extends Google_Collection 
  7136. protected $collection_key = 'errors'; 
  7137. protected $internal_gapi_mappings = array( 
  7138. ); 
  7139. public $accountId; 
  7140. public $customDataSourceId; 
  7141. public $errors; 
  7142. public $id; 
  7143. public $kind; 
  7144. public $status; 
  7145.  
  7146.  
  7147. public function setAccountId($accountId) 
  7148. $this->accountId = $accountId; 
  7149. public function getAccountId() 
  7150. return $this->accountId; 
  7151. public function setCustomDataSourceId($customDataSourceId) 
  7152. $this->customDataSourceId = $customDataSourceId; 
  7153. public function getCustomDataSourceId() 
  7154. return $this->customDataSourceId; 
  7155. public function setErrors($errors) 
  7156. $this->errors = $errors; 
  7157. public function getErrors() 
  7158. return $this->errors; 
  7159. public function setId($id) 
  7160. $this->id = $id; 
  7161. public function getId() 
  7162. return $this->id; 
  7163. public function setKind($kind) 
  7164. $this->kind = $kind; 
  7165. public function getKind() 
  7166. return $this->kind; 
  7167. public function setStatus($status) 
  7168. $this->status = $status; 
  7169. public function getStatus() 
  7170. return $this->status; 
  7171.  
  7172. class Google_Service_Analytics_Uploads extends Google_Collection 
  7173. protected $collection_key = 'items'; 
  7174. protected $internal_gapi_mappings = array( 
  7175. ); 
  7176. protected $itemsType = 'Google_Service_Analytics_Upload'; 
  7177. protected $itemsDataType = 'array'; 
  7178. public $itemsPerPage; 
  7179. public $kind; 
  7180. public $nextLink; 
  7181. public $previousLink; 
  7182. public $startIndex; 
  7183. public $totalResults; 
  7184.  
  7185.  
  7186. public function setItems($items) 
  7187. $this->items = $items; 
  7188. public function getItems() 
  7189. return $this->items; 
  7190. public function setItemsPerPage($itemsPerPage) 
  7191. $this->itemsPerPage = $itemsPerPage; 
  7192. public function getItemsPerPage() 
  7193. return $this->itemsPerPage; 
  7194. public function setKind($kind) 
  7195. $this->kind = $kind; 
  7196. public function getKind() 
  7197. return $this->kind; 
  7198. public function setNextLink($nextLink) 
  7199. $this->nextLink = $nextLink; 
  7200. public function getNextLink() 
  7201. return $this->nextLink; 
  7202. public function setPreviousLink($previousLink) 
  7203. $this->previousLink = $previousLink; 
  7204. public function getPreviousLink() 
  7205. return $this->previousLink; 
  7206. public function setStartIndex($startIndex) 
  7207. $this->startIndex = $startIndex; 
  7208. public function getStartIndex() 
  7209. return $this->startIndex; 
  7210. public function setTotalResults($totalResults) 
  7211. $this->totalResults = $totalResults; 
  7212. public function getTotalResults() 
  7213. return $this->totalResults; 
  7214.  
  7215. class Google_Service_Analytics_UserRef extends Google_Model 
  7216. protected $internal_gapi_mappings = array( 
  7217. ); 
  7218. public $email; 
  7219. public $id; 
  7220. public $kind; 
  7221.  
  7222.  
  7223. public function setEmail($email) 
  7224. $this->email = $email; 
  7225. public function getEmail() 
  7226. return $this->email; 
  7227. public function setId($id) 
  7228. $this->id = $id; 
  7229. public function getId() 
  7230. return $this->id; 
  7231. public function setKind($kind) 
  7232. $this->kind = $kind; 
  7233. public function getKind() 
  7234. return $this->kind; 
  7235.  
  7236. class Google_Service_Analytics_WebPropertyRef extends Google_Model 
  7237. protected $internal_gapi_mappings = array( 
  7238. ); 
  7239. public $accountId; 
  7240. public $href; 
  7241. public $id; 
  7242. public $internalWebPropertyId; 
  7243. public $kind; 
  7244. public $name; 
  7245.  
  7246.  
  7247. public function setAccountId($accountId) 
  7248. $this->accountId = $accountId; 
  7249. public function getAccountId() 
  7250. return $this->accountId; 
  7251. public function setHref($href) 
  7252. $this->href = $href; 
  7253. public function getHref() 
  7254. return $this->href; 
  7255. public function setId($id) 
  7256. $this->id = $id; 
  7257. public function getId() 
  7258. return $this->id; 
  7259. public function setInternalWebPropertyId($internalWebPropertyId) 
  7260. $this->internalWebPropertyId = $internalWebPropertyId; 
  7261. public function getInternalWebPropertyId() 
  7262. return $this->internalWebPropertyId; 
  7263. public function setKind($kind) 
  7264. $this->kind = $kind; 
  7265. public function getKind() 
  7266. return $this->kind; 
  7267. public function setName($name) 
  7268. $this->name = $name; 
  7269. public function getName() 
  7270. return $this->name; 
  7271.  
  7272. class Google_Service_Analytics_WebPropertySummary extends Google_Collection 
  7273. protected $collection_key = 'profiles'; 
  7274. protected $internal_gapi_mappings = array( 
  7275. ); 
  7276. public $id; 
  7277. public $internalWebPropertyId; 
  7278. public $kind; 
  7279. public $level; 
  7280. public $name; 
  7281. protected $profilesType = 'Google_Service_Analytics_ProfileSummary'; 
  7282. protected $profilesDataType = 'array'; 
  7283. public $websiteUrl; 
  7284.  
  7285.  
  7286. public function setId($id) 
  7287. $this->id = $id; 
  7288. public function getId() 
  7289. return $this->id; 
  7290. public function setInternalWebPropertyId($internalWebPropertyId) 
  7291. $this->internalWebPropertyId = $internalWebPropertyId; 
  7292. public function getInternalWebPropertyId() 
  7293. return $this->internalWebPropertyId; 
  7294. public function setKind($kind) 
  7295. $this->kind = $kind; 
  7296. public function getKind() 
  7297. return $this->kind; 
  7298. public function setLevel($level) 
  7299. $this->level = $level; 
  7300. public function getLevel() 
  7301. return $this->level; 
  7302. public function setName($name) 
  7303. $this->name = $name; 
  7304. public function getName() 
  7305. return $this->name; 
  7306. public function setProfiles($profiles) 
  7307. $this->profiles = $profiles; 
  7308. public function getProfiles() 
  7309. return $this->profiles; 
  7310. public function setWebsiteUrl($websiteUrl) 
  7311. $this->websiteUrl = $websiteUrl; 
  7312. public function getWebsiteUrl() 
  7313. return $this->websiteUrl; 
  7314.  
  7315. class Google_Service_Analytics_Webproperties extends Google_Collection 
  7316. protected $collection_key = 'items'; 
  7317. protected $internal_gapi_mappings = array( 
  7318. ); 
  7319. protected $itemsType = 'Google_Service_Analytics_Webproperty'; 
  7320. protected $itemsDataType = 'array'; 
  7321. public $itemsPerPage; 
  7322. public $kind; 
  7323. public $nextLink; 
  7324. public $previousLink; 
  7325. public $startIndex; 
  7326. public $totalResults; 
  7327. public $username; 
  7328.  
  7329.  
  7330. public function setItems($items) 
  7331. $this->items = $items; 
  7332. public function getItems() 
  7333. return $this->items; 
  7334. public function setItemsPerPage($itemsPerPage) 
  7335. $this->itemsPerPage = $itemsPerPage; 
  7336. public function getItemsPerPage() 
  7337. return $this->itemsPerPage; 
  7338. public function setKind($kind) 
  7339. $this->kind = $kind; 
  7340. public function getKind() 
  7341. return $this->kind; 
  7342. public function setNextLink($nextLink) 
  7343. $this->nextLink = $nextLink; 
  7344. public function getNextLink() 
  7345. return $this->nextLink; 
  7346. public function setPreviousLink($previousLink) 
  7347. $this->previousLink = $previousLink; 
  7348. public function getPreviousLink() 
  7349. return $this->previousLink; 
  7350. public function setStartIndex($startIndex) 
  7351. $this->startIndex = $startIndex; 
  7352. public function getStartIndex() 
  7353. return $this->startIndex; 
  7354. public function setTotalResults($totalResults) 
  7355. $this->totalResults = $totalResults; 
  7356. public function getTotalResults() 
  7357. return $this->totalResults; 
  7358. public function setUsername($username) 
  7359. $this->username = $username; 
  7360. public function getUsername() 
  7361. return $this->username; 
  7362.  
  7363. class Google_Service_Analytics_Webproperty extends Google_Model 
  7364. protected $internal_gapi_mappings = array( 
  7365. ); 
  7366. public $accountId; 
  7367. protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink'; 
  7368. protected $childLinkDataType = ''; 
  7369. public $created; 
  7370. public $defaultProfileId; 
  7371. public $id; 
  7372. public $industryVertical; 
  7373. public $internalWebPropertyId; 
  7374. public $kind; 
  7375. public $level; 
  7376. public $name; 
  7377. protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink'; 
  7378. protected $parentLinkDataType = ''; 
  7379. protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions'; 
  7380. protected $permissionsDataType = ''; 
  7381. public $profileCount; 
  7382. public $selfLink; 
  7383. public $updated; 
  7384. public $websiteUrl; 
  7385.  
  7386.  
  7387. public function setAccountId($accountId) 
  7388. $this->accountId = $accountId; 
  7389. public function getAccountId() 
  7390. return $this->accountId; 
  7391. public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink) 
  7392. $this->childLink = $childLink; 
  7393. public function getChildLink() 
  7394. return $this->childLink; 
  7395. public function setCreated($created) 
  7396. $this->created = $created; 
  7397. public function getCreated() 
  7398. return $this->created; 
  7399. public function setDefaultProfileId($defaultProfileId) 
  7400. $this->defaultProfileId = $defaultProfileId; 
  7401. public function getDefaultProfileId() 
  7402. return $this->defaultProfileId; 
  7403. public function setId($id) 
  7404. $this->id = $id; 
  7405. public function getId() 
  7406. return $this->id; 
  7407. public function setIndustryVertical($industryVertical) 
  7408. $this->industryVertical = $industryVertical; 
  7409. public function getIndustryVertical() 
  7410. return $this->industryVertical; 
  7411. public function setInternalWebPropertyId($internalWebPropertyId) 
  7412. $this->internalWebPropertyId = $internalWebPropertyId; 
  7413. public function getInternalWebPropertyId() 
  7414. return $this->internalWebPropertyId; 
  7415. public function setKind($kind) 
  7416. $this->kind = $kind; 
  7417. public function getKind() 
  7418. return $this->kind; 
  7419. public function setLevel($level) 
  7420. $this->level = $level; 
  7421. public function getLevel() 
  7422. return $this->level; 
  7423. public function setName($name) 
  7424. $this->name = $name; 
  7425. public function getName() 
  7426. return $this->name; 
  7427. public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink) 
  7428. $this->parentLink = $parentLink; 
  7429. public function getParentLink() 
  7430. return $this->parentLink; 
  7431. public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions) 
  7432. $this->permissions = $permissions; 
  7433. public function getPermissions() 
  7434. return $this->permissions; 
  7435. public function setProfileCount($profileCount) 
  7436. $this->profileCount = $profileCount; 
  7437. public function getProfileCount() 
  7438. return $this->profileCount; 
  7439. public function setSelfLink($selfLink) 
  7440. $this->selfLink = $selfLink; 
  7441. public function getSelfLink() 
  7442. return $this->selfLink; 
  7443. public function setUpdated($updated) 
  7444. $this->updated = $updated; 
  7445. public function getUpdated() 
  7446. return $this->updated; 
  7447. public function setWebsiteUrl($websiteUrl) 
  7448. $this->websiteUrl = $websiteUrl; 
  7449. public function getWebsiteUrl() 
  7450. return $this->websiteUrl; 
  7451.  
  7452. class Google_Service_Analytics_WebpropertyChildLink extends Google_Model 
  7453. protected $internal_gapi_mappings = array( 
  7454. ); 
  7455. public $href; 
  7456. public $type; 
  7457.  
  7458.  
  7459. public function setHref($href) 
  7460. $this->href = $href; 
  7461. public function getHref() 
  7462. return $this->href; 
  7463. public function setType($type) 
  7464. $this->type = $type; 
  7465. public function getType() 
  7466. return $this->type; 
  7467.  
  7468. class Google_Service_Analytics_WebpropertyParentLink extends Google_Model 
  7469. protected $internal_gapi_mappings = array( 
  7470. ); 
  7471. public $href; 
  7472. public $type; 
  7473.  
  7474.  
  7475. public function setHref($href) 
  7476. $this->href = $href; 
  7477. public function getHref() 
  7478. return $this->href; 
  7479. public function setType($type) 
  7480. $this->type = $type; 
  7481. public function getType() 
  7482. return $this->type; 
  7483.  
  7484. class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection 
  7485. protected $collection_key = 'effective'; 
  7486. protected $internal_gapi_mappings = array( 
  7487. ); 
  7488. public $effective; 
  7489.  
  7490.  
  7491. public function setEffective($effective) 
  7492. $this->effective = $effective; 
  7493. public function getEffective() 
  7494. return $this->effective; 
.