GoogleGAL_Service_Analytics

Service definition for Analytics (v3).

Defined (1)

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

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