Google_Service_Analytics

Service definition for Analytics (v3).

Defined (1)

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

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