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