Bez popisu

TagManager.php 35KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. /**
  18. * Service definition for TagManager (v2).
  19. *
  20. * <p>
  21. * Accesses Tag Manager accounts and containers.</p>
  22. *
  23. * <p>
  24. * For more information about this service, see the API
  25. * <a href="https://developers.google.com/tag-manager/api/v2/" target="_blank">Documentation</a>
  26. * </p>
  27. *
  28. * @author Google, Inc.
  29. */
  30. class Google_Service_TagManager extends Google_Service
  31. {
  32. /** Delete your Google Tag Manager containers. */
  33. const TAGMANAGER_DELETE_CONTAINERS =
  34. "https://www.googleapis.com/auth/tagmanager.delete.containers";
  35. /** Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing. */
  36. const TAGMANAGER_EDIT_CONTAINERS =
  37. "https://www.googleapis.com/auth/tagmanager.edit.containers";
  38. /** Manage your Google Tag Manager container versions. */
  39. const TAGMANAGER_EDIT_CONTAINERVERSIONS =
  40. "https://www.googleapis.com/auth/tagmanager.edit.containerversions";
  41. /** View and manage your Google Tag Manager accounts. */
  42. const TAGMANAGER_MANAGE_ACCOUNTS =
  43. "https://www.googleapis.com/auth/tagmanager.manage.accounts";
  44. /** Manage user permissions of your Google Tag Manager account and container. */
  45. const TAGMANAGER_MANAGE_USERS =
  46. "https://www.googleapis.com/auth/tagmanager.manage.users";
  47. /** Publish your Google Tag Manager container versions. */
  48. const TAGMANAGER_PUBLISH =
  49. "https://www.googleapis.com/auth/tagmanager.publish";
  50. /** View your Google Tag Manager container and its subcomponents. */
  51. const TAGMANAGER_READONLY =
  52. "https://www.googleapis.com/auth/tagmanager.readonly";
  53. public $accounts;
  54. public $accounts_containers;
  55. public $accounts_containers_environments;
  56. public $accounts_containers_version_headers;
  57. public $accounts_containers_versions;
  58. public $accounts_containers_workspaces;
  59. public $accounts_containers_workspaces_built_in_variables;
  60. public $accounts_containers_workspaces_folders;
  61. public $accounts_containers_workspaces_proposal;
  62. public $accounts_containers_workspaces_tags;
  63. public $accounts_containers_workspaces_triggers;
  64. public $accounts_containers_workspaces_variables;
  65. public $accounts_user_permissions;
  66. /**
  67. * Constructs the internal representation of the TagManager service.
  68. *
  69. * @param Google_Client $client
  70. */
  71. public function __construct(Google_Client $client)
  72. {
  73. parent::__construct($client);
  74. $this->rootUrl = 'https://www.googleapis.com/';
  75. $this->servicePath = 'tagmanager/v2/';
  76. $this->version = 'v2';
  77. $this->serviceName = 'tagmanager';
  78. $this->accounts = new Google_Service_TagManager_Resource_Accounts(
  79. $this,
  80. $this->serviceName,
  81. 'accounts',
  82. array(
  83. 'methods' => array(
  84. 'get' => array(
  85. 'path' => '{+path}',
  86. 'httpMethod' => 'GET',
  87. 'parameters' => array(
  88. 'path' => array(
  89. 'location' => 'path',
  90. 'type' => 'string',
  91. 'required' => true,
  92. ),
  93. ),
  94. ),'list' => array(
  95. 'path' => 'accounts',
  96. 'httpMethod' => 'GET',
  97. 'parameters' => array(
  98. 'pageToken' => array(
  99. 'location' => 'query',
  100. 'type' => 'string',
  101. ),
  102. ),
  103. ),'update' => array(
  104. 'path' => '{+path}',
  105. 'httpMethod' => 'PUT',
  106. 'parameters' => array(
  107. 'path' => array(
  108. 'location' => 'path',
  109. 'type' => 'string',
  110. 'required' => true,
  111. ),
  112. 'fingerprint' => array(
  113. 'location' => 'query',
  114. 'type' => 'string',
  115. ),
  116. ),
  117. ),
  118. )
  119. )
  120. );
  121. $this->accounts_containers = new Google_Service_TagManager_Resource_AccountsContainers(
  122. $this,
  123. $this->serviceName,
  124. 'containers',
  125. array(
  126. 'methods' => array(
  127. 'create' => array(
  128. 'path' => '{+parent}/containers',
  129. 'httpMethod' => 'POST',
  130. 'parameters' => array(
  131. 'parent' => array(
  132. 'location' => 'path',
  133. 'type' => 'string',
  134. 'required' => true,
  135. ),
  136. ),
  137. ),'delete' => array(
  138. 'path' => '{+path}',
  139. 'httpMethod' => 'DELETE',
  140. 'parameters' => array(
  141. 'path' => array(
  142. 'location' => 'path',
  143. 'type' => 'string',
  144. 'required' => true,
  145. ),
  146. ),
  147. ),'get' => array(
  148. 'path' => '{+path}',
  149. 'httpMethod' => 'GET',
  150. 'parameters' => array(
  151. 'path' => array(
  152. 'location' => 'path',
  153. 'type' => 'string',
  154. 'required' => true,
  155. ),
  156. ),
  157. ),'list' => array(
  158. 'path' => '{+parent}/containers',
  159. 'httpMethod' => 'GET',
  160. 'parameters' => array(
  161. 'parent' => array(
  162. 'location' => 'path',
  163. 'type' => 'string',
  164. 'required' => true,
  165. ),
  166. 'pageToken' => array(
  167. 'location' => 'query',
  168. 'type' => 'string',
  169. ),
  170. ),
  171. ),'update' => array(
  172. 'path' => '{+path}',
  173. 'httpMethod' => 'PUT',
  174. 'parameters' => array(
  175. 'path' => array(
  176. 'location' => 'path',
  177. 'type' => 'string',
  178. 'required' => true,
  179. ),
  180. 'fingerprint' => array(
  181. 'location' => 'query',
  182. 'type' => 'string',
  183. ),
  184. ),
  185. ),
  186. )
  187. )
  188. );
  189. $this->accounts_containers_environments = new Google_Service_TagManager_Resource_AccountsContainersEnvironments(
  190. $this,
  191. $this->serviceName,
  192. 'environments',
  193. array(
  194. 'methods' => array(
  195. 'create' => array(
  196. 'path' => '{+parent}/environments',
  197. 'httpMethod' => 'POST',
  198. 'parameters' => array(
  199. 'parent' => array(
  200. 'location' => 'path',
  201. 'type' => 'string',
  202. 'required' => true,
  203. ),
  204. ),
  205. ),'delete' => array(
  206. 'path' => '{+path}',
  207. 'httpMethod' => 'DELETE',
  208. 'parameters' => array(
  209. 'path' => array(
  210. 'location' => 'path',
  211. 'type' => 'string',
  212. 'required' => true,
  213. ),
  214. ),
  215. ),'get' => array(
  216. 'path' => '{+path}',
  217. 'httpMethod' => 'GET',
  218. 'parameters' => array(
  219. 'path' => array(
  220. 'location' => 'path',
  221. 'type' => 'string',
  222. 'required' => true,
  223. ),
  224. ),
  225. ),'list' => array(
  226. 'path' => '{+parent}/environments',
  227. 'httpMethod' => 'GET',
  228. 'parameters' => array(
  229. 'parent' => array(
  230. 'location' => 'path',
  231. 'type' => 'string',
  232. 'required' => true,
  233. ),
  234. 'pageToken' => array(
  235. 'location' => 'query',
  236. 'type' => 'string',
  237. ),
  238. ),
  239. ),'patch' => array(
  240. 'path' => '{+path}',
  241. 'httpMethod' => 'PATCH',
  242. 'parameters' => array(
  243. 'path' => array(
  244. 'location' => 'path',
  245. 'type' => 'string',
  246. 'required' => true,
  247. ),
  248. 'fingerprint' => array(
  249. 'location' => 'query',
  250. 'type' => 'string',
  251. ),
  252. ),
  253. ),'reauthorize' => array(
  254. 'path' => '{+path}:reauthorize',
  255. 'httpMethod' => 'POST',
  256. 'parameters' => array(
  257. 'path' => array(
  258. 'location' => 'path',
  259. 'type' => 'string',
  260. 'required' => true,
  261. ),
  262. ),
  263. ),'update' => array(
  264. 'path' => '{+path}',
  265. 'httpMethod' => 'PUT',
  266. 'parameters' => array(
  267. 'path' => array(
  268. 'location' => 'path',
  269. 'type' => 'string',
  270. 'required' => true,
  271. ),
  272. 'fingerprint' => array(
  273. 'location' => 'query',
  274. 'type' => 'string',
  275. ),
  276. ),
  277. ),
  278. )
  279. )
  280. );
  281. $this->accounts_containers_version_headers = new Google_Service_TagManager_Resource_AccountsContainersVersionHeaders(
  282. $this,
  283. $this->serviceName,
  284. 'version_headers',
  285. array(
  286. 'methods' => array(
  287. 'latest' => array(
  288. 'path' => '{+parent}/version_headers:latest',
  289. 'httpMethod' => 'GET',
  290. 'parameters' => array(
  291. 'parent' => array(
  292. 'location' => 'path',
  293. 'type' => 'string',
  294. 'required' => true,
  295. ),
  296. ),
  297. ),'list' => array(
  298. 'path' => '{+parent}/version_headers',
  299. 'httpMethod' => 'GET',
  300. 'parameters' => array(
  301. 'parent' => array(
  302. 'location' => 'path',
  303. 'type' => 'string',
  304. 'required' => true,
  305. ),
  306. 'includeDeleted' => array(
  307. 'location' => 'query',
  308. 'type' => 'boolean',
  309. ),
  310. 'pageToken' => array(
  311. 'location' => 'query',
  312. 'type' => 'string',
  313. ),
  314. ),
  315. ),
  316. )
  317. )
  318. );
  319. $this->accounts_containers_versions = new Google_Service_TagManager_Resource_AccountsContainersVersions(
  320. $this,
  321. $this->serviceName,
  322. 'versions',
  323. array(
  324. 'methods' => array(
  325. 'delete' => array(
  326. 'path' => '{+path}',
  327. 'httpMethod' => 'DELETE',
  328. 'parameters' => array(
  329. 'path' => array(
  330. 'location' => 'path',
  331. 'type' => 'string',
  332. 'required' => true,
  333. ),
  334. ),
  335. ),'get' => array(
  336. 'path' => '{+path}',
  337. 'httpMethod' => 'GET',
  338. 'parameters' => array(
  339. 'path' => array(
  340. 'location' => 'path',
  341. 'type' => 'string',
  342. 'required' => true,
  343. ),
  344. 'containerVersionId' => array(
  345. 'location' => 'query',
  346. 'type' => 'string',
  347. ),
  348. ),
  349. ),'live' => array(
  350. 'path' => '{+parent}/versions:live',
  351. 'httpMethod' => 'GET',
  352. 'parameters' => array(
  353. 'parent' => array(
  354. 'location' => 'path',
  355. 'type' => 'string',
  356. 'required' => true,
  357. ),
  358. ),
  359. ),'publish' => array(
  360. 'path' => '{+path}:publish',
  361. 'httpMethod' => 'POST',
  362. 'parameters' => array(
  363. 'path' => array(
  364. 'location' => 'path',
  365. 'type' => 'string',
  366. 'required' => true,
  367. ),
  368. 'fingerprint' => array(
  369. 'location' => 'query',
  370. 'type' => 'string',
  371. ),
  372. ),
  373. ),'set_latest' => array(
  374. 'path' => '{+path}:set_latest',
  375. 'httpMethod' => 'POST',
  376. 'parameters' => array(
  377. 'path' => array(
  378. 'location' => 'path',
  379. 'type' => 'string',
  380. 'required' => true,
  381. ),
  382. ),
  383. ),'undelete' => array(
  384. 'path' => '{+path}:undelete',
  385. 'httpMethod' => 'POST',
  386. 'parameters' => array(
  387. 'path' => array(
  388. 'location' => 'path',
  389. 'type' => 'string',
  390. 'required' => true,
  391. ),
  392. ),
  393. ),'update' => array(
  394. 'path' => '{+path}',
  395. 'httpMethod' => 'PUT',
  396. 'parameters' => array(
  397. 'path' => array(
  398. 'location' => 'path',
  399. 'type' => 'string',
  400. 'required' => true,
  401. ),
  402. 'fingerprint' => array(
  403. 'location' => 'query',
  404. 'type' => 'string',
  405. ),
  406. ),
  407. ),
  408. )
  409. )
  410. );
  411. $this->accounts_containers_workspaces = new Google_Service_TagManager_Resource_AccountsContainersWorkspaces(
  412. $this,
  413. $this->serviceName,
  414. 'workspaces',
  415. array(
  416. 'methods' => array(
  417. 'create' => array(
  418. 'path' => '{+parent}/workspaces',
  419. 'httpMethod' => 'POST',
  420. 'parameters' => array(
  421. 'parent' => array(
  422. 'location' => 'path',
  423. 'type' => 'string',
  424. 'required' => true,
  425. ),
  426. ),
  427. ),'create_version' => array(
  428. 'path' => '{+path}:create_version',
  429. 'httpMethod' => 'POST',
  430. 'parameters' => array(
  431. 'path' => array(
  432. 'location' => 'path',
  433. 'type' => 'string',
  434. 'required' => true,
  435. ),
  436. ),
  437. ),'delete' => array(
  438. 'path' => '{+path}',
  439. 'httpMethod' => 'DELETE',
  440. 'parameters' => array(
  441. 'path' => array(
  442. 'location' => 'path',
  443. 'type' => 'string',
  444. 'required' => true,
  445. ),
  446. ),
  447. ),'get' => array(
  448. 'path' => '{+path}',
  449. 'httpMethod' => 'GET',
  450. 'parameters' => array(
  451. 'path' => array(
  452. 'location' => 'path',
  453. 'type' => 'string',
  454. 'required' => true,
  455. ),
  456. ),
  457. ),'getProposal' => array(
  458. 'path' => '{+path}',
  459. 'httpMethod' => 'GET',
  460. 'parameters' => array(
  461. 'path' => array(
  462. 'location' => 'path',
  463. 'type' => 'string',
  464. 'required' => true,
  465. ),
  466. ),
  467. ),'getStatus' => array(
  468. 'path' => '{+path}/status',
  469. 'httpMethod' => 'GET',
  470. 'parameters' => array(
  471. 'path' => array(
  472. 'location' => 'path',
  473. 'type' => 'string',
  474. 'required' => true,
  475. ),
  476. ),
  477. ),'list' => array(
  478. 'path' => '{+parent}/workspaces',
  479. 'httpMethod' => 'GET',
  480. 'parameters' => array(
  481. 'parent' => array(
  482. 'location' => 'path',
  483. 'type' => 'string',
  484. 'required' => true,
  485. ),
  486. 'pageToken' => array(
  487. 'location' => 'query',
  488. 'type' => 'string',
  489. ),
  490. ),
  491. ),'quick_preview' => array(
  492. 'path' => '{+path}:quick_preview',
  493. 'httpMethod' => 'POST',
  494. 'parameters' => array(
  495. 'path' => array(
  496. 'location' => 'path',
  497. 'type' => 'string',
  498. 'required' => true,
  499. ),
  500. ),
  501. ),'resolve_conflict' => array(
  502. 'path' => '{+path}:resolve_conflict',
  503. 'httpMethod' => 'POST',
  504. 'parameters' => array(
  505. 'path' => array(
  506. 'location' => 'path',
  507. 'type' => 'string',
  508. 'required' => true,
  509. ),
  510. 'fingerprint' => array(
  511. 'location' => 'query',
  512. 'type' => 'string',
  513. ),
  514. ),
  515. ),'sync' => array(
  516. 'path' => '{+path}:sync',
  517. 'httpMethod' => 'POST',
  518. 'parameters' => array(
  519. 'path' => array(
  520. 'location' => 'path',
  521. 'type' => 'string',
  522. 'required' => true,
  523. ),
  524. ),
  525. ),'update' => array(
  526. 'path' => '{+path}',
  527. 'httpMethod' => 'PUT',
  528. 'parameters' => array(
  529. 'path' => array(
  530. 'location' => 'path',
  531. 'type' => 'string',
  532. 'required' => true,
  533. ),
  534. 'fingerprint' => array(
  535. 'location' => 'query',
  536. 'type' => 'string',
  537. ),
  538. ),
  539. ),'updateProposal' => array(
  540. 'path' => '{+path}',
  541. 'httpMethod' => 'PUT',
  542. 'parameters' => array(
  543. 'path' => array(
  544. 'location' => 'path',
  545. 'type' => 'string',
  546. 'required' => true,
  547. ),
  548. ),
  549. ),
  550. )
  551. )
  552. );
  553. $this->accounts_containers_workspaces_built_in_variables = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesBuiltInVariables(
  554. $this,
  555. $this->serviceName,
  556. 'built_in_variables',
  557. array(
  558. 'methods' => array(
  559. 'create' => array(
  560. 'path' => '{+parent}/built_in_variables',
  561. 'httpMethod' => 'POST',
  562. 'parameters' => array(
  563. 'parent' => array(
  564. 'location' => 'path',
  565. 'type' => 'string',
  566. 'required' => true,
  567. ),
  568. 'type' => array(
  569. 'location' => 'query',
  570. 'type' => 'string',
  571. 'repeated' => true,
  572. ),
  573. ),
  574. ),'delete' => array(
  575. 'path' => '{+path}',
  576. 'httpMethod' => 'DELETE',
  577. 'parameters' => array(
  578. 'path' => array(
  579. 'location' => 'path',
  580. 'type' => 'string',
  581. 'required' => true,
  582. ),
  583. 'type' => array(
  584. 'location' => 'query',
  585. 'type' => 'string',
  586. 'repeated' => true,
  587. ),
  588. ),
  589. ),'list' => array(
  590. 'path' => '{+parent}/built_in_variables',
  591. 'httpMethod' => 'GET',
  592. 'parameters' => array(
  593. 'parent' => array(
  594. 'location' => 'path',
  595. 'type' => 'string',
  596. 'required' => true,
  597. ),
  598. 'pageToken' => array(
  599. 'location' => 'query',
  600. 'type' => 'string',
  601. ),
  602. ),
  603. ),'revert' => array(
  604. 'path' => '{+path}/built_in_variables:revert',
  605. 'httpMethod' => 'POST',
  606. 'parameters' => array(
  607. 'path' => array(
  608. 'location' => 'path',
  609. 'type' => 'string',
  610. 'required' => true,
  611. ),
  612. 'type' => array(
  613. 'location' => 'query',
  614. 'type' => 'string',
  615. ),
  616. ),
  617. ),
  618. )
  619. )
  620. );
  621. $this->accounts_containers_workspaces_folders = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesFolders(
  622. $this,
  623. $this->serviceName,
  624. 'folders',
  625. array(
  626. 'methods' => array(
  627. 'create' => array(
  628. 'path' => '{+parent}/folders',
  629. 'httpMethod' => 'POST',
  630. 'parameters' => array(
  631. 'parent' => array(
  632. 'location' => 'path',
  633. 'type' => 'string',
  634. 'required' => true,
  635. ),
  636. ),
  637. ),'delete' => array(
  638. 'path' => '{+path}',
  639. 'httpMethod' => 'DELETE',
  640. 'parameters' => array(
  641. 'path' => array(
  642. 'location' => 'path',
  643. 'type' => 'string',
  644. 'required' => true,
  645. ),
  646. ),
  647. ),'entities' => array(
  648. 'path' => '{+path}:entities',
  649. 'httpMethod' => 'POST',
  650. 'parameters' => array(
  651. 'path' => array(
  652. 'location' => 'path',
  653. 'type' => 'string',
  654. 'required' => true,
  655. ),
  656. 'pageToken' => array(
  657. 'location' => 'query',
  658. 'type' => 'string',
  659. ),
  660. ),
  661. ),'get' => array(
  662. 'path' => '{+path}',
  663. 'httpMethod' => 'GET',
  664. 'parameters' => array(
  665. 'path' => array(
  666. 'location' => 'path',
  667. 'type' => 'string',
  668. 'required' => true,
  669. ),
  670. ),
  671. ),'list' => array(
  672. 'path' => '{+parent}/folders',
  673. 'httpMethod' => 'GET',
  674. 'parameters' => array(
  675. 'parent' => array(
  676. 'location' => 'path',
  677. 'type' => 'string',
  678. 'required' => true,
  679. ),
  680. 'pageToken' => array(
  681. 'location' => 'query',
  682. 'type' => 'string',
  683. ),
  684. ),
  685. ),'move_entities_to_folder' => array(
  686. 'path' => '{+path}:move_entities_to_folder',
  687. 'httpMethod' => 'POST',
  688. 'parameters' => array(
  689. 'path' => array(
  690. 'location' => 'path',
  691. 'type' => 'string',
  692. 'required' => true,
  693. ),
  694. 'tagId' => array(
  695. 'location' => 'query',
  696. 'type' => 'string',
  697. 'repeated' => true,
  698. ),
  699. 'triggerId' => array(
  700. 'location' => 'query',
  701. 'type' => 'string',
  702. 'repeated' => true,
  703. ),
  704. 'variableId' => array(
  705. 'location' => 'query',
  706. 'type' => 'string',
  707. 'repeated' => true,
  708. ),
  709. ),
  710. ),'revert' => array(
  711. 'path' => '{+path}:revert',
  712. 'httpMethod' => 'POST',
  713. 'parameters' => array(
  714. 'path' => array(
  715. 'location' => 'path',
  716. 'type' => 'string',
  717. 'required' => true,
  718. ),
  719. 'fingerprint' => array(
  720. 'location' => 'query',
  721. 'type' => 'string',
  722. ),
  723. ),
  724. ),'update' => array(
  725. 'path' => '{+path}',
  726. 'httpMethod' => 'PUT',
  727. 'parameters' => array(
  728. 'path' => array(
  729. 'location' => 'path',
  730. 'type' => 'string',
  731. 'required' => true,
  732. ),
  733. 'fingerprint' => array(
  734. 'location' => 'query',
  735. 'type' => 'string',
  736. ),
  737. ),
  738. ),
  739. )
  740. )
  741. );
  742. $this->accounts_containers_workspaces_proposal = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesProposal(
  743. $this,
  744. $this->serviceName,
  745. 'proposal',
  746. array(
  747. 'methods' => array(
  748. 'create' => array(
  749. 'path' => '{+parent}/proposal',
  750. 'httpMethod' => 'POST',
  751. 'parameters' => array(
  752. 'parent' => array(
  753. 'location' => 'path',
  754. 'type' => 'string',
  755. 'required' => true,
  756. ),
  757. ),
  758. ),'delete' => array(
  759. 'path' => '{+path}',
  760. 'httpMethod' => 'DELETE',
  761. 'parameters' => array(
  762. 'path' => array(
  763. 'location' => 'path',
  764. 'type' => 'string',
  765. 'required' => true,
  766. ),
  767. ),
  768. ),
  769. )
  770. )
  771. );
  772. $this->accounts_containers_workspaces_tags = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesTags(
  773. $this,
  774. $this->serviceName,
  775. 'tags',
  776. array(
  777. 'methods' => array(
  778. 'create' => array(
  779. 'path' => '{+parent}/tags',
  780. 'httpMethod' => 'POST',
  781. 'parameters' => array(
  782. 'parent' => array(
  783. 'location' => 'path',
  784. 'type' => 'string',
  785. 'required' => true,
  786. ),
  787. ),
  788. ),'delete' => array(
  789. 'path' => '{+path}',
  790. 'httpMethod' => 'DELETE',
  791. 'parameters' => array(
  792. 'path' => array(
  793. 'location' => 'path',
  794. 'type' => 'string',
  795. 'required' => true,
  796. ),
  797. ),
  798. ),'get' => array(
  799. 'path' => '{+path}',
  800. 'httpMethod' => 'GET',
  801. 'parameters' => array(
  802. 'path' => array(
  803. 'location' => 'path',
  804. 'type' => 'string',
  805. 'required' => true,
  806. ),
  807. ),
  808. ),'list' => array(
  809. 'path' => '{+parent}/tags',
  810. 'httpMethod' => 'GET',
  811. 'parameters' => array(
  812. 'parent' => array(
  813. 'location' => 'path',
  814. 'type' => 'string',
  815. 'required' => true,
  816. ),
  817. 'pageToken' => array(
  818. 'location' => 'query',
  819. 'type' => 'string',
  820. ),
  821. ),
  822. ),'revert' => array(
  823. 'path' => '{+path}:revert',
  824. 'httpMethod' => 'POST',
  825. 'parameters' => array(
  826. 'path' => array(
  827. 'location' => 'path',
  828. 'type' => 'string',
  829. 'required' => true,
  830. ),
  831. 'fingerprint' => array(
  832. 'location' => 'query',
  833. 'type' => 'string',
  834. ),
  835. ),
  836. ),'update' => array(
  837. 'path' => '{+path}',
  838. 'httpMethod' => 'PUT',
  839. 'parameters' => array(
  840. 'path' => array(
  841. 'location' => 'path',
  842. 'type' => 'string',
  843. 'required' => true,
  844. ),
  845. 'fingerprint' => array(
  846. 'location' => 'query',
  847. 'type' => 'string',
  848. ),
  849. ),
  850. ),
  851. )
  852. )
  853. );
  854. $this->accounts_containers_workspaces_triggers = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesTriggers(
  855. $this,
  856. $this->serviceName,
  857. 'triggers',
  858. array(
  859. 'methods' => array(
  860. 'create' => array(
  861. 'path' => '{+parent}/triggers',
  862. 'httpMethod' => 'POST',
  863. 'parameters' => array(
  864. 'parent' => array(
  865. 'location' => 'path',
  866. 'type' => 'string',
  867. 'required' => true,
  868. ),
  869. ),
  870. ),'delete' => array(
  871. 'path' => '{+path}',
  872. 'httpMethod' => 'DELETE',
  873. 'parameters' => array(
  874. 'path' => array(
  875. 'location' => 'path',
  876. 'type' => 'string',
  877. 'required' => true,
  878. ),
  879. ),
  880. ),'get' => array(
  881. 'path' => '{+path}',
  882. 'httpMethod' => 'GET',
  883. 'parameters' => array(
  884. 'path' => array(
  885. 'location' => 'path',
  886. 'type' => 'string',
  887. 'required' => true,
  888. ),
  889. ),
  890. ),'list' => array(
  891. 'path' => '{+parent}/triggers',
  892. 'httpMethod' => 'GET',
  893. 'parameters' => array(
  894. 'parent' => array(
  895. 'location' => 'path',
  896. 'type' => 'string',
  897. 'required' => true,
  898. ),
  899. 'pageToken' => array(
  900. 'location' => 'query',
  901. 'type' => 'string',
  902. ),
  903. ),
  904. ),'revert' => array(
  905. 'path' => '{+path}:revert',
  906. 'httpMethod' => 'POST',
  907. 'parameters' => array(
  908. 'path' => array(
  909. 'location' => 'path',
  910. 'type' => 'string',
  911. 'required' => true,
  912. ),
  913. 'fingerprint' => array(
  914. 'location' => 'query',
  915. 'type' => 'string',
  916. ),
  917. ),
  918. ),'update' => array(
  919. 'path' => '{+path}',
  920. 'httpMethod' => 'PUT',
  921. 'parameters' => array(
  922. 'path' => array(
  923. 'location' => 'path',
  924. 'type' => 'string',
  925. 'required' => true,
  926. ),
  927. 'fingerprint' => array(
  928. 'location' => 'query',
  929. 'type' => 'string',
  930. ),
  931. ),
  932. ),
  933. )
  934. )
  935. );
  936. $this->accounts_containers_workspaces_variables = new Google_Service_TagManager_Resource_AccountsContainersWorkspacesVariables(
  937. $this,
  938. $this->serviceName,
  939. 'variables',
  940. array(
  941. 'methods' => array(
  942. 'create' => array(
  943. 'path' => '{+parent}/variables',
  944. 'httpMethod' => 'POST',
  945. 'parameters' => array(
  946. 'parent' => array(
  947. 'location' => 'path',
  948. 'type' => 'string',
  949. 'required' => true,
  950. ),
  951. ),
  952. ),'delete' => array(
  953. 'path' => '{+path}',
  954. 'httpMethod' => 'DELETE',
  955. 'parameters' => array(
  956. 'path' => array(
  957. 'location' => 'path',
  958. 'type' => 'string',
  959. 'required' => true,
  960. ),
  961. ),
  962. ),'get' => array(
  963. 'path' => '{+path}',
  964. 'httpMethod' => 'GET',
  965. 'parameters' => array(
  966. 'path' => array(
  967. 'location' => 'path',
  968. 'type' => 'string',
  969. 'required' => true,
  970. ),
  971. ),
  972. ),'list' => array(
  973. 'path' => '{+parent}/variables',
  974. 'httpMethod' => 'GET',
  975. 'parameters' => array(
  976. 'parent' => array(
  977. 'location' => 'path',
  978. 'type' => 'string',
  979. 'required' => true,
  980. ),
  981. 'pageToken' => array(
  982. 'location' => 'query',
  983. 'type' => 'string',
  984. ),
  985. ),
  986. ),'revert' => array(
  987. 'path' => '{+path}:revert',
  988. 'httpMethod' => 'POST',
  989. 'parameters' => array(
  990. 'path' => array(
  991. 'location' => 'path',
  992. 'type' => 'string',
  993. 'required' => true,
  994. ),
  995. 'fingerprint' => array(
  996. 'location' => 'query',
  997. 'type' => 'string',
  998. ),
  999. ),
  1000. ),'update' => array(
  1001. 'path' => '{+path}',
  1002. 'httpMethod' => 'PUT',
  1003. 'parameters' => array(
  1004. 'path' => array(
  1005. 'location' => 'path',
  1006. 'type' => 'string',
  1007. 'required' => true,
  1008. ),
  1009. 'fingerprint' => array(
  1010. 'location' => 'query',
  1011. 'type' => 'string',
  1012. ),
  1013. ),
  1014. ),
  1015. )
  1016. )
  1017. );
  1018. $this->accounts_user_permissions = new Google_Service_TagManager_Resource_AccountsUserPermissions(
  1019. $this,
  1020. $this->serviceName,
  1021. 'user_permissions',
  1022. array(
  1023. 'methods' => array(
  1024. 'create' => array(
  1025. 'path' => '{+parent}/user_permissions',
  1026. 'httpMethod' => 'POST',
  1027. 'parameters' => array(
  1028. 'parent' => array(
  1029. 'location' => 'path',
  1030. 'type' => 'string',
  1031. 'required' => true,
  1032. ),
  1033. ),
  1034. ),'delete' => array(
  1035. 'path' => '{+path}',
  1036. 'httpMethod' => 'DELETE',
  1037. 'parameters' => array(
  1038. 'path' => array(
  1039. 'location' => 'path',
  1040. 'type' => 'string',
  1041. 'required' => true,
  1042. ),
  1043. ),
  1044. ),'get' => array(
  1045. 'path' => '{+path}',
  1046. 'httpMethod' => 'GET',
  1047. 'parameters' => array(
  1048. 'path' => array(
  1049. 'location' => 'path',
  1050. 'type' => 'string',
  1051. 'required' => true,
  1052. ),
  1053. ),
  1054. ),'list' => array(
  1055. 'path' => '{+parent}/user_permissions',
  1056. 'httpMethod' => 'GET',
  1057. 'parameters' => array(
  1058. 'parent' => array(
  1059. 'location' => 'path',
  1060. 'type' => 'string',
  1061. 'required' => true,
  1062. ),
  1063. 'pageToken' => array(
  1064. 'location' => 'query',
  1065. 'type' => 'string',
  1066. ),
  1067. ),
  1068. ),'update' => array(
  1069. 'path' => '{+path}',
  1070. 'httpMethod' => 'PUT',
  1071. 'parameters' => array(
  1072. 'path' => array(
  1073. 'location' => 'path',
  1074. 'type' => 'string',
  1075. 'required' => true,
  1076. ),
  1077. ),
  1078. ),
  1079. )
  1080. )
  1081. );
  1082. }
  1083. }