Google_Service_Analytics

Service definition for Analytics (v3).

Defined (2)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Analytics.php  
  1. class Google_Service_Analytics extends Google_Service 
  2. /** View and manage your Google Analytics data. */ 
  3. const ANALYTICS = 
  4. "https://www.googleapis.com/auth/analytics"; 
  5. /** Edit Google Analytics management entities. */ 
  6. const ANALYTICS_EDIT = 
  7. "https://www.googleapis.com/auth/analytics.edit"; 
  8. /** Manage Google Analytics Account users by email address. */ 
  9. const ANALYTICS_MANAGE_USERS = 
  10. "https://www.googleapis.com/auth/analytics.manage.users"; 
  11. /** View Google Analytics user permissions. */ 
  12. const ANALYTICS_MANAGE_USERS_READONLY = 
  13. "https://www.googleapis.com/auth/analytics.manage.users.readonly"; 
  14. /** Create a new Google Analytics account along with its default property and view. */ 
  15. const ANALYTICS_PROVISION = 
  16. "https://www.googleapis.com/auth/analytics.provision"; 
  17. /** View your Google Analytics data. */ 
  18. const ANALYTICS_READONLY = 
  19. "https://www.googleapis.com/auth/analytics.readonly"; 
  20.  
  21. public $data_ga; 
  22. public $data_mcf; 
  23. public $data_realtime; 
  24. public $management_accountSummaries; 
  25. public $management_accountUserLinks; 
  26. public $management_accounts; 
  27. public $management_customDataSources; 
  28. public $management_customDimensions; 
  29. public $management_customMetrics; 
  30. public $management_dailyUploads; 
  31. public $management_experiments; 
  32. public $management_filters; 
  33. public $management_goals; 
  34. public $management_profileFilterLinks; 
  35. public $management_profileUserLinks; 
  36. public $management_profiles; 
  37. public $management_segments; 
  38. public $management_unsampledReports; 
  39. public $management_uploads; 
  40. public $management_webPropertyAdWordsLinks; 
  41. public $management_webproperties; 
  42. public $management_webpropertyUserLinks; 
  43. public $metadata_columns; 
  44. public $provisioning; 
  45.  
  46.  
  47. /** 
  48. * Constructs the internal representation of the Analytics service. 
  49. * @param Google_Client $client 
  50. */ 
  51. public function __construct(Google_Client $client) 
  52. parent::__construct($client); 
  53. $this->servicePath = 'analytics/v3/'; 
  54. $this->version = 'v3'; 
  55. $this->serviceName = 'analytics'; 
  56.  
  57. $this->data_ga = new Google_Service_Analytics_DataGa_Resource( 
  58. $this,  
  59. $this->serviceName,  
  60. 'ga',  
  61. array( 
  62. 'methods' => array( 
  63. 'get' => array( 
  64. 'path' => 'data/ga',  
  65. 'httpMethod' => 'GET',  
  66. 'parameters' => array( 
  67. 'ids' => array( 
  68. 'location' => 'query',  
  69. 'type' => 'string',  
  70. 'required' => true,  
  71. ),  
  72. 'start-date' => array( 
  73. 'location' => 'query',  
  74. 'type' => 'string',  
  75. 'required' => true,  
  76. ),  
  77. 'end-date' => array( 
  78. 'location' => 'query',  
  79. 'type' => 'string',  
  80. 'required' => true,  
  81. ),  
  82. 'metrics' => array( 
  83. 'location' => 'query',  
  84. 'type' => 'string',  
  85. 'required' => true,  
  86. ),  
  87. 'max-results' => array( 
  88. 'location' => 'query',  
  89. 'type' => 'integer',  
  90. ),  
  91. 'sort' => array( 
  92. 'location' => 'query',  
  93. 'type' => 'string',  
  94. ),  
  95. 'dimensions' => array( 
  96. 'location' => 'query',  
  97. 'type' => 'string',  
  98. ),  
  99. 'start-index' => array( 
  100. 'location' => 'query',  
  101. 'type' => 'integer',  
  102. ),  
  103. 'segment' => array( 
  104. 'location' => 'query',  
  105. 'type' => 'string',  
  106. ),  
  107. 'samplingLevel' => array( 
  108. 'location' => 'query',  
  109. 'type' => 'string',  
  110. ),  
  111. 'filters' => array( 
  112. 'location' => 'query',  
  113. 'type' => 'string',  
  114. ),  
  115. 'output' => array( 
  116. 'location' => 'query',  
  117. 'type' => 'string',  
  118. ),  
  119. ),  
  120. ),  
  121. ); 
  122. $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource( 
  123. $this,  
  124. $this->serviceName,  
  125. 'mcf',  
  126. array( 
  127. 'methods' => array( 
  128. 'get' => array( 
  129. 'path' => 'data/mcf',  
  130. 'httpMethod' => 'GET',  
  131. 'parameters' => array( 
  132. 'ids' => array( 
  133. 'location' => 'query',  
  134. 'type' => 'string',  
  135. 'required' => true,  
  136. ),  
  137. 'start-date' => array( 
  138. 'location' => 'query',  
  139. 'type' => 'string',  
  140. 'required' => true,  
  141. ),  
  142. 'end-date' => array( 
  143. 'location' => 'query',  
  144. 'type' => 'string',  
  145. 'required' => true,  
  146. ),  
  147. 'metrics' => array( 
  148. 'location' => 'query',  
  149. 'type' => 'string',  
  150. 'required' => true,  
  151. ),  
  152. 'max-results' => array( 
  153. 'location' => 'query',  
  154. 'type' => 'integer',  
  155. ),  
  156. 'sort' => array( 
  157. 'location' => 'query',  
  158. 'type' => 'string',  
  159. ),  
  160. 'dimensions' => array( 
  161. 'location' => 'query',  
  162. 'type' => 'string',  
  163. ),  
  164. 'start-index' => array( 
  165. 'location' => 'query',  
  166. 'type' => 'integer',  
  167. ),  
  168. 'samplingLevel' => array( 
  169. 'location' => 'query',  
  170. 'type' => 'string',  
  171. ),  
  172. 'filters' => array( 
  173. 'location' => 'query',  
  174. 'type' => 'string',  
  175. ),  
  176. ),  
  177. ),  
  178. ); 
  179. $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource( 
  180. $this,  
  181. $this->serviceName,  
  182. 'realtime',  
  183. array( 
  184. 'methods' => array( 
  185. 'get' => array( 
  186. 'path' => 'data/realtime',  
  187. 'httpMethod' => 'GET',  
  188. 'parameters' => array( 
  189. 'ids' => array( 
  190. 'location' => 'query',  
  191. 'type' => 'string',  
  192. 'required' => true,  
  193. ),  
  194. 'metrics' => array( 
  195. 'location' => 'query',  
  196. 'type' => 'string',  
  197. 'required' => true,  
  198. ),  
  199. 'max-results' => array( 
  200. 'location' => 'query',  
  201. 'type' => 'integer',  
  202. ),  
  203. 'sort' => array( 
  204. 'location' => 'query',  
  205. 'type' => 'string',  
  206. ),  
  207. 'dimensions' => array( 
  208. 'location' => 'query',  
  209. 'type' => 'string',  
  210. ),  
  211. 'filters' => array( 
  212. 'location' => 'query',  
  213. 'type' => 'string',  
  214. ),  
  215. ),  
  216. ),  
  217. ); 
  218. $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource( 
  219. $this,  
  220. $this->serviceName,  
  221. 'accountSummaries',  
  222. array( 
  223. 'methods' => array( 
  224. 'list' => array( 
  225. 'path' => 'management/accountSummaries',  
  226. 'httpMethod' => 'GET',  
  227. 'parameters' => array( 
  228. 'max-results' => array( 
  229. 'location' => 'query',  
  230. 'type' => 'integer',  
  231. ),  
  232. 'start-index' => array( 
  233. 'location' => 'query',  
  234. 'type' => 'integer',  
  235. ),  
  236. ),  
  237. ),  
  238. ); 
  239. $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource( 
  240. $this,  
  241. $this->serviceName,  
  242. 'accountUserLinks',  
  243. array( 
  244. 'methods' => array( 
  245. 'delete' => array( 
  246. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',  
  247. 'httpMethod' => 'DELETE',  
  248. 'parameters' => array( 
  249. 'accountId' => array( 
  250. 'location' => 'path',  
  251. 'type' => 'string',  
  252. 'required' => true,  
  253. ),  
  254. 'linkId' => array( 
  255. 'location' => 'path',  
  256. 'type' => 'string',  
  257. 'required' => true,  
  258. ),  
  259. ),  
  260. ), 'insert' => array( 
  261. 'path' => 'management/accounts/{accountId}/entityUserLinks',  
  262. 'httpMethod' => 'POST',  
  263. 'parameters' => array( 
  264. 'accountId' => array( 
  265. 'location' => 'path',  
  266. 'type' => 'string',  
  267. 'required' => true,  
  268. ),  
  269. ),  
  270. ), 'list' => array( 
  271. 'path' => 'management/accounts/{accountId}/entityUserLinks',  
  272. 'httpMethod' => 'GET',  
  273. 'parameters' => array( 
  274. 'accountId' => array( 
  275. 'location' => 'path',  
  276. 'type' => 'string',  
  277. 'required' => true,  
  278. ),  
  279. 'max-results' => array( 
  280. 'location' => 'query',  
  281. 'type' => 'integer',  
  282. ),  
  283. 'start-index' => array( 
  284. 'location' => 'query',  
  285. 'type' => 'integer',  
  286. ),  
  287. ),  
  288. ), 'update' => array( 
  289. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',  
  290. 'httpMethod' => 'PUT',  
  291. 'parameters' => array( 
  292. 'accountId' => array( 
  293. 'location' => 'path',  
  294. 'type' => 'string',  
  295. 'required' => true,  
  296. ),  
  297. 'linkId' => array( 
  298. 'location' => 'path',  
  299. 'type' => 'string',  
  300. 'required' => true,  
  301. ),  
  302. ),  
  303. ),  
  304. ); 
  305. $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource( 
  306. $this,  
  307. $this->serviceName,  
  308. 'accounts',  
  309. array( 
  310. 'methods' => array( 
  311. 'list' => array( 
  312. 'path' => 'management/accounts',  
  313. 'httpMethod' => 'GET',  
  314. 'parameters' => array( 
  315. 'max-results' => array( 
  316. 'location' => 'query',  
  317. 'type' => 'integer',  
  318. ),  
  319. 'start-index' => array( 
  320. 'location' => 'query',  
  321. 'type' => 'integer',  
  322. ),  
  323. ),  
  324. ),  
  325. ); 
  326. $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource( 
  327. $this,  
  328. $this->serviceName,  
  329. 'customDataSources',  
  330. array( 
  331. 'methods' => array( 
  332. 'list' => array( 
  333. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',  
  334. 'httpMethod' => 'GET',  
  335. 'parameters' => array( 
  336. 'accountId' => array( 
  337. 'location' => 'path',  
  338. 'type' => 'string',  
  339. 'required' => true,  
  340. ),  
  341. 'webPropertyId' => array( 
  342. 'location' => 'path',  
  343. 'type' => 'string',  
  344. 'required' => true,  
  345. ),  
  346. 'max-results' => array( 
  347. 'location' => 'query',  
  348. 'type' => 'integer',  
  349. ),  
  350. 'start-index' => array( 
  351. 'location' => 'query',  
  352. 'type' => 'integer',  
  353. ),  
  354. ),  
  355. ),  
  356. ); 
  357. $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource( 
  358. $this,  
  359. $this->serviceName,  
  360. 'customDimensions',  
  361. array( 
  362. 'methods' => array( 
  363. 'get' => array( 
  364. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  365. 'httpMethod' => 'GET',  
  366. 'parameters' => array( 
  367. 'accountId' => array( 
  368. 'location' => 'path',  
  369. 'type' => 'string',  
  370. 'required' => true,  
  371. ),  
  372. 'webPropertyId' => array( 
  373. 'location' => 'path',  
  374. 'type' => 'string',  
  375. 'required' => true,  
  376. ),  
  377. 'customDimensionId' => array( 
  378. 'location' => 'path',  
  379. 'type' => 'string',  
  380. 'required' => true,  
  381. ),  
  382. ),  
  383. ), 'insert' => array( 
  384. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',  
  385. 'httpMethod' => 'POST',  
  386. 'parameters' => array( 
  387. 'accountId' => array( 
  388. 'location' => 'path',  
  389. 'type' => 'string',  
  390. 'required' => true,  
  391. ),  
  392. 'webPropertyId' => array( 
  393. 'location' => 'path',  
  394. 'type' => 'string',  
  395. 'required' => true,  
  396. ),  
  397. ),  
  398. ), 'list' => array( 
  399. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',  
  400. 'httpMethod' => 'GET',  
  401. 'parameters' => array( 
  402. 'accountId' => array( 
  403. 'location' => 'path',  
  404. 'type' => 'string',  
  405. 'required' => true,  
  406. ),  
  407. 'webPropertyId' => array( 
  408. 'location' => 'path',  
  409. 'type' => 'string',  
  410. 'required' => true,  
  411. ),  
  412. 'max-results' => array( 
  413. 'location' => 'query',  
  414. 'type' => 'integer',  
  415. ),  
  416. 'start-index' => array( 
  417. 'location' => 'query',  
  418. 'type' => 'integer',  
  419. ),  
  420. ),  
  421. ), 'patch' => array( 
  422. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  423. 'httpMethod' => 'PATCH',  
  424. 'parameters' => array( 
  425. 'accountId' => array( 
  426. 'location' => 'path',  
  427. 'type' => 'string',  
  428. 'required' => true,  
  429. ),  
  430. 'webPropertyId' => array( 
  431. 'location' => 'path',  
  432. 'type' => 'string',  
  433. 'required' => true,  
  434. ),  
  435. 'customDimensionId' => array( 
  436. 'location' => 'path',  
  437. 'type' => 'string',  
  438. 'required' => true,  
  439. ),  
  440. 'ignoreCustomDataSourceLinks' => array( 
  441. 'location' => 'query',  
  442. 'type' => 'boolean',  
  443. ),  
  444. ),  
  445. ), 'update' => array( 
  446. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  447. 'httpMethod' => 'PUT',  
  448. 'parameters' => array( 
  449. 'accountId' => array( 
  450. 'location' => 'path',  
  451. 'type' => 'string',  
  452. 'required' => true,  
  453. ),  
  454. 'webPropertyId' => array( 
  455. 'location' => 'path',  
  456. 'type' => 'string',  
  457. 'required' => true,  
  458. ),  
  459. 'customDimensionId' => array( 
  460. 'location' => 'path',  
  461. 'type' => 'string',  
  462. 'required' => true,  
  463. ),  
  464. 'ignoreCustomDataSourceLinks' => array( 
  465. 'location' => 'query',  
  466. 'type' => 'boolean',  
  467. ),  
  468. ),  
  469. ),  
  470. ); 
  471. $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource( 
  472. $this,  
  473. $this->serviceName,  
  474. 'customMetrics',  
  475. array( 
  476. 'methods' => array( 
  477. 'get' => array( 
  478. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  479. 'httpMethod' => 'GET',  
  480. 'parameters' => array( 
  481. 'accountId' => array( 
  482. 'location' => 'path',  
  483. 'type' => 'string',  
  484. 'required' => true,  
  485. ),  
  486. 'webPropertyId' => array( 
  487. 'location' => 'path',  
  488. 'type' => 'string',  
  489. 'required' => true,  
  490. ),  
  491. 'customMetricId' => array( 
  492. 'location' => 'path',  
  493. 'type' => 'string',  
  494. 'required' => true,  
  495. ),  
  496. ),  
  497. ), 'insert' => array( 
  498. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',  
  499. 'httpMethod' => 'POST',  
  500. 'parameters' => array( 
  501. 'accountId' => array( 
  502. 'location' => 'path',  
  503. 'type' => 'string',  
  504. 'required' => true,  
  505. ),  
  506. 'webPropertyId' => array( 
  507. 'location' => 'path',  
  508. 'type' => 'string',  
  509. 'required' => true,  
  510. ),  
  511. ),  
  512. ), 'list' => array( 
  513. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',  
  514. 'httpMethod' => 'GET',  
  515. 'parameters' => array( 
  516. 'accountId' => array( 
  517. 'location' => 'path',  
  518. 'type' => 'string',  
  519. 'required' => true,  
  520. ),  
  521. 'webPropertyId' => array( 
  522. 'location' => 'path',  
  523. 'type' => 'string',  
  524. 'required' => true,  
  525. ),  
  526. 'max-results' => array( 
  527. 'location' => 'query',  
  528. 'type' => 'integer',  
  529. ),  
  530. 'start-index' => array( 
  531. 'location' => 'query',  
  532. 'type' => 'integer',  
  533. ),  
  534. ),  
  535. ), 'patch' => array( 
  536. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  537. 'httpMethod' => 'PATCH',  
  538. 'parameters' => array( 
  539. 'accountId' => array( 
  540. 'location' => 'path',  
  541. 'type' => 'string',  
  542. 'required' => true,  
  543. ),  
  544. 'webPropertyId' => array( 
  545. 'location' => 'path',  
  546. 'type' => 'string',  
  547. 'required' => true,  
  548. ),  
  549. 'customMetricId' => array( 
  550. 'location' => 'path',  
  551. 'type' => 'string',  
  552. 'required' => true,  
  553. ),  
  554. 'ignoreCustomDataSourceLinks' => array( 
  555. 'location' => 'query',  
  556. 'type' => 'boolean',  
  557. ),  
  558. ),  
  559. ), 'update' => array( 
  560. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  561. 'httpMethod' => 'PUT',  
  562. 'parameters' => array( 
  563. 'accountId' => array( 
  564. 'location' => 'path',  
  565. 'type' => 'string',  
  566. 'required' => true,  
  567. ),  
  568. 'webPropertyId' => array( 
  569. 'location' => 'path',  
  570. 'type' => 'string',  
  571. 'required' => true,  
  572. ),  
  573. 'customMetricId' => array( 
  574. 'location' => 'path',  
  575. 'type' => 'string',  
  576. 'required' => true,  
  577. ),  
  578. 'ignoreCustomDataSourceLinks' => array( 
  579. 'location' => 'query',  
  580. 'type' => 'boolean',  
  581. ),  
  582. ),  
  583. ),  
  584. ); 
  585. $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource( 
  586. $this,  
  587. $this->serviceName,  
  588. 'dailyUploads',  
  589. array( 
  590. 'methods' => array( 
  591. 'delete' => array( 
  592. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}',  
  593. 'httpMethod' => 'DELETE',  
  594. 'parameters' => array( 
  595. 'accountId' => array( 
  596. 'location' => 'path',  
  597. 'type' => 'string',  
  598. 'required' => true,  
  599. ),  
  600. 'webPropertyId' => array( 
  601. 'location' => 'path',  
  602. 'type' => 'string',  
  603. 'required' => true,  
  604. ),  
  605. 'customDataSourceId' => array( 
  606. 'location' => 'path',  
  607. 'type' => 'string',  
  608. 'required' => true,  
  609. ),  
  610. 'date' => array( 
  611. 'location' => 'path',  
  612. 'type' => 'string',  
  613. 'required' => true,  
  614. ),  
  615. 'type' => array( 
  616. 'location' => 'query',  
  617. 'type' => 'string',  
  618. 'required' => true,  
  619. ),  
  620. ),  
  621. ), 'list' => array( 
  622. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads',  
  623. 'httpMethod' => 'GET',  
  624. 'parameters' => array( 
  625. 'accountId' => array( 
  626. 'location' => 'path',  
  627. 'type' => 'string',  
  628. 'required' => true,  
  629. ),  
  630. 'webPropertyId' => array( 
  631. 'location' => 'path',  
  632. 'type' => 'string',  
  633. 'required' => true,  
  634. ),  
  635. 'customDataSourceId' => array( 
  636. 'location' => 'path',  
  637. 'type' => 'string',  
  638. 'required' => true,  
  639. ),  
  640. 'start-date' => array( 
  641. 'location' => 'query',  
  642. 'type' => 'string',  
  643. 'required' => true,  
  644. ),  
  645. 'end-date' => array( 
  646. 'location' => 'query',  
  647. 'type' => 'string',  
  648. 'required' => true,  
  649. ),  
  650. 'max-results' => array( 
  651. 'location' => 'query',  
  652. 'type' => 'integer',  
  653. ),  
  654. 'start-index' => array( 
  655. 'location' => 'query',  
  656. 'type' => 'integer',  
  657. ),  
  658. ),  
  659. ), 'upload' => array( 
  660. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads',  
  661. 'httpMethod' => 'POST',  
  662. 'parameters' => array( 
  663. 'accountId' => array( 
  664. 'location' => 'path',  
  665. 'type' => 'string',  
  666. 'required' => true,  
  667. ),  
  668. 'webPropertyId' => array( 
  669. 'location' => 'path',  
  670. 'type' => 'string',  
  671. 'required' => true,  
  672. ),  
  673. 'customDataSourceId' => array( 
  674. 'location' => 'path',  
  675. 'type' => 'string',  
  676. 'required' => true,  
  677. ),  
  678. 'date' => array( 
  679. 'location' => 'path',  
  680. 'type' => 'string',  
  681. 'required' => true,  
  682. ),  
  683. 'appendNumber' => array( 
  684. 'location' => 'query',  
  685. 'type' => 'integer',  
  686. 'required' => true,  
  687. ),  
  688. 'type' => array( 
  689. 'location' => 'query',  
  690. 'type' => 'string',  
  691. 'required' => true,  
  692. ),  
  693. 'reset' => array( 
  694. 'location' => 'query',  
  695. 'type' => 'boolean',  
  696. ),  
  697. ),  
  698. ),  
  699. ); 
  700. $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource( 
  701. $this,  
  702. $this->serviceName,  
  703. 'experiments',  
  704. array( 
  705. 'methods' => array( 
  706. 'delete' => array( 
  707. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  708. 'httpMethod' => 'DELETE',  
  709. 'parameters' => array( 
  710. 'accountId' => array( 
  711. 'location' => 'path',  
  712. 'type' => 'string',  
  713. 'required' => true,  
  714. ),  
  715. 'webPropertyId' => array( 
  716. 'location' => 'path',  
  717. 'type' => 'string',  
  718. 'required' => true,  
  719. ),  
  720. 'profileId' => array( 
  721. 'location' => 'path',  
  722. 'type' => 'string',  
  723. 'required' => true,  
  724. ),  
  725. 'experimentId' => array( 
  726. 'location' => 'path',  
  727. 'type' => 'string',  
  728. 'required' => true,  
  729. ),  
  730. ),  
  731. ), 'get' => array( 
  732. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  733. 'httpMethod' => 'GET',  
  734. 'parameters' => array( 
  735. 'accountId' => array( 
  736. 'location' => 'path',  
  737. 'type' => 'string',  
  738. 'required' => true,  
  739. ),  
  740. 'webPropertyId' => array( 
  741. 'location' => 'path',  
  742. 'type' => 'string',  
  743. 'required' => true,  
  744. ),  
  745. 'profileId' => array( 
  746. 'location' => 'path',  
  747. 'type' => 'string',  
  748. 'required' => true,  
  749. ),  
  750. 'experimentId' => array( 
  751. 'location' => 'path',  
  752. 'type' => 'string',  
  753. 'required' => true,  
  754. ),  
  755. ),  
  756. ), 'insert' => array( 
  757. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  758. 'httpMethod' => 'POST',  
  759. 'parameters' => array( 
  760. 'accountId' => array( 
  761. 'location' => 'path',  
  762. 'type' => 'string',  
  763. 'required' => true,  
  764. ),  
  765. 'webPropertyId' => array( 
  766. 'location' => 'path',  
  767. 'type' => 'string',  
  768. 'required' => true,  
  769. ),  
  770. 'profileId' => array( 
  771. 'location' => 'path',  
  772. 'type' => 'string',  
  773. 'required' => true,  
  774. ),  
  775. ),  
  776. ), 'list' => array( 
  777. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  778. 'httpMethod' => 'GET',  
  779. 'parameters' => array( 
  780. 'accountId' => array( 
  781. 'location' => 'path',  
  782. 'type' => 'string',  
  783. 'required' => true,  
  784. ),  
  785. 'webPropertyId' => array( 
  786. 'location' => 'path',  
  787. 'type' => 'string',  
  788. 'required' => true,  
  789. ),  
  790. 'profileId' => array( 
  791. 'location' => 'path',  
  792. 'type' => 'string',  
  793. 'required' => true,  
  794. ),  
  795. 'max-results' => array( 
  796. 'location' => 'query',  
  797. 'type' => 'integer',  
  798. ),  
  799. 'start-index' => array( 
  800. 'location' => 'query',  
  801. 'type' => 'integer',  
  802. ),  
  803. ),  
  804. ), 'patch' => array( 
  805. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  806. 'httpMethod' => 'PATCH',  
  807. 'parameters' => array( 
  808. 'accountId' => array( 
  809. 'location' => 'path',  
  810. 'type' => 'string',  
  811. 'required' => true,  
  812. ),  
  813. 'webPropertyId' => array( 
  814. 'location' => 'path',  
  815. 'type' => 'string',  
  816. 'required' => true,  
  817. ),  
  818. 'profileId' => array( 
  819. 'location' => 'path',  
  820. 'type' => 'string',  
  821. 'required' => true,  
  822. ),  
  823. 'experimentId' => array( 
  824. 'location' => 'path',  
  825. 'type' => 'string',  
  826. 'required' => true,  
  827. ),  
  828. ),  
  829. ), 'update' => array( 
  830. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  831. 'httpMethod' => 'PUT',  
  832. 'parameters' => array( 
  833. 'accountId' => array( 
  834. 'location' => 'path',  
  835. 'type' => 'string',  
  836. 'required' => true,  
  837. ),  
  838. 'webPropertyId' => array( 
  839. 'location' => 'path',  
  840. 'type' => 'string',  
  841. 'required' => true,  
  842. ),  
  843. 'profileId' => array( 
  844. 'location' => 'path',  
  845. 'type' => 'string',  
  846. 'required' => true,  
  847. ),  
  848. 'experimentId' => array( 
  849. 'location' => 'path',  
  850. 'type' => 'string',  
  851. 'required' => true,  
  852. ),  
  853. ),  
  854. ),  
  855. ); 
  856. $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource( 
  857. $this,  
  858. $this->serviceName,  
  859. 'filters',  
  860. array( 
  861. 'methods' => array( 
  862. 'delete' => array( 
  863. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  864. 'httpMethod' => 'DELETE',  
  865. 'parameters' => array( 
  866. 'accountId' => array( 
  867. 'location' => 'path',  
  868. 'type' => 'string',  
  869. 'required' => true,  
  870. ),  
  871. 'filterId' => array( 
  872. 'location' => 'path',  
  873. 'type' => 'string',  
  874. 'required' => true,  
  875. ),  
  876. ),  
  877. ), 'get' => array( 
  878. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  879. 'httpMethod' => 'GET',  
  880. 'parameters' => array( 
  881. 'accountId' => array( 
  882. 'location' => 'path',  
  883. 'type' => 'string',  
  884. 'required' => true,  
  885. ),  
  886. 'filterId' => array( 
  887. 'location' => 'path',  
  888. 'type' => 'string',  
  889. 'required' => true,  
  890. ),  
  891. ),  
  892. ), 'insert' => array( 
  893. 'path' => 'management/accounts/{accountId}/filters',  
  894. 'httpMethod' => 'POST',  
  895. 'parameters' => array( 
  896. 'accountId' => array( 
  897. 'location' => 'path',  
  898. 'type' => 'string',  
  899. 'required' => true,  
  900. ),  
  901. ),  
  902. ), 'list' => array( 
  903. 'path' => 'management/accounts/{accountId}/filters',  
  904. 'httpMethod' => 'GET',  
  905. 'parameters' => array( 
  906. 'accountId' => array( 
  907. 'location' => 'path',  
  908. 'type' => 'string',  
  909. 'required' => true,  
  910. ),  
  911. 'max-results' => array( 
  912. 'location' => 'query',  
  913. 'type' => 'integer',  
  914. ),  
  915. 'start-index' => array( 
  916. 'location' => 'query',  
  917. 'type' => 'integer',  
  918. ),  
  919. ),  
  920. ), 'patch' => array( 
  921. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  922. 'httpMethod' => 'PATCH',  
  923. 'parameters' => array( 
  924. 'accountId' => array( 
  925. 'location' => 'path',  
  926. 'type' => 'string',  
  927. 'required' => true,  
  928. ),  
  929. 'filterId' => array( 
  930. 'location' => 'path',  
  931. 'type' => 'string',  
  932. 'required' => true,  
  933. ),  
  934. ),  
  935. ), 'update' => array( 
  936. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  937. 'httpMethod' => 'PUT',  
  938. 'parameters' => array( 
  939. 'accountId' => array( 
  940. 'location' => 'path',  
  941. 'type' => 'string',  
  942. 'required' => true,  
  943. ),  
  944. 'filterId' => array( 
  945. 'location' => 'path',  
  946. 'type' => 'string',  
  947. 'required' => true,  
  948. ),  
  949. ),  
  950. ),  
  951. ); 
  952. $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource( 
  953. $this,  
  954. $this->serviceName,  
  955. 'goals',  
  956. array( 
  957. 'methods' => array( 
  958. 'get' => array( 
  959. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  960. 'httpMethod' => 'GET',  
  961. 'parameters' => array( 
  962. 'accountId' => array( 
  963. 'location' => 'path',  
  964. 'type' => 'string',  
  965. 'required' => true,  
  966. ),  
  967. 'webPropertyId' => array( 
  968. 'location' => 'path',  
  969. 'type' => 'string',  
  970. 'required' => true,  
  971. ),  
  972. 'profileId' => array( 
  973. 'location' => 'path',  
  974. 'type' => 'string',  
  975. 'required' => true,  
  976. ),  
  977. 'goalId' => array( 
  978. 'location' => 'path',  
  979. 'type' => 'string',  
  980. 'required' => true,  
  981. ),  
  982. ),  
  983. ), 'insert' => array( 
  984. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  985. 'httpMethod' => 'POST',  
  986. 'parameters' => array( 
  987. 'accountId' => array( 
  988. 'location' => 'path',  
  989. 'type' => 'string',  
  990. 'required' => true,  
  991. ),  
  992. 'webPropertyId' => array( 
  993. 'location' => 'path',  
  994. 'type' => 'string',  
  995. 'required' => true,  
  996. ),  
  997. 'profileId' => array( 
  998. 'location' => 'path',  
  999. 'type' => 'string',  
  1000. 'required' => true,  
  1001. ),  
  1002. ),  
  1003. ), 'list' => array( 
  1004. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  1005. 'httpMethod' => 'GET',  
  1006. 'parameters' => array( 
  1007. 'accountId' => array( 
  1008. 'location' => 'path',  
  1009. 'type' => 'string',  
  1010. 'required' => true,  
  1011. ),  
  1012. 'webPropertyId' => array( 
  1013. 'location' => 'path',  
  1014. 'type' => 'string',  
  1015. 'required' => true,  
  1016. ),  
  1017. 'profileId' => array( 
  1018. 'location' => 'path',  
  1019. 'type' => 'string',  
  1020. 'required' => true,  
  1021. ),  
  1022. 'max-results' => array( 
  1023. 'location' => 'query',  
  1024. 'type' => 'integer',  
  1025. ),  
  1026. 'start-index' => array( 
  1027. 'location' => 'query',  
  1028. 'type' => 'integer',  
  1029. ),  
  1030. ),  
  1031. ), 'patch' => array( 
  1032. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  1033. 'httpMethod' => 'PATCH',  
  1034. 'parameters' => array( 
  1035. 'accountId' => array( 
  1036. 'location' => 'path',  
  1037. 'type' => 'string',  
  1038. 'required' => true,  
  1039. ),  
  1040. 'webPropertyId' => array( 
  1041. 'location' => 'path',  
  1042. 'type' => 'string',  
  1043. 'required' => true,  
  1044. ),  
  1045. 'profileId' => array( 
  1046. 'location' => 'path',  
  1047. 'type' => 'string',  
  1048. 'required' => true,  
  1049. ),  
  1050. 'goalId' => array( 
  1051. 'location' => 'path',  
  1052. 'type' => 'string',  
  1053. 'required' => true,  
  1054. ),  
  1055. ),  
  1056. ), 'update' => array( 
  1057. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  1058. 'httpMethod' => 'PUT',  
  1059. 'parameters' => array( 
  1060. 'accountId' => array( 
  1061. 'location' => 'path',  
  1062. 'type' => 'string',  
  1063. 'required' => true,  
  1064. ),  
  1065. 'webPropertyId' => array( 
  1066. 'location' => 'path',  
  1067. 'type' => 'string',  
  1068. 'required' => true,  
  1069. ),  
  1070. 'profileId' => array( 
  1071. 'location' => 'path',  
  1072. 'type' => 'string',  
  1073. 'required' => true,  
  1074. ),  
  1075. 'goalId' => array( 
  1076. 'location' => 'path',  
  1077. 'type' => 'string',  
  1078. 'required' => true,  
  1079. ),  
  1080. ),  
  1081. ),  
  1082. ); 
  1083. $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource( 
  1084. $this,  
  1085. $this->serviceName,  
  1086. 'profileFilterLinks',  
  1087. array( 
  1088. 'methods' => array( 
  1089. 'delete' => array( 
  1090. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1091. 'httpMethod' => 'DELETE',  
  1092. 'parameters' => array( 
  1093. 'accountId' => array( 
  1094. 'location' => 'path',  
  1095. 'type' => 'string',  
  1096. 'required' => true,  
  1097. ),  
  1098. 'webPropertyId' => array( 
  1099. 'location' => 'path',  
  1100. 'type' => 'string',  
  1101. 'required' => true,  
  1102. ),  
  1103. 'profileId' => array( 
  1104. 'location' => 'path',  
  1105. 'type' => 'string',  
  1106. 'required' => true,  
  1107. ),  
  1108. 'linkId' => array( 
  1109. 'location' => 'path',  
  1110. 'type' => 'string',  
  1111. 'required' => true,  
  1112. ),  
  1113. ),  
  1114. ), 'get' => array( 
  1115. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1116. 'httpMethod' => 'GET',  
  1117. 'parameters' => array( 
  1118. 'accountId' => array( 
  1119. 'location' => 'path',  
  1120. 'type' => 'string',  
  1121. 'required' => true,  
  1122. ),  
  1123. 'webPropertyId' => array( 
  1124. 'location' => 'path',  
  1125. 'type' => 'string',  
  1126. 'required' => true,  
  1127. ),  
  1128. 'profileId' => array( 
  1129. 'location' => 'path',  
  1130. 'type' => 'string',  
  1131. 'required' => true,  
  1132. ),  
  1133. 'linkId' => array( 
  1134. 'location' => 'path',  
  1135. 'type' => 'string',  
  1136. 'required' => true,  
  1137. ),  
  1138. ),  
  1139. ), 'insert' => array( 
  1140. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1141. 'httpMethod' => 'POST',  
  1142. 'parameters' => array( 
  1143. 'accountId' => array( 
  1144. 'location' => 'path',  
  1145. 'type' => 'string',  
  1146. 'required' => true,  
  1147. ),  
  1148. 'webPropertyId' => array( 
  1149. 'location' => 'path',  
  1150. 'type' => 'string',  
  1151. 'required' => true,  
  1152. ),  
  1153. 'profileId' => array( 
  1154. 'location' => 'path',  
  1155. 'type' => 'string',  
  1156. 'required' => true,  
  1157. ),  
  1158. ),  
  1159. ), 'list' => array( 
  1160. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1161. 'httpMethod' => 'GET',  
  1162. 'parameters' => array( 
  1163. 'accountId' => array( 
  1164. 'location' => 'path',  
  1165. 'type' => 'string',  
  1166. 'required' => true,  
  1167. ),  
  1168. 'webPropertyId' => array( 
  1169. 'location' => 'path',  
  1170. 'type' => 'string',  
  1171. 'required' => true,  
  1172. ),  
  1173. 'profileId' => array( 
  1174. 'location' => 'path',  
  1175. 'type' => 'string',  
  1176. 'required' => true,  
  1177. ),  
  1178. 'max-results' => array( 
  1179. 'location' => 'query',  
  1180. 'type' => 'integer',  
  1181. ),  
  1182. 'start-index' => array( 
  1183. 'location' => 'query',  
  1184. 'type' => 'integer',  
  1185. ),  
  1186. ),  
  1187. ), 'patch' => array( 
  1188. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1189. 'httpMethod' => 'PATCH',  
  1190. 'parameters' => array( 
  1191. 'accountId' => array( 
  1192. 'location' => 'path',  
  1193. 'type' => 'string',  
  1194. 'required' => true,  
  1195. ),  
  1196. 'webPropertyId' => array( 
  1197. 'location' => 'path',  
  1198. 'type' => 'string',  
  1199. 'required' => true,  
  1200. ),  
  1201. 'profileId' => array( 
  1202. 'location' => 'path',  
  1203. 'type' => 'string',  
  1204. 'required' => true,  
  1205. ),  
  1206. 'linkId' => array( 
  1207. 'location' => 'path',  
  1208. 'type' => 'string',  
  1209. 'required' => true,  
  1210. ),  
  1211. ),  
  1212. ), 'update' => array( 
  1213. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1214. 'httpMethod' => 'PUT',  
  1215. 'parameters' => array( 
  1216. 'accountId' => array( 
  1217. 'location' => 'path',  
  1218. 'type' => 'string',  
  1219. 'required' => true,  
  1220. ),  
  1221. 'webPropertyId' => array( 
  1222. 'location' => 'path',  
  1223. 'type' => 'string',  
  1224. 'required' => true,  
  1225. ),  
  1226. 'profileId' => array( 
  1227. 'location' => 'path',  
  1228. 'type' => 'string',  
  1229. 'required' => true,  
  1230. ),  
  1231. 'linkId' => array( 
  1232. 'location' => 'path',  
  1233. 'type' => 'string',  
  1234. 'required' => true,  
  1235. ),  
  1236. ),  
  1237. ),  
  1238. ); 
  1239. $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource( 
  1240. $this,  
  1241. $this->serviceName,  
  1242. 'profileUserLinks',  
  1243. array( 
  1244. 'methods' => array( 
  1245. 'delete' => array( 
  1246. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1247. 'httpMethod' => 'DELETE',  
  1248. 'parameters' => array( 
  1249. 'accountId' => array( 
  1250. 'location' => 'path',  
  1251. 'type' => 'string',  
  1252. 'required' => true,  
  1253. ),  
  1254. 'webPropertyId' => array( 
  1255. 'location' => 'path',  
  1256. 'type' => 'string',  
  1257. 'required' => true,  
  1258. ),  
  1259. 'profileId' => array( 
  1260. 'location' => 'path',  
  1261. 'type' => 'string',  
  1262. 'required' => true,  
  1263. ),  
  1264. 'linkId' => array( 
  1265. 'location' => 'path',  
  1266. 'type' => 'string',  
  1267. 'required' => true,  
  1268. ),  
  1269. ),  
  1270. ), 'insert' => array( 
  1271. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1272. 'httpMethod' => 'POST',  
  1273. 'parameters' => array( 
  1274. 'accountId' => array( 
  1275. 'location' => 'path',  
  1276. 'type' => 'string',  
  1277. 'required' => true,  
  1278. ),  
  1279. 'webPropertyId' => array( 
  1280. 'location' => 'path',  
  1281. 'type' => 'string',  
  1282. 'required' => true,  
  1283. ),  
  1284. 'profileId' => array( 
  1285. 'location' => 'path',  
  1286. 'type' => 'string',  
  1287. 'required' => true,  
  1288. ),  
  1289. ),  
  1290. ), 'list' => array( 
  1291. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1292. 'httpMethod' => 'GET',  
  1293. 'parameters' => array( 
  1294. 'accountId' => array( 
  1295. 'location' => 'path',  
  1296. 'type' => 'string',  
  1297. 'required' => true,  
  1298. ),  
  1299. 'webPropertyId' => array( 
  1300. 'location' => 'path',  
  1301. 'type' => 'string',  
  1302. 'required' => true,  
  1303. ),  
  1304. 'profileId' => array( 
  1305. 'location' => 'path',  
  1306. 'type' => 'string',  
  1307. 'required' => true,  
  1308. ),  
  1309. 'max-results' => array( 
  1310. 'location' => 'query',  
  1311. 'type' => 'integer',  
  1312. ),  
  1313. 'start-index' => array( 
  1314. 'location' => 'query',  
  1315. 'type' => 'integer',  
  1316. ),  
  1317. ),  
  1318. ), 'update' => array( 
  1319. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1320. 'httpMethod' => 'PUT',  
  1321. 'parameters' => array( 
  1322. 'accountId' => array( 
  1323. 'location' => 'path',  
  1324. 'type' => 'string',  
  1325. 'required' => true,  
  1326. ),  
  1327. 'webPropertyId' => array( 
  1328. 'location' => 'path',  
  1329. 'type' => 'string',  
  1330. 'required' => true,  
  1331. ),  
  1332. 'profileId' => array( 
  1333. 'location' => 'path',  
  1334. 'type' => 'string',  
  1335. 'required' => true,  
  1336. ),  
  1337. 'linkId' => array( 
  1338. 'location' => 'path',  
  1339. 'type' => 'string',  
  1340. 'required' => true,  
  1341. ),  
  1342. ),  
  1343. ),  
  1344. ); 
  1345. $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource( 
  1346. $this,  
  1347. $this->serviceName,  
  1348. 'profiles',  
  1349. array( 
  1350. 'methods' => array( 
  1351. 'delete' => array( 
  1352. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1353. 'httpMethod' => 'DELETE',  
  1354. 'parameters' => array( 
  1355. 'accountId' => array( 
  1356. 'location' => 'path',  
  1357. 'type' => 'string',  
  1358. 'required' => true,  
  1359. ),  
  1360. 'webPropertyId' => array( 
  1361. 'location' => 'path',  
  1362. 'type' => 'string',  
  1363. 'required' => true,  
  1364. ),  
  1365. 'profileId' => array( 
  1366. 'location' => 'path',  
  1367. 'type' => 'string',  
  1368. 'required' => true,  
  1369. ),  
  1370. ),  
  1371. ), 'get' => array( 
  1372. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1373. 'httpMethod' => 'GET',  
  1374. 'parameters' => array( 
  1375. 'accountId' => array( 
  1376. 'location' => 'path',  
  1377. 'type' => 'string',  
  1378. 'required' => true,  
  1379. ),  
  1380. 'webPropertyId' => array( 
  1381. 'location' => 'path',  
  1382. 'type' => 'string',  
  1383. 'required' => true,  
  1384. ),  
  1385. 'profileId' => array( 
  1386. 'location' => 'path',  
  1387. 'type' => 'string',  
  1388. 'required' => true,  
  1389. ),  
  1390. ),  
  1391. ), 'insert' => array( 
  1392. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1393. 'httpMethod' => 'POST',  
  1394. 'parameters' => array( 
  1395. 'accountId' => array( 
  1396. 'location' => 'path',  
  1397. 'type' => 'string',  
  1398. 'required' => true,  
  1399. ),  
  1400. 'webPropertyId' => array( 
  1401. 'location' => 'path',  
  1402. 'type' => 'string',  
  1403. 'required' => true,  
  1404. ),  
  1405. ),  
  1406. ), 'list' => array( 
  1407. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1408. 'httpMethod' => 'GET',  
  1409. 'parameters' => array( 
  1410. 'accountId' => array( 
  1411. 'location' => 'path',  
  1412. 'type' => 'string',  
  1413. 'required' => true,  
  1414. ),  
  1415. 'webPropertyId' => array( 
  1416. 'location' => 'path',  
  1417. 'type' => 'string',  
  1418. 'required' => true,  
  1419. ),  
  1420. 'max-results' => array( 
  1421. 'location' => 'query',  
  1422. 'type' => 'integer',  
  1423. ),  
  1424. 'start-index' => array( 
  1425. 'location' => 'query',  
  1426. 'type' => 'integer',  
  1427. ),  
  1428. ),  
  1429. ), 'patch' => array( 
  1430. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1431. 'httpMethod' => 'PATCH',  
  1432. 'parameters' => array( 
  1433. 'accountId' => array( 
  1434. 'location' => 'path',  
  1435. 'type' => 'string',  
  1436. 'required' => true,  
  1437. ),  
  1438. 'webPropertyId' => array( 
  1439. 'location' => 'path',  
  1440. 'type' => 'string',  
  1441. 'required' => true,  
  1442. ),  
  1443. 'profileId' => array( 
  1444. 'location' => 'path',  
  1445. 'type' => 'string',  
  1446. 'required' => true,  
  1447. ),  
  1448. ),  
  1449. ), 'update' => array( 
  1450. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1451. 'httpMethod' => 'PUT',  
  1452. 'parameters' => array( 
  1453. 'accountId' => array( 
  1454. 'location' => 'path',  
  1455. 'type' => 'string',  
  1456. 'required' => true,  
  1457. ),  
  1458. 'webPropertyId' => array( 
  1459. 'location' => 'path',  
  1460. 'type' => 'string',  
  1461. 'required' => true,  
  1462. ),  
  1463. 'profileId' => array( 
  1464. 'location' => 'path',  
  1465. 'type' => 'string',  
  1466. 'required' => true,  
  1467. ),  
  1468. ),  
  1469. ),  
  1470. ); 
  1471. $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource( 
  1472. $this,  
  1473. $this->serviceName,  
  1474. 'segments',  
  1475. array( 
  1476. 'methods' => array( 
  1477. 'list' => array( 
  1478. 'path' => 'management/segments',  
  1479. 'httpMethod' => 'GET',  
  1480. 'parameters' => array( 
  1481. 'max-results' => array( 
  1482. 'location' => 'query',  
  1483. 'type' => 'integer',  
  1484. ),  
  1485. 'start-index' => array( 
  1486. 'location' => 'query',  
  1487. 'type' => 'integer',  
  1488. ),  
  1489. ),  
  1490. ),  
  1491. ); 
  1492. $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource( 
  1493. $this,  
  1494. $this->serviceName,  
  1495. 'unsampledReports',  
  1496. array( 
  1497. 'methods' => array( 
  1498. 'get' => array( 
  1499. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',  
  1500. 'httpMethod' => 'GET',  
  1501. 'parameters' => array( 
  1502. 'accountId' => array( 
  1503. 'location' => 'path',  
  1504. 'type' => 'string',  
  1505. 'required' => true,  
  1506. ),  
  1507. 'webPropertyId' => array( 
  1508. 'location' => 'path',  
  1509. 'type' => 'string',  
  1510. 'required' => true,  
  1511. ),  
  1512. 'profileId' => array( 
  1513. 'location' => 'path',  
  1514. 'type' => 'string',  
  1515. 'required' => true,  
  1516. ),  
  1517. 'unsampledReportId' => array( 
  1518. 'location' => 'path',  
  1519. 'type' => 'string',  
  1520. 'required' => true,  
  1521. ),  
  1522. ),  
  1523. ), 'insert' => array( 
  1524. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1525. 'httpMethod' => 'POST',  
  1526. 'parameters' => array( 
  1527. 'accountId' => array( 
  1528. 'location' => 'path',  
  1529. 'type' => 'string',  
  1530. 'required' => true,  
  1531. ),  
  1532. 'webPropertyId' => array( 
  1533. 'location' => 'path',  
  1534. 'type' => 'string',  
  1535. 'required' => true,  
  1536. ),  
  1537. 'profileId' => array( 
  1538. 'location' => 'path',  
  1539. 'type' => 'string',  
  1540. 'required' => true,  
  1541. ),  
  1542. ),  
  1543. ), 'list' => array( 
  1544. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1545. 'httpMethod' => 'GET',  
  1546. 'parameters' => array( 
  1547. 'accountId' => array( 
  1548. 'location' => 'path',  
  1549. 'type' => 'string',  
  1550. 'required' => true,  
  1551. ),  
  1552. 'webPropertyId' => array( 
  1553. 'location' => 'path',  
  1554. 'type' => 'string',  
  1555. 'required' => true,  
  1556. ),  
  1557. 'profileId' => array( 
  1558. 'location' => 'path',  
  1559. 'type' => 'string',  
  1560. 'required' => true,  
  1561. ),  
  1562. 'max-results' => array( 
  1563. 'location' => 'query',  
  1564. 'type' => 'integer',  
  1565. ),  
  1566. 'start-index' => array( 
  1567. 'location' => 'query',  
  1568. 'type' => 'integer',  
  1569. ),  
  1570. ),  
  1571. ),  
  1572. ); 
  1573. $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource( 
  1574. $this,  
  1575. $this->serviceName,  
  1576. 'uploads',  
  1577. array( 
  1578. 'methods' => array( 
  1579. 'deleteUploadData' => array( 
  1580. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',  
  1581. 'httpMethod' => 'POST',  
  1582. 'parameters' => array( 
  1583. 'accountId' => array( 
  1584. 'location' => 'path',  
  1585. 'type' => 'string',  
  1586. 'required' => true,  
  1587. ),  
  1588. 'webPropertyId' => array( 
  1589. 'location' => 'path',  
  1590. 'type' => 'string',  
  1591. 'required' => true,  
  1592. ),  
  1593. 'customDataSourceId' => array( 
  1594. 'location' => 'path',  
  1595. 'type' => 'string',  
  1596. 'required' => true,  
  1597. ),  
  1598. ),  
  1599. ), 'get' => array( 
  1600. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',  
  1601. 'httpMethod' => 'GET',  
  1602. 'parameters' => array( 
  1603. 'accountId' => array( 
  1604. 'location' => 'path',  
  1605. 'type' => 'string',  
  1606. 'required' => true,  
  1607. ),  
  1608. 'webPropertyId' => array( 
  1609. 'location' => 'path',  
  1610. 'type' => 'string',  
  1611. 'required' => true,  
  1612. ),  
  1613. 'customDataSourceId' => array( 
  1614. 'location' => 'path',  
  1615. 'type' => 'string',  
  1616. 'required' => true,  
  1617. ),  
  1618. 'uploadId' => array( 
  1619. 'location' => 'path',  
  1620. 'type' => 'string',  
  1621. 'required' => true,  
  1622. ),  
  1623. ),  
  1624. ), 'list' => array( 
  1625. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1626. 'httpMethod' => 'GET',  
  1627. 'parameters' => array( 
  1628. 'accountId' => array( 
  1629. 'location' => 'path',  
  1630. 'type' => 'string',  
  1631. 'required' => true,  
  1632. ),  
  1633. 'webPropertyId' => array( 
  1634. 'location' => 'path',  
  1635. 'type' => 'string',  
  1636. 'required' => true,  
  1637. ),  
  1638. 'customDataSourceId' => array( 
  1639. 'location' => 'path',  
  1640. 'type' => 'string',  
  1641. 'required' => true,  
  1642. ),  
  1643. 'max-results' => array( 
  1644. 'location' => 'query',  
  1645. 'type' => 'integer',  
  1646. ),  
  1647. 'start-index' => array( 
  1648. 'location' => 'query',  
  1649. 'type' => 'integer',  
  1650. ),  
  1651. ),  
  1652. ), 'migrateDataImport' => array( 
  1653. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport',  
  1654. 'httpMethod' => 'POST',  
  1655. 'parameters' => array( 
  1656. 'accountId' => array( 
  1657. 'location' => 'path',  
  1658. 'type' => 'string',  
  1659. 'required' => true,  
  1660. ),  
  1661. 'webPropertyId' => array( 
  1662. 'location' => 'path',  
  1663. 'type' => 'string',  
  1664. 'required' => true,  
  1665. ),  
  1666. 'customDataSourceId' => array( 
  1667. 'location' => 'path',  
  1668. 'type' => 'string',  
  1669. 'required' => true,  
  1670. ),  
  1671. ),  
  1672. ), 'uploadData' => array( 
  1673. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1674. 'httpMethod' => 'POST',  
  1675. 'parameters' => array( 
  1676. 'accountId' => array( 
  1677. 'location' => 'path',  
  1678. 'type' => 'string',  
  1679. 'required' => true,  
  1680. ),  
  1681. 'webPropertyId' => array( 
  1682. 'location' => 'path',  
  1683. 'type' => 'string',  
  1684. 'required' => true,  
  1685. ),  
  1686. 'customDataSourceId' => array( 
  1687. 'location' => 'path',  
  1688. 'type' => 'string',  
  1689. 'required' => true,  
  1690. ),  
  1691. ),  
  1692. ),  
  1693. ); 
  1694. $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource( 
  1695. $this,  
  1696. $this->serviceName,  
  1697. 'webPropertyAdWordsLinks',  
  1698. array( 
  1699. 'methods' => array( 
  1700. 'delete' => array( 
  1701. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1702. 'httpMethod' => 'DELETE',  
  1703. 'parameters' => array( 
  1704. 'accountId' => array( 
  1705. 'location' => 'path',  
  1706. 'type' => 'string',  
  1707. 'required' => true,  
  1708. ),  
  1709. 'webPropertyId' => array( 
  1710. 'location' => 'path',  
  1711. 'type' => 'string',  
  1712. 'required' => true,  
  1713. ),  
  1714. 'webPropertyAdWordsLinkId' => array( 
  1715. 'location' => 'path',  
  1716. 'type' => 'string',  
  1717. 'required' => true,  
  1718. ),  
  1719. ),  
  1720. ), 'get' => array( 
  1721. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1722. 'httpMethod' => 'GET',  
  1723. 'parameters' => array( 
  1724. 'accountId' => array( 
  1725. 'location' => 'path',  
  1726. 'type' => 'string',  
  1727. 'required' => true,  
  1728. ),  
  1729. 'webPropertyId' => array( 
  1730. 'location' => 'path',  
  1731. 'type' => 'string',  
  1732. 'required' => true,  
  1733. ),  
  1734. 'webPropertyAdWordsLinkId' => array( 
  1735. 'location' => 'path',  
  1736. 'type' => 'string',  
  1737. 'required' => true,  
  1738. ),  
  1739. ),  
  1740. ), 'insert' => array( 
  1741. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1742. 'httpMethod' => 'POST',  
  1743. 'parameters' => array( 
  1744. 'accountId' => array( 
  1745. 'location' => 'path',  
  1746. 'type' => 'string',  
  1747. 'required' => true,  
  1748. ),  
  1749. 'webPropertyId' => array( 
  1750. 'location' => 'path',  
  1751. 'type' => 'string',  
  1752. 'required' => true,  
  1753. ),  
  1754. ),  
  1755. ), 'list' => array( 
  1756. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1757. 'httpMethod' => 'GET',  
  1758. 'parameters' => array( 
  1759. 'accountId' => array( 
  1760. 'location' => 'path',  
  1761. 'type' => 'string',  
  1762. 'required' => true,  
  1763. ),  
  1764. 'webPropertyId' => array( 
  1765. 'location' => 'path',  
  1766. 'type' => 'string',  
  1767. 'required' => true,  
  1768. ),  
  1769. 'max-results' => array( 
  1770. 'location' => 'query',  
  1771. 'type' => 'integer',  
  1772. ),  
  1773. 'start-index' => array( 
  1774. 'location' => 'query',  
  1775. 'type' => 'integer',  
  1776. ),  
  1777. ),  
  1778. ), 'patch' => array( 
  1779. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1780. 'httpMethod' => 'PATCH',  
  1781. 'parameters' => array( 
  1782. 'accountId' => array( 
  1783. 'location' => 'path',  
  1784. 'type' => 'string',  
  1785. 'required' => true,  
  1786. ),  
  1787. 'webPropertyId' => array( 
  1788. 'location' => 'path',  
  1789. 'type' => 'string',  
  1790. 'required' => true,  
  1791. ),  
  1792. 'webPropertyAdWordsLinkId' => array( 
  1793. 'location' => 'path',  
  1794. 'type' => 'string',  
  1795. 'required' => true,  
  1796. ),  
  1797. ),  
  1798. ), 'update' => array( 
  1799. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1800. 'httpMethod' => 'PUT',  
  1801. 'parameters' => array( 
  1802. 'accountId' => array( 
  1803. 'location' => 'path',  
  1804. 'type' => 'string',  
  1805. 'required' => true,  
  1806. ),  
  1807. 'webPropertyId' => array( 
  1808. 'location' => 'path',  
  1809. 'type' => 'string',  
  1810. 'required' => true,  
  1811. ),  
  1812. 'webPropertyAdWordsLinkId' => array( 
  1813. 'location' => 'path',  
  1814. 'type' => 'string',  
  1815. 'required' => true,  
  1816. ),  
  1817. ),  
  1818. ),  
  1819. ); 
  1820. $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource( 
  1821. $this,  
  1822. $this->serviceName,  
  1823. 'webproperties',  
  1824. array( 
  1825. 'methods' => array( 
  1826. 'get' => array( 
  1827. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1828. 'httpMethod' => 'GET',  
  1829. 'parameters' => array( 
  1830. 'accountId' => array( 
  1831. 'location' => 'path',  
  1832. 'type' => 'string',  
  1833. 'required' => true,  
  1834. ),  
  1835. 'webPropertyId' => array( 
  1836. 'location' => 'path',  
  1837. 'type' => 'string',  
  1838. 'required' => true,  
  1839. ),  
  1840. ),  
  1841. ), 'insert' => array( 
  1842. 'path' => 'management/accounts/{accountId}/webproperties',  
  1843. 'httpMethod' => 'POST',  
  1844. 'parameters' => array( 
  1845. 'accountId' => array( 
  1846. 'location' => 'path',  
  1847. 'type' => 'string',  
  1848. 'required' => true,  
  1849. ),  
  1850. ),  
  1851. ), 'list' => array( 
  1852. 'path' => 'management/accounts/{accountId}/webproperties',  
  1853. 'httpMethod' => 'GET',  
  1854. 'parameters' => array( 
  1855. 'accountId' => array( 
  1856. 'location' => 'path',  
  1857. 'type' => 'string',  
  1858. 'required' => true,  
  1859. ),  
  1860. 'max-results' => array( 
  1861. 'location' => 'query',  
  1862. 'type' => 'integer',  
  1863. ),  
  1864. 'start-index' => array( 
  1865. 'location' => 'query',  
  1866. 'type' => 'integer',  
  1867. ),  
  1868. ),  
  1869. ), 'patch' => array( 
  1870. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1871. 'httpMethod' => 'PATCH',  
  1872. 'parameters' => array( 
  1873. 'accountId' => array( 
  1874. 'location' => 'path',  
  1875. 'type' => 'string',  
  1876. 'required' => true,  
  1877. ),  
  1878. 'webPropertyId' => array( 
  1879. 'location' => 'path',  
  1880. 'type' => 'string',  
  1881. 'required' => true,  
  1882. ),  
  1883. ),  
  1884. ), 'update' => array( 
  1885. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1886. 'httpMethod' => 'PUT',  
  1887. 'parameters' => array( 
  1888. 'accountId' => array( 
  1889. 'location' => 'path',  
  1890. 'type' => 'string',  
  1891. 'required' => true,  
  1892. ),  
  1893. 'webPropertyId' => array( 
  1894. 'location' => 'path',  
  1895. 'type' => 'string',  
  1896. 'required' => true,  
  1897. ),  
  1898. ),  
  1899. ),  
  1900. ); 
  1901. $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource( 
  1902. $this,  
  1903. $this->serviceName,  
  1904. 'webpropertyUserLinks',  
  1905. array( 
  1906. 'methods' => array( 
  1907. 'delete' => array( 
  1908. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1909. 'httpMethod' => 'DELETE',  
  1910. 'parameters' => array( 
  1911. 'accountId' => array( 
  1912. 'location' => 'path',  
  1913. 'type' => 'string',  
  1914. 'required' => true,  
  1915. ),  
  1916. 'webPropertyId' => array( 
  1917. 'location' => 'path',  
  1918. 'type' => 'string',  
  1919. 'required' => true,  
  1920. ),  
  1921. 'linkId' => array( 
  1922. 'location' => 'path',  
  1923. 'type' => 'string',  
  1924. 'required' => true,  
  1925. ),  
  1926. ),  
  1927. ), 'insert' => array( 
  1928. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1929. 'httpMethod' => 'POST',  
  1930. 'parameters' => array( 
  1931. 'accountId' => array( 
  1932. 'location' => 'path',  
  1933. 'type' => 'string',  
  1934. 'required' => true,  
  1935. ),  
  1936. 'webPropertyId' => array( 
  1937. 'location' => 'path',  
  1938. 'type' => 'string',  
  1939. 'required' => true,  
  1940. ),  
  1941. ),  
  1942. ), 'list' => array( 
  1943. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1944. 'httpMethod' => 'GET',  
  1945. 'parameters' => array( 
  1946. 'accountId' => array( 
  1947. 'location' => 'path',  
  1948. 'type' => 'string',  
  1949. 'required' => true,  
  1950. ),  
  1951. 'webPropertyId' => array( 
  1952. 'location' => 'path',  
  1953. 'type' => 'string',  
  1954. 'required' => true,  
  1955. ),  
  1956. 'max-results' => array( 
  1957. 'location' => 'query',  
  1958. 'type' => 'integer',  
  1959. ),  
  1960. 'start-index' => array( 
  1961. 'location' => 'query',  
  1962. 'type' => 'integer',  
  1963. ),  
  1964. ),  
  1965. ), 'update' => array( 
  1966. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1967. 'httpMethod' => 'PUT',  
  1968. 'parameters' => array( 
  1969. 'accountId' => array( 
  1970. 'location' => 'path',  
  1971. 'type' => 'string',  
  1972. 'required' => true,  
  1973. ),  
  1974. 'webPropertyId' => array( 
  1975. 'location' => 'path',  
  1976. 'type' => 'string',  
  1977. 'required' => true,  
  1978. ),  
  1979. 'linkId' => array( 
  1980. 'location' => 'path',  
  1981. 'type' => 'string',  
  1982. 'required' => true,  
  1983. ),  
  1984. ),  
  1985. ),  
  1986. ); 
  1987. $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource( 
  1988. $this,  
  1989. $this->serviceName,  
  1990. 'columns',  
  1991. array( 
  1992. 'methods' => array( 
  1993. 'list' => array( 
  1994. 'path' => 'metadata/{reportType}/columns',  
  1995. 'httpMethod' => 'GET',  
  1996. 'parameters' => array( 
  1997. 'reportType' => array( 
  1998. 'location' => 'path',  
  1999. 'type' => 'string',  
  2000. 'required' => true,  
  2001. ),  
  2002. ),  
  2003. ),  
  2004. ); 
  2005. $this->provisioning = new Google_Service_Analytics_Provisioning_Resource( 
  2006. $this,  
  2007. $this->serviceName,  
  2008. 'provisioning',  
  2009. array( 
  2010. 'methods' => array( 
  2011. 'createAccountTicket' => array( 
  2012. 'path' => 'provisioning/createAccountTicket',  
  2013. 'httpMethod' => 'POST',  
  2014. 'parameters' => array(),  
  2015. ),  
  2016. ); 
  1. class Google_Service_Analytics extends Google_Service 
  2. /** View and manage your Google Analytics data. */ 
  3. const ANALYTICS = 
  4. "https://www.googleapis.com/auth/analytics"; 
  5. /** Edit Google Analytics management entities. */ 
  6. const ANALYTICS_EDIT = 
  7. "https://www.googleapis.com/auth/analytics.edit"; 
  8. /** Manage Google Analytics Account users by email address. */ 
  9. const ANALYTICS_MANAGE_USERS = 
  10. "https://www.googleapis.com/auth/analytics.manage.users"; 
  11. /** View Google Analytics user permissions. */ 
  12. const ANALYTICS_MANAGE_USERS_READONLY = 
  13. "https://www.googleapis.com/auth/analytics.manage.users.readonly"; 
  14. /** Create a new Google Analytics account along with its default property and view. */ 
  15. const ANALYTICS_PROVISION = 
  16. "https://www.googleapis.com/auth/analytics.provision"; 
  17. /** View your Google Analytics data. */ 
  18. const ANALYTICS_READONLY = 
  19. "https://www.googleapis.com/auth/analytics.readonly"; 
  20.  
  21. public $data_ga; 
  22. public $data_mcf; 
  23. public $data_realtime; 
  24. public $management_accountSummaries; 
  25. public $management_accountUserLinks; 
  26. public $management_accounts; 
  27. public $management_customDataSources; 
  28. public $management_customDimensions; 
  29. public $management_customMetrics; 
  30. public $management_dailyUploads; 
  31. public $management_experiments; 
  32. public $management_filters; 
  33. public $management_goals; 
  34. public $management_profileFilterLinks; 
  35. public $management_profileUserLinks; 
  36. public $management_profiles; 
  37. public $management_segments; 
  38. public $management_unsampledReports; 
  39. public $management_uploads; 
  40. public $management_webPropertyAdWordsLinks; 
  41. public $management_webproperties; 
  42. public $management_webpropertyUserLinks; 
  43. public $metadata_columns; 
  44. public $provisioning; 
  45.  
  46.  
  47. /** 
  48. * Constructs the internal representation of the Analytics service. 
  49. * @param Google_Client $client 
  50. */ 
  51. public function __construct(Google_Client $client) 
  52. parent::__construct($client); 
  53. $this->servicePath = 'analytics/v3/'; 
  54. $this->version = 'v3'; 
  55. $this->serviceName = 'analytics'; 
  56.  
  57. $this->data_ga = new Google_Service_Analytics_DataGa_Resource( 
  58. $this,  
  59. $this->serviceName,  
  60. 'ga',  
  61. array( 
  62. 'methods' => array( 
  63. 'get' => array( 
  64. 'path' => 'data/ga',  
  65. 'httpMethod' => 'GET',  
  66. 'parameters' => array( 
  67. 'ids' => array( 
  68. 'location' => 'query',  
  69. 'type' => 'string',  
  70. 'required' => true,  
  71. ),  
  72. 'start-date' => array( 
  73. 'location' => 'query',  
  74. 'type' => 'string',  
  75. 'required' => true,  
  76. ),  
  77. 'end-date' => array( 
  78. 'location' => 'query',  
  79. 'type' => 'string',  
  80. 'required' => true,  
  81. ),  
  82. 'metrics' => array( 
  83. 'location' => 'query',  
  84. 'type' => 'string',  
  85. 'required' => true,  
  86. ),  
  87. 'max-results' => array( 
  88. 'location' => 'query',  
  89. 'type' => 'integer',  
  90. ),  
  91. 'sort' => array( 
  92. 'location' => 'query',  
  93. 'type' => 'string',  
  94. ),  
  95. 'dimensions' => array( 
  96. 'location' => 'query',  
  97. 'type' => 'string',  
  98. ),  
  99. 'start-index' => array( 
  100. 'location' => 'query',  
  101. 'type' => 'integer',  
  102. ),  
  103. 'segment' => array( 
  104. 'location' => 'query',  
  105. 'type' => 'string',  
  106. ),  
  107. 'samplingLevel' => array( 
  108. 'location' => 'query',  
  109. 'type' => 'string',  
  110. ),  
  111. 'filters' => array( 
  112. 'location' => 'query',  
  113. 'type' => 'string',  
  114. ),  
  115. 'output' => array( 
  116. 'location' => 'query',  
  117. 'type' => 'string',  
  118. ),  
  119. ),  
  120. ),  
  121. ); 
  122. $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource( 
  123. $this,  
  124. $this->serviceName,  
  125. 'mcf',  
  126. array( 
  127. 'methods' => array( 
  128. 'get' => array( 
  129. 'path' => 'data/mcf',  
  130. 'httpMethod' => 'GET',  
  131. 'parameters' => array( 
  132. 'ids' => array( 
  133. 'location' => 'query',  
  134. 'type' => 'string',  
  135. 'required' => true,  
  136. ),  
  137. 'start-date' => array( 
  138. 'location' => 'query',  
  139. 'type' => 'string',  
  140. 'required' => true,  
  141. ),  
  142. 'end-date' => array( 
  143. 'location' => 'query',  
  144. 'type' => 'string',  
  145. 'required' => true,  
  146. ),  
  147. 'metrics' => array( 
  148. 'location' => 'query',  
  149. 'type' => 'string',  
  150. 'required' => true,  
  151. ),  
  152. 'max-results' => array( 
  153. 'location' => 'query',  
  154. 'type' => 'integer',  
  155. ),  
  156. 'sort' => array( 
  157. 'location' => 'query',  
  158. 'type' => 'string',  
  159. ),  
  160. 'dimensions' => array( 
  161. 'location' => 'query',  
  162. 'type' => 'string',  
  163. ),  
  164. 'start-index' => array( 
  165. 'location' => 'query',  
  166. 'type' => 'integer',  
  167. ),  
  168. 'samplingLevel' => array( 
  169. 'location' => 'query',  
  170. 'type' => 'string',  
  171. ),  
  172. 'filters' => array( 
  173. 'location' => 'query',  
  174. 'type' => 'string',  
  175. ),  
  176. ),  
  177. ),  
  178. ); 
  179. $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource( 
  180. $this,  
  181. $this->serviceName,  
  182. 'realtime',  
  183. array( 
  184. 'methods' => array( 
  185. 'get' => array( 
  186. 'path' => 'data/realtime',  
  187. 'httpMethod' => 'GET',  
  188. 'parameters' => array( 
  189. 'ids' => array( 
  190. 'location' => 'query',  
  191. 'type' => 'string',  
  192. 'required' => true,  
  193. ),  
  194. 'metrics' => array( 
  195. 'location' => 'query',  
  196. 'type' => 'string',  
  197. 'required' => true,  
  198. ),  
  199. 'max-results' => array( 
  200. 'location' => 'query',  
  201. 'type' => 'integer',  
  202. ),  
  203. 'sort' => array( 
  204. 'location' => 'query',  
  205. 'type' => 'string',  
  206. ),  
  207. 'dimensions' => array( 
  208. 'location' => 'query',  
  209. 'type' => 'string',  
  210. ),  
  211. 'filters' => array( 
  212. 'location' => 'query',  
  213. 'type' => 'string',  
  214. ),  
  215. ),  
  216. ),  
  217. ); 
  218. $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource( 
  219. $this,  
  220. $this->serviceName,  
  221. 'accountSummaries',  
  222. array( 
  223. 'methods' => array( 
  224. 'list' => array( 
  225. 'path' => 'management/accountSummaries',  
  226. 'httpMethod' => 'GET',  
  227. 'parameters' => array( 
  228. 'max-results' => array( 
  229. 'location' => 'query',  
  230. 'type' => 'integer',  
  231. ),  
  232. 'start-index' => array( 
  233. 'location' => 'query',  
  234. 'type' => 'integer',  
  235. ),  
  236. ),  
  237. ),  
  238. ); 
  239. $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource( 
  240. $this,  
  241. $this->serviceName,  
  242. 'accountUserLinks',  
  243. array( 
  244. 'methods' => array( 
  245. 'delete' => array( 
  246. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',  
  247. 'httpMethod' => 'DELETE',  
  248. 'parameters' => array( 
  249. 'accountId' => array( 
  250. 'location' => 'path',  
  251. 'type' => 'string',  
  252. 'required' => true,  
  253. ),  
  254. 'linkId' => array( 
  255. 'location' => 'path',  
  256. 'type' => 'string',  
  257. 'required' => true,  
  258. ),  
  259. ),  
  260. ), 'insert' => array( 
  261. 'path' => 'management/accounts/{accountId}/entityUserLinks',  
  262. 'httpMethod' => 'POST',  
  263. 'parameters' => array( 
  264. 'accountId' => array( 
  265. 'location' => 'path',  
  266. 'type' => 'string',  
  267. 'required' => true,  
  268. ),  
  269. ),  
  270. ), 'list' => array( 
  271. 'path' => 'management/accounts/{accountId}/entityUserLinks',  
  272. 'httpMethod' => 'GET',  
  273. 'parameters' => array( 
  274. 'accountId' => array( 
  275. 'location' => 'path',  
  276. 'type' => 'string',  
  277. 'required' => true,  
  278. ),  
  279. 'max-results' => array( 
  280. 'location' => 'query',  
  281. 'type' => 'integer',  
  282. ),  
  283. 'start-index' => array( 
  284. 'location' => 'query',  
  285. 'type' => 'integer',  
  286. ),  
  287. ),  
  288. ), 'update' => array( 
  289. 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',  
  290. 'httpMethod' => 'PUT',  
  291. 'parameters' => array( 
  292. 'accountId' => array( 
  293. 'location' => 'path',  
  294. 'type' => 'string',  
  295. 'required' => true,  
  296. ),  
  297. 'linkId' => array( 
  298. 'location' => 'path',  
  299. 'type' => 'string',  
  300. 'required' => true,  
  301. ),  
  302. ),  
  303. ),  
  304. ); 
  305. $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource( 
  306. $this,  
  307. $this->serviceName,  
  308. 'accounts',  
  309. array( 
  310. 'methods' => array( 
  311. 'list' => array( 
  312. 'path' => 'management/accounts',  
  313. 'httpMethod' => 'GET',  
  314. 'parameters' => array( 
  315. 'max-results' => array( 
  316. 'location' => 'query',  
  317. 'type' => 'integer',  
  318. ),  
  319. 'start-index' => array( 
  320. 'location' => 'query',  
  321. 'type' => 'integer',  
  322. ),  
  323. ),  
  324. ),  
  325. ); 
  326. $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource( 
  327. $this,  
  328. $this->serviceName,  
  329. 'customDataSources',  
  330. array( 
  331. 'methods' => array( 
  332. 'list' => array( 
  333. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',  
  334. 'httpMethod' => 'GET',  
  335. 'parameters' => array( 
  336. 'accountId' => array( 
  337. 'location' => 'path',  
  338. 'type' => 'string',  
  339. 'required' => true,  
  340. ),  
  341. 'webPropertyId' => array( 
  342. 'location' => 'path',  
  343. 'type' => 'string',  
  344. 'required' => true,  
  345. ),  
  346. 'max-results' => array( 
  347. 'location' => 'query',  
  348. 'type' => 'integer',  
  349. ),  
  350. 'start-index' => array( 
  351. 'location' => 'query',  
  352. 'type' => 'integer',  
  353. ),  
  354. ),  
  355. ),  
  356. ); 
  357. $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource( 
  358. $this,  
  359. $this->serviceName,  
  360. 'customDimensions',  
  361. array( 
  362. 'methods' => array( 
  363. 'get' => array( 
  364. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  365. 'httpMethod' => 'GET',  
  366. 'parameters' => array( 
  367. 'accountId' => array( 
  368. 'location' => 'path',  
  369. 'type' => 'string',  
  370. 'required' => true,  
  371. ),  
  372. 'webPropertyId' => array( 
  373. 'location' => 'path',  
  374. 'type' => 'string',  
  375. 'required' => true,  
  376. ),  
  377. 'customDimensionId' => array( 
  378. 'location' => 'path',  
  379. 'type' => 'string',  
  380. 'required' => true,  
  381. ),  
  382. ),  
  383. ), 'insert' => array( 
  384. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',  
  385. 'httpMethod' => 'POST',  
  386. 'parameters' => array( 
  387. 'accountId' => array( 
  388. 'location' => 'path',  
  389. 'type' => 'string',  
  390. 'required' => true,  
  391. ),  
  392. 'webPropertyId' => array( 
  393. 'location' => 'path',  
  394. 'type' => 'string',  
  395. 'required' => true,  
  396. ),  
  397. ),  
  398. ), 'list' => array( 
  399. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',  
  400. 'httpMethod' => 'GET',  
  401. 'parameters' => array( 
  402. 'accountId' => array( 
  403. 'location' => 'path',  
  404. 'type' => 'string',  
  405. 'required' => true,  
  406. ),  
  407. 'webPropertyId' => array( 
  408. 'location' => 'path',  
  409. 'type' => 'string',  
  410. 'required' => true,  
  411. ),  
  412. 'max-results' => array( 
  413. 'location' => 'query',  
  414. 'type' => 'integer',  
  415. ),  
  416. 'start-index' => array( 
  417. 'location' => 'query',  
  418. 'type' => 'integer',  
  419. ),  
  420. ),  
  421. ), 'patch' => array( 
  422. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  423. 'httpMethod' => 'PATCH',  
  424. 'parameters' => array( 
  425. 'accountId' => array( 
  426. 'location' => 'path',  
  427. 'type' => 'string',  
  428. 'required' => true,  
  429. ),  
  430. 'webPropertyId' => array( 
  431. 'location' => 'path',  
  432. 'type' => 'string',  
  433. 'required' => true,  
  434. ),  
  435. 'customDimensionId' => array( 
  436. 'location' => 'path',  
  437. 'type' => 'string',  
  438. 'required' => true,  
  439. ),  
  440. 'ignoreCustomDataSourceLinks' => array( 
  441. 'location' => 'query',  
  442. 'type' => 'boolean',  
  443. ),  
  444. ),  
  445. ), 'update' => array( 
  446. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',  
  447. 'httpMethod' => 'PUT',  
  448. 'parameters' => array( 
  449. 'accountId' => array( 
  450. 'location' => 'path',  
  451. 'type' => 'string',  
  452. 'required' => true,  
  453. ),  
  454. 'webPropertyId' => array( 
  455. 'location' => 'path',  
  456. 'type' => 'string',  
  457. 'required' => true,  
  458. ),  
  459. 'customDimensionId' => array( 
  460. 'location' => 'path',  
  461. 'type' => 'string',  
  462. 'required' => true,  
  463. ),  
  464. 'ignoreCustomDataSourceLinks' => array( 
  465. 'location' => 'query',  
  466. 'type' => 'boolean',  
  467. ),  
  468. ),  
  469. ),  
  470. ); 
  471. $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource( 
  472. $this,  
  473. $this->serviceName,  
  474. 'customMetrics',  
  475. array( 
  476. 'methods' => array( 
  477. 'get' => array( 
  478. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  479. 'httpMethod' => 'GET',  
  480. 'parameters' => array( 
  481. 'accountId' => array( 
  482. 'location' => 'path',  
  483. 'type' => 'string',  
  484. 'required' => true,  
  485. ),  
  486. 'webPropertyId' => array( 
  487. 'location' => 'path',  
  488. 'type' => 'string',  
  489. 'required' => true,  
  490. ),  
  491. 'customMetricId' => array( 
  492. 'location' => 'path',  
  493. 'type' => 'string',  
  494. 'required' => true,  
  495. ),  
  496. ),  
  497. ), 'insert' => array( 
  498. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',  
  499. 'httpMethod' => 'POST',  
  500. 'parameters' => array( 
  501. 'accountId' => array( 
  502. 'location' => 'path',  
  503. 'type' => 'string',  
  504. 'required' => true,  
  505. ),  
  506. 'webPropertyId' => array( 
  507. 'location' => 'path',  
  508. 'type' => 'string',  
  509. 'required' => true,  
  510. ),  
  511. ),  
  512. ), 'list' => array( 
  513. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',  
  514. 'httpMethod' => 'GET',  
  515. 'parameters' => array( 
  516. 'accountId' => array( 
  517. 'location' => 'path',  
  518. 'type' => 'string',  
  519. 'required' => true,  
  520. ),  
  521. 'webPropertyId' => array( 
  522. 'location' => 'path',  
  523. 'type' => 'string',  
  524. 'required' => true,  
  525. ),  
  526. 'max-results' => array( 
  527. 'location' => 'query',  
  528. 'type' => 'integer',  
  529. ),  
  530. 'start-index' => array( 
  531. 'location' => 'query',  
  532. 'type' => 'integer',  
  533. ),  
  534. ),  
  535. ), 'patch' => array( 
  536. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  537. 'httpMethod' => 'PATCH',  
  538. 'parameters' => array( 
  539. 'accountId' => array( 
  540. 'location' => 'path',  
  541. 'type' => 'string',  
  542. 'required' => true,  
  543. ),  
  544. 'webPropertyId' => array( 
  545. 'location' => 'path',  
  546. 'type' => 'string',  
  547. 'required' => true,  
  548. ),  
  549. 'customMetricId' => array( 
  550. 'location' => 'path',  
  551. 'type' => 'string',  
  552. 'required' => true,  
  553. ),  
  554. 'ignoreCustomDataSourceLinks' => array( 
  555. 'location' => 'query',  
  556. 'type' => 'boolean',  
  557. ),  
  558. ),  
  559. ), 'update' => array( 
  560. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',  
  561. 'httpMethod' => 'PUT',  
  562. 'parameters' => array( 
  563. 'accountId' => array( 
  564. 'location' => 'path',  
  565. 'type' => 'string',  
  566. 'required' => true,  
  567. ),  
  568. 'webPropertyId' => array( 
  569. 'location' => 'path',  
  570. 'type' => 'string',  
  571. 'required' => true,  
  572. ),  
  573. 'customMetricId' => array( 
  574. 'location' => 'path',  
  575. 'type' => 'string',  
  576. 'required' => true,  
  577. ),  
  578. 'ignoreCustomDataSourceLinks' => array( 
  579. 'location' => 'query',  
  580. 'type' => 'boolean',  
  581. ),  
  582. ),  
  583. ),  
  584. ); 
  585. $this->management_dailyUploads = new Google_Service_Analytics_ManagementDailyUploads_Resource( 
  586. $this,  
  587. $this->serviceName,  
  588. 'dailyUploads',  
  589. array( 
  590. 'methods' => array( 
  591. 'delete' => array( 
  592. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}',  
  593. 'httpMethod' => 'DELETE',  
  594. 'parameters' => array( 
  595. 'accountId' => array( 
  596. 'location' => 'path',  
  597. 'type' => 'string',  
  598. 'required' => true,  
  599. ),  
  600. 'webPropertyId' => array( 
  601. 'location' => 'path',  
  602. 'type' => 'string',  
  603. 'required' => true,  
  604. ),  
  605. 'customDataSourceId' => array( 
  606. 'location' => 'path',  
  607. 'type' => 'string',  
  608. 'required' => true,  
  609. ),  
  610. 'date' => array( 
  611. 'location' => 'path',  
  612. 'type' => 'string',  
  613. 'required' => true,  
  614. ),  
  615. 'type' => array( 
  616. 'location' => 'query',  
  617. 'type' => 'string',  
  618. 'required' => true,  
  619. ),  
  620. ),  
  621. ), 'list' => array( 
  622. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads',  
  623. 'httpMethod' => 'GET',  
  624. 'parameters' => array( 
  625. 'accountId' => array( 
  626. 'location' => 'path',  
  627. 'type' => 'string',  
  628. 'required' => true,  
  629. ),  
  630. 'webPropertyId' => array( 
  631. 'location' => 'path',  
  632. 'type' => 'string',  
  633. 'required' => true,  
  634. ),  
  635. 'customDataSourceId' => array( 
  636. 'location' => 'path',  
  637. 'type' => 'string',  
  638. 'required' => true,  
  639. ),  
  640. 'start-date' => array( 
  641. 'location' => 'query',  
  642. 'type' => 'string',  
  643. 'required' => true,  
  644. ),  
  645. 'end-date' => array( 
  646. 'location' => 'query',  
  647. 'type' => 'string',  
  648. 'required' => true,  
  649. ),  
  650. 'max-results' => array( 
  651. 'location' => 'query',  
  652. 'type' => 'integer',  
  653. ),  
  654. 'start-index' => array( 
  655. 'location' => 'query',  
  656. 'type' => 'integer',  
  657. ),  
  658. ),  
  659. ), 'upload' => array( 
  660. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads',  
  661. 'httpMethod' => 'POST',  
  662. 'parameters' => array( 
  663. 'accountId' => array( 
  664. 'location' => 'path',  
  665. 'type' => 'string',  
  666. 'required' => true,  
  667. ),  
  668. 'webPropertyId' => array( 
  669. 'location' => 'path',  
  670. 'type' => 'string',  
  671. 'required' => true,  
  672. ),  
  673. 'customDataSourceId' => array( 
  674. 'location' => 'path',  
  675. 'type' => 'string',  
  676. 'required' => true,  
  677. ),  
  678. 'date' => array( 
  679. 'location' => 'path',  
  680. 'type' => 'string',  
  681. 'required' => true,  
  682. ),  
  683. 'appendNumber' => array( 
  684. 'location' => 'query',  
  685. 'type' => 'integer',  
  686. 'required' => true,  
  687. ),  
  688. 'type' => array( 
  689. 'location' => 'query',  
  690. 'type' => 'string',  
  691. 'required' => true,  
  692. ),  
  693. 'reset' => array( 
  694. 'location' => 'query',  
  695. 'type' => 'boolean',  
  696. ),  
  697. ),  
  698. ),  
  699. ); 
  700. $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource( 
  701. $this,  
  702. $this->serviceName,  
  703. 'experiments',  
  704. array( 
  705. 'methods' => array( 
  706. 'delete' => array( 
  707. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  708. 'httpMethod' => 'DELETE',  
  709. 'parameters' => array( 
  710. 'accountId' => array( 
  711. 'location' => 'path',  
  712. 'type' => 'string',  
  713. 'required' => true,  
  714. ),  
  715. 'webPropertyId' => array( 
  716. 'location' => 'path',  
  717. 'type' => 'string',  
  718. 'required' => true,  
  719. ),  
  720. 'profileId' => array( 
  721. 'location' => 'path',  
  722. 'type' => 'string',  
  723. 'required' => true,  
  724. ),  
  725. 'experimentId' => array( 
  726. 'location' => 'path',  
  727. 'type' => 'string',  
  728. 'required' => true,  
  729. ),  
  730. ),  
  731. ), 'get' => array( 
  732. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  733. 'httpMethod' => 'GET',  
  734. 'parameters' => array( 
  735. 'accountId' => array( 
  736. 'location' => 'path',  
  737. 'type' => 'string',  
  738. 'required' => true,  
  739. ),  
  740. 'webPropertyId' => array( 
  741. 'location' => 'path',  
  742. 'type' => 'string',  
  743. 'required' => true,  
  744. ),  
  745. 'profileId' => array( 
  746. 'location' => 'path',  
  747. 'type' => 'string',  
  748. 'required' => true,  
  749. ),  
  750. 'experimentId' => array( 
  751. 'location' => 'path',  
  752. 'type' => 'string',  
  753. 'required' => true,  
  754. ),  
  755. ),  
  756. ), 'insert' => array( 
  757. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  758. 'httpMethod' => 'POST',  
  759. 'parameters' => array( 
  760. 'accountId' => array( 
  761. 'location' => 'path',  
  762. 'type' => 'string',  
  763. 'required' => true,  
  764. ),  
  765. 'webPropertyId' => array( 
  766. 'location' => 'path',  
  767. 'type' => 'string',  
  768. 'required' => true,  
  769. ),  
  770. 'profileId' => array( 
  771. 'location' => 'path',  
  772. 'type' => 'string',  
  773. 'required' => true,  
  774. ),  
  775. ),  
  776. ), 'list' => array( 
  777. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  778. 'httpMethod' => 'GET',  
  779. 'parameters' => array( 
  780. 'accountId' => array( 
  781. 'location' => 'path',  
  782. 'type' => 'string',  
  783. 'required' => true,  
  784. ),  
  785. 'webPropertyId' => array( 
  786. 'location' => 'path',  
  787. 'type' => 'string',  
  788. 'required' => true,  
  789. ),  
  790. 'profileId' => array( 
  791. 'location' => 'path',  
  792. 'type' => 'string',  
  793. 'required' => true,  
  794. ),  
  795. 'max-results' => array( 
  796. 'location' => 'query',  
  797. 'type' => 'integer',  
  798. ),  
  799. 'start-index' => array( 
  800. 'location' => 'query',  
  801. 'type' => 'integer',  
  802. ),  
  803. ),  
  804. ), 'patch' => array( 
  805. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  806. 'httpMethod' => 'PATCH',  
  807. 'parameters' => array( 
  808. 'accountId' => array( 
  809. 'location' => 'path',  
  810. 'type' => 'string',  
  811. 'required' => true,  
  812. ),  
  813. 'webPropertyId' => array( 
  814. 'location' => 'path',  
  815. 'type' => 'string',  
  816. 'required' => true,  
  817. ),  
  818. 'profileId' => array( 
  819. 'location' => 'path',  
  820. 'type' => 'string',  
  821. 'required' => true,  
  822. ),  
  823. 'experimentId' => array( 
  824. 'location' => 'path',  
  825. 'type' => 'string',  
  826. 'required' => true,  
  827. ),  
  828. ),  
  829. ), 'update' => array( 
  830. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  831. 'httpMethod' => 'PUT',  
  832. 'parameters' => array( 
  833. 'accountId' => array( 
  834. 'location' => 'path',  
  835. 'type' => 'string',  
  836. 'required' => true,  
  837. ),  
  838. 'webPropertyId' => array( 
  839. 'location' => 'path',  
  840. 'type' => 'string',  
  841. 'required' => true,  
  842. ),  
  843. 'profileId' => array( 
  844. 'location' => 'path',  
  845. 'type' => 'string',  
  846. 'required' => true,  
  847. ),  
  848. 'experimentId' => array( 
  849. 'location' => 'path',  
  850. 'type' => 'string',  
  851. 'required' => true,  
  852. ),  
  853. ),  
  854. ),  
  855. ); 
  856. $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource( 
  857. $this,  
  858. $this->serviceName,  
  859. 'filters',  
  860. array( 
  861. 'methods' => array( 
  862. 'delete' => array( 
  863. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  864. 'httpMethod' => 'DELETE',  
  865. 'parameters' => array( 
  866. 'accountId' => array( 
  867. 'location' => 'path',  
  868. 'type' => 'string',  
  869. 'required' => true,  
  870. ),  
  871. 'filterId' => array( 
  872. 'location' => 'path',  
  873. 'type' => 'string',  
  874. 'required' => true,  
  875. ),  
  876. ),  
  877. ), 'get' => array( 
  878. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  879. 'httpMethod' => 'GET',  
  880. 'parameters' => array( 
  881. 'accountId' => array( 
  882. 'location' => 'path',  
  883. 'type' => 'string',  
  884. 'required' => true,  
  885. ),  
  886. 'filterId' => array( 
  887. 'location' => 'path',  
  888. 'type' => 'string',  
  889. 'required' => true,  
  890. ),  
  891. ),  
  892. ), 'insert' => array( 
  893. 'path' => 'management/accounts/{accountId}/filters',  
  894. 'httpMethod' => 'POST',  
  895. 'parameters' => array( 
  896. 'accountId' => array( 
  897. 'location' => 'path',  
  898. 'type' => 'string',  
  899. 'required' => true,  
  900. ),  
  901. ),  
  902. ), 'list' => array( 
  903. 'path' => 'management/accounts/{accountId}/filters',  
  904. 'httpMethod' => 'GET',  
  905. 'parameters' => array( 
  906. 'accountId' => array( 
  907. 'location' => 'path',  
  908. 'type' => 'string',  
  909. 'required' => true,  
  910. ),  
  911. 'max-results' => array( 
  912. 'location' => 'query',  
  913. 'type' => 'integer',  
  914. ),  
  915. 'start-index' => array( 
  916. 'location' => 'query',  
  917. 'type' => 'integer',  
  918. ),  
  919. ),  
  920. ), 'patch' => array( 
  921. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  922. 'httpMethod' => 'PATCH',  
  923. 'parameters' => array( 
  924. 'accountId' => array( 
  925. 'location' => 'path',  
  926. 'type' => 'string',  
  927. 'required' => true,  
  928. ),  
  929. 'filterId' => array( 
  930. 'location' => 'path',  
  931. 'type' => 'string',  
  932. 'required' => true,  
  933. ),  
  934. ),  
  935. ), 'update' => array( 
  936. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  937. 'httpMethod' => 'PUT',  
  938. 'parameters' => array( 
  939. 'accountId' => array( 
  940. 'location' => 'path',  
  941. 'type' => 'string',  
  942. 'required' => true,  
  943. ),  
  944. 'filterId' => array( 
  945. 'location' => 'path',  
  946. 'type' => 'string',  
  947. 'required' => true,  
  948. ),  
  949. ),  
  950. ),  
  951. ); 
  952. $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource( 
  953. $this,  
  954. $this->serviceName,  
  955. 'goals',  
  956. array( 
  957. 'methods' => array( 
  958. 'get' => array( 
  959. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  960. 'httpMethod' => 'GET',  
  961. 'parameters' => array( 
  962. 'accountId' => array( 
  963. 'location' => 'path',  
  964. 'type' => 'string',  
  965. 'required' => true,  
  966. ),  
  967. 'webPropertyId' => array( 
  968. 'location' => 'path',  
  969. 'type' => 'string',  
  970. 'required' => true,  
  971. ),  
  972. 'profileId' => array( 
  973. 'location' => 'path',  
  974. 'type' => 'string',  
  975. 'required' => true,  
  976. ),  
  977. 'goalId' => array( 
  978. 'location' => 'path',  
  979. 'type' => 'string',  
  980. 'required' => true,  
  981. ),  
  982. ),  
  983. ), 'insert' => array( 
  984. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  985. 'httpMethod' => 'POST',  
  986. 'parameters' => array( 
  987. 'accountId' => array( 
  988. 'location' => 'path',  
  989. 'type' => 'string',  
  990. 'required' => true,  
  991. ),  
  992. 'webPropertyId' => array( 
  993. 'location' => 'path',  
  994. 'type' => 'string',  
  995. 'required' => true,  
  996. ),  
  997. 'profileId' => array( 
  998. 'location' => 'path',  
  999. 'type' => 'string',  
  1000. 'required' => true,  
  1001. ),  
  1002. ),  
  1003. ), 'list' => array( 
  1004. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  1005. 'httpMethod' => 'GET',  
  1006. 'parameters' => array( 
  1007. 'accountId' => array( 
  1008. 'location' => 'path',  
  1009. 'type' => 'string',  
  1010. 'required' => true,  
  1011. ),  
  1012. 'webPropertyId' => array( 
  1013. 'location' => 'path',  
  1014. 'type' => 'string',  
  1015. 'required' => true,  
  1016. ),  
  1017. 'profileId' => array( 
  1018. 'location' => 'path',  
  1019. 'type' => 'string',  
  1020. 'required' => true,  
  1021. ),  
  1022. 'max-results' => array( 
  1023. 'location' => 'query',  
  1024. 'type' => 'integer',  
  1025. ),  
  1026. 'start-index' => array( 
  1027. 'location' => 'query',  
  1028. 'type' => 'integer',  
  1029. ),  
  1030. ),  
  1031. ), 'patch' => array( 
  1032. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  1033. 'httpMethod' => 'PATCH',  
  1034. 'parameters' => array( 
  1035. 'accountId' => array( 
  1036. 'location' => 'path',  
  1037. 'type' => 'string',  
  1038. 'required' => true,  
  1039. ),  
  1040. 'webPropertyId' => array( 
  1041. 'location' => 'path',  
  1042. 'type' => 'string',  
  1043. 'required' => true,  
  1044. ),  
  1045. 'profileId' => array( 
  1046. 'location' => 'path',  
  1047. 'type' => 'string',  
  1048. 'required' => true,  
  1049. ),  
  1050. 'goalId' => array( 
  1051. 'location' => 'path',  
  1052. 'type' => 'string',  
  1053. 'required' => true,  
  1054. ),  
  1055. ),  
  1056. ), 'update' => array( 
  1057. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  1058. 'httpMethod' => 'PUT',  
  1059. 'parameters' => array( 
  1060. 'accountId' => array( 
  1061. 'location' => 'path',  
  1062. 'type' => 'string',  
  1063. 'required' => true,  
  1064. ),  
  1065. 'webPropertyId' => array( 
  1066. 'location' => 'path',  
  1067. 'type' => 'string',  
  1068. 'required' => true,  
  1069. ),  
  1070. 'profileId' => array( 
  1071. 'location' => 'path',  
  1072. 'type' => 'string',  
  1073. 'required' => true,  
  1074. ),  
  1075. 'goalId' => array( 
  1076. 'location' => 'path',  
  1077. 'type' => 'string',  
  1078. 'required' => true,  
  1079. ),  
  1080. ),  
  1081. ),  
  1082. ); 
  1083. $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource( 
  1084. $this,  
  1085. $this->serviceName,  
  1086. 'profileFilterLinks',  
  1087. array( 
  1088. 'methods' => array( 
  1089. 'delete' => array( 
  1090. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1091. 'httpMethod' => 'DELETE',  
  1092. 'parameters' => array( 
  1093. 'accountId' => array( 
  1094. 'location' => 'path',  
  1095. 'type' => 'string',  
  1096. 'required' => true,  
  1097. ),  
  1098. 'webPropertyId' => array( 
  1099. 'location' => 'path',  
  1100. 'type' => 'string',  
  1101. 'required' => true,  
  1102. ),  
  1103. 'profileId' => array( 
  1104. 'location' => 'path',  
  1105. 'type' => 'string',  
  1106. 'required' => true,  
  1107. ),  
  1108. 'linkId' => array( 
  1109. 'location' => 'path',  
  1110. 'type' => 'string',  
  1111. 'required' => true,  
  1112. ),  
  1113. ),  
  1114. ), 'get' => array( 
  1115. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1116. 'httpMethod' => 'GET',  
  1117. 'parameters' => array( 
  1118. 'accountId' => array( 
  1119. 'location' => 'path',  
  1120. 'type' => 'string',  
  1121. 'required' => true,  
  1122. ),  
  1123. 'webPropertyId' => array( 
  1124. 'location' => 'path',  
  1125. 'type' => 'string',  
  1126. 'required' => true,  
  1127. ),  
  1128. 'profileId' => array( 
  1129. 'location' => 'path',  
  1130. 'type' => 'string',  
  1131. 'required' => true,  
  1132. ),  
  1133. 'linkId' => array( 
  1134. 'location' => 'path',  
  1135. 'type' => 'string',  
  1136. 'required' => true,  
  1137. ),  
  1138. ),  
  1139. ), 'insert' => array( 
  1140. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1141. 'httpMethod' => 'POST',  
  1142. 'parameters' => array( 
  1143. 'accountId' => array( 
  1144. 'location' => 'path',  
  1145. 'type' => 'string',  
  1146. 'required' => true,  
  1147. ),  
  1148. 'webPropertyId' => array( 
  1149. 'location' => 'path',  
  1150. 'type' => 'string',  
  1151. 'required' => true,  
  1152. ),  
  1153. 'profileId' => array( 
  1154. 'location' => 'path',  
  1155. 'type' => 'string',  
  1156. 'required' => true,  
  1157. ),  
  1158. ),  
  1159. ), 'list' => array( 
  1160. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1161. 'httpMethod' => 'GET',  
  1162. 'parameters' => array( 
  1163. 'accountId' => array( 
  1164. 'location' => 'path',  
  1165. 'type' => 'string',  
  1166. 'required' => true,  
  1167. ),  
  1168. 'webPropertyId' => array( 
  1169. 'location' => 'path',  
  1170. 'type' => 'string',  
  1171. 'required' => true,  
  1172. ),  
  1173. 'profileId' => array( 
  1174. 'location' => 'path',  
  1175. 'type' => 'string',  
  1176. 'required' => true,  
  1177. ),  
  1178. 'max-results' => array( 
  1179. 'location' => 'query',  
  1180. 'type' => 'integer',  
  1181. ),  
  1182. 'start-index' => array( 
  1183. 'location' => 'query',  
  1184. 'type' => 'integer',  
  1185. ),  
  1186. ),  
  1187. ), 'patch' => array( 
  1188. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1189. 'httpMethod' => 'PATCH',  
  1190. 'parameters' => array( 
  1191. 'accountId' => array( 
  1192. 'location' => 'path',  
  1193. 'type' => 'string',  
  1194. 'required' => true,  
  1195. ),  
  1196. 'webPropertyId' => array( 
  1197. 'location' => 'path',  
  1198. 'type' => 'string',  
  1199. 'required' => true,  
  1200. ),  
  1201. 'profileId' => array( 
  1202. 'location' => 'path',  
  1203. 'type' => 'string',  
  1204. 'required' => true,  
  1205. ),  
  1206. 'linkId' => array( 
  1207. 'location' => 'path',  
  1208. 'type' => 'string',  
  1209. 'required' => true,  
  1210. ),  
  1211. ),  
  1212. ), 'update' => array( 
  1213. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1214. 'httpMethod' => 'PUT',  
  1215. 'parameters' => array( 
  1216. 'accountId' => array( 
  1217. 'location' => 'path',  
  1218. 'type' => 'string',  
  1219. 'required' => true,  
  1220. ),  
  1221. 'webPropertyId' => array( 
  1222. 'location' => 'path',  
  1223. 'type' => 'string',  
  1224. 'required' => true,  
  1225. ),  
  1226. 'profileId' => array( 
  1227. 'location' => 'path',  
  1228. 'type' => 'string',  
  1229. 'required' => true,  
  1230. ),  
  1231. 'linkId' => array( 
  1232. 'location' => 'path',  
  1233. 'type' => 'string',  
  1234. 'required' => true,  
  1235. ),  
  1236. ),  
  1237. ),  
  1238. ); 
  1239. $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource( 
  1240. $this,  
  1241. $this->serviceName,  
  1242. 'profileUserLinks',  
  1243. array( 
  1244. 'methods' => array( 
  1245. 'delete' => array( 
  1246. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1247. 'httpMethod' => 'DELETE',  
  1248. 'parameters' => array( 
  1249. 'accountId' => array( 
  1250. 'location' => 'path',  
  1251. 'type' => 'string',  
  1252. 'required' => true,  
  1253. ),  
  1254. 'webPropertyId' => array( 
  1255. 'location' => 'path',  
  1256. 'type' => 'string',  
  1257. 'required' => true,  
  1258. ),  
  1259. 'profileId' => array( 
  1260. 'location' => 'path',  
  1261. 'type' => 'string',  
  1262. 'required' => true,  
  1263. ),  
  1264. 'linkId' => array( 
  1265. 'location' => 'path',  
  1266. 'type' => 'string',  
  1267. 'required' => true,  
  1268. ),  
  1269. ),  
  1270. ), 'insert' => array( 
  1271. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1272. 'httpMethod' => 'POST',  
  1273. 'parameters' => array( 
  1274. 'accountId' => array( 
  1275. 'location' => 'path',  
  1276. 'type' => 'string',  
  1277. 'required' => true,  
  1278. ),  
  1279. 'webPropertyId' => array( 
  1280. 'location' => 'path',  
  1281. 'type' => 'string',  
  1282. 'required' => true,  
  1283. ),  
  1284. 'profileId' => array( 
  1285. 'location' => 'path',  
  1286. 'type' => 'string',  
  1287. 'required' => true,  
  1288. ),  
  1289. ),  
  1290. ), 'list' => array( 
  1291. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1292. 'httpMethod' => 'GET',  
  1293. 'parameters' => array( 
  1294. 'accountId' => array( 
  1295. 'location' => 'path',  
  1296. 'type' => 'string',  
  1297. 'required' => true,  
  1298. ),  
  1299. 'webPropertyId' => array( 
  1300. 'location' => 'path',  
  1301. 'type' => 'string',  
  1302. 'required' => true,  
  1303. ),  
  1304. 'profileId' => array( 
  1305. 'location' => 'path',  
  1306. 'type' => 'string',  
  1307. 'required' => true,  
  1308. ),  
  1309. 'max-results' => array( 
  1310. 'location' => 'query',  
  1311. 'type' => 'integer',  
  1312. ),  
  1313. 'start-index' => array( 
  1314. 'location' => 'query',  
  1315. 'type' => 'integer',  
  1316. ),  
  1317. ),  
  1318. ), 'update' => array( 
  1319. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1320. 'httpMethod' => 'PUT',  
  1321. 'parameters' => array( 
  1322. 'accountId' => array( 
  1323. 'location' => 'path',  
  1324. 'type' => 'string',  
  1325. 'required' => true,  
  1326. ),  
  1327. 'webPropertyId' => array( 
  1328. 'location' => 'path',  
  1329. 'type' => 'string',  
  1330. 'required' => true,  
  1331. ),  
  1332. 'profileId' => array( 
  1333. 'location' => 'path',  
  1334. 'type' => 'string',  
  1335. 'required' => true,  
  1336. ),  
  1337. 'linkId' => array( 
  1338. 'location' => 'path',  
  1339. 'type' => 'string',  
  1340. 'required' => true,  
  1341. ),  
  1342. ),  
  1343. ),  
  1344. ); 
  1345. $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource( 
  1346. $this,  
  1347. $this->serviceName,  
  1348. 'profiles',  
  1349. array( 
  1350. 'methods' => array( 
  1351. 'delete' => array( 
  1352. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1353. 'httpMethod' => 'DELETE',  
  1354. 'parameters' => array( 
  1355. 'accountId' => array( 
  1356. 'location' => 'path',  
  1357. 'type' => 'string',  
  1358. 'required' => true,  
  1359. ),  
  1360. 'webPropertyId' => array( 
  1361. 'location' => 'path',  
  1362. 'type' => 'string',  
  1363. 'required' => true,  
  1364. ),  
  1365. 'profileId' => array( 
  1366. 'location' => 'path',  
  1367. 'type' => 'string',  
  1368. 'required' => true,  
  1369. ),  
  1370. ),  
  1371. ), 'get' => array( 
  1372. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1373. 'httpMethod' => 'GET',  
  1374. 'parameters' => array( 
  1375. 'accountId' => array( 
  1376. 'location' => 'path',  
  1377. 'type' => 'string',  
  1378. 'required' => true,  
  1379. ),  
  1380. 'webPropertyId' => array( 
  1381. 'location' => 'path',  
  1382. 'type' => 'string',  
  1383. 'required' => true,  
  1384. ),  
  1385. 'profileId' => array( 
  1386. 'location' => 'path',  
  1387. 'type' => 'string',  
  1388. 'required' => true,  
  1389. ),  
  1390. ),  
  1391. ), 'insert' => array( 
  1392. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1393. 'httpMethod' => 'POST',  
  1394. 'parameters' => array( 
  1395. 'accountId' => array( 
  1396. 'location' => 'path',  
  1397. 'type' => 'string',  
  1398. 'required' => true,  
  1399. ),  
  1400. 'webPropertyId' => array( 
  1401. 'location' => 'path',  
  1402. 'type' => 'string',  
  1403. 'required' => true,  
  1404. ),  
  1405. ),  
  1406. ), 'list' => array( 
  1407. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1408. 'httpMethod' => 'GET',  
  1409. 'parameters' => array( 
  1410. 'accountId' => array( 
  1411. 'location' => 'path',  
  1412. 'type' => 'string',  
  1413. 'required' => true,  
  1414. ),  
  1415. 'webPropertyId' => array( 
  1416. 'location' => 'path',  
  1417. 'type' => 'string',  
  1418. 'required' => true,  
  1419. ),  
  1420. 'max-results' => array( 
  1421. 'location' => 'query',  
  1422. 'type' => 'integer',  
  1423. ),  
  1424. 'start-index' => array( 
  1425. 'location' => 'query',  
  1426. 'type' => 'integer',  
  1427. ),  
  1428. ),  
  1429. ), 'patch' => array( 
  1430. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1431. 'httpMethod' => 'PATCH',  
  1432. 'parameters' => array( 
  1433. 'accountId' => array( 
  1434. 'location' => 'path',  
  1435. 'type' => 'string',  
  1436. 'required' => true,  
  1437. ),  
  1438. 'webPropertyId' => array( 
  1439. 'location' => 'path',  
  1440. 'type' => 'string',  
  1441. 'required' => true,  
  1442. ),  
  1443. 'profileId' => array( 
  1444. 'location' => 'path',  
  1445. 'type' => 'string',  
  1446. 'required' => true,  
  1447. ),  
  1448. ),  
  1449. ), 'update' => array( 
  1450. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1451. 'httpMethod' => 'PUT',  
  1452. 'parameters' => array( 
  1453. 'accountId' => array( 
  1454. 'location' => 'path',  
  1455. 'type' => 'string',  
  1456. 'required' => true,  
  1457. ),  
  1458. 'webPropertyId' => array( 
  1459. 'location' => 'path',  
  1460. 'type' => 'string',  
  1461. 'required' => true,  
  1462. ),  
  1463. 'profileId' => array( 
  1464. 'location' => 'path',  
  1465. 'type' => 'string',  
  1466. 'required' => true,  
  1467. ),  
  1468. ),  
  1469. ),  
  1470. ); 
  1471. $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource( 
  1472. $this,  
  1473. $this->serviceName,  
  1474. 'segments',  
  1475. array( 
  1476. 'methods' => array( 
  1477. 'list' => array( 
  1478. 'path' => 'management/segments',  
  1479. 'httpMethod' => 'GET',  
  1480. 'parameters' => array( 
  1481. 'max-results' => array( 
  1482. 'location' => 'query',  
  1483. 'type' => 'integer',  
  1484. ),  
  1485. 'start-index' => array( 
  1486. 'location' => 'query',  
  1487. 'type' => 'integer',  
  1488. ),  
  1489. ),  
  1490. ),  
  1491. ); 
  1492. $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource( 
  1493. $this,  
  1494. $this->serviceName,  
  1495. 'unsampledReports',  
  1496. array( 
  1497. 'methods' => array( 
  1498. 'get' => array( 
  1499. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',  
  1500. 'httpMethod' => 'GET',  
  1501. 'parameters' => array( 
  1502. 'accountId' => array( 
  1503. 'location' => 'path',  
  1504. 'type' => 'string',  
  1505. 'required' => true,  
  1506. ),  
  1507. 'webPropertyId' => array( 
  1508. 'location' => 'path',  
  1509. 'type' => 'string',  
  1510. 'required' => true,  
  1511. ),  
  1512. 'profileId' => array( 
  1513. 'location' => 'path',  
  1514. 'type' => 'string',  
  1515. 'required' => true,  
  1516. ),  
  1517. 'unsampledReportId' => array( 
  1518. 'location' => 'path',  
  1519. 'type' => 'string',  
  1520. 'required' => true,  
  1521. ),  
  1522. ),  
  1523. ), 'insert' => array( 
  1524. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1525. 'httpMethod' => 'POST',  
  1526. 'parameters' => array( 
  1527. 'accountId' => array( 
  1528. 'location' => 'path',  
  1529. 'type' => 'string',  
  1530. 'required' => true,  
  1531. ),  
  1532. 'webPropertyId' => array( 
  1533. 'location' => 'path',  
  1534. 'type' => 'string',  
  1535. 'required' => true,  
  1536. ),  
  1537. 'profileId' => array( 
  1538. 'location' => 'path',  
  1539. 'type' => 'string',  
  1540. 'required' => true,  
  1541. ),  
  1542. ),  
  1543. ), 'list' => array( 
  1544. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1545. 'httpMethod' => 'GET',  
  1546. 'parameters' => array( 
  1547. 'accountId' => array( 
  1548. 'location' => 'path',  
  1549. 'type' => 'string',  
  1550. 'required' => true,  
  1551. ),  
  1552. 'webPropertyId' => array( 
  1553. 'location' => 'path',  
  1554. 'type' => 'string',  
  1555. 'required' => true,  
  1556. ),  
  1557. 'profileId' => array( 
  1558. 'location' => 'path',  
  1559. 'type' => 'string',  
  1560. 'required' => true,  
  1561. ),  
  1562. 'max-results' => array( 
  1563. 'location' => 'query',  
  1564. 'type' => 'integer',  
  1565. ),  
  1566. 'start-index' => array( 
  1567. 'location' => 'query',  
  1568. 'type' => 'integer',  
  1569. ),  
  1570. ),  
  1571. ),  
  1572. ); 
  1573. $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource( 
  1574. $this,  
  1575. $this->serviceName,  
  1576. 'uploads',  
  1577. array( 
  1578. 'methods' => array( 
  1579. 'deleteUploadData' => array( 
  1580. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',  
  1581. 'httpMethod' => 'POST',  
  1582. 'parameters' => array( 
  1583. 'accountId' => array( 
  1584. 'location' => 'path',  
  1585. 'type' => 'string',  
  1586. 'required' => true,  
  1587. ),  
  1588. 'webPropertyId' => array( 
  1589. 'location' => 'path',  
  1590. 'type' => 'string',  
  1591. 'required' => true,  
  1592. ),  
  1593. 'customDataSourceId' => array( 
  1594. 'location' => 'path',  
  1595. 'type' => 'string',  
  1596. 'required' => true,  
  1597. ),  
  1598. ),  
  1599. ), 'get' => array( 
  1600. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',  
  1601. 'httpMethod' => 'GET',  
  1602. 'parameters' => array( 
  1603. 'accountId' => array( 
  1604. 'location' => 'path',  
  1605. 'type' => 'string',  
  1606. 'required' => true,  
  1607. ),  
  1608. 'webPropertyId' => array( 
  1609. 'location' => 'path',  
  1610. 'type' => 'string',  
  1611. 'required' => true,  
  1612. ),  
  1613. 'customDataSourceId' => array( 
  1614. 'location' => 'path',  
  1615. 'type' => 'string',  
  1616. 'required' => true,  
  1617. ),  
  1618. 'uploadId' => array( 
  1619. 'location' => 'path',  
  1620. 'type' => 'string',  
  1621. 'required' => true,  
  1622. ),  
  1623. ),  
  1624. ), 'list' => array( 
  1625. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1626. 'httpMethod' => 'GET',  
  1627. 'parameters' => array( 
  1628. 'accountId' => array( 
  1629. 'location' => 'path',  
  1630. 'type' => 'string',  
  1631. 'required' => true,  
  1632. ),  
  1633. 'webPropertyId' => array( 
  1634. 'location' => 'path',  
  1635. 'type' => 'string',  
  1636. 'required' => true,  
  1637. ),  
  1638. 'customDataSourceId' => array( 
  1639. 'location' => 'path',  
  1640. 'type' => 'string',  
  1641. 'required' => true,  
  1642. ),  
  1643. 'max-results' => array( 
  1644. 'location' => 'query',  
  1645. 'type' => 'integer',  
  1646. ),  
  1647. 'start-index' => array( 
  1648. 'location' => 'query',  
  1649. 'type' => 'integer',  
  1650. ),  
  1651. ),  
  1652. ), 'migrateDataImport' => array( 
  1653. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport',  
  1654. 'httpMethod' => 'POST',  
  1655. 'parameters' => array( 
  1656. 'accountId' => array( 
  1657. 'location' => 'path',  
  1658. 'type' => 'string',  
  1659. 'required' => true,  
  1660. ),  
  1661. 'webPropertyId' => array( 
  1662. 'location' => 'path',  
  1663. 'type' => 'string',  
  1664. 'required' => true,  
  1665. ),  
  1666. 'customDataSourceId' => array( 
  1667. 'location' => 'path',  
  1668. 'type' => 'string',  
  1669. 'required' => true,  
  1670. ),  
  1671. ),  
  1672. ), 'uploadData' => array( 
  1673. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1674. 'httpMethod' => 'POST',  
  1675. 'parameters' => array( 
  1676. 'accountId' => array( 
  1677. 'location' => 'path',  
  1678. 'type' => 'string',  
  1679. 'required' => true,  
  1680. ),  
  1681. 'webPropertyId' => array( 
  1682. 'location' => 'path',  
  1683. 'type' => 'string',  
  1684. 'required' => true,  
  1685. ),  
  1686. 'customDataSourceId' => array( 
  1687. 'location' => 'path',  
  1688. 'type' => 'string',  
  1689. 'required' => true,  
  1690. ),  
  1691. ),  
  1692. ),  
  1693. ); 
  1694. $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource( 
  1695. $this,  
  1696. $this->serviceName,  
  1697. 'webPropertyAdWordsLinks',  
  1698. array( 
  1699. 'methods' => array( 
  1700. 'delete' => array( 
  1701. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1702. 'httpMethod' => 'DELETE',  
  1703. 'parameters' => array( 
  1704. 'accountId' => array( 
  1705. 'location' => 'path',  
  1706. 'type' => 'string',  
  1707. 'required' => true,  
  1708. ),  
  1709. 'webPropertyId' => array( 
  1710. 'location' => 'path',  
  1711. 'type' => 'string',  
  1712. 'required' => true,  
  1713. ),  
  1714. 'webPropertyAdWordsLinkId' => array( 
  1715. 'location' => 'path',  
  1716. 'type' => 'string',  
  1717. 'required' => true,  
  1718. ),  
  1719. ),  
  1720. ), 'get' => array( 
  1721. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1722. 'httpMethod' => 'GET',  
  1723. 'parameters' => array( 
  1724. 'accountId' => array( 
  1725. 'location' => 'path',  
  1726. 'type' => 'string',  
  1727. 'required' => true,  
  1728. ),  
  1729. 'webPropertyId' => array( 
  1730. 'location' => 'path',  
  1731. 'type' => 'string',  
  1732. 'required' => true,  
  1733. ),  
  1734. 'webPropertyAdWordsLinkId' => array( 
  1735. 'location' => 'path',  
  1736. 'type' => 'string',  
  1737. 'required' => true,  
  1738. ),  
  1739. ),  
  1740. ), 'insert' => array( 
  1741. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1742. 'httpMethod' => 'POST',  
  1743. 'parameters' => array( 
  1744. 'accountId' => array( 
  1745. 'location' => 'path',  
  1746. 'type' => 'string',  
  1747. 'required' => true,  
  1748. ),  
  1749. 'webPropertyId' => array( 
  1750. 'location' => 'path',  
  1751. 'type' => 'string',  
  1752. 'required' => true,  
  1753. ),  
  1754. ),  
  1755. ), 'list' => array( 
  1756. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1757. 'httpMethod' => 'GET',  
  1758. 'parameters' => array( 
  1759. 'accountId' => array( 
  1760. 'location' => 'path',  
  1761. 'type' => 'string',  
  1762. 'required' => true,  
  1763. ),  
  1764. 'webPropertyId' => array( 
  1765. 'location' => 'path',  
  1766. 'type' => 'string',  
  1767. 'required' => true,  
  1768. ),  
  1769. 'max-results' => array( 
  1770. 'location' => 'query',  
  1771. 'type' => 'integer',  
  1772. ),  
  1773. 'start-index' => array( 
  1774. 'location' => 'query',  
  1775. 'type' => 'integer',  
  1776. ),  
  1777. ),  
  1778. ), 'patch' => array( 
  1779. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1780. 'httpMethod' => 'PATCH',  
  1781. 'parameters' => array( 
  1782. 'accountId' => array( 
  1783. 'location' => 'path',  
  1784. 'type' => 'string',  
  1785. 'required' => true,  
  1786. ),  
  1787. 'webPropertyId' => array( 
  1788. 'location' => 'path',  
  1789. 'type' => 'string',  
  1790. 'required' => true,  
  1791. ),  
  1792. 'webPropertyAdWordsLinkId' => array( 
  1793. 'location' => 'path',  
  1794. 'type' => 'string',  
  1795. 'required' => true,  
  1796. ),  
  1797. ),  
  1798. ), 'update' => array( 
  1799. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1800. 'httpMethod' => 'PUT',  
  1801. 'parameters' => array( 
  1802. 'accountId' => array( 
  1803. 'location' => 'path',  
  1804. 'type' => 'string',  
  1805. 'required' => true,  
  1806. ),  
  1807. 'webPropertyId' => array( 
  1808. 'location' => 'path',  
  1809. 'type' => 'string',  
  1810. 'required' => true,  
  1811. ),  
  1812. 'webPropertyAdWordsLinkId' => array( 
  1813. 'location' => 'path',  
  1814. 'type' => 'string',  
  1815. 'required' => true,  
  1816. ),  
  1817. ),  
  1818. ),  
  1819. ); 
  1820. $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource( 
  1821. $this,  
  1822. $this->serviceName,  
  1823. 'webproperties',  
  1824. array( 
  1825. 'methods' => array( 
  1826. 'get' => array( 
  1827. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1828. 'httpMethod' => 'GET',  
  1829. 'parameters' => array( 
  1830. 'accountId' => array( 
  1831. 'location' => 'path',  
  1832. 'type' => 'string',  
  1833. 'required' => true,  
  1834. ),  
  1835. 'webPropertyId' => array( 
  1836. 'location' => 'path',  
  1837. 'type' => 'string',  
  1838. 'required' => true,  
  1839. ),  
  1840. ),  
  1841. ), 'insert' => array( 
  1842. 'path' => 'management/accounts/{accountId}/webproperties',  
  1843. 'httpMethod' => 'POST',  
  1844. 'parameters' => array( 
  1845. 'accountId' => array( 
  1846. 'location' => 'path',  
  1847. 'type' => 'string',  
  1848. 'required' => true,  
  1849. ),  
  1850. ),  
  1851. ), 'list' => array( 
  1852. 'path' => 'management/accounts/{accountId}/webproperties',  
  1853. 'httpMethod' => 'GET',  
  1854. 'parameters' => array( 
  1855. 'accountId' => array( 
  1856. 'location' => 'path',  
  1857. 'type' => 'string',  
  1858. 'required' => true,  
  1859. ),  
  1860. 'max-results' => array( 
  1861. 'location' => 'query',  
  1862. 'type' => 'integer',  
  1863. ),  
  1864. 'start-index' => array( 
  1865. 'location' => 'query',  
  1866. 'type' => 'integer',  
  1867. ),  
  1868. ),  
  1869. ), 'patch' => array( 
  1870. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1871. 'httpMethod' => 'PATCH',  
  1872. 'parameters' => array( 
  1873. 'accountId' => array( 
  1874. 'location' => 'path',  
  1875. 'type' => 'string',  
  1876. 'required' => true,  
  1877. ),  
  1878. 'webPropertyId' => array( 
  1879. 'location' => 'path',  
  1880. 'type' => 'string',  
  1881. 'required' => true,  
  1882. ),  
  1883. ),  
  1884. ), 'update' => array( 
  1885. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1886. 'httpMethod' => 'PUT',  
  1887. 'parameters' => array( 
  1888. 'accountId' => array( 
  1889. 'location' => 'path',  
  1890. 'type' => 'string',  
  1891. 'required' => true,  
  1892. ),  
  1893. 'webPropertyId' => array( 
  1894. 'location' => 'path',  
  1895. 'type' => 'string',  
  1896. 'required' => true,  
  1897. ),  
  1898. ),  
  1899. ),  
  1900. ); 
  1901. $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource( 
  1902. $this,  
  1903. $this->serviceName,  
  1904. 'webpropertyUserLinks',  
  1905. array( 
  1906. 'methods' => array( 
  1907. 'delete' => array( 
  1908. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1909. 'httpMethod' => 'DELETE',  
  1910. 'parameters' => array( 
  1911. 'accountId' => array( 
  1912. 'location' => 'path',  
  1913. 'type' => 'string',  
  1914. 'required' => true,  
  1915. ),  
  1916. 'webPropertyId' => array( 
  1917. 'location' => 'path',  
  1918. 'type' => 'string',  
  1919. 'required' => true,  
  1920. ),  
  1921. 'linkId' => array( 
  1922. 'location' => 'path',  
  1923. 'type' => 'string',  
  1924. 'required' => true,  
  1925. ),  
  1926. ),  
  1927. ), 'insert' => array( 
  1928. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1929. 'httpMethod' => 'POST',  
  1930. 'parameters' => array( 
  1931. 'accountId' => array( 
  1932. 'location' => 'path',  
  1933. 'type' => 'string',  
  1934. 'required' => true,  
  1935. ),  
  1936. 'webPropertyId' => array( 
  1937. 'location' => 'path',  
  1938. 'type' => 'string',  
  1939. 'required' => true,  
  1940. ),  
  1941. ),  
  1942. ), 'list' => array( 
  1943. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1944. 'httpMethod' => 'GET',  
  1945. 'parameters' => array( 
  1946. 'accountId' => array( 
  1947. 'location' => 'path',  
  1948. 'type' => 'string',  
  1949. 'required' => true,  
  1950. ),  
  1951. 'webPropertyId' => array( 
  1952. 'location' => 'path',  
  1953. 'type' => 'string',  
  1954. 'required' => true,  
  1955. ),  
  1956. 'max-results' => array( 
  1957. 'location' => 'query',  
  1958. 'type' => 'integer',  
  1959. ),  
  1960. 'start-index' => array( 
  1961. 'location' => 'query',  
  1962. 'type' => 'integer',  
  1963. ),  
  1964. ),  
  1965. ), 'update' => array( 
  1966. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1967. 'httpMethod' => 'PUT',  
  1968. 'parameters' => array( 
  1969. 'accountId' => array( 
  1970. 'location' => 'path',  
  1971. 'type' => 'string',  
  1972. 'required' => true,  
  1973. ),  
  1974. 'webPropertyId' => array( 
  1975. 'location' => 'path',  
  1976. 'type' => 'string',  
  1977. 'required' => true,  
  1978. ),  
  1979. 'linkId' => array( 
  1980. 'location' => 'path',  
  1981. 'type' => 'string',  
  1982. 'required' => true,  
  1983. ),  
  1984. ),  
  1985. ),  
  1986. ); 
  1987. $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource( 
  1988. $this,  
  1989. $this->serviceName,  
  1990. 'columns',  
  1991. array( 
  1992. 'methods' => array( 
  1993. 'list' => array( 
  1994. 'path' => 'metadata/{reportType}/columns',  
  1995. 'httpMethod' => 'GET',  
  1996. 'parameters' => array( 
  1997. 'reportType' => array( 
  1998. 'location' => 'path',  
  1999. 'type' => 'string',  
  2000. 'required' => true,  
  2001. ),  
  2002. ),  
  2003. ),  
  2004. ); 
  2005. $this->provisioning = new Google_Service_Analytics_Provisioning_Resource( 
  2006. $this,  
  2007. $this->serviceName,  
  2008. 'provisioning',  
  2009. array( 
  2010. 'methods' => array( 
  2011. 'createAccountTicket' => array( 
  2012. 'path' => 'provisioning/createAccountTicket',  
  2013. 'httpMethod' => 'POST',  
  2014. 'parameters' => array(),  
  2015. ),  
  2016. );