Google_Service_Analytics

Service definition for Analytics (v3).

Defined (1)

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

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