/vendor/google/apiclient/src/Google/Service/Analytics.php

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