Google_Service_Analytics

Service definition for Analytics (v3).

Defined (1)

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

/inc/VideoUploader/includes/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_experiments; 
  31. public $management_filters; 
  32. public $management_goals; 
  33. public $management_profileFilterLinks; 
  34. public $management_profileUserLinks; 
  35. public $management_profiles; 
  36. public $management_segments; 
  37. public $management_unsampledReports; 
  38. public $management_uploads; 
  39. public $management_webPropertyAdWordsLinks; 
  40. public $management_webproperties; 
  41. public $management_webpropertyUserLinks; 
  42. public $metadata_columns; 
  43. public $provisioning; 
  44.  
  45.  
  46. /** 
  47. * Constructs the internal representation of the Analytics service. 
  48. * @param Google_Client $client 
  49. */ 
  50. public function __construct(Google_Client $client) 
  51. parent::__construct($client); 
  52. $this->rootUrl = 'https://www.googleapis.com/'; 
  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_experiments = new Google_Service_Analytics_ManagementExperiments_Resource( 
  586. $this,  
  587. $this->serviceName,  
  588. 'experiments',  
  589. array( 
  590. 'methods' => array( 
  591. 'delete' => array( 
  592. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  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. 'profileId' => array( 
  606. 'location' => 'path',  
  607. 'type' => 'string',  
  608. 'required' => true,  
  609. ),  
  610. 'experimentId' => array( 
  611. 'location' => 'path',  
  612. 'type' => 'string',  
  613. 'required' => true,  
  614. ),  
  615. ),  
  616. ), 'get' => array( 
  617. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  618. 'httpMethod' => 'GET',  
  619. 'parameters' => array( 
  620. 'accountId' => array( 
  621. 'location' => 'path',  
  622. 'type' => 'string',  
  623. 'required' => true,  
  624. ),  
  625. 'webPropertyId' => array( 
  626. 'location' => 'path',  
  627. 'type' => 'string',  
  628. 'required' => true,  
  629. ),  
  630. 'profileId' => array( 
  631. 'location' => 'path',  
  632. 'type' => 'string',  
  633. 'required' => true,  
  634. ),  
  635. 'experimentId' => array( 
  636. 'location' => 'path',  
  637. 'type' => 'string',  
  638. 'required' => true,  
  639. ),  
  640. ),  
  641. ), 'insert' => array( 
  642. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  643. 'httpMethod' => 'POST',  
  644. 'parameters' => array( 
  645. 'accountId' => array( 
  646. 'location' => 'path',  
  647. 'type' => 'string',  
  648. 'required' => true,  
  649. ),  
  650. 'webPropertyId' => array( 
  651. 'location' => 'path',  
  652. 'type' => 'string',  
  653. 'required' => true,  
  654. ),  
  655. 'profileId' => array( 
  656. 'location' => 'path',  
  657. 'type' => 'string',  
  658. 'required' => true,  
  659. ),  
  660. ),  
  661. ), 'list' => array( 
  662. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',  
  663. 'httpMethod' => 'GET',  
  664. 'parameters' => array( 
  665. 'accountId' => array( 
  666. 'location' => 'path',  
  667. 'type' => 'string',  
  668. 'required' => true,  
  669. ),  
  670. 'webPropertyId' => array( 
  671. 'location' => 'path',  
  672. 'type' => 'string',  
  673. 'required' => true,  
  674. ),  
  675. 'profileId' => array( 
  676. 'location' => 'path',  
  677. 'type' => 'string',  
  678. 'required' => true,  
  679. ),  
  680. 'max-results' => array( 
  681. 'location' => 'query',  
  682. 'type' => 'integer',  
  683. ),  
  684. 'start-index' => array( 
  685. 'location' => 'query',  
  686. 'type' => 'integer',  
  687. ),  
  688. ),  
  689. ), 'patch' => array( 
  690. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  691. 'httpMethod' => 'PATCH',  
  692. 'parameters' => array( 
  693. 'accountId' => array( 
  694. 'location' => 'path',  
  695. 'type' => 'string',  
  696. 'required' => true,  
  697. ),  
  698. 'webPropertyId' => array( 
  699. 'location' => 'path',  
  700. 'type' => 'string',  
  701. 'required' => true,  
  702. ),  
  703. 'profileId' => array( 
  704. 'location' => 'path',  
  705. 'type' => 'string',  
  706. 'required' => true,  
  707. ),  
  708. 'experimentId' => array( 
  709. 'location' => 'path',  
  710. 'type' => 'string',  
  711. 'required' => true,  
  712. ),  
  713. ),  
  714. ), 'update' => array( 
  715. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',  
  716. 'httpMethod' => 'PUT',  
  717. 'parameters' => array( 
  718. 'accountId' => array( 
  719. 'location' => 'path',  
  720. 'type' => 'string',  
  721. 'required' => true,  
  722. ),  
  723. 'webPropertyId' => array( 
  724. 'location' => 'path',  
  725. 'type' => 'string',  
  726. 'required' => true,  
  727. ),  
  728. 'profileId' => array( 
  729. 'location' => 'path',  
  730. 'type' => 'string',  
  731. 'required' => true,  
  732. ),  
  733. 'experimentId' => array( 
  734. 'location' => 'path',  
  735. 'type' => 'string',  
  736. 'required' => true,  
  737. ),  
  738. ),  
  739. ),  
  740. ); 
  741. $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource( 
  742. $this,  
  743. $this->serviceName,  
  744. 'filters',  
  745. array( 
  746. 'methods' => array( 
  747. 'delete' => array( 
  748. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  749. 'httpMethod' => 'DELETE',  
  750. 'parameters' => array( 
  751. 'accountId' => array( 
  752. 'location' => 'path',  
  753. 'type' => 'string',  
  754. 'required' => true,  
  755. ),  
  756. 'filterId' => array( 
  757. 'location' => 'path',  
  758. 'type' => 'string',  
  759. 'required' => true,  
  760. ),  
  761. ),  
  762. ), 'get' => array( 
  763. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  764. 'httpMethod' => 'GET',  
  765. 'parameters' => array( 
  766. 'accountId' => array( 
  767. 'location' => 'path',  
  768. 'type' => 'string',  
  769. 'required' => true,  
  770. ),  
  771. 'filterId' => array( 
  772. 'location' => 'path',  
  773. 'type' => 'string',  
  774. 'required' => true,  
  775. ),  
  776. ),  
  777. ), 'insert' => array( 
  778. 'path' => 'management/accounts/{accountId}/filters',  
  779. 'httpMethod' => 'POST',  
  780. 'parameters' => array( 
  781. 'accountId' => array( 
  782. 'location' => 'path',  
  783. 'type' => 'string',  
  784. 'required' => true,  
  785. ),  
  786. ),  
  787. ), 'list' => array( 
  788. 'path' => 'management/accounts/{accountId}/filters',  
  789. 'httpMethod' => 'GET',  
  790. 'parameters' => array( 
  791. 'accountId' => array( 
  792. 'location' => 'path',  
  793. 'type' => 'string',  
  794. 'required' => true,  
  795. ),  
  796. 'max-results' => array( 
  797. 'location' => 'query',  
  798. 'type' => 'integer',  
  799. ),  
  800. 'start-index' => array( 
  801. 'location' => 'query',  
  802. 'type' => 'integer',  
  803. ),  
  804. ),  
  805. ), 'patch' => array( 
  806. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  807. 'httpMethod' => 'PATCH',  
  808. 'parameters' => array( 
  809. 'accountId' => array( 
  810. 'location' => 'path',  
  811. 'type' => 'string',  
  812. 'required' => true,  
  813. ),  
  814. 'filterId' => array( 
  815. 'location' => 'path',  
  816. 'type' => 'string',  
  817. 'required' => true,  
  818. ),  
  819. ),  
  820. ), 'update' => array( 
  821. 'path' => 'management/accounts/{accountId}/filters/{filterId}',  
  822. 'httpMethod' => 'PUT',  
  823. 'parameters' => array( 
  824. 'accountId' => array( 
  825. 'location' => 'path',  
  826. 'type' => 'string',  
  827. 'required' => true,  
  828. ),  
  829. 'filterId' => array( 
  830. 'location' => 'path',  
  831. 'type' => 'string',  
  832. 'required' => true,  
  833. ),  
  834. ),  
  835. ),  
  836. ); 
  837. $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource( 
  838. $this,  
  839. $this->serviceName,  
  840. 'goals',  
  841. array( 
  842. 'methods' => array( 
  843. 'get' => array( 
  844. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  845. 'httpMethod' => 'GET',  
  846. 'parameters' => array( 
  847. 'accountId' => array( 
  848. 'location' => 'path',  
  849. 'type' => 'string',  
  850. 'required' => true,  
  851. ),  
  852. 'webPropertyId' => array( 
  853. 'location' => 'path',  
  854. 'type' => 'string',  
  855. 'required' => true,  
  856. ),  
  857. 'profileId' => array( 
  858. 'location' => 'path',  
  859. 'type' => 'string',  
  860. 'required' => true,  
  861. ),  
  862. 'goalId' => array( 
  863. 'location' => 'path',  
  864. 'type' => 'string',  
  865. 'required' => true,  
  866. ),  
  867. ),  
  868. ), 'insert' => array( 
  869. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  870. 'httpMethod' => 'POST',  
  871. 'parameters' => array( 
  872. 'accountId' => array( 
  873. 'location' => 'path',  
  874. 'type' => 'string',  
  875. 'required' => true,  
  876. ),  
  877. 'webPropertyId' => array( 
  878. 'location' => 'path',  
  879. 'type' => 'string',  
  880. 'required' => true,  
  881. ),  
  882. 'profileId' => array( 
  883. 'location' => 'path',  
  884. 'type' => 'string',  
  885. 'required' => true,  
  886. ),  
  887. ),  
  888. ), 'list' => array( 
  889. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',  
  890. 'httpMethod' => 'GET',  
  891. 'parameters' => array( 
  892. 'accountId' => array( 
  893. 'location' => 'path',  
  894. 'type' => 'string',  
  895. 'required' => true,  
  896. ),  
  897. 'webPropertyId' => array( 
  898. 'location' => 'path',  
  899. 'type' => 'string',  
  900. 'required' => true,  
  901. ),  
  902. 'profileId' => array( 
  903. 'location' => 'path',  
  904. 'type' => 'string',  
  905. 'required' => true,  
  906. ),  
  907. 'max-results' => array( 
  908. 'location' => 'query',  
  909. 'type' => 'integer',  
  910. ),  
  911. 'start-index' => array( 
  912. 'location' => 'query',  
  913. 'type' => 'integer',  
  914. ),  
  915. ),  
  916. ), 'patch' => array( 
  917. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  918. 'httpMethod' => 'PATCH',  
  919. 'parameters' => array( 
  920. 'accountId' => array( 
  921. 'location' => 'path',  
  922. 'type' => 'string',  
  923. 'required' => true,  
  924. ),  
  925. 'webPropertyId' => array( 
  926. 'location' => 'path',  
  927. 'type' => 'string',  
  928. 'required' => true,  
  929. ),  
  930. 'profileId' => array( 
  931. 'location' => 'path',  
  932. 'type' => 'string',  
  933. 'required' => true,  
  934. ),  
  935. 'goalId' => array( 
  936. 'location' => 'path',  
  937. 'type' => 'string',  
  938. 'required' => true,  
  939. ),  
  940. ),  
  941. ), 'update' => array( 
  942. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',  
  943. 'httpMethod' => 'PUT',  
  944. 'parameters' => array( 
  945. 'accountId' => array( 
  946. 'location' => 'path',  
  947. 'type' => 'string',  
  948. 'required' => true,  
  949. ),  
  950. 'webPropertyId' => array( 
  951. 'location' => 'path',  
  952. 'type' => 'string',  
  953. 'required' => true,  
  954. ),  
  955. 'profileId' => array( 
  956. 'location' => 'path',  
  957. 'type' => 'string',  
  958. 'required' => true,  
  959. ),  
  960. 'goalId' => array( 
  961. 'location' => 'path',  
  962. 'type' => 'string',  
  963. 'required' => true,  
  964. ),  
  965. ),  
  966. ),  
  967. ); 
  968. $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource( 
  969. $this,  
  970. $this->serviceName,  
  971. 'profileFilterLinks',  
  972. array( 
  973. 'methods' => array( 
  974. 'delete' => array( 
  975. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  976. 'httpMethod' => 'DELETE',  
  977. 'parameters' => array( 
  978. 'accountId' => array( 
  979. 'location' => 'path',  
  980. 'type' => 'string',  
  981. 'required' => true,  
  982. ),  
  983. 'webPropertyId' => array( 
  984. 'location' => 'path',  
  985. 'type' => 'string',  
  986. 'required' => true,  
  987. ),  
  988. 'profileId' => array( 
  989. 'location' => 'path',  
  990. 'type' => 'string',  
  991. 'required' => true,  
  992. ),  
  993. 'linkId' => array( 
  994. 'location' => 'path',  
  995. 'type' => 'string',  
  996. 'required' => true,  
  997. ),  
  998. ),  
  999. ), 'get' => array( 
  1000. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1001. 'httpMethod' => 'GET',  
  1002. 'parameters' => array( 
  1003. 'accountId' => array( 
  1004. 'location' => 'path',  
  1005. 'type' => 'string',  
  1006. 'required' => true,  
  1007. ),  
  1008. 'webPropertyId' => array( 
  1009. 'location' => 'path',  
  1010. 'type' => 'string',  
  1011. 'required' => true,  
  1012. ),  
  1013. 'profileId' => array( 
  1014. 'location' => 'path',  
  1015. 'type' => 'string',  
  1016. 'required' => true,  
  1017. ),  
  1018. 'linkId' => array( 
  1019. 'location' => 'path',  
  1020. 'type' => 'string',  
  1021. 'required' => true,  
  1022. ),  
  1023. ),  
  1024. ), 'insert' => array( 
  1025. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1026. 'httpMethod' => 'POST',  
  1027. 'parameters' => array( 
  1028. 'accountId' => array( 
  1029. 'location' => 'path',  
  1030. 'type' => 'string',  
  1031. 'required' => true,  
  1032. ),  
  1033. 'webPropertyId' => array( 
  1034. 'location' => 'path',  
  1035. 'type' => 'string',  
  1036. 'required' => true,  
  1037. ),  
  1038. 'profileId' => array( 
  1039. 'location' => 'path',  
  1040. 'type' => 'string',  
  1041. 'required' => true,  
  1042. ),  
  1043. ),  
  1044. ), 'list' => array( 
  1045. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',  
  1046. 'httpMethod' => 'GET',  
  1047. 'parameters' => array( 
  1048. 'accountId' => array( 
  1049. 'location' => 'path',  
  1050. 'type' => 'string',  
  1051. 'required' => true,  
  1052. ),  
  1053. 'webPropertyId' => array( 
  1054. 'location' => 'path',  
  1055. 'type' => 'string',  
  1056. 'required' => true,  
  1057. ),  
  1058. 'profileId' => array( 
  1059. 'location' => 'path',  
  1060. 'type' => 'string',  
  1061. 'required' => true,  
  1062. ),  
  1063. 'max-results' => array( 
  1064. 'location' => 'query',  
  1065. 'type' => 'integer',  
  1066. ),  
  1067. 'start-index' => array( 
  1068. 'location' => 'query',  
  1069. 'type' => 'integer',  
  1070. ),  
  1071. ),  
  1072. ), 'patch' => array( 
  1073. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1074. 'httpMethod' => 'PATCH',  
  1075. 'parameters' => array( 
  1076. 'accountId' => array( 
  1077. 'location' => 'path',  
  1078. 'type' => 'string',  
  1079. 'required' => true,  
  1080. ),  
  1081. 'webPropertyId' => array( 
  1082. 'location' => 'path',  
  1083. 'type' => 'string',  
  1084. 'required' => true,  
  1085. ),  
  1086. 'profileId' => array( 
  1087. 'location' => 'path',  
  1088. 'type' => 'string',  
  1089. 'required' => true,  
  1090. ),  
  1091. 'linkId' => array( 
  1092. 'location' => 'path',  
  1093. 'type' => 'string',  
  1094. 'required' => true,  
  1095. ),  
  1096. ),  
  1097. ), 'update' => array( 
  1098. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',  
  1099. 'httpMethod' => 'PUT',  
  1100. 'parameters' => array( 
  1101. 'accountId' => array( 
  1102. 'location' => 'path',  
  1103. 'type' => 'string',  
  1104. 'required' => true,  
  1105. ),  
  1106. 'webPropertyId' => array( 
  1107. 'location' => 'path',  
  1108. 'type' => 'string',  
  1109. 'required' => true,  
  1110. ),  
  1111. 'profileId' => array( 
  1112. 'location' => 'path',  
  1113. 'type' => 'string',  
  1114. 'required' => true,  
  1115. ),  
  1116. 'linkId' => array( 
  1117. 'location' => 'path',  
  1118. 'type' => 'string',  
  1119. 'required' => true,  
  1120. ),  
  1121. ),  
  1122. ),  
  1123. ); 
  1124. $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource( 
  1125. $this,  
  1126. $this->serviceName,  
  1127. 'profileUserLinks',  
  1128. array( 
  1129. 'methods' => array( 
  1130. 'delete' => array( 
  1131. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1132. 'httpMethod' => 'DELETE',  
  1133. 'parameters' => array( 
  1134. 'accountId' => array( 
  1135. 'location' => 'path',  
  1136. 'type' => 'string',  
  1137. 'required' => true,  
  1138. ),  
  1139. 'webPropertyId' => array( 
  1140. 'location' => 'path',  
  1141. 'type' => 'string',  
  1142. 'required' => true,  
  1143. ),  
  1144. 'profileId' => array( 
  1145. 'location' => 'path',  
  1146. 'type' => 'string',  
  1147. 'required' => true,  
  1148. ),  
  1149. 'linkId' => array( 
  1150. 'location' => 'path',  
  1151. 'type' => 'string',  
  1152. 'required' => true,  
  1153. ),  
  1154. ),  
  1155. ), 'insert' => array( 
  1156. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1157. 'httpMethod' => 'POST',  
  1158. 'parameters' => array( 
  1159. 'accountId' => array( 
  1160. 'location' => 'path',  
  1161. 'type' => 'string',  
  1162. 'required' => true,  
  1163. ),  
  1164. 'webPropertyId' => array( 
  1165. 'location' => 'path',  
  1166. 'type' => 'string',  
  1167. 'required' => true,  
  1168. ),  
  1169. 'profileId' => array( 
  1170. 'location' => 'path',  
  1171. 'type' => 'string',  
  1172. 'required' => true,  
  1173. ),  
  1174. ),  
  1175. ), 'list' => array( 
  1176. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',  
  1177. 'httpMethod' => 'GET',  
  1178. 'parameters' => array( 
  1179. 'accountId' => array( 
  1180. 'location' => 'path',  
  1181. 'type' => 'string',  
  1182. 'required' => true,  
  1183. ),  
  1184. 'webPropertyId' => array( 
  1185. 'location' => 'path',  
  1186. 'type' => 'string',  
  1187. 'required' => true,  
  1188. ),  
  1189. 'profileId' => array( 
  1190. 'location' => 'path',  
  1191. 'type' => 'string',  
  1192. 'required' => true,  
  1193. ),  
  1194. 'max-results' => array( 
  1195. 'location' => 'query',  
  1196. 'type' => 'integer',  
  1197. ),  
  1198. 'start-index' => array( 
  1199. 'location' => 'query',  
  1200. 'type' => 'integer',  
  1201. ),  
  1202. ),  
  1203. ), 'update' => array( 
  1204. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',  
  1205. 'httpMethod' => 'PUT',  
  1206. 'parameters' => array( 
  1207. 'accountId' => array( 
  1208. 'location' => 'path',  
  1209. 'type' => 'string',  
  1210. 'required' => true,  
  1211. ),  
  1212. 'webPropertyId' => array( 
  1213. 'location' => 'path',  
  1214. 'type' => 'string',  
  1215. 'required' => true,  
  1216. ),  
  1217. 'profileId' => array( 
  1218. 'location' => 'path',  
  1219. 'type' => 'string',  
  1220. 'required' => true,  
  1221. ),  
  1222. 'linkId' => array( 
  1223. 'location' => 'path',  
  1224. 'type' => 'string',  
  1225. 'required' => true,  
  1226. ),  
  1227. ),  
  1228. ),  
  1229. ); 
  1230. $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource( 
  1231. $this,  
  1232. $this->serviceName,  
  1233. 'profiles',  
  1234. array( 
  1235. 'methods' => array( 
  1236. 'delete' => array( 
  1237. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1238. 'httpMethod' => 'DELETE',  
  1239. 'parameters' => array( 
  1240. 'accountId' => array( 
  1241. 'location' => 'path',  
  1242. 'type' => 'string',  
  1243. 'required' => true,  
  1244. ),  
  1245. 'webPropertyId' => array( 
  1246. 'location' => 'path',  
  1247. 'type' => 'string',  
  1248. 'required' => true,  
  1249. ),  
  1250. 'profileId' => array( 
  1251. 'location' => 'path',  
  1252. 'type' => 'string',  
  1253. 'required' => true,  
  1254. ),  
  1255. ),  
  1256. ), 'get' => array( 
  1257. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1258. 'httpMethod' => 'GET',  
  1259. 'parameters' => array( 
  1260. 'accountId' => array( 
  1261. 'location' => 'path',  
  1262. 'type' => 'string',  
  1263. 'required' => true,  
  1264. ),  
  1265. 'webPropertyId' => array( 
  1266. 'location' => 'path',  
  1267. 'type' => 'string',  
  1268. 'required' => true,  
  1269. ),  
  1270. 'profileId' => array( 
  1271. 'location' => 'path',  
  1272. 'type' => 'string',  
  1273. 'required' => true,  
  1274. ),  
  1275. ),  
  1276. ), 'insert' => array( 
  1277. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1278. 'httpMethod' => 'POST',  
  1279. 'parameters' => array( 
  1280. 'accountId' => array( 
  1281. 'location' => 'path',  
  1282. 'type' => 'string',  
  1283. 'required' => true,  
  1284. ),  
  1285. 'webPropertyId' => array( 
  1286. 'location' => 'path',  
  1287. 'type' => 'string',  
  1288. 'required' => true,  
  1289. ),  
  1290. ),  
  1291. ), 'list' => array( 
  1292. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',  
  1293. 'httpMethod' => 'GET',  
  1294. 'parameters' => array( 
  1295. 'accountId' => array( 
  1296. 'location' => 'path',  
  1297. 'type' => 'string',  
  1298. 'required' => true,  
  1299. ),  
  1300. 'webPropertyId' => array( 
  1301. 'location' => 'path',  
  1302. 'type' => 'string',  
  1303. 'required' => true,  
  1304. ),  
  1305. 'max-results' => array( 
  1306. 'location' => 'query',  
  1307. 'type' => 'integer',  
  1308. ),  
  1309. 'start-index' => array( 
  1310. 'location' => 'query',  
  1311. 'type' => 'integer',  
  1312. ),  
  1313. ),  
  1314. ), 'patch' => array( 
  1315. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1316. 'httpMethod' => 'PATCH',  
  1317. 'parameters' => array( 
  1318. 'accountId' => array( 
  1319. 'location' => 'path',  
  1320. 'type' => 'string',  
  1321. 'required' => true,  
  1322. ),  
  1323. 'webPropertyId' => array( 
  1324. 'location' => 'path',  
  1325. 'type' => 'string',  
  1326. 'required' => true,  
  1327. ),  
  1328. 'profileId' => array( 
  1329. 'location' => 'path',  
  1330. 'type' => 'string',  
  1331. 'required' => true,  
  1332. ),  
  1333. ),  
  1334. ), 'update' => array( 
  1335. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',  
  1336. 'httpMethod' => 'PUT',  
  1337. 'parameters' => array( 
  1338. 'accountId' => array( 
  1339. 'location' => 'path',  
  1340. 'type' => 'string',  
  1341. 'required' => true,  
  1342. ),  
  1343. 'webPropertyId' => array( 
  1344. 'location' => 'path',  
  1345. 'type' => 'string',  
  1346. 'required' => true,  
  1347. ),  
  1348. 'profileId' => array( 
  1349. 'location' => 'path',  
  1350. 'type' => 'string',  
  1351. 'required' => true,  
  1352. ),  
  1353. ),  
  1354. ),  
  1355. ); 
  1356. $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource( 
  1357. $this,  
  1358. $this->serviceName,  
  1359. 'segments',  
  1360. array( 
  1361. 'methods' => array( 
  1362. 'list' => array( 
  1363. 'path' => 'management/segments',  
  1364. 'httpMethod' => 'GET',  
  1365. 'parameters' => array( 
  1366. 'max-results' => array( 
  1367. 'location' => 'query',  
  1368. 'type' => 'integer',  
  1369. ),  
  1370. 'start-index' => array( 
  1371. 'location' => 'query',  
  1372. 'type' => 'integer',  
  1373. ),  
  1374. ),  
  1375. ),  
  1376. ); 
  1377. $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource( 
  1378. $this,  
  1379. $this->serviceName,  
  1380. 'unsampledReports',  
  1381. array( 
  1382. 'methods' => array( 
  1383. 'get' => array( 
  1384. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',  
  1385. 'httpMethod' => 'GET',  
  1386. 'parameters' => array( 
  1387. 'accountId' => array( 
  1388. 'location' => 'path',  
  1389. 'type' => 'string',  
  1390. 'required' => true,  
  1391. ),  
  1392. 'webPropertyId' => array( 
  1393. 'location' => 'path',  
  1394. 'type' => 'string',  
  1395. 'required' => true,  
  1396. ),  
  1397. 'profileId' => array( 
  1398. 'location' => 'path',  
  1399. 'type' => 'string',  
  1400. 'required' => true,  
  1401. ),  
  1402. 'unsampledReportId' => array( 
  1403. 'location' => 'path',  
  1404. 'type' => 'string',  
  1405. 'required' => true,  
  1406. ),  
  1407. ),  
  1408. ), 'insert' => array( 
  1409. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1410. 'httpMethod' => 'POST',  
  1411. 'parameters' => array( 
  1412. 'accountId' => array( 
  1413. 'location' => 'path',  
  1414. 'type' => 'string',  
  1415. 'required' => true,  
  1416. ),  
  1417. 'webPropertyId' => array( 
  1418. 'location' => 'path',  
  1419. 'type' => 'string',  
  1420. 'required' => true,  
  1421. ),  
  1422. 'profileId' => array( 
  1423. 'location' => 'path',  
  1424. 'type' => 'string',  
  1425. 'required' => true,  
  1426. ),  
  1427. ),  
  1428. ), 'list' => array( 
  1429. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',  
  1430. 'httpMethod' => 'GET',  
  1431. 'parameters' => array( 
  1432. 'accountId' => array( 
  1433. 'location' => 'path',  
  1434. 'type' => 'string',  
  1435. 'required' => true,  
  1436. ),  
  1437. 'webPropertyId' => array( 
  1438. 'location' => 'path',  
  1439. 'type' => 'string',  
  1440. 'required' => true,  
  1441. ),  
  1442. 'profileId' => array( 
  1443. 'location' => 'path',  
  1444. 'type' => 'string',  
  1445. 'required' => true,  
  1446. ),  
  1447. 'max-results' => array( 
  1448. 'location' => 'query',  
  1449. 'type' => 'integer',  
  1450. ),  
  1451. 'start-index' => array( 
  1452. 'location' => 'query',  
  1453. 'type' => 'integer',  
  1454. ),  
  1455. ),  
  1456. ),  
  1457. ); 
  1458. $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource( 
  1459. $this,  
  1460. $this->serviceName,  
  1461. 'uploads',  
  1462. array( 
  1463. 'methods' => array( 
  1464. 'deleteUploadData' => array( 
  1465. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',  
  1466. 'httpMethod' => 'POST',  
  1467. 'parameters' => array( 
  1468. 'accountId' => array( 
  1469. 'location' => 'path',  
  1470. 'type' => 'string',  
  1471. 'required' => true,  
  1472. ),  
  1473. 'webPropertyId' => array( 
  1474. 'location' => 'path',  
  1475. 'type' => 'string',  
  1476. 'required' => true,  
  1477. ),  
  1478. 'customDataSourceId' => array( 
  1479. 'location' => 'path',  
  1480. 'type' => 'string',  
  1481. 'required' => true,  
  1482. ),  
  1483. ),  
  1484. ), 'get' => array( 
  1485. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',  
  1486. 'httpMethod' => 'GET',  
  1487. 'parameters' => array( 
  1488. 'accountId' => array( 
  1489. 'location' => 'path',  
  1490. 'type' => 'string',  
  1491. 'required' => true,  
  1492. ),  
  1493. 'webPropertyId' => array( 
  1494. 'location' => 'path',  
  1495. 'type' => 'string',  
  1496. 'required' => true,  
  1497. ),  
  1498. 'customDataSourceId' => array( 
  1499. 'location' => 'path',  
  1500. 'type' => 'string',  
  1501. 'required' => true,  
  1502. ),  
  1503. 'uploadId' => array( 
  1504. 'location' => 'path',  
  1505. 'type' => 'string',  
  1506. 'required' => true,  
  1507. ),  
  1508. ),  
  1509. ), 'list' => array( 
  1510. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1511. 'httpMethod' => 'GET',  
  1512. 'parameters' => array( 
  1513. 'accountId' => array( 
  1514. 'location' => 'path',  
  1515. 'type' => 'string',  
  1516. 'required' => true,  
  1517. ),  
  1518. 'webPropertyId' => array( 
  1519. 'location' => 'path',  
  1520. 'type' => 'string',  
  1521. 'required' => true,  
  1522. ),  
  1523. 'customDataSourceId' => array( 
  1524. 'location' => 'path',  
  1525. 'type' => 'string',  
  1526. 'required' => true,  
  1527. ),  
  1528. 'max-results' => array( 
  1529. 'location' => 'query',  
  1530. 'type' => 'integer',  
  1531. ),  
  1532. 'start-index' => array( 
  1533. 'location' => 'query',  
  1534. 'type' => 'integer',  
  1535. ),  
  1536. ),  
  1537. ), 'uploadData' => array( 
  1538. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',  
  1539. 'httpMethod' => 'POST',  
  1540. 'parameters' => array( 
  1541. 'accountId' => array( 
  1542. 'location' => 'path',  
  1543. 'type' => 'string',  
  1544. 'required' => true,  
  1545. ),  
  1546. 'webPropertyId' => array( 
  1547. 'location' => 'path',  
  1548. 'type' => 'string',  
  1549. 'required' => true,  
  1550. ),  
  1551. 'customDataSourceId' => array( 
  1552. 'location' => 'path',  
  1553. 'type' => 'string',  
  1554. 'required' => true,  
  1555. ),  
  1556. ),  
  1557. ),  
  1558. ); 
  1559. $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource( 
  1560. $this,  
  1561. $this->serviceName,  
  1562. 'webPropertyAdWordsLinks',  
  1563. array( 
  1564. 'methods' => array( 
  1565. 'delete' => array( 
  1566. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1567. 'httpMethod' => 'DELETE',  
  1568. 'parameters' => array( 
  1569. 'accountId' => array( 
  1570. 'location' => 'path',  
  1571. 'type' => 'string',  
  1572. 'required' => true,  
  1573. ),  
  1574. 'webPropertyId' => array( 
  1575. 'location' => 'path',  
  1576. 'type' => 'string',  
  1577. 'required' => true,  
  1578. ),  
  1579. 'webPropertyAdWordsLinkId' => array( 
  1580. 'location' => 'path',  
  1581. 'type' => 'string',  
  1582. 'required' => true,  
  1583. ),  
  1584. ),  
  1585. ), 'get' => array( 
  1586. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1587. 'httpMethod' => 'GET',  
  1588. 'parameters' => array( 
  1589. 'accountId' => array( 
  1590. 'location' => 'path',  
  1591. 'type' => 'string',  
  1592. 'required' => true,  
  1593. ),  
  1594. 'webPropertyId' => array( 
  1595. 'location' => 'path',  
  1596. 'type' => 'string',  
  1597. 'required' => true,  
  1598. ),  
  1599. 'webPropertyAdWordsLinkId' => array( 
  1600. 'location' => 'path',  
  1601. 'type' => 'string',  
  1602. 'required' => true,  
  1603. ),  
  1604. ),  
  1605. ), 'insert' => array( 
  1606. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1607. 'httpMethod' => 'POST',  
  1608. 'parameters' => array( 
  1609. 'accountId' => array( 
  1610. 'location' => 'path',  
  1611. 'type' => 'string',  
  1612. 'required' => true,  
  1613. ),  
  1614. 'webPropertyId' => array( 
  1615. 'location' => 'path',  
  1616. 'type' => 'string',  
  1617. 'required' => true,  
  1618. ),  
  1619. ),  
  1620. ), 'list' => array( 
  1621. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',  
  1622. 'httpMethod' => 'GET',  
  1623. 'parameters' => array( 
  1624. 'accountId' => array( 
  1625. 'location' => 'path',  
  1626. 'type' => 'string',  
  1627. 'required' => true,  
  1628. ),  
  1629. 'webPropertyId' => array( 
  1630. 'location' => 'path',  
  1631. 'type' => 'string',  
  1632. 'required' => true,  
  1633. ),  
  1634. 'max-results' => array( 
  1635. 'location' => 'query',  
  1636. 'type' => 'integer',  
  1637. ),  
  1638. 'start-index' => array( 
  1639. 'location' => 'query',  
  1640. 'type' => 'integer',  
  1641. ),  
  1642. ),  
  1643. ), 'patch' => array( 
  1644. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1645. 'httpMethod' => 'PATCH',  
  1646. 'parameters' => array( 
  1647. 'accountId' => array( 
  1648. 'location' => 'path',  
  1649. 'type' => 'string',  
  1650. 'required' => true,  
  1651. ),  
  1652. 'webPropertyId' => array( 
  1653. 'location' => 'path',  
  1654. 'type' => 'string',  
  1655. 'required' => true,  
  1656. ),  
  1657. 'webPropertyAdWordsLinkId' => array( 
  1658. 'location' => 'path',  
  1659. 'type' => 'string',  
  1660. 'required' => true,  
  1661. ),  
  1662. ),  
  1663. ), 'update' => array( 
  1664. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',  
  1665. 'httpMethod' => 'PUT',  
  1666. 'parameters' => array( 
  1667. 'accountId' => array( 
  1668. 'location' => 'path',  
  1669. 'type' => 'string',  
  1670. 'required' => true,  
  1671. ),  
  1672. 'webPropertyId' => array( 
  1673. 'location' => 'path',  
  1674. 'type' => 'string',  
  1675. 'required' => true,  
  1676. ),  
  1677. 'webPropertyAdWordsLinkId' => array( 
  1678. 'location' => 'path',  
  1679. 'type' => 'string',  
  1680. 'required' => true,  
  1681. ),  
  1682. ),  
  1683. ),  
  1684. ); 
  1685. $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource( 
  1686. $this,  
  1687. $this->serviceName,  
  1688. 'webproperties',  
  1689. array( 
  1690. 'methods' => array( 
  1691. 'get' => array( 
  1692. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1693. 'httpMethod' => 'GET',  
  1694. 'parameters' => array( 
  1695. 'accountId' => array( 
  1696. 'location' => 'path',  
  1697. 'type' => 'string',  
  1698. 'required' => true,  
  1699. ),  
  1700. 'webPropertyId' => array( 
  1701. 'location' => 'path',  
  1702. 'type' => 'string',  
  1703. 'required' => true,  
  1704. ),  
  1705. ),  
  1706. ), 'insert' => array( 
  1707. 'path' => 'management/accounts/{accountId}/webproperties',  
  1708. 'httpMethod' => 'POST',  
  1709. 'parameters' => array( 
  1710. 'accountId' => array( 
  1711. 'location' => 'path',  
  1712. 'type' => 'string',  
  1713. 'required' => true,  
  1714. ),  
  1715. ),  
  1716. ), 'list' => array( 
  1717. 'path' => 'management/accounts/{accountId}/webproperties',  
  1718. 'httpMethod' => 'GET',  
  1719. 'parameters' => array( 
  1720. 'accountId' => array( 
  1721. 'location' => 'path',  
  1722. 'type' => 'string',  
  1723. 'required' => true,  
  1724. ),  
  1725. 'max-results' => array( 
  1726. 'location' => 'query',  
  1727. 'type' => 'integer',  
  1728. ),  
  1729. 'start-index' => array( 
  1730. 'location' => 'query',  
  1731. 'type' => 'integer',  
  1732. ),  
  1733. ),  
  1734. ), 'patch' => array( 
  1735. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1736. 'httpMethod' => 'PATCH',  
  1737. 'parameters' => array( 
  1738. 'accountId' => array( 
  1739. 'location' => 'path',  
  1740. 'type' => 'string',  
  1741. 'required' => true,  
  1742. ),  
  1743. 'webPropertyId' => array( 
  1744. 'location' => 'path',  
  1745. 'type' => 'string',  
  1746. 'required' => true,  
  1747. ),  
  1748. ),  
  1749. ), 'update' => array( 
  1750. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',  
  1751. 'httpMethod' => 'PUT',  
  1752. 'parameters' => array( 
  1753. 'accountId' => array( 
  1754. 'location' => 'path',  
  1755. 'type' => 'string',  
  1756. 'required' => true,  
  1757. ),  
  1758. 'webPropertyId' => array( 
  1759. 'location' => 'path',  
  1760. 'type' => 'string',  
  1761. 'required' => true,  
  1762. ),  
  1763. ),  
  1764. ),  
  1765. ); 
  1766. $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource( 
  1767. $this,  
  1768. $this->serviceName,  
  1769. 'webpropertyUserLinks',  
  1770. array( 
  1771. 'methods' => array( 
  1772. 'delete' => array( 
  1773. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1774. 'httpMethod' => 'DELETE',  
  1775. 'parameters' => array( 
  1776. 'accountId' => array( 
  1777. 'location' => 'path',  
  1778. 'type' => 'string',  
  1779. 'required' => true,  
  1780. ),  
  1781. 'webPropertyId' => array( 
  1782. 'location' => 'path',  
  1783. 'type' => 'string',  
  1784. 'required' => true,  
  1785. ),  
  1786. 'linkId' => array( 
  1787. 'location' => 'path',  
  1788. 'type' => 'string',  
  1789. 'required' => true,  
  1790. ),  
  1791. ),  
  1792. ), 'insert' => array( 
  1793. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1794. 'httpMethod' => 'POST',  
  1795. 'parameters' => array( 
  1796. 'accountId' => array( 
  1797. 'location' => 'path',  
  1798. 'type' => 'string',  
  1799. 'required' => true,  
  1800. ),  
  1801. 'webPropertyId' => array( 
  1802. 'location' => 'path',  
  1803. 'type' => 'string',  
  1804. 'required' => true,  
  1805. ),  
  1806. ),  
  1807. ), 'list' => array( 
  1808. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',  
  1809. 'httpMethod' => 'GET',  
  1810. 'parameters' => array( 
  1811. 'accountId' => array( 
  1812. 'location' => 'path',  
  1813. 'type' => 'string',  
  1814. 'required' => true,  
  1815. ),  
  1816. 'webPropertyId' => array( 
  1817. 'location' => 'path',  
  1818. 'type' => 'string',  
  1819. 'required' => true,  
  1820. ),  
  1821. 'max-results' => array( 
  1822. 'location' => 'query',  
  1823. 'type' => 'integer',  
  1824. ),  
  1825. 'start-index' => array( 
  1826. 'location' => 'query',  
  1827. 'type' => 'integer',  
  1828. ),  
  1829. ),  
  1830. ), 'update' => array( 
  1831. 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',  
  1832. 'httpMethod' => 'PUT',  
  1833. 'parameters' => array( 
  1834. 'accountId' => array( 
  1835. 'location' => 'path',  
  1836. 'type' => 'string',  
  1837. 'required' => true,  
  1838. ),  
  1839. 'webPropertyId' => array( 
  1840. 'location' => 'path',  
  1841. 'type' => 'string',  
  1842. 'required' => true,  
  1843. ),  
  1844. 'linkId' => array( 
  1845. 'location' => 'path',  
  1846. 'type' => 'string',  
  1847. 'required' => true,  
  1848. ),  
  1849. ),  
  1850. ),  
  1851. ); 
  1852. $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource( 
  1853. $this,  
  1854. $this->serviceName,  
  1855. 'columns',  
  1856. array( 
  1857. 'methods' => array( 
  1858. 'list' => array( 
  1859. 'path' => 'metadata/{reportType}/columns',  
  1860. 'httpMethod' => 'GET',  
  1861. 'parameters' => array( 
  1862. 'reportType' => array( 
  1863. 'location' => 'path',  
  1864. 'type' => 'string',  
  1865. 'required' => true,  
  1866. ),  
  1867. ),  
  1868. ),  
  1869. ); 
  1870. $this->provisioning = new Google_Service_Analytics_Provisioning_Resource( 
  1871. $this,  
  1872. $this->serviceName,  
  1873. 'provisioning',  
  1874. array( 
  1875. 'methods' => array( 
  1876. 'createAccountTicket' => array( 
  1877. 'path' => 'provisioning/createAccountTicket',  
  1878. 'httpMethod' => 'POST',  
  1879. 'parameters' => array(),  
  1880. ),  
  1881. );