MonsterInsights_GA_Lib_Service_TagManager

Service definition for TagManager (v1).

Defined (1)

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

/assets/lib/google/src/Google/Service/TagManager.php  
  1. class MonsterInsights_GA_Lib_Service_TagManager extends MonsterInsights_GA_Lib_Service 
  2. /** Delete your Google Tag Manager containers. */ 
  3. const TAGMANAGER_DELETE_CONTAINERS = 
  4. "https://www.googleapis.com/auth/tagmanager.delete.containers"; 
  5. /** Manage your Google Tag Manager containers. */ 
  6. const TAGMANAGER_EDIT_CONTAINERS = 
  7. "https://www.googleapis.com/auth/tagmanager.edit.containers"; 
  8. /** Manage your Google Tag Manager container versions. */ 
  9. const TAGMANAGER_EDIT_CONTAINERVERSIONS = 
  10. "https://www.googleapis.com/auth/tagmanager.edit.containerversions"; 
  11. /** Manage your Google Tag Manager accounts. */ 
  12. const TAGMANAGER_MANAGE_ACCOUNTS = 
  13. "https://www.googleapis.com/auth/tagmanager.manage.accounts"; 
  14. /** Manage user permissions of your Google Tag Manager data. */ 
  15. const TAGMANAGER_MANAGE_USERS = 
  16. "https://www.googleapis.com/auth/tagmanager.manage.users"; 
  17. /** Publish your Google Tag Manager containers. */ 
  18. const TAGMANAGER_PUBLISH = 
  19. "https://www.googleapis.com/auth/tagmanager.publish"; 
  20. /** View your Google Tag Manager containers. */ 
  21. const TAGMANAGER_READONLY = 
  22. "https://www.googleapis.com/auth/tagmanager.readonly"; 
  23.  
  24. public $accounts; 
  25. public $accounts_containers; 
  26. public $accounts_containers_folders; 
  27. public $accounts_containers_folders_entities; 
  28. public $accounts_containers_move_folders; 
  29. public $accounts_containers_tags; 
  30. public $accounts_containers_triggers; 
  31. public $accounts_containers_variables; 
  32. public $accounts_containers_versions; 
  33. public $accounts_permissions; 
  34.  
  35.  
  36. /** 
  37. * Constructs the internal representation of the TagManager service. 
  38. * @param MonsterInsights_GA_Lib_Client $client 
  39. */ 
  40. public function __construct(MonsterInsights_GA_Lib_Client $client) 
  41. parent::__construct($client); 
  42. $this->rootUrl = 'https://www.googleapis.com/'; 
  43. $this->servicePath = 'tagmanager/v1/'; 
  44. $this->version = 'v1'; 
  45. $this->serviceName = 'tagmanager'; 
  46.  
  47. $this->accounts = new MonsterInsights_GA_Lib_Service_TagManager_Accounts_Resource( 
  48. $this,  
  49. $this->serviceName,  
  50. 'accounts',  
  51. array( 
  52. 'methods' => array( 
  53. 'get' => array( 
  54. 'path' => 'accounts/{accountId}',  
  55. 'httpMethod' => 'GET',  
  56. 'parameters' => array( 
  57. 'accountId' => array( 
  58. 'location' => 'path',  
  59. 'type' => 'string',  
  60. 'required' => true,  
  61. ),  
  62. ),  
  63. ), 'list' => array( 
  64. 'path' => 'accounts',  
  65. 'httpMethod' => 'GET',  
  66. 'parameters' => array(),  
  67. ), 'update' => array( 
  68. 'path' => 'accounts/{accountId}',  
  69. 'httpMethod' => 'PUT',  
  70. 'parameters' => array( 
  71. 'accountId' => array( 
  72. 'location' => 'path',  
  73. 'type' => 'string',  
  74. 'required' => true,  
  75. ),  
  76. 'fingerprint' => array( 
  77. 'location' => 'query',  
  78. 'type' => 'string',  
  79. ),  
  80. ),  
  81. ),  
  82. ); 
  83. $this->accounts_containers = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainers_Resource( 
  84. $this,  
  85. $this->serviceName,  
  86. 'containers',  
  87. array( 
  88. 'methods' => array( 
  89. 'create' => array( 
  90. 'path' => 'accounts/{accountId}/containers',  
  91. 'httpMethod' => 'POST',  
  92. 'parameters' => array( 
  93. 'accountId' => array( 
  94. 'location' => 'path',  
  95. 'type' => 'string',  
  96. 'required' => true,  
  97. ),  
  98. ),  
  99. ), 'delete' => array( 
  100. 'path' => 'accounts/{accountId}/containers/{containerId}',  
  101. 'httpMethod' => 'DELETE',  
  102. 'parameters' => array( 
  103. 'accountId' => array( 
  104. 'location' => 'path',  
  105. 'type' => 'string',  
  106. 'required' => true,  
  107. ),  
  108. 'containerId' => array( 
  109. 'location' => 'path',  
  110. 'type' => 'string',  
  111. 'required' => true,  
  112. ),  
  113. ),  
  114. ), 'get' => array( 
  115. 'path' => 'accounts/{accountId}/containers/{containerId}',  
  116. 'httpMethod' => 'GET',  
  117. 'parameters' => array( 
  118. 'accountId' => array( 
  119. 'location' => 'path',  
  120. 'type' => 'string',  
  121. 'required' => true,  
  122. ),  
  123. 'containerId' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. ),  
  129. ), 'list' => array( 
  130. 'path' => 'accounts/{accountId}/containers',  
  131. 'httpMethod' => 'GET',  
  132. 'parameters' => array( 
  133. 'accountId' => array( 
  134. 'location' => 'path',  
  135. 'type' => 'string',  
  136. 'required' => true,  
  137. ),  
  138. ),  
  139. ), 'update' => array( 
  140. 'path' => 'accounts/{accountId}/containers/{containerId}',  
  141. 'httpMethod' => 'PUT',  
  142. 'parameters' => array( 
  143. 'accountId' => array( 
  144. 'location' => 'path',  
  145. 'type' => 'string',  
  146. 'required' => true,  
  147. ),  
  148. 'containerId' => array( 
  149. 'location' => 'path',  
  150. 'type' => 'string',  
  151. 'required' => true,  
  152. ),  
  153. 'fingerprint' => array( 
  154. 'location' => 'query',  
  155. 'type' => 'string',  
  156. ),  
  157. ),  
  158. ),  
  159. ); 
  160. $this->accounts_containers_folders = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersFolders_Resource( 
  161. $this,  
  162. $this->serviceName,  
  163. 'folders',  
  164. array( 
  165. 'methods' => array( 
  166. 'create' => array( 
  167. 'path' => 'accounts/{accountId}/containers/{containerId}/folders',  
  168. 'httpMethod' => 'POST',  
  169. 'parameters' => array( 
  170. 'accountId' => array( 
  171. 'location' => 'path',  
  172. 'type' => 'string',  
  173. 'required' => true,  
  174. ),  
  175. 'containerId' => array( 
  176. 'location' => 'path',  
  177. 'type' => 'string',  
  178. 'required' => true,  
  179. ),  
  180. ),  
  181. ), 'delete' => array( 
  182. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',  
  183. 'httpMethod' => 'DELETE',  
  184. 'parameters' => array( 
  185. 'accountId' => array( 
  186. 'location' => 'path',  
  187. 'type' => 'string',  
  188. 'required' => true,  
  189. ),  
  190. 'containerId' => array( 
  191. 'location' => 'path',  
  192. 'type' => 'string',  
  193. 'required' => true,  
  194. ),  
  195. 'folderId' => array( 
  196. 'location' => 'path',  
  197. 'type' => 'string',  
  198. 'required' => true,  
  199. ),  
  200. ),  
  201. ), 'get' => array( 
  202. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',  
  203. 'httpMethod' => 'GET',  
  204. 'parameters' => array( 
  205. 'accountId' => array( 
  206. 'location' => 'path',  
  207. 'type' => 'string',  
  208. 'required' => true,  
  209. ),  
  210. 'containerId' => array( 
  211. 'location' => 'path',  
  212. 'type' => 'string',  
  213. 'required' => true,  
  214. ),  
  215. 'folderId' => array( 
  216. 'location' => 'path',  
  217. 'type' => 'string',  
  218. 'required' => true,  
  219. ),  
  220. ),  
  221. ), 'list' => array( 
  222. 'path' => 'accounts/{accountId}/containers/{containerId}/folders',  
  223. 'httpMethod' => 'GET',  
  224. 'parameters' => array( 
  225. 'accountId' => array( 
  226. 'location' => 'path',  
  227. 'type' => 'string',  
  228. 'required' => true,  
  229. ),  
  230. 'containerId' => array( 
  231. 'location' => 'path',  
  232. 'type' => 'string',  
  233. 'required' => true,  
  234. ),  
  235. ),  
  236. ), 'update' => array( 
  237. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',  
  238. 'httpMethod' => 'PUT',  
  239. 'parameters' => array( 
  240. 'accountId' => array( 
  241. 'location' => 'path',  
  242. 'type' => 'string',  
  243. 'required' => true,  
  244. ),  
  245. 'containerId' => array( 
  246. 'location' => 'path',  
  247. 'type' => 'string',  
  248. 'required' => true,  
  249. ),  
  250. 'folderId' => array( 
  251. 'location' => 'path',  
  252. 'type' => 'string',  
  253. 'required' => true,  
  254. ),  
  255. 'fingerprint' => array( 
  256. 'location' => 'query',  
  257. 'type' => 'string',  
  258. ),  
  259. ),  
  260. ),  
  261. ); 
  262. $this->accounts_containers_folders_entities = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersFoldersEntities_Resource( 
  263. $this,  
  264. $this->serviceName,  
  265. 'entities',  
  266. array( 
  267. 'methods' => array( 
  268. 'list' => array( 
  269. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities',  
  270. 'httpMethod' => 'GET',  
  271. 'parameters' => array( 
  272. 'accountId' => array( 
  273. 'location' => 'path',  
  274. 'type' => 'string',  
  275. 'required' => true,  
  276. ),  
  277. 'containerId' => array( 
  278. 'location' => 'path',  
  279. 'type' => 'string',  
  280. 'required' => true,  
  281. ),  
  282. 'folderId' => array( 
  283. 'location' => 'path',  
  284. 'type' => 'string',  
  285. 'required' => true,  
  286. ),  
  287. ),  
  288. ),  
  289. ); 
  290. $this->accounts_containers_move_folders = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersMoveFolders_Resource( 
  291. $this,  
  292. $this->serviceName,  
  293. 'move_folders',  
  294. array( 
  295. 'methods' => array( 
  296. 'update' => array( 
  297. 'path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}',  
  298. 'httpMethod' => 'PUT',  
  299. 'parameters' => array( 
  300. 'accountId' => array( 
  301. 'location' => 'path',  
  302. 'type' => 'string',  
  303. 'required' => true,  
  304. ),  
  305. 'containerId' => array( 
  306. 'location' => 'path',  
  307. 'type' => 'string',  
  308. 'required' => true,  
  309. ),  
  310. 'folderId' => array( 
  311. 'location' => 'path',  
  312. 'type' => 'string',  
  313. 'required' => true,  
  314. ),  
  315. 'tagId' => array( 
  316. 'location' => 'query',  
  317. 'type' => 'string',  
  318. 'repeated' => true,  
  319. ),  
  320. 'triggerId' => array( 
  321. 'location' => 'query',  
  322. 'type' => 'string',  
  323. 'repeated' => true,  
  324. ),  
  325. 'variableId' => array( 
  326. 'location' => 'query',  
  327. 'type' => 'string',  
  328. 'repeated' => true,  
  329. ),  
  330. ),  
  331. ),  
  332. ); 
  333. $this->accounts_containers_tags = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersTags_Resource( 
  334. $this,  
  335. $this->serviceName,  
  336. 'tags',  
  337. array( 
  338. 'methods' => array( 
  339. 'create' => array( 
  340. 'path' => 'accounts/{accountId}/containers/{containerId}/tags',  
  341. 'httpMethod' => 'POST',  
  342. 'parameters' => array( 
  343. 'accountId' => array( 
  344. 'location' => 'path',  
  345. 'type' => 'string',  
  346. 'required' => true,  
  347. ),  
  348. 'containerId' => array( 
  349. 'location' => 'path',  
  350. 'type' => 'string',  
  351. 'required' => true,  
  352. ),  
  353. ),  
  354. ), 'delete' => array( 
  355. 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',  
  356. 'httpMethod' => 'DELETE',  
  357. 'parameters' => array( 
  358. 'accountId' => array( 
  359. 'location' => 'path',  
  360. 'type' => 'string',  
  361. 'required' => true,  
  362. ),  
  363. 'containerId' => array( 
  364. 'location' => 'path',  
  365. 'type' => 'string',  
  366. 'required' => true,  
  367. ),  
  368. 'tagId' => array( 
  369. 'location' => 'path',  
  370. 'type' => 'string',  
  371. 'required' => true,  
  372. ),  
  373. ),  
  374. ), 'get' => array( 
  375. 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',  
  376. 'httpMethod' => 'GET',  
  377. 'parameters' => array( 
  378. 'accountId' => array( 
  379. 'location' => 'path',  
  380. 'type' => 'string',  
  381. 'required' => true,  
  382. ),  
  383. 'containerId' => array( 
  384. 'location' => 'path',  
  385. 'type' => 'string',  
  386. 'required' => true,  
  387. ),  
  388. 'tagId' => array( 
  389. 'location' => 'path',  
  390. 'type' => 'string',  
  391. 'required' => true,  
  392. ),  
  393. ),  
  394. ), 'list' => array( 
  395. 'path' => 'accounts/{accountId}/containers/{containerId}/tags',  
  396. 'httpMethod' => 'GET',  
  397. 'parameters' => array( 
  398. 'accountId' => array( 
  399. 'location' => 'path',  
  400. 'type' => 'string',  
  401. 'required' => true,  
  402. ),  
  403. 'containerId' => array( 
  404. 'location' => 'path',  
  405. 'type' => 'string',  
  406. 'required' => true,  
  407. ),  
  408. ),  
  409. ), 'update' => array( 
  410. 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',  
  411. 'httpMethod' => 'PUT',  
  412. 'parameters' => array( 
  413. 'accountId' => array( 
  414. 'location' => 'path',  
  415. 'type' => 'string',  
  416. 'required' => true,  
  417. ),  
  418. 'containerId' => array( 
  419. 'location' => 'path',  
  420. 'type' => 'string',  
  421. 'required' => true,  
  422. ),  
  423. 'tagId' => array( 
  424. 'location' => 'path',  
  425. 'type' => 'string',  
  426. 'required' => true,  
  427. ),  
  428. 'fingerprint' => array( 
  429. 'location' => 'query',  
  430. 'type' => 'string',  
  431. ),  
  432. ),  
  433. ),  
  434. ); 
  435. $this->accounts_containers_triggers = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersTriggers_Resource( 
  436. $this,  
  437. $this->serviceName,  
  438. 'triggers',  
  439. array( 
  440. 'methods' => array( 
  441. 'create' => array( 
  442. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers',  
  443. 'httpMethod' => 'POST',  
  444. 'parameters' => array( 
  445. 'accountId' => array( 
  446. 'location' => 'path',  
  447. 'type' => 'string',  
  448. 'required' => true,  
  449. ),  
  450. 'containerId' => array( 
  451. 'location' => 'path',  
  452. 'type' => 'string',  
  453. 'required' => true,  
  454. ),  
  455. ),  
  456. ), 'delete' => array( 
  457. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',  
  458. 'httpMethod' => 'DELETE',  
  459. 'parameters' => array( 
  460. 'accountId' => array( 
  461. 'location' => 'path',  
  462. 'type' => 'string',  
  463. 'required' => true,  
  464. ),  
  465. 'containerId' => array( 
  466. 'location' => 'path',  
  467. 'type' => 'string',  
  468. 'required' => true,  
  469. ),  
  470. 'triggerId' => array( 
  471. 'location' => 'path',  
  472. 'type' => 'string',  
  473. 'required' => true,  
  474. ),  
  475. ),  
  476. ), 'get' => array( 
  477. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',  
  478. 'httpMethod' => 'GET',  
  479. 'parameters' => array( 
  480. 'accountId' => array( 
  481. 'location' => 'path',  
  482. 'type' => 'string',  
  483. 'required' => true,  
  484. ),  
  485. 'containerId' => array( 
  486. 'location' => 'path',  
  487. 'type' => 'string',  
  488. 'required' => true,  
  489. ),  
  490. 'triggerId' => array( 
  491. 'location' => 'path',  
  492. 'type' => 'string',  
  493. 'required' => true,  
  494. ),  
  495. ),  
  496. ), 'list' => array( 
  497. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers',  
  498. 'httpMethod' => 'GET',  
  499. 'parameters' => array( 
  500. 'accountId' => array( 
  501. 'location' => 'path',  
  502. 'type' => 'string',  
  503. 'required' => true,  
  504. ),  
  505. 'containerId' => array( 
  506. 'location' => 'path',  
  507. 'type' => 'string',  
  508. 'required' => true,  
  509. ),  
  510. ),  
  511. ), 'update' => array( 
  512. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',  
  513. 'httpMethod' => 'PUT',  
  514. 'parameters' => array( 
  515. 'accountId' => array( 
  516. 'location' => 'path',  
  517. 'type' => 'string',  
  518. 'required' => true,  
  519. ),  
  520. 'containerId' => array( 
  521. 'location' => 'path',  
  522. 'type' => 'string',  
  523. 'required' => true,  
  524. ),  
  525. 'triggerId' => array( 
  526. 'location' => 'path',  
  527. 'type' => 'string',  
  528. 'required' => true,  
  529. ),  
  530. 'fingerprint' => array( 
  531. 'location' => 'query',  
  532. 'type' => 'string',  
  533. ),  
  534. ),  
  535. ),  
  536. ); 
  537. $this->accounts_containers_variables = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersVariables_Resource( 
  538. $this,  
  539. $this->serviceName,  
  540. 'variables',  
  541. array( 
  542. 'methods' => array( 
  543. 'create' => array( 
  544. 'path' => 'accounts/{accountId}/containers/{containerId}/variables',  
  545. 'httpMethod' => 'POST',  
  546. 'parameters' => array( 
  547. 'accountId' => array( 
  548. 'location' => 'path',  
  549. 'type' => 'string',  
  550. 'required' => true,  
  551. ),  
  552. 'containerId' => array( 
  553. 'location' => 'path',  
  554. 'type' => 'string',  
  555. 'required' => true,  
  556. ),  
  557. ),  
  558. ), 'delete' => array( 
  559. 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',  
  560. 'httpMethod' => 'DELETE',  
  561. 'parameters' => array( 
  562. 'accountId' => array( 
  563. 'location' => 'path',  
  564. 'type' => 'string',  
  565. 'required' => true,  
  566. ),  
  567. 'containerId' => array( 
  568. 'location' => 'path',  
  569. 'type' => 'string',  
  570. 'required' => true,  
  571. ),  
  572. 'variableId' => array( 
  573. 'location' => 'path',  
  574. 'type' => 'string',  
  575. 'required' => true,  
  576. ),  
  577. ),  
  578. ), 'get' => array( 
  579. 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',  
  580. 'httpMethod' => 'GET',  
  581. 'parameters' => array( 
  582. 'accountId' => array( 
  583. 'location' => 'path',  
  584. 'type' => 'string',  
  585. 'required' => true,  
  586. ),  
  587. 'containerId' => array( 
  588. 'location' => 'path',  
  589. 'type' => 'string',  
  590. 'required' => true,  
  591. ),  
  592. 'variableId' => array( 
  593. 'location' => 'path',  
  594. 'type' => 'string',  
  595. 'required' => true,  
  596. ),  
  597. ),  
  598. ), 'list' => array( 
  599. 'path' => 'accounts/{accountId}/containers/{containerId}/variables',  
  600. 'httpMethod' => 'GET',  
  601. 'parameters' => array( 
  602. 'accountId' => array( 
  603. 'location' => 'path',  
  604. 'type' => 'string',  
  605. 'required' => true,  
  606. ),  
  607. 'containerId' => array( 
  608. 'location' => 'path',  
  609. 'type' => 'string',  
  610. 'required' => true,  
  611. ),  
  612. ),  
  613. ), 'update' => array( 
  614. 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',  
  615. 'httpMethod' => 'PUT',  
  616. 'parameters' => array( 
  617. 'accountId' => array( 
  618. 'location' => 'path',  
  619. 'type' => 'string',  
  620. 'required' => true,  
  621. ),  
  622. 'containerId' => array( 
  623. 'location' => 'path',  
  624. 'type' => 'string',  
  625. 'required' => true,  
  626. ),  
  627. 'variableId' => array( 
  628. 'location' => 'path',  
  629. 'type' => 'string',  
  630. 'required' => true,  
  631. ),  
  632. 'fingerprint' => array( 
  633. 'location' => 'query',  
  634. 'type' => 'string',  
  635. ),  
  636. ),  
  637. ),  
  638. ); 
  639. $this->accounts_containers_versions = new MonsterInsights_GA_Lib_Service_TagManager_AccountsContainersVersions_Resource( 
  640. $this,  
  641. $this->serviceName,  
  642. 'versions',  
  643. array( 
  644. 'methods' => array( 
  645. 'create' => array( 
  646. 'path' => 'accounts/{accountId}/containers/{containerId}/versions',  
  647. 'httpMethod' => 'POST',  
  648. 'parameters' => array( 
  649. 'accountId' => array( 
  650. 'location' => 'path',  
  651. 'type' => 'string',  
  652. 'required' => true,  
  653. ),  
  654. 'containerId' => array( 
  655. 'location' => 'path',  
  656. 'type' => 'string',  
  657. 'required' => true,  
  658. ),  
  659. ),  
  660. ), 'delete' => array( 
  661. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',  
  662. 'httpMethod' => 'DELETE',  
  663. 'parameters' => array( 
  664. 'accountId' => array( 
  665. 'location' => 'path',  
  666. 'type' => 'string',  
  667. 'required' => true,  
  668. ),  
  669. 'containerId' => array( 
  670. 'location' => 'path',  
  671. 'type' => 'string',  
  672. 'required' => true,  
  673. ),  
  674. 'containerVersionId' => array( 
  675. 'location' => 'path',  
  676. 'type' => 'string',  
  677. 'required' => true,  
  678. ),  
  679. ),  
  680. ), 'get' => array( 
  681. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',  
  682. 'httpMethod' => 'GET',  
  683. 'parameters' => array( 
  684. 'accountId' => array( 
  685. 'location' => 'path',  
  686. 'type' => 'string',  
  687. 'required' => true,  
  688. ),  
  689. 'containerId' => array( 
  690. 'location' => 'path',  
  691. 'type' => 'string',  
  692. 'required' => true,  
  693. ),  
  694. 'containerVersionId' => array( 
  695. 'location' => 'path',  
  696. 'type' => 'string',  
  697. 'required' => true,  
  698. ),  
  699. ),  
  700. ), 'list' => array( 
  701. 'path' => 'accounts/{accountId}/containers/{containerId}/versions',  
  702. 'httpMethod' => 'GET',  
  703. 'parameters' => array( 
  704. 'accountId' => array( 
  705. 'location' => 'path',  
  706. 'type' => 'string',  
  707. 'required' => true,  
  708. ),  
  709. 'containerId' => array( 
  710. 'location' => 'path',  
  711. 'type' => 'string',  
  712. 'required' => true,  
  713. ),  
  714. 'headers' => array( 
  715. 'location' => 'query',  
  716. 'type' => 'boolean',  
  717. ),  
  718. 'includeDeleted' => array( 
  719. 'location' => 'query',  
  720. 'type' => 'boolean',  
  721. ),  
  722. ),  
  723. ), 'publish' => array( 
  724. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish',  
  725. 'httpMethod' => 'POST',  
  726. 'parameters' => array( 
  727. 'accountId' => array( 
  728. 'location' => 'path',  
  729. 'type' => 'string',  
  730. 'required' => true,  
  731. ),  
  732. 'containerId' => array( 
  733. 'location' => 'path',  
  734. 'type' => 'string',  
  735. 'required' => true,  
  736. ),  
  737. 'containerVersionId' => array( 
  738. 'location' => 'path',  
  739. 'type' => 'string',  
  740. 'required' => true,  
  741. ),  
  742. 'fingerprint' => array( 
  743. 'location' => 'query',  
  744. 'type' => 'string',  
  745. ),  
  746. ),  
  747. ), 'restore' => array( 
  748. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore',  
  749. 'httpMethod' => 'POST',  
  750. 'parameters' => array( 
  751. 'accountId' => array( 
  752. 'location' => 'path',  
  753. 'type' => 'string',  
  754. 'required' => true,  
  755. ),  
  756. 'containerId' => array( 
  757. 'location' => 'path',  
  758. 'type' => 'string',  
  759. 'required' => true,  
  760. ),  
  761. 'containerVersionId' => array( 
  762. 'location' => 'path',  
  763. 'type' => 'string',  
  764. 'required' => true,  
  765. ),  
  766. ),  
  767. ), 'undelete' => array( 
  768. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete',  
  769. 'httpMethod' => 'POST',  
  770. 'parameters' => array( 
  771. 'accountId' => array( 
  772. 'location' => 'path',  
  773. 'type' => 'string',  
  774. 'required' => true,  
  775. ),  
  776. 'containerId' => array( 
  777. 'location' => 'path',  
  778. 'type' => 'string',  
  779. 'required' => true,  
  780. ),  
  781. 'containerVersionId' => array( 
  782. 'location' => 'path',  
  783. 'type' => 'string',  
  784. 'required' => true,  
  785. ),  
  786. ),  
  787. ), 'update' => array( 
  788. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',  
  789. 'httpMethod' => 'PUT',  
  790. 'parameters' => array( 
  791. 'accountId' => array( 
  792. 'location' => 'path',  
  793. 'type' => 'string',  
  794. 'required' => true,  
  795. ),  
  796. 'containerId' => array( 
  797. 'location' => 'path',  
  798. 'type' => 'string',  
  799. 'required' => true,  
  800. ),  
  801. 'containerVersionId' => array( 
  802. 'location' => 'path',  
  803. 'type' => 'string',  
  804. 'required' => true,  
  805. ),  
  806. 'fingerprint' => array( 
  807. 'location' => 'query',  
  808. 'type' => 'string',  
  809. ),  
  810. ),  
  811. ),  
  812. ); 
  813. $this->accounts_permissions = new MonsterInsights_GA_Lib_Service_TagManager_AccountsPermissions_Resource( 
  814. $this,  
  815. $this->serviceName,  
  816. 'permissions',  
  817. array( 
  818. 'methods' => array( 
  819. 'create' => array( 
  820. 'path' => 'accounts/{accountId}/permissions',  
  821. 'httpMethod' => 'POST',  
  822. 'parameters' => array( 
  823. 'accountId' => array( 
  824. 'location' => 'path',  
  825. 'type' => 'string',  
  826. 'required' => true,  
  827. ),  
  828. ),  
  829. ), 'delete' => array( 
  830. 'path' => 'accounts/{accountId}/permissions/{permissionId}',  
  831. 'httpMethod' => 'DELETE',  
  832. 'parameters' => array( 
  833. 'accountId' => array( 
  834. 'location' => 'path',  
  835. 'type' => 'string',  
  836. 'required' => true,  
  837. ),  
  838. 'permissionId' => array( 
  839. 'location' => 'path',  
  840. 'type' => 'string',  
  841. 'required' => true,  
  842. ),  
  843. ),  
  844. ), 'get' => array( 
  845. 'path' => 'accounts/{accountId}/permissions/{permissionId}',  
  846. 'httpMethod' => 'GET',  
  847. 'parameters' => array( 
  848. 'accountId' => array( 
  849. 'location' => 'path',  
  850. 'type' => 'string',  
  851. 'required' => true,  
  852. ),  
  853. 'permissionId' => array( 
  854. 'location' => 'path',  
  855. 'type' => 'string',  
  856. 'required' => true,  
  857. ),  
  858. ),  
  859. ), 'list' => array( 
  860. 'path' => 'accounts/{accountId}/permissions',  
  861. 'httpMethod' => 'GET',  
  862. 'parameters' => array( 
  863. 'accountId' => array( 
  864. 'location' => 'path',  
  865. 'type' => 'string',  
  866. 'required' => true,  
  867. ),  
  868. ),  
  869. ), 'update' => array( 
  870. 'path' => 'accounts/{accountId}/permissions/{permissionId}',  
  871. 'httpMethod' => 'PUT',  
  872. 'parameters' => array( 
  873. 'accountId' => array( 
  874. 'location' => 'path',  
  875. 'type' => 'string',  
  876. 'required' => true,  
  877. ),  
  878. 'permissionId' => array( 
  879. 'location' => 'path',  
  880. 'type' => 'string',  
  881. 'required' => true,  
  882. ),  
  883. ),  
  884. ),  
  885. );