PageRenderTime 107ms CodeModel.GetById 24ms RepoModel.GetById 2ms app.codeStats 1ms

/lib/google/src/Google/Service/TagManager.php

https://bitbucket.org/moodle/moodle
PHP | 3445 lines | 2776 code | 143 blank | 526 comment | 0 complexity | 3e09d1fc5197b0579da87cf78bcc565c MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1, BSD-3-Clause, MIT, GPL-3.0
  1. <?php
  2. /*
  3. * Copyright 2010 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 (v1).
  19. *
  20. * <p>
  21. * API for accessing 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/v1/" 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 containers. */
  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. /** 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 data. */
  45. const TAGMANAGER_MANAGE_USERS =
  46. "https://www.googleapis.com/auth/tagmanager.manage.users";
  47. /** Publish your Google Tag Manager containers. */
  48. const TAGMANAGER_PUBLISH =
  49. "https://www.googleapis.com/auth/tagmanager.publish";
  50. /** View your Google Tag Manager containers. */
  51. const TAGMANAGER_READONLY =
  52. "https://www.googleapis.com/auth/tagmanager.readonly";
  53. public $accounts;
  54. public $accounts_containers;
  55. public $accounts_containers_folders;
  56. public $accounts_containers_folders_entities;
  57. public $accounts_containers_move_folders;
  58. public $accounts_containers_tags;
  59. public $accounts_containers_triggers;
  60. public $accounts_containers_variables;
  61. public $accounts_containers_versions;
  62. public $accounts_permissions;
  63. /**
  64. * Constructs the internal representation of the TagManager service.
  65. *
  66. * @param Google_Client $client
  67. */
  68. public function __construct(Google_Client $client)
  69. {
  70. parent::__construct($client);
  71. $this->rootUrl = 'https://www.googleapis.com/';
  72. $this->servicePath = 'tagmanager/v1/';
  73. $this->version = 'v1';
  74. $this->serviceName = 'tagmanager';
  75. $this->accounts = new Google_Service_TagManager_Accounts_Resource(
  76. $this,
  77. $this->serviceName,
  78. 'accounts',
  79. array(
  80. 'methods' => array(
  81. 'get' => array(
  82. 'path' => 'accounts/{accountId}',
  83. 'httpMethod' => 'GET',
  84. 'parameters' => array(
  85. 'accountId' => array(
  86. 'location' => 'path',
  87. 'type' => 'string',
  88. 'required' => true,
  89. ),
  90. ),
  91. ),'list' => array(
  92. 'path' => 'accounts',
  93. 'httpMethod' => 'GET',
  94. 'parameters' => array(),
  95. ),'update' => array(
  96. 'path' => 'accounts/{accountId}',
  97. 'httpMethod' => 'PUT',
  98. 'parameters' => array(
  99. 'accountId' => array(
  100. 'location' => 'path',
  101. 'type' => 'string',
  102. 'required' => true,
  103. ),
  104. 'fingerprint' => array(
  105. 'location' => 'query',
  106. 'type' => 'string',
  107. ),
  108. ),
  109. ),
  110. )
  111. )
  112. );
  113. $this->accounts_containers = new Google_Service_TagManager_AccountsContainers_Resource(
  114. $this,
  115. $this->serviceName,
  116. 'containers',
  117. array(
  118. 'methods' => array(
  119. 'create' => array(
  120. 'path' => 'accounts/{accountId}/containers',
  121. 'httpMethod' => 'POST',
  122. 'parameters' => array(
  123. 'accountId' => array(
  124. 'location' => 'path',
  125. 'type' => 'string',
  126. 'required' => true,
  127. ),
  128. ),
  129. ),'delete' => array(
  130. 'path' => 'accounts/{accountId}/containers/{containerId}',
  131. 'httpMethod' => 'DELETE',
  132. 'parameters' => array(
  133. 'accountId' => array(
  134. 'location' => 'path',
  135. 'type' => 'string',
  136. 'required' => true,
  137. ),
  138. 'containerId' => array(
  139. 'location' => 'path',
  140. 'type' => 'string',
  141. 'required' => true,
  142. ),
  143. ),
  144. ),'get' => array(
  145. 'path' => 'accounts/{accountId}/containers/{containerId}',
  146. 'httpMethod' => 'GET',
  147. 'parameters' => array(
  148. 'accountId' => array(
  149. 'location' => 'path',
  150. 'type' => 'string',
  151. 'required' => true,
  152. ),
  153. 'containerId' => array(
  154. 'location' => 'path',
  155. 'type' => 'string',
  156. 'required' => true,
  157. ),
  158. ),
  159. ),'list' => array(
  160. 'path' => 'accounts/{accountId}/containers',
  161. 'httpMethod' => 'GET',
  162. 'parameters' => array(
  163. 'accountId' => array(
  164. 'location' => 'path',
  165. 'type' => 'string',
  166. 'required' => true,
  167. ),
  168. ),
  169. ),'update' => array(
  170. 'path' => 'accounts/{accountId}/containers/{containerId}',
  171. 'httpMethod' => 'PUT',
  172. 'parameters' => array(
  173. 'accountId' => array(
  174. 'location' => 'path',
  175. 'type' => 'string',
  176. 'required' => true,
  177. ),
  178. 'containerId' => array(
  179. 'location' => 'path',
  180. 'type' => 'string',
  181. 'required' => true,
  182. ),
  183. 'fingerprint' => array(
  184. 'location' => 'query',
  185. 'type' => 'string',
  186. ),
  187. ),
  188. ),
  189. )
  190. )
  191. );
  192. $this->accounts_containers_folders = new Google_Service_TagManager_AccountsContainersFolders_Resource(
  193. $this,
  194. $this->serviceName,
  195. 'folders',
  196. array(
  197. 'methods' => array(
  198. 'create' => array(
  199. 'path' => 'accounts/{accountId}/containers/{containerId}/folders',
  200. 'httpMethod' => 'POST',
  201. 'parameters' => array(
  202. 'accountId' => array(
  203. 'location' => 'path',
  204. 'type' => 'string',
  205. 'required' => true,
  206. ),
  207. 'containerId' => array(
  208. 'location' => 'path',
  209. 'type' => 'string',
  210. 'required' => true,
  211. ),
  212. ),
  213. ),'delete' => array(
  214. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
  215. 'httpMethod' => 'DELETE',
  216. 'parameters' => array(
  217. 'accountId' => array(
  218. 'location' => 'path',
  219. 'type' => 'string',
  220. 'required' => true,
  221. ),
  222. 'containerId' => array(
  223. 'location' => 'path',
  224. 'type' => 'string',
  225. 'required' => true,
  226. ),
  227. 'folderId' => array(
  228. 'location' => 'path',
  229. 'type' => 'string',
  230. 'required' => true,
  231. ),
  232. ),
  233. ),'get' => array(
  234. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
  235. 'httpMethod' => 'GET',
  236. 'parameters' => array(
  237. 'accountId' => array(
  238. 'location' => 'path',
  239. 'type' => 'string',
  240. 'required' => true,
  241. ),
  242. 'containerId' => array(
  243. 'location' => 'path',
  244. 'type' => 'string',
  245. 'required' => true,
  246. ),
  247. 'folderId' => array(
  248. 'location' => 'path',
  249. 'type' => 'string',
  250. 'required' => true,
  251. ),
  252. ),
  253. ),'list' => array(
  254. 'path' => 'accounts/{accountId}/containers/{containerId}/folders',
  255. 'httpMethod' => 'GET',
  256. 'parameters' => array(
  257. 'accountId' => array(
  258. 'location' => 'path',
  259. 'type' => 'string',
  260. 'required' => true,
  261. ),
  262. 'containerId' => array(
  263. 'location' => 'path',
  264. 'type' => 'string',
  265. 'required' => true,
  266. ),
  267. ),
  268. ),'update' => array(
  269. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
  270. 'httpMethod' => 'PUT',
  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. 'fingerprint' => array(
  288. 'location' => 'query',
  289. 'type' => 'string',
  290. ),
  291. ),
  292. ),
  293. )
  294. )
  295. );
  296. $this->accounts_containers_folders_entities = new Google_Service_TagManager_AccountsContainersFoldersEntities_Resource(
  297. $this,
  298. $this->serviceName,
  299. 'entities',
  300. array(
  301. 'methods' => array(
  302. 'list' => array(
  303. 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities',
  304. 'httpMethod' => 'GET',
  305. 'parameters' => array(
  306. 'accountId' => array(
  307. 'location' => 'path',
  308. 'type' => 'string',
  309. 'required' => true,
  310. ),
  311. 'containerId' => array(
  312. 'location' => 'path',
  313. 'type' => 'string',
  314. 'required' => true,
  315. ),
  316. 'folderId' => array(
  317. 'location' => 'path',
  318. 'type' => 'string',
  319. 'required' => true,
  320. ),
  321. ),
  322. ),
  323. )
  324. )
  325. );
  326. $this->accounts_containers_move_folders = new Google_Service_TagManager_AccountsContainersMoveFolders_Resource(
  327. $this,
  328. $this->serviceName,
  329. 'move_folders',
  330. array(
  331. 'methods' => array(
  332. 'update' => array(
  333. 'path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}',
  334. 'httpMethod' => 'PUT',
  335. 'parameters' => array(
  336. 'accountId' => array(
  337. 'location' => 'path',
  338. 'type' => 'string',
  339. 'required' => true,
  340. ),
  341. 'containerId' => array(
  342. 'location' => 'path',
  343. 'type' => 'string',
  344. 'required' => true,
  345. ),
  346. 'folderId' => array(
  347. 'location' => 'path',
  348. 'type' => 'string',
  349. 'required' => true,
  350. ),
  351. 'variableId' => array(
  352. 'location' => 'query',
  353. 'type' => 'string',
  354. 'repeated' => true,
  355. ),
  356. 'tagId' => array(
  357. 'location' => 'query',
  358. 'type' => 'string',
  359. 'repeated' => true,
  360. ),
  361. 'triggerId' => array(
  362. 'location' => 'query',
  363. 'type' => 'string',
  364. 'repeated' => true,
  365. ),
  366. ),
  367. ),
  368. )
  369. )
  370. );
  371. $this->accounts_containers_tags = new Google_Service_TagManager_AccountsContainersTags_Resource(
  372. $this,
  373. $this->serviceName,
  374. 'tags',
  375. array(
  376. 'methods' => array(
  377. 'create' => array(
  378. 'path' => 'accounts/{accountId}/containers/{containerId}/tags',
  379. 'httpMethod' => 'POST',
  380. 'parameters' => array(
  381. 'accountId' => array(
  382. 'location' => 'path',
  383. 'type' => 'string',
  384. 'required' => true,
  385. ),
  386. 'containerId' => array(
  387. 'location' => 'path',
  388. 'type' => 'string',
  389. 'required' => true,
  390. ),
  391. ),
  392. ),'delete' => array(
  393. 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
  394. 'httpMethod' => 'DELETE',
  395. 'parameters' => array(
  396. 'accountId' => array(
  397. 'location' => 'path',
  398. 'type' => 'string',
  399. 'required' => true,
  400. ),
  401. 'containerId' => array(
  402. 'location' => 'path',
  403. 'type' => 'string',
  404. 'required' => true,
  405. ),
  406. 'tagId' => array(
  407. 'location' => 'path',
  408. 'type' => 'string',
  409. 'required' => true,
  410. ),
  411. ),
  412. ),'get' => array(
  413. 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
  414. 'httpMethod' => 'GET',
  415. 'parameters' => array(
  416. 'accountId' => array(
  417. 'location' => 'path',
  418. 'type' => 'string',
  419. 'required' => true,
  420. ),
  421. 'containerId' => array(
  422. 'location' => 'path',
  423. 'type' => 'string',
  424. 'required' => true,
  425. ),
  426. 'tagId' => array(
  427. 'location' => 'path',
  428. 'type' => 'string',
  429. 'required' => true,
  430. ),
  431. ),
  432. ),'list' => array(
  433. 'path' => 'accounts/{accountId}/containers/{containerId}/tags',
  434. 'httpMethod' => 'GET',
  435. 'parameters' => array(
  436. 'accountId' => array(
  437. 'location' => 'path',
  438. 'type' => 'string',
  439. 'required' => true,
  440. ),
  441. 'containerId' => array(
  442. 'location' => 'path',
  443. 'type' => 'string',
  444. 'required' => true,
  445. ),
  446. ),
  447. ),'update' => array(
  448. 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
  449. 'httpMethod' => 'PUT',
  450. 'parameters' => array(
  451. 'accountId' => array(
  452. 'location' => 'path',
  453. 'type' => 'string',
  454. 'required' => true,
  455. ),
  456. 'containerId' => array(
  457. 'location' => 'path',
  458. 'type' => 'string',
  459. 'required' => true,
  460. ),
  461. 'tagId' => array(
  462. 'location' => 'path',
  463. 'type' => 'string',
  464. 'required' => true,
  465. ),
  466. 'fingerprint' => array(
  467. 'location' => 'query',
  468. 'type' => 'string',
  469. ),
  470. ),
  471. ),
  472. )
  473. )
  474. );
  475. $this->accounts_containers_triggers = new Google_Service_TagManager_AccountsContainersTriggers_Resource(
  476. $this,
  477. $this->serviceName,
  478. 'triggers',
  479. array(
  480. 'methods' => array(
  481. 'create' => array(
  482. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
  483. 'httpMethod' => 'POST',
  484. 'parameters' => array(
  485. 'accountId' => array(
  486. 'location' => 'path',
  487. 'type' => 'string',
  488. 'required' => true,
  489. ),
  490. 'containerId' => array(
  491. 'location' => 'path',
  492. 'type' => 'string',
  493. 'required' => true,
  494. ),
  495. ),
  496. ),'delete' => array(
  497. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
  498. 'httpMethod' => 'DELETE',
  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. 'triggerId' => array(
  511. 'location' => 'path',
  512. 'type' => 'string',
  513. 'required' => true,
  514. ),
  515. ),
  516. ),'get' => array(
  517. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
  518. 'httpMethod' => 'GET',
  519. 'parameters' => array(
  520. 'accountId' => array(
  521. 'location' => 'path',
  522. 'type' => 'string',
  523. 'required' => true,
  524. ),
  525. 'containerId' => array(
  526. 'location' => 'path',
  527. 'type' => 'string',
  528. 'required' => true,
  529. ),
  530. 'triggerId' => array(
  531. 'location' => 'path',
  532. 'type' => 'string',
  533. 'required' => true,
  534. ),
  535. ),
  536. ),'list' => array(
  537. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
  538. 'httpMethod' => 'GET',
  539. 'parameters' => array(
  540. 'accountId' => array(
  541. 'location' => 'path',
  542. 'type' => 'string',
  543. 'required' => true,
  544. ),
  545. 'containerId' => array(
  546. 'location' => 'path',
  547. 'type' => 'string',
  548. 'required' => true,
  549. ),
  550. ),
  551. ),'update' => array(
  552. 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
  553. 'httpMethod' => 'PUT',
  554. 'parameters' => array(
  555. 'accountId' => array(
  556. 'location' => 'path',
  557. 'type' => 'string',
  558. 'required' => true,
  559. ),
  560. 'containerId' => array(
  561. 'location' => 'path',
  562. 'type' => 'string',
  563. 'required' => true,
  564. ),
  565. 'triggerId' => array(
  566. 'location' => 'path',
  567. 'type' => 'string',
  568. 'required' => true,
  569. ),
  570. 'fingerprint' => array(
  571. 'location' => 'query',
  572. 'type' => 'string',
  573. ),
  574. ),
  575. ),
  576. )
  577. )
  578. );
  579. $this->accounts_containers_variables = new Google_Service_TagManager_AccountsContainersVariables_Resource(
  580. $this,
  581. $this->serviceName,
  582. 'variables',
  583. array(
  584. 'methods' => array(
  585. 'create' => array(
  586. 'path' => 'accounts/{accountId}/containers/{containerId}/variables',
  587. 'httpMethod' => 'POST',
  588. 'parameters' => array(
  589. 'accountId' => array(
  590. 'location' => 'path',
  591. 'type' => 'string',
  592. 'required' => true,
  593. ),
  594. 'containerId' => array(
  595. 'location' => 'path',
  596. 'type' => 'string',
  597. 'required' => true,
  598. ),
  599. ),
  600. ),'delete' => array(
  601. 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
  602. 'httpMethod' => 'DELETE',
  603. 'parameters' => array(
  604. 'accountId' => array(
  605. 'location' => 'path',
  606. 'type' => 'string',
  607. 'required' => true,
  608. ),
  609. 'containerId' => array(
  610. 'location' => 'path',
  611. 'type' => 'string',
  612. 'required' => true,
  613. ),
  614. 'variableId' => array(
  615. 'location' => 'path',
  616. 'type' => 'string',
  617. 'required' => true,
  618. ),
  619. ),
  620. ),'get' => array(
  621. 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
  622. 'httpMethod' => 'GET',
  623. 'parameters' => array(
  624. 'accountId' => array(
  625. 'location' => 'path',
  626. 'type' => 'string',
  627. 'required' => true,
  628. ),
  629. 'containerId' => array(
  630. 'location' => 'path',
  631. 'type' => 'string',
  632. 'required' => true,
  633. ),
  634. 'variableId' => array(
  635. 'location' => 'path',
  636. 'type' => 'string',
  637. 'required' => true,
  638. ),
  639. ),
  640. ),'list' => array(
  641. 'path' => 'accounts/{accountId}/containers/{containerId}/variables',
  642. 'httpMethod' => 'GET',
  643. 'parameters' => array(
  644. 'accountId' => array(
  645. 'location' => 'path',
  646. 'type' => 'string',
  647. 'required' => true,
  648. ),
  649. 'containerId' => array(
  650. 'location' => 'path',
  651. 'type' => 'string',
  652. 'required' => true,
  653. ),
  654. ),
  655. ),'update' => array(
  656. 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
  657. 'httpMethod' => 'PUT',
  658. 'parameters' => array(
  659. 'accountId' => array(
  660. 'location' => 'path',
  661. 'type' => 'string',
  662. 'required' => true,
  663. ),
  664. 'containerId' => array(
  665. 'location' => 'path',
  666. 'type' => 'string',
  667. 'required' => true,
  668. ),
  669. 'variableId' => array(
  670. 'location' => 'path',
  671. 'type' => 'string',
  672. 'required' => true,
  673. ),
  674. 'fingerprint' => array(
  675. 'location' => 'query',
  676. 'type' => 'string',
  677. ),
  678. ),
  679. ),
  680. )
  681. )
  682. );
  683. $this->accounts_containers_versions = new Google_Service_TagManager_AccountsContainersVersions_Resource(
  684. $this,
  685. $this->serviceName,
  686. 'versions',
  687. array(
  688. 'methods' => array(
  689. 'create' => array(
  690. 'path' => 'accounts/{accountId}/containers/{containerId}/versions',
  691. 'httpMethod' => 'POST',
  692. 'parameters' => array(
  693. 'accountId' => array(
  694. 'location' => 'path',
  695. 'type' => 'string',
  696. 'required' => true,
  697. ),
  698. 'containerId' => array(
  699. 'location' => 'path',
  700. 'type' => 'string',
  701. 'required' => true,
  702. ),
  703. ),
  704. ),'delete' => array(
  705. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
  706. 'httpMethod' => 'DELETE',
  707. 'parameters' => array(
  708. 'accountId' => array(
  709. 'location' => 'path',
  710. 'type' => 'string',
  711. 'required' => true,
  712. ),
  713. 'containerId' => array(
  714. 'location' => 'path',
  715. 'type' => 'string',
  716. 'required' => true,
  717. ),
  718. 'containerVersionId' => array(
  719. 'location' => 'path',
  720. 'type' => 'string',
  721. 'required' => true,
  722. ),
  723. ),
  724. ),'get' => array(
  725. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
  726. 'httpMethod' => 'GET',
  727. 'parameters' => array(
  728. 'accountId' => array(
  729. 'location' => 'path',
  730. 'type' => 'string',
  731. 'required' => true,
  732. ),
  733. 'containerId' => array(
  734. 'location' => 'path',
  735. 'type' => 'string',
  736. 'required' => true,
  737. ),
  738. 'containerVersionId' => array(
  739. 'location' => 'path',
  740. 'type' => 'string',
  741. 'required' => true,
  742. ),
  743. ),
  744. ),'list' => array(
  745. 'path' => 'accounts/{accountId}/containers/{containerId}/versions',
  746. 'httpMethod' => 'GET',
  747. 'parameters' => array(
  748. 'accountId' => array(
  749. 'location' => 'path',
  750. 'type' => 'string',
  751. 'required' => true,
  752. ),
  753. 'containerId' => array(
  754. 'location' => 'path',
  755. 'type' => 'string',
  756. 'required' => true,
  757. ),
  758. 'headers' => array(
  759. 'location' => 'query',
  760. 'type' => 'boolean',
  761. ),
  762. ),
  763. ),'publish' => array(
  764. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish',
  765. 'httpMethod' => 'POST',
  766. 'parameters' => array(
  767. 'accountId' => array(
  768. 'location' => 'path',
  769. 'type' => 'string',
  770. 'required' => true,
  771. ),
  772. 'containerId' => array(
  773. 'location' => 'path',
  774. 'type' => 'string',
  775. 'required' => true,
  776. ),
  777. 'containerVersionId' => array(
  778. 'location' => 'path',
  779. 'type' => 'string',
  780. 'required' => true,
  781. ),
  782. 'fingerprint' => array(
  783. 'location' => 'query',
  784. 'type' => 'string',
  785. ),
  786. ),
  787. ),'restore' => array(
  788. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore',
  789. 'httpMethod' => 'POST',
  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. ),
  807. ),'undelete' => array(
  808. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete',
  809. 'httpMethod' => 'POST',
  810. 'parameters' => array(
  811. 'accountId' => array(
  812. 'location' => 'path',
  813. 'type' => 'string',
  814. 'required' => true,
  815. ),
  816. 'containerId' => array(
  817. 'location' => 'path',
  818. 'type' => 'string',
  819. 'required' => true,
  820. ),
  821. 'containerVersionId' => array(
  822. 'location' => 'path',
  823. 'type' => 'string',
  824. 'required' => true,
  825. ),
  826. ),
  827. ),'update' => array(
  828. 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
  829. 'httpMethod' => 'PUT',
  830. 'parameters' => array(
  831. 'accountId' => array(
  832. 'location' => 'path',
  833. 'type' => 'string',
  834. 'required' => true,
  835. ),
  836. 'containerId' => array(
  837. 'location' => 'path',
  838. 'type' => 'string',
  839. 'required' => true,
  840. ),
  841. 'containerVersionId' => array(
  842. 'location' => 'path',
  843. 'type' => 'string',
  844. 'required' => true,
  845. ),
  846. 'fingerprint' => array(
  847. 'location' => 'query',
  848. 'type' => 'string',
  849. ),
  850. ),
  851. ),
  852. )
  853. )
  854. );
  855. $this->accounts_permissions = new Google_Service_TagManager_AccountsPermissions_Resource(
  856. $this,
  857. $this->serviceName,
  858. 'permissions',
  859. array(
  860. 'methods' => array(
  861. 'create' => array(
  862. 'path' => 'accounts/{accountId}/permissions',
  863. 'httpMethod' => 'POST',
  864. 'parameters' => array(
  865. 'accountId' => array(
  866. 'location' => 'path',
  867. 'type' => 'string',
  868. 'required' => true,
  869. ),
  870. ),
  871. ),'delete' => array(
  872. 'path' => 'accounts/{accountId}/permissions/{permissionId}',
  873. 'httpMethod' => 'DELETE',
  874. 'parameters' => array(
  875. 'accountId' => array(
  876. 'location' => 'path',
  877. 'type' => 'string',
  878. 'required' => true,
  879. ),
  880. 'permissionId' => array(
  881. 'location' => 'path',
  882. 'type' => 'string',
  883. 'required' => true,
  884. ),
  885. ),
  886. ),'get' => array(
  887. 'path' => 'accounts/{accountId}/permissions/{permissionId}',
  888. 'httpMethod' => 'GET',
  889. 'parameters' => array(
  890. 'accountId' => array(
  891. 'location' => 'path',
  892. 'type' => 'string',
  893. 'required' => true,
  894. ),
  895. 'permissionId' => array(
  896. 'location' => 'path',
  897. 'type' => 'string',
  898. 'required' => true,
  899. ),
  900. ),
  901. ),'list' => array(
  902. 'path' => 'accounts/{accountId}/permissions',
  903. 'httpMethod' => 'GET',
  904. 'parameters' => array(
  905. 'accountId' => array(
  906. 'location' => 'path',
  907. 'type' => 'string',
  908. 'required' => true,
  909. ),
  910. ),
  911. ),'update' => array(
  912. 'path' => 'accounts/{accountId}/permissions/{permissionId}',
  913. 'httpMethod' => 'PUT',
  914. 'parameters' => array(
  915. 'accountId' => array(
  916. 'location' => 'path',
  917. 'type' => 'string',
  918. 'required' => true,
  919. ),
  920. 'permissionId' => array(
  921. 'location' => 'path',
  922. 'type' => 'string',
  923. 'required' => true,
  924. ),
  925. ),
  926. ),
  927. )
  928. )
  929. );
  930. }
  931. }
  932. /**
  933. * The "accounts" collection of methods.
  934. * Typical usage is:
  935. * <code>
  936. * $tagmanagerService = new Google_Service_TagManager(...);
  937. * $accounts = $tagmanagerService->accounts;
  938. * </code>
  939. */
  940. class Google_Service_TagManager_Accounts_Resource extends Google_Service_Resource
  941. {
  942. /**
  943. * Gets a GTM Account. (accounts.get)
  944. *
  945. * @param string $accountId The GTM Account ID.
  946. * @param array $optParams Optional parameters.
  947. * @return Google_Service_TagManager_Account
  948. */
  949. public function get($accountId, $optParams = array())
  950. {
  951. $params = array('accountId' => $accountId);
  952. $params = array_merge($params, $optParams);
  953. return $this->call('get', array($params), "Google_Service_TagManager_Account");
  954. }
  955. /**
  956. * Lists all GTM Accounts that a user has access to. (accounts.listAccounts)
  957. *
  958. * @param array $optParams Optional parameters.
  959. * @return Google_Service_TagManager_ListAccountsResponse
  960. */
  961. public function listAccounts($optParams = array())
  962. {
  963. $params = array();
  964. $params = array_merge($params, $optParams);
  965. return $this->call('list', array($params), "Google_Service_TagManager_ListAccountsResponse");
  966. }
  967. /**
  968. * Updates a GTM Account. (accounts.update)
  969. *
  970. * @param string $accountId The GTM Account ID.
  971. * @param Google_Account $postBody
  972. * @param array $optParams Optional parameters.
  973. *
  974. * @opt_param string fingerprint When provided, this fingerprint must match the
  975. * fingerprint of the account in storage.
  976. * @return Google_Service_TagManager_Account
  977. */
  978. public function update($accountId, Google_Service_TagManager_Account $postBody, $optParams = array())
  979. {
  980. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  981. $params = array_merge($params, $optParams);
  982. return $this->call('update', array($params), "Google_Service_TagManager_Account");
  983. }
  984. }
  985. /**
  986. * The "containers" collection of methods.
  987. * Typical usage is:
  988. * <code>
  989. * $tagmanagerService = new Google_Service_TagManager(...);
  990. * $containers = $tagmanagerService->containers;
  991. * </code>
  992. */
  993. class Google_Service_TagManager_AccountsContainers_Resource extends Google_Service_Resource
  994. {
  995. /**
  996. * Creates a Container. (containers.create)
  997. *
  998. * @param string $accountId The GTM Account ID.
  999. * @param Google_Container $postBody
  1000. * @param array $optParams Optional parameters.
  1001. * @return Google_Service_TagManager_Container
  1002. */
  1003. public function create($accountId, Google_Service_TagManager_Container $postBody, $optParams = array())
  1004. {
  1005. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  1006. $params = array_merge($params, $optParams);
  1007. return $this->call('create', array($params), "Google_Service_TagManager_Container");
  1008. }
  1009. /**
  1010. * Deletes a Container. (containers.delete)
  1011. *
  1012. * @param string $accountId The GTM Account ID.
  1013. * @param string $containerId The GTM Container ID.
  1014. * @param array $optParams Optional parameters.
  1015. */
  1016. public function delete($accountId, $containerId, $optParams = array())
  1017. {
  1018. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1019. $params = array_merge($params, $optParams);
  1020. return $this->call('delete', array($params));
  1021. }
  1022. /**
  1023. * Gets a Container. (containers.get)
  1024. *
  1025. * @param string $accountId The GTM Account ID.
  1026. * @param string $containerId The GTM Container ID.
  1027. * @param array $optParams Optional parameters.
  1028. * @return Google_Service_TagManager_Container
  1029. */
  1030. public function get($accountId, $containerId, $optParams = array())
  1031. {
  1032. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1033. $params = array_merge($params, $optParams);
  1034. return $this->call('get', array($params), "Google_Service_TagManager_Container");
  1035. }
  1036. /**
  1037. * Lists all Containers that belongs to a GTM Account.
  1038. * (containers.listAccountsContainers)
  1039. *
  1040. * @param string $accountId The GTM Account ID.
  1041. * @param array $optParams Optional parameters.
  1042. * @return Google_Service_TagManager_ListContainersResponse
  1043. */
  1044. public function listAccountsContainers($accountId, $optParams = array())
  1045. {
  1046. $params = array('accountId' => $accountId);
  1047. $params = array_merge($params, $optParams);
  1048. return $this->call('list', array($params), "Google_Service_TagManager_ListContainersResponse");
  1049. }
  1050. /**
  1051. * Updates a Container. (containers.update)
  1052. *
  1053. * @param string $accountId The GTM Account ID.
  1054. * @param string $containerId The GTM Container ID.
  1055. * @param Google_Container $postBody
  1056. * @param array $optParams Optional parameters.
  1057. *
  1058. * @opt_param string fingerprint When provided, this fingerprint must match the
  1059. * fingerprint of the container in storage.
  1060. * @return Google_Service_TagManager_Container
  1061. */
  1062. public function update($accountId, $containerId, Google_Service_TagManager_Container $postBody, $optParams = array())
  1063. {
  1064. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
  1065. $params = array_merge($params, $optParams);
  1066. return $this->call('update', array($params), "Google_Service_TagManager_Container");
  1067. }
  1068. }
  1069. /**
  1070. * The "folders" collection of methods.
  1071. * Typical usage is:
  1072. * <code>
  1073. * $tagmanagerService = new Google_Service_TagManager(...);
  1074. * $folders = $tagmanagerService->folders;
  1075. * </code>
  1076. */
  1077. class Google_Service_TagManager_AccountsContainersFolders_Resource extends Google_Service_Resource
  1078. {
  1079. /**
  1080. * Creates a GTM Folder. (folders.create)
  1081. *
  1082. * @param string $accountId The GTM Account ID.
  1083. * @param string $containerId The GTM Container ID.
  1084. * @param Google_Folder $postBody
  1085. * @param array $optParams Optional parameters.
  1086. * @return Google_Service_TagManager_Folder
  1087. */
  1088. public function create($accountId, $containerId, Google_Service_TagManager_Folder $postBody, $optParams = array())
  1089. {
  1090. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
  1091. $params = array_merge($params, $optParams);
  1092. return $this->call('create', array($params), "Google_Service_TagManager_Folder");
  1093. }
  1094. /**
  1095. * Deletes a GTM Folder. (folders.delete)
  1096. *
  1097. * @param string $accountId The GTM Account ID.
  1098. * @param string $containerId The GTM Container ID.
  1099. * @param string $folderId The GTM Folder ID.
  1100. * @param array $optParams Optional parameters.
  1101. */
  1102. public function delete($accountId, $containerId, $folderId, $optParams = array())
  1103. {
  1104. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
  1105. $params = array_merge($params, $optParams);
  1106. return $this->call('delete', array($params));
  1107. }
  1108. /**
  1109. * Gets a GTM Folder. (folders.get)
  1110. *
  1111. * @param string $accountId The GTM Account ID.
  1112. * @param string $containerId The GTM Container ID.
  1113. * @param string $folderId The GTM Folder ID.
  1114. * @param array $optParams Optional parameters.
  1115. * @return Google_Service_TagManager_Folder
  1116. */
  1117. public function get($accountId, $containerId, $folderId, $optParams = array())
  1118. {
  1119. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
  1120. $params = array_merge($params, $optParams);
  1121. return $this->call('get', array($params), "Google_Service_TagManager_Folder");
  1122. }
  1123. /**
  1124. * Lists all GTM Folders of a Container. (folders.listAccountsContainersFolders)
  1125. *
  1126. * @param string $accountId The GTM Account ID.
  1127. * @param string $containerId The GTM Container ID.
  1128. * @param array $optParams Optional parameters.
  1129. * @return Google_Service_TagManager_ListFoldersResponse
  1130. */
  1131. public function listAccountsContainersFolders($accountId, $containerId, $optParams = array())
  1132. {
  1133. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1134. $params = array_merge($params, $optParams);
  1135. return $this->call('list', array($params), "Google_Service_TagManager_ListFoldersResponse");
  1136. }
  1137. /**
  1138. * Updates a GTM Folder. (folders.update)
  1139. *
  1140. * @param string $accountId The GTM Account ID.
  1141. * @param string $containerId The GTM Container ID.
  1142. * @param string $folderId The GTM Folder ID.
  1143. * @param Google_Folder $postBody
  1144. * @param array $optParams Optional parameters.
  1145. *
  1146. * @opt_param string fingerprint When provided, this fingerprint must match the
  1147. * fingerprint of the folder in storage.
  1148. * @return Google_Service_TagManager_Folder
  1149. */
  1150. public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array())
  1151. {
  1152. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody);
  1153. $params = array_merge($params, $optParams);
  1154. return $this->call('update', array($params), "Google_Service_TagManager_Folder");
  1155. }
  1156. }
  1157. /**
  1158. * The "entities" collection of methods.
  1159. * Typical usage is:
  1160. * <code>
  1161. * $tagmanagerService = new Google_Service_TagManager(...);
  1162. * $entities = $tagmanagerService->entities;
  1163. * </code>
  1164. */
  1165. class Google_Service_TagManager_AccountsContainersFoldersEntities_Resource extends Google_Service_Resource
  1166. {
  1167. /**
  1168. * List all entities in a GTM Folder.
  1169. * (entities.listAccountsContainersFoldersEntities)
  1170. *
  1171. * @param string $accountId The GTM Account ID.
  1172. * @param string $containerId The GTM Container ID.
  1173. * @param string $folderId The GTM Folder ID.
  1174. * @param array $optParams Optional parameters.
  1175. * @return Google_Service_TagManager_FolderEntities
  1176. */
  1177. public function listAccountsContainersFoldersEntities($accountId, $containerId, $folderId, $optParams = array())
  1178. {
  1179. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
  1180. $params = array_merge($params, $optParams);
  1181. return $this->call('list', array($params), "Google_Service_TagManager_FolderEntities");
  1182. }
  1183. }
  1184. /**
  1185. * The "move_folders" collection of methods.
  1186. * Typical usage is:
  1187. * <code>
  1188. * $tagmanagerService = new Google_Service_TagManager(...);
  1189. * $move_folders = $tagmanagerService->move_folders;
  1190. * </code>
  1191. */
  1192. class Google_Service_TagManager_AccountsContainersMoveFolders_Resource extends Google_Service_Resource
  1193. {
  1194. /**
  1195. * Moves entities to a GTM Folder. (move_folders.update)
  1196. *
  1197. * @param string $accountId The GTM Account ID.
  1198. * @param string $containerId The GTM Container ID.
  1199. * @param string $folderId The GTM Folder ID.
  1200. * @param array $optParams Optional parameters.
  1201. *
  1202. * @opt_param string variableId The variables to be moved to the folder.
  1203. * @opt_param string tagId The tags to be moved to the folder.
  1204. * @opt_param string triggerId The triggers to be moved to the folder.
  1205. */
  1206. public function update($accountId, $containerId, $folderId, $optParams = array())
  1207. {
  1208. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId);
  1209. $params = array_merge($params, $optParams);
  1210. return $this->call('update', array($params));
  1211. }
  1212. }
  1213. /**
  1214. * The "tags" collection of methods.
  1215. * Typical usage is:
  1216. * <code>
  1217. * $tagmanagerService = new Google_Service_TagManager(...);
  1218. * $tags = $tagmanagerService->tags;
  1219. * </code>
  1220. */
  1221. class Google_Service_TagManager_AccountsContainersTags_Resource extends Google_Service_Resource
  1222. {
  1223. /**
  1224. * Creates a GTM Tag. (tags.create)
  1225. *
  1226. * @param string $accountId The GTM Account ID.
  1227. * @param string $containerId The GTM Container ID.
  1228. * @param Google_Tag $postBody
  1229. * @param array $optParams Optional parameters.
  1230. * @return Google_Service_TagManager_Tag
  1231. */
  1232. public function create($accountId, $containerId, Google_Service_TagManager_Tag $postBody, $optParams = array())
  1233. {
  1234. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
  1235. $params = array_merge($params, $optParams);
  1236. return $this->call('create', array($params), "Google_Service_TagManager_Tag");
  1237. }
  1238. /**
  1239. * Deletes a GTM Tag. (tags.delete)
  1240. *
  1241. * @param string $accountId The GTM Account ID.
  1242. * @param string $containerId The GTM Container ID.
  1243. * @param string $tagId The GTM Tag ID.
  1244. * @param array $optParams Optional parameters.
  1245. */
  1246. public function delete($accountId, $containerId, $tagId, $optParams = array())
  1247. {
  1248. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId);
  1249. $params = array_merge($params, $optParams);
  1250. return $this->call('delete', array($params));
  1251. }
  1252. /**
  1253. * Gets a GTM Tag. (tags.get)
  1254. *
  1255. * @param string $accountId The GTM Account ID.
  1256. * @param string $containerId The GTM Container ID.
  1257. * @param string $tagId The GTM Tag ID.
  1258. * @param array $optParams Optional parameters.
  1259. * @return Google_Service_TagManager_Tag
  1260. */
  1261. public function get($accountId, $containerId, $tagId, $optParams = array())
  1262. {
  1263. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId);
  1264. $params = array_merge($params, $optParams);
  1265. return $this->call('get', array($params), "Google_Service_TagManager_Tag");
  1266. }
  1267. /**
  1268. * Lists all GTM Tags of a Container. (tags.listAccountsContainersTags)
  1269. *
  1270. * @param string $accountId The GTM Account ID.
  1271. * @param string $containerId The GTM Container ID.
  1272. * @param array $optParams Optional parameters.
  1273. * @return Google_Service_TagManager_ListTagsResponse
  1274. */
  1275. public function listAccountsContainersTags($accountId, $containerId, $optParams = array())
  1276. {
  1277. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1278. $params = array_merge($params, $optParams);
  1279. return $this->call('list', array($params), "Google_Service_TagManager_ListTagsResponse");
  1280. }
  1281. /**
  1282. * Updates a GTM Tag. (tags.update)
  1283. *
  1284. * @param string $accountId The GTM Account ID.
  1285. * @param string $containerId The GTM Container ID.
  1286. * @param string $tagId The GTM Tag ID.
  1287. * @param Google_Tag $postBody
  1288. * @param array $optParams Optional parameters.
  1289. *
  1290. * @opt_param string fingerprint When provided, this fingerprint must match the
  1291. * fingerprint of the tag in storage.
  1292. * @return Google_Service_TagManager_Tag
  1293. */
  1294. public function update($accountId, $containerId, $tagId, Google_Service_TagManager_Tag $postBody, $optParams = array())
  1295. {
  1296. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId, 'postBody' => $postBody);
  1297. $params = array_merge($params, $optParams);
  1298. return $this->call('update', array($params), "Google_Service_TagManager_Tag");
  1299. }
  1300. }
  1301. /**
  1302. * The "triggers" collection of methods.
  1303. * Typical usage is:
  1304. * <code>
  1305. * $tagmanagerService = new Google_Service_TagManager(...);
  1306. * $triggers = $tagmanagerService->triggers;
  1307. * </code>
  1308. */
  1309. class Google_Service_TagManager_AccountsContainersTriggers_Resource extends Google_Service_Resource
  1310. {
  1311. /**
  1312. * Creates a GTM Trigger. (triggers.create)
  1313. *
  1314. * @param string $accountId The GTM Account ID.
  1315. * @param string $containerId The GTM Container ID.
  1316. * @param Google_Trigger $postBody
  1317. * @param array $optParams Optional parameters.
  1318. * @return Google_Service_TagManager_Trigger
  1319. */
  1320. public function create($accountId, $containerId, Google_Service_TagManager_Trigger $postBody, $optParams = array())
  1321. {
  1322. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
  1323. $params = array_merge($params, $optParams);
  1324. return $this->call('create', array($params), "Google_Service_TagManager_Trigger");
  1325. }
  1326. /**
  1327. * Deletes a GTM Trigger. (triggers.delete)
  1328. *
  1329. * @param string $accountId The GTM Account ID.
  1330. * @param string $containerId The GTM Container ID.
  1331. * @param string $triggerId The GTM Trigger ID.
  1332. * @param array $optParams Optional parameters.
  1333. */
  1334. public function delete($accountId, $containerId, $triggerId, $optParams = array())
  1335. {
  1336. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId);
  1337. $params = array_merge($params, $optParams);
  1338. return $this->call('delete', array($params));
  1339. }
  1340. /**
  1341. * Gets a GTM Trigger. (triggers.get)
  1342. *
  1343. * @param string $accountId The GTM Account ID.
  1344. * @param string $containerId The GTM Container ID.
  1345. * @param string $triggerId The GTM Trigger ID.
  1346. * @param array $optParams Optional parameters.
  1347. * @return Google_Service_TagManager_Trigger
  1348. */
  1349. public function get($accountId, $containerId, $triggerId, $optParams = array())
  1350. {
  1351. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId);
  1352. $params = array_merge($params, $optParams);
  1353. return $this->call('get', array($params), "Google_Service_TagManager_Trigger");
  1354. }
  1355. /**
  1356. * Lists all GTM Triggers of a Container.
  1357. * (triggers.listAccountsContainersTriggers)
  1358. *
  1359. * @param string $accountId The GTM Account ID.
  1360. * @param string $containerId The GTM Container ID.
  1361. * @param array $optParams Optional parameters.
  1362. * @return Google_Service_TagManager_ListTriggersResponse
  1363. */
  1364. public function listAccountsContainersTriggers($accountId, $containerId, $optParams = array())
  1365. {
  1366. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1367. $params = array_merge($params, $optParams);
  1368. return $this->call('list', array($params), "Google_Service_TagManager_ListTriggersResponse");
  1369. }
  1370. /**
  1371. * Updates a GTM Trigger. (triggers.update)
  1372. *
  1373. * @param string $accountId The GTM Account ID.
  1374. * @param string $containerId The GTM Container ID.
  1375. * @param string $triggerId The GTM Trigger ID.
  1376. * @param Google_Trigger $postBody
  1377. * @param array $optParams Optional parameters.
  1378. *
  1379. * @opt_param string fingerprint When provided, this fingerprint must match the
  1380. * fingerprint of the trigger in storage.
  1381. * @return Google_Service_TagManager_Trigger
  1382. */
  1383. public function update($accountId, $containerId, $triggerId, Google_Service_TagManager_Trigger $postBody, $optParams = array())
  1384. {
  1385. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId, 'postBody' => $postBody);
  1386. $params = array_merge($params, $optParams);
  1387. return $this->call('update', array($params), "Google_Service_TagManager_Trigger");
  1388. }
  1389. }
  1390. /**
  1391. * The "variables" collection of methods.
  1392. * Typical usage is:
  1393. * <code>
  1394. * $tagmanagerService = new Google_Service_TagManager(...);
  1395. * $variables = $tagmanagerService->variables;
  1396. * </code>
  1397. */
  1398. class Google_Service_TagManager_AccountsContainersVariables_Resource extends Google_Service_Resource
  1399. {
  1400. /**
  1401. * Creates a GTM Variable. (variables.create)
  1402. *
  1403. * @param string $accountId The GTM Account ID.
  1404. * @param string $containerId The GTM Container ID.
  1405. * @param Google_Variable $postBody
  1406. * @param array $optParams Optional parameters.
  1407. * @return Google_Service_TagManager_Variable
  1408. */
  1409. public function create($accountId, $containerId, Google_Service_TagManager_Variable $postBody, $optParams = array())
  1410. {
  1411. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
  1412. $params = array_merge($params, $optParams);
  1413. return $this->call('create', array($params), "Google_Service_TagManager_Variable");
  1414. }
  1415. /**
  1416. * Deletes a GTM Variable. (variables.delete)
  1417. *
  1418. * @param string $accountId The GTM Account ID.
  1419. * @param string $containerId The GTM Container ID.
  1420. * @param string $variableId The GTM Variable ID.
  1421. * @param array $optParams Optional parameters.
  1422. */
  1423. public function delete($accountId, $containerId, $variableId, $optParams = array())
  1424. {
  1425. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId);
  1426. $params = array_merge($params, $optParams);
  1427. return $this->call('delete', array($params));
  1428. }
  1429. /**
  1430. * Gets a GTM Variable. (variables.get)
  1431. *
  1432. * @param string $accountId The GTM Account ID.
  1433. * @param string $containerId The GTM Container ID.
  1434. * @param string $variableId The GTM Variable ID.
  1435. * @param array $optParams Optional parameters.
  1436. * @return Google_Service_TagManager_Variable
  1437. */
  1438. public function get($accountId, $containerId, $variableId, $optParams = array())
  1439. {
  1440. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId);
  1441. $params = array_merge($params, $optParams);
  1442. return $this->call('get', array($params), "Google_Service_TagManager_Variable");
  1443. }
  1444. /**
  1445. * Lists all GTM Variables of a Container.
  1446. * (variables.listAccountsContainersVariables)
  1447. *
  1448. * @param string $accountId The GTM Account ID.
  1449. * @param string $containerId The GTM Container ID.
  1450. * @param array $optParams Optional parameters.
  1451. * @return Google_Service_TagManager_ListVariablesResponse
  1452. */
  1453. public function listAccountsContainersVariables($accountId, $containerId, $optParams = array())
  1454. {
  1455. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1456. $params = array_merge($params, $optParams);
  1457. return $this->call('list', array($params), "Google_Service_TagManager_ListVariablesResponse");
  1458. }
  1459. /**
  1460. * Updates a GTM Variable. (variables.update)
  1461. *
  1462. * @param string $accountId The GTM Account ID.
  1463. * @param string $containerId The GTM Container ID.
  1464. * @param string $variableId The GTM Variable ID.
  1465. * @param Google_Variable $postBody
  1466. * @param array $optParams Optional parameters.
  1467. *
  1468. * @opt_param string fingerprint When provided, this fingerprint must match the
  1469. * fingerprint of the variable in storage.
  1470. * @return Google_Service_TagManager_Variable
  1471. */
  1472. public function update($accountId, $containerId, $variableId, Google_Service_TagManager_Variable $postBody, $optParams = array())
  1473. {
  1474. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId, 'postBody' => $postBody);
  1475. $params = array_merge($params, $optParams);
  1476. return $this->call('update', array($params), "Google_Service_TagManager_Variable");
  1477. }
  1478. }
  1479. /**
  1480. * The "versions" collection of methods.
  1481. * Typical usage is:
  1482. * <code>
  1483. * $tagmanagerService = new Google_Service_TagManager(...);
  1484. * $versions = $tagmanagerService->versions;
  1485. * </code>
  1486. */
  1487. class Google_Service_TagManager_AccountsContainersVersions_Resource extends Google_Service_Resource
  1488. {
  1489. /**
  1490. * Creates a Container Version. (versions.create)
  1491. *
  1492. * @param string $accountId The GTM Account ID.
  1493. * @param string $containerId The GTM Container ID.
  1494. * @param Google_CreateContainerVersionRequestVersionOptions $postBody
  1495. * @param array $optParams Optional parameters.
  1496. * @return Google_Service_TagManager_CreateContainerVersionResponse
  1497. */
  1498. public function create($accountId, $containerId, Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody, $optParams = array())
  1499. {
  1500. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
  1501. $params = array_merge($params, $optParams);
  1502. return $this->call('create', array($params), "Google_Service_TagManager_CreateContainerVersionResponse");
  1503. }
  1504. /**
  1505. * Deletes a Container Version. (versions.delete)
  1506. *
  1507. * @param string $accountId The GTM Account ID.
  1508. * @param string $containerId The GTM Container ID.
  1509. * @param string $containerVersionId The GTM Container Version ID.
  1510. * @param array $optParams Optional parameters.
  1511. */
  1512. public function delete($accountId, $containerId, $containerVersionId, $optParams = array())
  1513. {
  1514. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
  1515. $params = array_merge($params, $optParams);
  1516. return $this->call('delete', array($params));
  1517. }
  1518. /**
  1519. * Gets a Container Version. (versions.get)
  1520. *
  1521. * @param string $accountId The GTM Account ID.
  1522. * @param string $containerId The GTM Container ID.
  1523. * @param string $containerVersionId The GTM Container Version ID. Specify
  1524. * published to retrieve the currently published version.
  1525. * @param array $optParams Optional parameters.
  1526. * @return Google_Service_TagManager_ContainerVersion
  1527. */
  1528. public function get($accountId, $containerId, $containerVersionId, $optParams = array())
  1529. {
  1530. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
  1531. $params = array_merge($params, $optParams);
  1532. return $this->call('get', array($params), "Google_Service_TagManager_ContainerVersion");
  1533. }
  1534. /**
  1535. * Lists all Container Versions of a GTM Container.
  1536. * (versions.listAccountsContainersVersions)
  1537. *
  1538. * @param string $accountId The GTM Account ID.
  1539. * @param string $containerId The GTM Container ID.
  1540. * @param array $optParams Optional parameters.
  1541. *
  1542. * @opt_param bool headers Retrieve headers only when true.
  1543. * @return Google_Service_TagManager_ListContainerVersionsResponse
  1544. */
  1545. public function listAccountsContainersVersions($accountId, $containerId, $optParams = array())
  1546. {
  1547. $params = array('accountId' => $accountId, 'containerId' => $containerId);
  1548. $params = array_merge($params, $optParams);
  1549. return $this->call('list', array($params), "Google_Service_TagManager_ListContainerVersionsResponse");
  1550. }
  1551. /**
  1552. * Publishes a Container Version. (versions.publish)
  1553. *
  1554. * @param string $accountId The GTM Account ID.
  1555. * @param string $containerId The GTM Container ID.
  1556. * @param string $containerVersionId The GTM Container Version ID.
  1557. * @param array $optParams Optional parameters.
  1558. *
  1559. * @opt_param string fingerprint When provided, this fingerprint must match the
  1560. * fingerprint of the container version in storage.
  1561. * @return Google_Service_TagManager_PublishContainerVersionResponse
  1562. */
  1563. public function publish($accountId, $containerId, $containerVersionId, $optParams = array())
  1564. {
  1565. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
  1566. $params = array_merge($params, $optParams);
  1567. return $this->call('publish', array($params), "Google_Service_TagManager_PublishContainerVersionResponse");
  1568. }
  1569. /**
  1570. * Restores a Container Version. This will overwrite the container's current
  1571. * configuration (including its variables, triggers and tags). The operation
  1572. * will not have any effect on the version that is being served (i.e. the
  1573. * published version). (versions.restore)
  1574. *
  1575. * @param string $accountId The GTM Account ID.
  1576. * @param string $containerId The GTM Container ID.
  1577. * @param string $containerVersionId The GTM Container Version ID.
  1578. * @param array $optParams Optional parameters.
  1579. * @return Google_Service_TagManager_ContainerVersion
  1580. */
  1581. public function restore($accountId, $containerId, $containerVersionId, $optParams = array())
  1582. {
  1583. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
  1584. $params = array_merge($params, $optParams);
  1585. return $this->call('restore', array($params), "Google_Service_TagManager_ContainerVersion");
  1586. }
  1587. /**
  1588. * Undeletes a Container Version. (versions.undelete)
  1589. *
  1590. * @param string $accountId The GTM Account ID.
  1591. * @param string $containerId The GTM Container ID.
  1592. * @param string $containerVersionId The GTM Container Version ID.
  1593. * @param array $optParams Optional parameters.
  1594. * @return Google_Service_TagManager_ContainerVersion
  1595. */
  1596. public function undelete($accountId, $containerId, $containerVersionId, $optParams = array())
  1597. {
  1598. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
  1599. $params = array_merge($params, $optParams);
  1600. return $this->call('undelete', array($params), "Google_Service_TagManager_ContainerVersion");
  1601. }
  1602. /**
  1603. * Updates a Container Version. (versions.update)
  1604. *
  1605. * @param string $accountId The GTM Account ID.
  1606. * @param string $containerId The GTM Container ID.
  1607. * @param string $containerVersionId The GTM Container Version ID.
  1608. * @param Google_ContainerVersion $postBody
  1609. * @param array $optParams Optional parameters.
  1610. *
  1611. * @opt_param string fingerprint When provided, this fingerprint must match the
  1612. * fingerprint of the container version in storage.
  1613. * @return Google_Service_TagManager_ContainerVersion
  1614. */
  1615. public function update($accountId, $containerId, $containerVersionId, Google_Service_TagManager_ContainerVersion $postBody, $optParams = array())
  1616. {
  1617. $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId, 'postBody' => $postBody);
  1618. $params = array_merge($params, $optParams);
  1619. return $this->call('update', array($params), "Google_Service_TagManager_ContainerVersion");
  1620. }
  1621. }
  1622. /**
  1623. * The "permissions" collection of methods.
  1624. * Typical usage is:
  1625. * <code>
  1626. * $tagmanagerService = new Google_Service_TagManager(...);
  1627. * $permissions = $tagmanagerService->permissions;
  1628. * </code>
  1629. */
  1630. class Google_Service_TagManager_AccountsPermissions_Resource extends Google_Service_Resource
  1631. {
  1632. /**
  1633. * Creates a user's Account & Container Permissions. (permissions.create)
  1634. *
  1635. * @param string $accountId The GTM Account ID.
  1636. * @param Google_UserAccess $postBody
  1637. * @param array $optParams Optional parameters.
  1638. * @return Google_Service_TagManager_UserAccess
  1639. */
  1640. public function create($accountId, Google_Service_TagManager_UserAccess $postBody, $optParams = array())
  1641. {
  1642. $params = array('accountId' => $accountId, 'postBody' => $postBody);
  1643. $params = array_merge($params, $optParams);
  1644. return $this->call('create', array($params), "Google_Service_TagManager_UserAccess");
  1645. }
  1646. /**
  1647. * Removes a user from the account, revoking access to it and all of its
  1648. * containers. (permissions.delete)
  1649. *
  1650. * @param string $accountId The GTM Account ID.
  1651. * @param string $permissionId The GTM User ID.
  1652. * @param array $optParams Optional parameters.
  1653. */
  1654. public function delete($accountId, $permissionId, $optParams = array())
  1655. {
  1656. $params = array('accountId' => $accountId, 'permissionId' => $permissionId);
  1657. $params = array_merge($params, $optParams);
  1658. return $this->call('delete', array($params));
  1659. }
  1660. /**
  1661. * Gets a user's Account & Container Permissions. (permissions.get)
  1662. *
  1663. * @param string $accountId The GTM Account ID.
  1664. * @param string $permissionId The GTM User ID.
  1665. * @param array $optParams Optional parameters.
  1666. * @return Google_Service_TagManager_UserAccess
  1667. */
  1668. public function get($accountId, $permissionId, $optParams = array())
  1669. {
  1670. $params = array('accountId' => $accountId, 'permissionId' => $permissionId);
  1671. $params = array_merge($params, $optParams);
  1672. return $this->call('get', array($params), "Google_Service_TagManager_UserAccess");
  1673. }
  1674. /**
  1675. * List all users that have access to the account along with Account and
  1676. * Container Permissions granted to each of them.
  1677. * (permissions.listAccountsPermissions)
  1678. *
  1679. * @param string $accountId The GTM Account ID. @required
  1680. * tagmanager.accounts.permissions.list
  1681. * @param array $optParams Optional parameters.
  1682. * @return Google_Service_TagManager_ListAccountUsersResponse
  1683. */
  1684. public function listAccountsPermissions($accountId, $optParams = array())
  1685. {
  1686. $params = array('accountId' => $accountId);
  1687. $params = array_merge($params, $optParams);
  1688. return $this->call('list', array($params), "Google_Service_TagManager_ListAccountUsersResponse");
  1689. }
  1690. /**
  1691. * Updates a user's Account & Container Permissions. (permissions.update)
  1692. *
  1693. * @param string $accountId The GTM Account ID.
  1694. * @param string $permissionId The GTM User ID.
  1695. * @param Google_UserAccess $postBody
  1696. * @param array $optParams Optional parameters.
  1697. * @return Google_Service_TagManager_UserAccess
  1698. */
  1699. public function update($accountId, $permissionId, Google_Service_TagManager_UserAccess $postBody, $optParams = array())
  1700. {
  1701. $params = array('accountId' => $accountId, 'permissionId' => $permissionId, 'postBody' => $postBody);
  1702. $params = array_merge($params, $optParams);
  1703. return $this->call('update', array($params), "Google_Service_TagManager_UserAccess");
  1704. }
  1705. }
  1706. class Google_Service_TagManager_Account extends Google_Model
  1707. {
  1708. protected $internal_gapi_mappings = array(
  1709. );
  1710. public $accountId;
  1711. public $fingerprint;
  1712. public $name;
  1713. public $shareData;
  1714. public function setAccountId($accountId)
  1715. {
  1716. $this->accountId = $accountId;
  1717. }
  1718. public function getAccountId()
  1719. {
  1720. return $this->accountId;
  1721. }
  1722. public function setFingerprint($fingerprint)
  1723. {
  1724. $this->fingerprint = $fingerprint;
  1725. }
  1726. public function getFingerprint()
  1727. {
  1728. return $this->fingerprint;
  1729. }
  1730. public function setName($name)
  1731. {
  1732. $this->name = $name;
  1733. }
  1734. public function getName()
  1735. {
  1736. return $this->name;
  1737. }
  1738. public function setShareData($shareData)
  1739. {
  1740. $this->shareData = $shareData;
  1741. }
  1742. public function getShareData()
  1743. {
  1744. return $this->shareData;
  1745. }
  1746. }
  1747. class Google_Service_TagManager_AccountAccess extends Google_Collection
  1748. {
  1749. protected $collection_key = 'permission';
  1750. protected $internal_gapi_mappings = array(
  1751. );
  1752. public $permission;
  1753. public function setPermission($permission)
  1754. {
  1755. $this->permission = $permission;
  1756. }
  1757. public function getPermission()
  1758. {
  1759. return $this->permission;
  1760. }
  1761. }
  1762. class Google_Service_TagManager_Condition extends Google_Collection
  1763. {
  1764. protected $collection_key = 'parameter';
  1765. protected $internal_gapi_mappings = array(
  1766. );
  1767. protected $parameterType = 'Google_Service_TagManager_Parameter';
  1768. protected $parameterDataType = 'array';
  1769. public $type;
  1770. public function setParameter($parameter)
  1771. {
  1772. $this->parameter = $parameter;
  1773. }
  1774. public function getParameter()
  1775. {
  1776. return $this->parameter;
  1777. }
  1778. public function setType($type)
  1779. {
  1780. $this->type = $type;
  1781. }
  1782. public function getType()
  1783. {
  1784. return $this->type;
  1785. }
  1786. }
  1787. class Google_Service_TagManager_Container extends Google_Collection
  1788. {
  1789. protected $collection_key = 'usageContext';
  1790. protected $internal_gapi_mappings = array(
  1791. );
  1792. public $accountId;
  1793. public $containerId;
  1794. public $domainName;
  1795. public $enabledBuiltInVariable;
  1796. public $fingerprint;
  1797. public $name;
  1798. public $notes;
  1799. public $publicId;
  1800. public $timeZoneCountryId;
  1801. public $timeZoneId;
  1802. public $usageContext;
  1803. public function setAccountId($accountId)
  1804. {
  1805. $this->accountId = $accountId;
  1806. }
  1807. public function getAccountId()
  1808. {
  1809. return $this->accountId;
  1810. }
  1811. public function setContainerId($containerId)
  1812. {
  1813. $this->containerId = $containerId;
  1814. }
  1815. public function getContainerId()
  1816. {
  1817. return $this->containerId;
  1818. }
  1819. public function setDomainName($domainName)
  1820. {
  1821. $this->domainName = $domainName;
  1822. }
  1823. public function getDomainName()
  1824. {
  1825. return $this->domainName;
  1826. }
  1827. public function setEnabledBuiltInVariable($enabledBuiltInVariable)
  1828. {
  1829. $this->enabledBuiltInVariable = $enabledBuiltInVariable;
  1830. }
  1831. public function getEnabledBuiltInVariable()
  1832. {
  1833. return $this->enabledBuiltInVariable;
  1834. }
  1835. public function setFingerprint($fingerprint)
  1836. {
  1837. $this->fingerprint = $fingerprint;
  1838. }
  1839. public function getFingerprint()
  1840. {
  1841. return $this->fingerprint;
  1842. }
  1843. public function setName($name)
  1844. {
  1845. $this->name = $name;
  1846. }
  1847. public function getName()
  1848. {
  1849. return $this->name;
  1850. }
  1851. public function setNotes($notes)
  1852. {
  1853. $this->notes = $notes;
  1854. }
  1855. public function getNotes()
  1856. {
  1857. return $this->notes;
  1858. }
  1859. public function setPublicId($publicId)
  1860. {
  1861. $this->publicId = $publicId;
  1862. }
  1863. public function getPublicId()
  1864. {
  1865. return $this->publicId;
  1866. }
  1867. public function setTimeZoneCountryId($timeZoneCountryId)
  1868. {
  1869. $this->timeZoneCountryId = $timeZoneCountryId;
  1870. }
  1871. public function getTimeZoneCountryId()
  1872. {
  1873. return $this->timeZoneCountryId;
  1874. }
  1875. public function setTimeZoneId($timeZoneId)
  1876. {
  1877. $this->timeZoneId = $timeZoneId;
  1878. }
  1879. public function getTimeZoneId()
  1880. {
  1881. return $this->timeZoneId;
  1882. }
  1883. public function setUsageContext($usageContext)
  1884. {
  1885. $this->usageContext = $usageContext;
  1886. }
  1887. public function getUsageContext()
  1888. {
  1889. return $this->usageContext;
  1890. }
  1891. }
  1892. class Google_Service_TagManager_ContainerAccess extends Google_Collection
  1893. {
  1894. protected $collection_key = 'permission';
  1895. protected $internal_gapi_mappings = array(
  1896. );
  1897. public $containerId;
  1898. public $permission;
  1899. public function setContainerId($containerId)
  1900. {
  1901. $this->containerId = $containerId;
  1902. }
  1903. public function getContainerId()
  1904. {
  1905. return $this->containerId;
  1906. }
  1907. public function setPermission($permission)
  1908. {
  1909. $this->permission = $permission;
  1910. }
  1911. public function getPermission()
  1912. {
  1913. return $this->permission;
  1914. }
  1915. }
  1916. class Google_Service_TagManager_ContainerVersion extends Google_Collection
  1917. {
  1918. protected $collection_key = 'variable';
  1919. protected $internal_gapi_mappings = array(
  1920. );
  1921. public $accountId;
  1922. protected $containerType = 'Google_Service_TagManager_Container';
  1923. protected $containerDataType = '';
  1924. public $containerId;
  1925. public $containerVersionId;
  1926. public $deleted;
  1927. public $fingerprint;
  1928. protected $folderType = 'Google_Service_TagManager_Folder';
  1929. protected $folderDataType = 'array';
  1930. protected $macroType = 'Google_Service_TagManager_Macro';
  1931. protected $macroDataType = 'array';
  1932. public $name;
  1933. public $notes;
  1934. protected $ruleType = 'Google_Service_TagManager_Rule';
  1935. protected $ruleDataType = 'array';
  1936. protected $tagType = 'Google_Service_TagManager_Tag';
  1937. protected $tagDataType = 'array';
  1938. protected $triggerType = 'Google_Service_TagManager_Trigger';
  1939. protected $triggerDataType = 'array';
  1940. protected $variableType = 'Google_Service_TagManager_Variable';
  1941. protected $variableDataType = 'array';
  1942. public function setAccountId($accountId)
  1943. {
  1944. $this->accountId = $accountId;
  1945. }
  1946. public function getAccountId()
  1947. {
  1948. return $this->accountId;
  1949. }
  1950. public function setContainer(Google_Service_TagManager_Container $container)
  1951. {
  1952. $this->container = $container;
  1953. }
  1954. public function getContainer()
  1955. {
  1956. return $this->container;
  1957. }
  1958. public function setContainerId($containerId)
  1959. {
  1960. $this->containerId = $containerId;
  1961. }
  1962. public function getContainerId()
  1963. {
  1964. return $this->containerId;
  1965. }
  1966. public function setContainerVersionId($containerVersionId)
  1967. {
  1968. $this->containerVersionId = $containerVersionId;
  1969. }
  1970. public function getContainerVersionId()
  1971. {
  1972. return $this->containerVersionId;
  1973. }
  1974. public function setDeleted($deleted)
  1975. {
  1976. $this->deleted = $deleted;
  1977. }
  1978. public function getDeleted()
  1979. {
  1980. return $this->deleted;
  1981. }
  1982. public function setFingerprint($fingerprint)
  1983. {
  1984. $this->fingerprint = $fingerprint;
  1985. }
  1986. public function getFingerprint()
  1987. {
  1988. return $this->fingerprint;
  1989. }
  1990. public function setFolder($folder)
  1991. {
  1992. $this->folder = $folder;
  1993. }
  1994. public function getFolder()
  1995. {
  1996. return $this->folder;
  1997. }
  1998. public function setMacro($macro)
  1999. {
  2000. $this->macro = $macro;
  2001. }
  2002. public function getMacro()
  2003. {
  2004. return $this->macro;
  2005. }
  2006. public function setName($name)
  2007. {
  2008. $this->name = $name;
  2009. }
  2010. public function getName()
  2011. {
  2012. return $this->name;
  2013. }
  2014. public function setNotes($notes)
  2015. {
  2016. $this->notes = $notes;
  2017. }
  2018. public function getNotes()
  2019. {
  2020. return $this->notes;
  2021. }
  2022. public function setRule($rule)
  2023. {
  2024. $this->rule = $rule;
  2025. }
  2026. public function getRule()
  2027. {
  2028. return $this->rule;
  2029. }
  2030. public function setTag($tag)
  2031. {
  2032. $this->tag = $tag;
  2033. }
  2034. public function getTag()
  2035. {
  2036. return $this->tag;
  2037. }
  2038. public function setTrigger($trigger)
  2039. {
  2040. $this->trigger = $trigger;
  2041. }
  2042. public function getTrigger()
  2043. {
  2044. return $this->trigger;
  2045. }
  2046. public function setVariable($variable)
  2047. {
  2048. $this->variable = $variable;
  2049. }
  2050. public function getVariable()
  2051. {
  2052. return $this->variable;
  2053. }
  2054. }
  2055. class Google_Service_TagManager_ContainerVersionHeader extends Google_Model
  2056. {
  2057. protected $internal_gapi_mappings = array(
  2058. );
  2059. public $accountId;
  2060. public $containerId;
  2061. public $containerVersionId;
  2062. public $deleted;
  2063. public $name;
  2064. public $numMacros;
  2065. public $numRules;
  2066. public $numTags;
  2067. public $numTriggers;
  2068. public $numVariables;
  2069. public function setAccountId($accountId)
  2070. {
  2071. $this->accountId = $accountId;
  2072. }
  2073. public function getAccountId()
  2074. {
  2075. return $this->accountId;
  2076. }
  2077. public function setContainerId($containerId)
  2078. {
  2079. $this->containerId = $containerId;
  2080. }
  2081. public function getContainerId()
  2082. {
  2083. return $this->containerId;
  2084. }
  2085. public function setContainerVersionId($containerVersionId)
  2086. {
  2087. $this->containerVersionId = $containerVersionId;
  2088. }
  2089. public function getContainerVersionId()
  2090. {
  2091. return $this->containerVersionId;
  2092. }
  2093. public function setDeleted($deleted)
  2094. {
  2095. $this->deleted = $deleted;
  2096. }
  2097. public function getDeleted()
  2098. {
  2099. return $this->deleted;
  2100. }
  2101. public function setName($name)
  2102. {
  2103. $this->name = $name;
  2104. }
  2105. public function getName()
  2106. {
  2107. return $this->name;
  2108. }
  2109. public function setNumMacros($numMacros)
  2110. {
  2111. $this->numMacros = $numMacros;
  2112. }
  2113. public function getNumMacros()
  2114. {
  2115. return $this->numMacros;
  2116. }
  2117. public function setNumRules($numRules)
  2118. {
  2119. $this->numRules = $numRules;
  2120. }
  2121. public function getNumRules()
  2122. {
  2123. return $this->numRules;
  2124. }
  2125. public function setNumTags($numTags)
  2126. {
  2127. $this->numTags = $numTags;
  2128. }
  2129. public function getNumTags()
  2130. {
  2131. return $this->numTags;
  2132. }
  2133. public function setNumTriggers($numTriggers)
  2134. {
  2135. $this->numTriggers = $numTriggers;
  2136. }
  2137. public function getNumTriggers()
  2138. {
  2139. return $this->numTriggers;
  2140. }
  2141. public function setNumVariables($numVariables)
  2142. {
  2143. $this->numVariables = $numVariables;
  2144. }
  2145. public function getNumVariables()
  2146. {
  2147. return $this->numVariables;
  2148. }
  2149. }
  2150. class Google_Service_TagManager_CreateContainerVersionRequestVersionOptions extends Google_Model
  2151. {
  2152. protected $internal_gapi_mappings = array(
  2153. );
  2154. public $name;
  2155. public $notes;
  2156. public $quickPreview;
  2157. public function setName($name)
  2158. {
  2159. $this->name = $name;
  2160. }
  2161. public function getName()
  2162. {
  2163. return $this->name;
  2164. }
  2165. public function setNotes($notes)
  2166. {
  2167. $this->notes = $notes;
  2168. }
  2169. public function getNotes()
  2170. {
  2171. return $this->notes;
  2172. }
  2173. public function setQuickPreview($quickPreview)
  2174. {
  2175. $this->quickPreview = $quickPreview;
  2176. }
  2177. public function getQuickPreview()
  2178. {
  2179. return $this->quickPreview;
  2180. }
  2181. }
  2182. class Google_Service_TagManager_CreateContainerVersionResponse extends Google_Model
  2183. {
  2184. protected $internal_gapi_mappings = array(
  2185. );
  2186. public $compilerError;
  2187. protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
  2188. protected $containerVersionDataType = '';
  2189. public function setCompilerError($compilerError)
  2190. {
  2191. $this->compilerError = $compilerError;
  2192. }
  2193. public function getCompilerError()
  2194. {
  2195. return $this->compilerError;
  2196. }
  2197. public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion)
  2198. {
  2199. $this->containerVersion = $containerVersion;
  2200. }
  2201. public function getContainerVersion()
  2202. {
  2203. return $this->containerVersion;
  2204. }
  2205. }
  2206. class Google_Service_TagManager_Folder extends Google_Model
  2207. {
  2208. protected $internal_gapi_mappings = array(
  2209. );
  2210. public $accountId;
  2211. public $containerId;
  2212. public $fingerprint;
  2213. public $folderId;
  2214. public $name;
  2215. public function setAccountId($accountId)
  2216. {
  2217. $this->accountId = $accountId;
  2218. }
  2219. public function getAccountId()
  2220. {
  2221. return $this->accountId;
  2222. }
  2223. public function setContainerId($containerId)
  2224. {
  2225. $this->containerId = $containerId;
  2226. }
  2227. public function getContainerId()
  2228. {
  2229. return $this->containerId;
  2230. }
  2231. public function setFingerprint($fingerprint)
  2232. {
  2233. $this->fingerprint = $fingerprint;
  2234. }
  2235. public function getFingerprint()
  2236. {
  2237. return $this->fingerprint;
  2238. }
  2239. public function setFolderId($folderId)
  2240. {
  2241. $this->folderId = $folderId;
  2242. }
  2243. public function getFolderId()
  2244. {
  2245. return $this->folderId;
  2246. }
  2247. public function setName($name)
  2248. {
  2249. $this->name = $name;
  2250. }
  2251. public function getName()
  2252. {
  2253. return $this->name;
  2254. }
  2255. }
  2256. class Google_Service_TagManager_FolderEntities extends Google_Collection
  2257. {
  2258. protected $collection_key = 'variable';
  2259. protected $internal_gapi_mappings = array(
  2260. );
  2261. protected $tagType = 'Google_Service_TagManager_Tag';
  2262. protected $tagDataType = 'array';
  2263. protected $triggerType = 'Google_Service_TagManager_Trigger';
  2264. protected $triggerDataType = 'array';
  2265. protected $variableType = 'Google_Service_TagManager_Variable';
  2266. protected $variableDataType = 'array';
  2267. public function setTag($tag)
  2268. {
  2269. $this->tag = $tag;
  2270. }
  2271. public function getTag()
  2272. {
  2273. return $this->tag;
  2274. }
  2275. public function setTrigger($trigger)
  2276. {
  2277. $this->trigger = $trigger;
  2278. }
  2279. public function getTrigger()
  2280. {
  2281. return $this->trigger;
  2282. }
  2283. public function setVariable($variable)
  2284. {
  2285. $this->variable = $variable;
  2286. }
  2287. public function getVariable()
  2288. {
  2289. return $this->variable;
  2290. }
  2291. }
  2292. class Google_Service_TagManager_ListAccountUsersResponse extends Google_Collection
  2293. {
  2294. protected $collection_key = 'userAccess';
  2295. protected $internal_gapi_mappings = array(
  2296. );
  2297. protected $userAccessType = 'Google_Service_TagManager_UserAccess';
  2298. protected $userAccessDataType = 'array';
  2299. public function setUserAccess($userAccess)
  2300. {
  2301. $this->userAccess = $userAccess;
  2302. }
  2303. public function getUserAccess()
  2304. {
  2305. return $this->userAccess;
  2306. }
  2307. }
  2308. class Google_Service_TagManager_ListAccountsResponse extends Google_Collection
  2309. {
  2310. protected $collection_key = 'accounts';
  2311. protected $internal_gapi_mappings = array(
  2312. );
  2313. protected $accountsType = 'Google_Service_TagManager_Account';
  2314. protected $accountsDataType = 'array';
  2315. public function setAccounts($accounts)
  2316. {
  2317. $this->accounts = $accounts;
  2318. }
  2319. public function getAccounts()
  2320. {
  2321. return $this->accounts;
  2322. }
  2323. }
  2324. class Google_Service_TagManager_ListContainerVersionsResponse extends Google_Collection
  2325. {
  2326. protected $collection_key = 'containerVersionHeader';
  2327. protected $internal_gapi_mappings = array(
  2328. );
  2329. protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
  2330. protected $containerVersionDataType = 'array';
  2331. protected $containerVersionHeaderType = 'Google_Service_TagManager_ContainerVersionHeader';
  2332. protected $containerVersionHeaderDataType = 'array';
  2333. public function setContainerVersion($containerVersion)
  2334. {
  2335. $this->containerVersion = $containerVersion;
  2336. }
  2337. public function getContainerVersion()
  2338. {
  2339. return $this->containerVersion;
  2340. }
  2341. public function setContainerVersionHeader($containerVersionHeader)
  2342. {
  2343. $this->containerVersionHeader = $containerVersionHeader;
  2344. }
  2345. public function getContainerVersionHeader()
  2346. {
  2347. return $this->containerVersionHeader;
  2348. }
  2349. }
  2350. class Google_Service_TagManager_ListContainersResponse extends Google_Collection
  2351. {
  2352. protected $collection_key = 'containers';
  2353. protected $internal_gapi_mappings = array(
  2354. );
  2355. protected $containersType = 'Google_Service_TagManager_Container';
  2356. protected $containersDataType = 'array';
  2357. public function setContainers($containers)
  2358. {
  2359. $this->containers = $containers;
  2360. }
  2361. public function getContainers()
  2362. {
  2363. return $this->containers;
  2364. }
  2365. }
  2366. class Google_Service_TagManager_ListFoldersResponse extends Google_Collection
  2367. {
  2368. protected $collection_key = 'folders';
  2369. protected $internal_gapi_mappings = array(
  2370. );
  2371. protected $foldersType = 'Google_Service_TagManager_Folder';
  2372. protected $foldersDataType = 'array';
  2373. public function setFolders($folders)
  2374. {
  2375. $this->folders = $folders;
  2376. }
  2377. public function getFolders()
  2378. {
  2379. return $this->folders;
  2380. }
  2381. }
  2382. class Google_Service_TagManager_ListTagsResponse extends Google_Collection
  2383. {
  2384. protected $collection_key = 'tags';
  2385. protected $internal_gapi_mappings = array(
  2386. );
  2387. protected $tagsType = 'Google_Service_TagManager_Tag';
  2388. protected $tagsDataType = 'array';
  2389. public function setTags($tags)
  2390. {
  2391. $this->tags = $tags;
  2392. }
  2393. public function getTags()
  2394. {
  2395. return $this->tags;
  2396. }
  2397. }
  2398. class Google_Service_TagManager_ListTriggersResponse extends Google_Collection
  2399. {
  2400. protected $collection_key = 'triggers';
  2401. protected $internal_gapi_mappings = array(
  2402. );
  2403. protected $triggersType = 'Google_Service_TagManager_Trigger';
  2404. protected $triggersDataType = 'array';
  2405. public function setTriggers($triggers)
  2406. {
  2407. $this->triggers = $triggers;
  2408. }
  2409. public function getTriggers()
  2410. {
  2411. return $this->triggers;
  2412. }
  2413. }
  2414. class Google_Service_TagManager_ListVariablesResponse extends Google_Collection
  2415. {
  2416. protected $collection_key = 'variables';
  2417. protected $internal_gapi_mappings = array(
  2418. );
  2419. protected $variablesType = 'Google_Service_TagManager_Variable';
  2420. protected $variablesDataType = 'array';
  2421. public function setVariables($variables)
  2422. {
  2423. $this->variables = $variables;
  2424. }
  2425. public function getVariables()
  2426. {
  2427. return $this->variables;
  2428. }
  2429. }
  2430. class Google_Service_TagManager_Macro extends Google_Collection
  2431. {
  2432. protected $collection_key = 'parameter';
  2433. protected $internal_gapi_mappings = array(
  2434. );
  2435. public $accountId;
  2436. public $containerId;
  2437. public $disablingRuleId;
  2438. public $enablingRuleId;
  2439. public $fingerprint;
  2440. public $macroId;
  2441. public $name;
  2442. public $notes;
  2443. protected $parameterType = 'Google_Service_TagManager_Parameter';
  2444. protected $parameterDataType = 'array';
  2445. public $parentFolderId;
  2446. public $scheduleEndMs;
  2447. public $scheduleStartMs;
  2448. public $type;
  2449. public function setAccountId($accountId)
  2450. {
  2451. $this->accountId = $accountId;
  2452. }
  2453. public function getAccountId()
  2454. {
  2455. return $this->accountId;
  2456. }
  2457. public function setContainerId($containerId)
  2458. {
  2459. $this->containerId = $containerId;
  2460. }
  2461. public function getContainerId()
  2462. {
  2463. return $this->containerId;
  2464. }
  2465. public function setDisablingRuleId($disablingRuleId)
  2466. {
  2467. $this->disablingRuleId = $disablingRuleId;
  2468. }
  2469. public function getDisablingRuleId()
  2470. {
  2471. return $this->disablingRuleId;
  2472. }
  2473. public function setEnablingRuleId($enablingRuleId)
  2474. {
  2475. $this->enablingRuleId = $enablingRuleId;
  2476. }
  2477. public function getEnablingRuleId()
  2478. {
  2479. return $this->enablingRuleId;
  2480. }
  2481. public function setFingerprint($fingerprint)
  2482. {
  2483. $this->fingerprint = $fingerprint;
  2484. }
  2485. public function getFingerprint()
  2486. {
  2487. return $this->fingerprint;
  2488. }
  2489. public function setMacroId($macroId)
  2490. {
  2491. $this->macroId = $macroId;
  2492. }
  2493. public function getMacroId()
  2494. {
  2495. return $this->macroId;
  2496. }
  2497. public function setName($name)
  2498. {
  2499. $this->name = $name;
  2500. }
  2501. public function getName()
  2502. {
  2503. return $this->name;
  2504. }
  2505. public function setNotes($notes)
  2506. {
  2507. $this->notes = $notes;
  2508. }
  2509. public function getNotes()
  2510. {
  2511. return $this->notes;
  2512. }
  2513. public function setParameter($parameter)
  2514. {
  2515. $this->parameter = $parameter;
  2516. }
  2517. public function getParameter()
  2518. {
  2519. return $this->parameter;
  2520. }
  2521. public function setParentFolderId($parentFolderId)
  2522. {
  2523. $this->parentFolderId = $parentFolderId;
  2524. }
  2525. public function getParentFolderId()
  2526. {
  2527. return $this->parentFolderId;
  2528. }
  2529. public function setScheduleEndMs($scheduleEndMs)
  2530. {
  2531. $this->scheduleEndMs = $scheduleEndMs;
  2532. }
  2533. public function getScheduleEndMs()
  2534. {
  2535. return $this->scheduleEndMs;
  2536. }
  2537. public function setScheduleStartMs($scheduleStartMs)
  2538. {
  2539. $this->scheduleStartMs = $scheduleStartMs;
  2540. }
  2541. public function getScheduleStartMs()
  2542. {
  2543. return $this->scheduleStartMs;
  2544. }
  2545. public function setType($type)
  2546. {
  2547. $this->type = $type;
  2548. }
  2549. public function getType()
  2550. {
  2551. return $this->type;
  2552. }
  2553. }
  2554. class Google_Service_TagManager_Parameter extends Google_Collection
  2555. {
  2556. protected $collection_key = 'map';
  2557. protected $internal_gapi_mappings = array(
  2558. );
  2559. public $key;
  2560. protected $listType = 'Google_Service_TagManager_Parameter';
  2561. protected $listDataType = 'array';
  2562. protected $mapType = 'Google_Service_TagManager_Parameter';
  2563. protected $mapDataType = 'array';
  2564. public $type;
  2565. public $value;
  2566. public function setKey($key)
  2567. {
  2568. $this->key = $key;
  2569. }
  2570. public function getKey()
  2571. {
  2572. return $this->key;
  2573. }
  2574. public function setList($list)
  2575. {
  2576. $this->list = $list;
  2577. }
  2578. public function getList()
  2579. {
  2580. return $this->list;
  2581. }
  2582. public function setMap($map)
  2583. {
  2584. $this->map = $map;
  2585. }
  2586. public function getMap()
  2587. {
  2588. return $this->map;
  2589. }
  2590. public function setType($type)
  2591. {
  2592. $this->type = $type;
  2593. }
  2594. public function getType()
  2595. {
  2596. return $this->type;
  2597. }
  2598. public function setValue($value)
  2599. {
  2600. $this->value = $value;
  2601. }
  2602. public function getValue()
  2603. {
  2604. return $this->value;
  2605. }
  2606. }
  2607. class Google_Service_TagManager_PublishContainerVersionResponse extends Google_Model
  2608. {
  2609. protected $internal_gapi_mappings = array(
  2610. );
  2611. public $compilerError;
  2612. protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion';
  2613. protected $containerVersionDataType = '';
  2614. public function setCompilerError($compilerError)
  2615. {
  2616. $this->compilerError = $compilerError;
  2617. }
  2618. public function getCompilerError()
  2619. {
  2620. return $this->compilerError;
  2621. }
  2622. public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion)
  2623. {
  2624. $this->containerVersion = $containerVersion;
  2625. }
  2626. public function getContainerVersion()
  2627. {
  2628. return $this->containerVersion;
  2629. }
  2630. }
  2631. class Google_Service_TagManager_Rule extends Google_Collection
  2632. {
  2633. protected $collection_key = 'condition';
  2634. protected $internal_gapi_mappings = array(
  2635. );
  2636. public $accountId;
  2637. protected $conditionType = 'Google_Service_TagManager_Condition';
  2638. protected $conditionDataType = 'array';
  2639. public $containerId;
  2640. public $fingerprint;
  2641. public $name;
  2642. public $notes;
  2643. public $ruleId;
  2644. public function setAccountId($accountId)
  2645. {
  2646. $this->accountId = $accountId;
  2647. }
  2648. public function getAccountId()
  2649. {
  2650. return $this->accountId;
  2651. }
  2652. public function setCondition($condition)
  2653. {
  2654. $this->condition = $condition;
  2655. }
  2656. public function getCondition()
  2657. {
  2658. return $this->condition;
  2659. }
  2660. public function setContainerId($containerId)
  2661. {
  2662. $this->containerId = $containerId;
  2663. }
  2664. public function getContainerId()
  2665. {
  2666. return $this->containerId;
  2667. }
  2668. public function setFingerprint($fingerprint)
  2669. {
  2670. $this->fingerprint = $fingerprint;
  2671. }
  2672. public function getFingerprint()
  2673. {
  2674. return $this->fingerprint;
  2675. }
  2676. public function setName($name)
  2677. {
  2678. $this->name = $name;
  2679. }
  2680. public function getName()
  2681. {
  2682. return $this->name;
  2683. }
  2684. public function setNotes($notes)
  2685. {
  2686. $this->notes = $notes;
  2687. }
  2688. public function getNotes()
  2689. {
  2690. return $this->notes;
  2691. }
  2692. public function setRuleId($ruleId)
  2693. {
  2694. $this->ruleId = $ruleId;
  2695. }
  2696. public function getRuleId()
  2697. {
  2698. return $this->ruleId;
  2699. }
  2700. }
  2701. class Google_Service_TagManager_SetupTag extends Google_Model
  2702. {
  2703. protected $internal_gapi_mappings = array(
  2704. );
  2705. public $stopOnSetupFailure;
  2706. public $tagName;
  2707. public function setStopOnSetupFailure($stopOnSetupFailure)
  2708. {
  2709. $this->stopOnSetupFailure = $stopOnSetupFailure;
  2710. }
  2711. public function getStopOnSetupFailure()
  2712. {
  2713. return $this->stopOnSetupFailure;
  2714. }
  2715. public function setTagName($tagName)
  2716. {
  2717. $this->tagName = $tagName;
  2718. }
  2719. public function getTagName()
  2720. {
  2721. return $this->tagName;
  2722. }
  2723. }
  2724. class Google_Service_TagManager_Tag extends Google_Collection
  2725. {
  2726. protected $collection_key = 'teardownTag';
  2727. protected $internal_gapi_mappings = array(
  2728. );
  2729. public $accountId;
  2730. public $blockingRuleId;
  2731. public $blockingTriggerId;
  2732. public $containerId;
  2733. public $fingerprint;
  2734. public $firingRuleId;
  2735. public $firingTriggerId;
  2736. public $liveOnly;
  2737. public $name;
  2738. public $notes;
  2739. protected $parameterType = 'Google_Service_TagManager_Parameter';
  2740. protected $parameterDataType = 'array';
  2741. public $parentFolderId;
  2742. protected $priorityType = 'Google_Service_TagManager_Parameter';
  2743. protected $priorityDataType = '';
  2744. public $scheduleEndMs;
  2745. public $scheduleStartMs;
  2746. protected $setupTagType = 'Google_Service_TagManager_SetupTag';
  2747. protected $setupTagDataType = 'array';
  2748. public $tagFiringOption;
  2749. public $tagId;
  2750. protected $teardownTagType = 'Google_Service_TagManager_TeardownTag';
  2751. protected $teardownTagDataType = 'array';
  2752. public $type;
  2753. public function setAccountId($accountId)
  2754. {
  2755. $this->accountId = $accountId;
  2756. }
  2757. public function getAccountId()
  2758. {
  2759. return $this->accountId;
  2760. }
  2761. public function setBlockingRuleId($blockingRuleId)
  2762. {
  2763. $this->blockingRuleId = $blockingRuleId;
  2764. }
  2765. public function getBlockingRuleId()
  2766. {
  2767. return $this->blockingRuleId;
  2768. }
  2769. public function setBlockingTriggerId($blockingTriggerId)
  2770. {
  2771. $this->blockingTriggerId = $blockingTriggerId;
  2772. }
  2773. public function getBlockingTriggerId()
  2774. {
  2775. return $this->blockingTriggerId;
  2776. }
  2777. public function setContainerId($containerId)
  2778. {
  2779. $this->containerId = $containerId;
  2780. }
  2781. public function getContainerId()
  2782. {
  2783. return $this->containerId;
  2784. }
  2785. public function setFingerprint($fingerprint)
  2786. {
  2787. $this->fingerprint = $fingerprint;
  2788. }
  2789. public function getFingerprint()
  2790. {
  2791. return $this->fingerprint;
  2792. }
  2793. public function setFiringRuleId($firingRuleId)
  2794. {
  2795. $this->firingRuleId = $firingRuleId;
  2796. }
  2797. public function getFiringRuleId()
  2798. {
  2799. return $this->firingRuleId;
  2800. }
  2801. public function setFiringTriggerId($firingTriggerId)
  2802. {
  2803. $this->firingTriggerId = $firingTriggerId;
  2804. }
  2805. public function getFiringTriggerId()
  2806. {
  2807. return $this->firingTriggerId;
  2808. }
  2809. public function setLiveOnly($liveOnly)
  2810. {
  2811. $this->liveOnly = $liveOnly;
  2812. }
  2813. public function getLiveOnly()
  2814. {
  2815. return $this->liveOnly;
  2816. }
  2817. public function setName($name)
  2818. {
  2819. $this->name = $name;
  2820. }
  2821. public function getName()
  2822. {
  2823. return $this->name;
  2824. }
  2825. public function setNotes($notes)
  2826. {
  2827. $this->notes = $notes;
  2828. }
  2829. public function getNotes()
  2830. {
  2831. return $this->notes;
  2832. }
  2833. public function setParameter($parameter)
  2834. {
  2835. $this->parameter = $parameter;
  2836. }
  2837. public function getParameter()
  2838. {
  2839. return $this->parameter;
  2840. }
  2841. public function setParentFolderId($parentFolderId)
  2842. {
  2843. $this->parentFolderId = $parentFolderId;
  2844. }
  2845. public function getParentFolderId()
  2846. {
  2847. return $this->parentFolderId;
  2848. }
  2849. public function setPriority(Google_Service_TagManager_Parameter $priority)
  2850. {
  2851. $this->priority = $priority;
  2852. }
  2853. public function getPriority()
  2854. {
  2855. return $this->priority;
  2856. }
  2857. public function setScheduleEndMs($scheduleEndMs)
  2858. {
  2859. $this->scheduleEndMs = $scheduleEndMs;
  2860. }
  2861. public function getScheduleEndMs()
  2862. {
  2863. return $this->scheduleEndMs;
  2864. }
  2865. public function setScheduleStartMs($scheduleStartMs)
  2866. {
  2867. $this->scheduleStartMs = $scheduleStartMs;
  2868. }
  2869. public function getScheduleStartMs()
  2870. {
  2871. return $this->scheduleStartMs;
  2872. }
  2873. public function setSetupTag($setupTag)
  2874. {
  2875. $this->setupTag = $setupTag;
  2876. }
  2877. public function getSetupTag()
  2878. {
  2879. return $this->setupTag;
  2880. }
  2881. public function setTagFiringOption($tagFiringOption)
  2882. {
  2883. $this->tagFiringOption = $tagFiringOption;
  2884. }
  2885. public function getTagFiringOption()
  2886. {
  2887. return $this->tagFiringOption;
  2888. }
  2889. public function setTagId($tagId)
  2890. {
  2891. $this->tagId = $tagId;
  2892. }
  2893. public function getTagId()
  2894. {
  2895. return $this->tagId;
  2896. }
  2897. public function setTeardownTag($teardownTag)
  2898. {
  2899. $this->teardownTag = $teardownTag;
  2900. }
  2901. public function getTeardownTag()
  2902. {
  2903. return $this->teardownTag;
  2904. }
  2905. public function setType($type)
  2906. {
  2907. $this->type = $type;
  2908. }
  2909. public function getType()
  2910. {
  2911. return $this->type;
  2912. }
  2913. }
  2914. class Google_Service_TagManager_TeardownTag extends Google_Model
  2915. {
  2916. protected $internal_gapi_mappings = array(
  2917. );
  2918. public $stopTeardownOnFailure;
  2919. public $tagName;
  2920. public function setStopTeardownOnFailure($stopTeardownOnFailure)
  2921. {
  2922. $this->stopTeardownOnFailure = $stopTeardownOnFailure;
  2923. }
  2924. public function getStopTeardownOnFailure()
  2925. {
  2926. return $this->stopTeardownOnFailure;
  2927. }
  2928. public function setTagName($tagName)
  2929. {
  2930. $this->tagName = $tagName;
  2931. }
  2932. public function getTagName()
  2933. {
  2934. return $this->tagName;
  2935. }
  2936. }
  2937. class Google_Service_TagManager_Trigger extends Google_Collection
  2938. {
  2939. protected $collection_key = 'filter';
  2940. protected $internal_gapi_mappings = array(
  2941. );
  2942. public $accountId;
  2943. protected $autoEventFilterType = 'Google_Service_TagManager_Condition';
  2944. protected $autoEventFilterDataType = 'array';
  2945. protected $checkValidationType = 'Google_Service_TagManager_Parameter';
  2946. protected $checkValidationDataType = '';
  2947. public $containerId;
  2948. protected $customEventFilterType = 'Google_Service_TagManager_Condition';
  2949. protected $customEventFilterDataType = 'array';
  2950. protected $enableAllVideosType = 'Google_Service_TagManager_Parameter';
  2951. protected $enableAllVideosDataType = '';
  2952. protected $eventNameType = 'Google_Service_TagManager_Parameter';
  2953. protected $eventNameDataType = '';
  2954. protected $filterType = 'Google_Service_TagManager_Condition';
  2955. protected $filterDataType = 'array';
  2956. public $fingerprint;
  2957. protected $intervalType = 'Google_Service_TagManager_Parameter';
  2958. protected $intervalDataType = '';
  2959. protected $limitType = 'Google_Service_TagManager_Parameter';
  2960. protected $limitDataType = '';
  2961. public $name;
  2962. public $parentFolderId;
  2963. public $triggerId;
  2964. public $type;
  2965. protected $uniqueTriggerIdType = 'Google_Service_TagManager_Parameter';
  2966. protected $uniqueTriggerIdDataType = '';
  2967. protected $videoPercentageListType = 'Google_Service_TagManager_Parameter';
  2968. protected $videoPercentageListDataType = '';
  2969. protected $waitForTagsType = 'Google_Service_TagManager_Parameter';
  2970. protected $waitForTagsDataType = '';
  2971. protected $waitForTagsTimeoutType = 'Google_Service_TagManager_Parameter';
  2972. protected $waitForTagsTimeoutDataType = '';
  2973. public function setAccountId($accountId)
  2974. {
  2975. $this->accountId = $accountId;
  2976. }
  2977. public function getAccountId()
  2978. {
  2979. return $this->accountId;
  2980. }
  2981. public function setAutoEventFilter($autoEventFilter)
  2982. {
  2983. $this->autoEventFilter = $autoEventFilter;
  2984. }
  2985. public function getAutoEventFilter()
  2986. {
  2987. return $this->autoEventFilter;
  2988. }
  2989. public function setCheckValidation(Google_Service_TagManager_Parameter $checkValidation)
  2990. {
  2991. $this->checkValidation = $checkValidation;
  2992. }
  2993. public function getCheckValidation()
  2994. {
  2995. return $this->checkValidation;
  2996. }
  2997. public function setContainerId($containerId)
  2998. {
  2999. $this->containerId = $containerId;
  3000. }
  3001. public function getContainerId()
  3002. {
  3003. return $this->containerId;
  3004. }
  3005. public function setCustomEventFilter($customEventFilter)
  3006. {
  3007. $this->customEventFilter = $customEventFilter;
  3008. }
  3009. public function getCustomEventFilter()
  3010. {
  3011. return $this->customEventFilter;
  3012. }
  3013. public function setEnableAllVideos(Google_Service_TagManager_Parameter $enableAllVideos)
  3014. {
  3015. $this->enableAllVideos = $enableAllVideos;
  3016. }
  3017. public function getEnableAllVideos()
  3018. {
  3019. return $this->enableAllVideos;
  3020. }
  3021. public function setEventName(Google_Service_TagManager_Parameter $eventName)
  3022. {
  3023. $this->eventName = $eventName;
  3024. }
  3025. public function getEventName()
  3026. {
  3027. return $this->eventName;
  3028. }
  3029. public function setFilter($filter)
  3030. {
  3031. $this->filter = $filter;
  3032. }
  3033. public function getFilter()
  3034. {
  3035. return $this->filter;
  3036. }
  3037. public function setFingerprint($fingerprint)
  3038. {
  3039. $this->fingerprint = $fingerprint;
  3040. }
  3041. public function getFingerprint()
  3042. {
  3043. return $this->fingerprint;
  3044. }
  3045. public function setInterval(Google_Service_TagManager_Parameter $interval)
  3046. {
  3047. $this->interval = $interval;
  3048. }
  3049. public function getInterval()
  3050. {
  3051. return $this->interval;
  3052. }
  3053. public function setLimit(Google_Service_TagManager_Parameter $limit)
  3054. {
  3055. $this->limit = $limit;
  3056. }
  3057. public function getLimit()
  3058. {
  3059. return $this->limit;
  3060. }
  3061. public function setName($name)
  3062. {
  3063. $this->name = $name;
  3064. }
  3065. public function getName()
  3066. {
  3067. return $this->name;
  3068. }
  3069. public function setParentFolderId($parentFolderId)
  3070. {
  3071. $this->parentFolderId = $parentFolderId;
  3072. }
  3073. public function getParentFolderId()
  3074. {
  3075. return $this->parentFolderId;
  3076. }
  3077. public function setTriggerId($triggerId)
  3078. {
  3079. $this->triggerId = $triggerId;
  3080. }
  3081. public function getTriggerId()
  3082. {
  3083. return $this->triggerId;
  3084. }
  3085. public function setType($type)
  3086. {
  3087. $this->type = $type;
  3088. }
  3089. public function getType()
  3090. {
  3091. return $this->type;
  3092. }
  3093. public function setUniqueTriggerId(Google_Service_TagManager_Parameter $uniqueTriggerId)
  3094. {
  3095. $this->uniqueTriggerId = $uniqueTriggerId;
  3096. }
  3097. public function getUniqueTriggerId()
  3098. {
  3099. return $this->uniqueTriggerId;
  3100. }
  3101. public function setVideoPercentageList(Google_Service_TagManager_Parameter $videoPercentageList)
  3102. {
  3103. $this->videoPercentageList = $videoPercentageList;
  3104. }
  3105. public function getVideoPercentageList()
  3106. {
  3107. return $this->videoPercentageList;
  3108. }
  3109. public function setWaitForTags(Google_Service_TagManager_Parameter $waitForTags)
  3110. {
  3111. $this->waitForTags = $waitForTags;
  3112. }
  3113. public function getWaitForTags()
  3114. {
  3115. return $this->waitForTags;
  3116. }
  3117. public function setWaitForTagsTimeout(Google_Service_TagManager_Parameter $waitForTagsTimeout)
  3118. {
  3119. $this->waitForTagsTimeout = $waitForTagsTimeout;
  3120. }
  3121. public function getWaitForTagsTimeout()
  3122. {
  3123. return $this->waitForTagsTimeout;
  3124. }
  3125. }
  3126. class Google_Service_TagManager_UserAccess extends Google_Collection
  3127. {
  3128. protected $collection_key = 'containerAccess';
  3129. protected $internal_gapi_mappings = array(
  3130. );
  3131. protected $accountAccessType = 'Google_Service_TagManager_AccountAccess';
  3132. protected $accountAccessDataType = '';
  3133. public $accountId;
  3134. protected $containerAccessType = 'Google_Service_TagManager_ContainerAccess';
  3135. protected $containerAccessDataType = 'array';
  3136. public $emailAddress;
  3137. public $permissionId;
  3138. public function setAccountAccess(Google_Service_TagManager_AccountAccess $accountAccess)
  3139. {
  3140. $this->accountAccess = $accountAccess;
  3141. }
  3142. public function getAccountAccess()
  3143. {
  3144. return $this->accountAccess;
  3145. }
  3146. public function setAccountId($accountId)
  3147. {
  3148. $this->accountId = $accountId;
  3149. }
  3150. public function getAccountId()
  3151. {
  3152. return $this->accountId;
  3153. }
  3154. public function setContainerAccess($containerAccess)
  3155. {
  3156. $this->containerAccess = $containerAccess;
  3157. }
  3158. public function getContainerAccess()
  3159. {
  3160. return $this->containerAccess;
  3161. }
  3162. public function setEmailAddress($emailAddress)
  3163. {
  3164. $this->emailAddress = $emailAddress;
  3165. }
  3166. public function getEmailAddress()
  3167. {
  3168. return $this->emailAddress;
  3169. }
  3170. public function setPermissionId($permissionId)
  3171. {
  3172. $this->permissionId = $permissionId;
  3173. }
  3174. public function getPermissionId()
  3175. {
  3176. return $this->permissionId;
  3177. }
  3178. }
  3179. class Google_Service_TagManager_Variable extends Google_Collection
  3180. {
  3181. protected $collection_key = 'parameter';
  3182. protected $internal_gapi_mappings = array(
  3183. );
  3184. public $accountId;
  3185. public $containerId;
  3186. public $disablingTriggerId;
  3187. public $enablingTriggerId;
  3188. public $fingerprint;
  3189. public $name;
  3190. public $notes;
  3191. protected $parameterType = 'Google_Service_TagManager_Parameter';
  3192. protected $parameterDataType = 'array';
  3193. public $parentFolderId;
  3194. public $scheduleEndMs;
  3195. public $scheduleStartMs;
  3196. public $type;
  3197. public $variableId;
  3198. public function setAccountId($accountId)
  3199. {
  3200. $this->accountId = $accountId;
  3201. }
  3202. public function getAccountId()
  3203. {
  3204. return $this->accountId;
  3205. }
  3206. public function setContainerId($containerId)
  3207. {
  3208. $this->containerId = $containerId;
  3209. }
  3210. public function getContainerId()
  3211. {
  3212. return $this->containerId;
  3213. }
  3214. public function setDisablingTriggerId($disablingTriggerId)
  3215. {
  3216. $this->disablingTriggerId = $disablingTriggerId;
  3217. }
  3218. public function getDisablingTriggerId()
  3219. {
  3220. return $this->disablingTriggerId;
  3221. }
  3222. public function setEnablingTriggerId($enablingTriggerId)
  3223. {
  3224. $this->enablingTriggerId = $enablingTriggerId;
  3225. }
  3226. public function getEnablingTriggerId()
  3227. {
  3228. return $this->enablingTriggerId;
  3229. }
  3230. public function setFingerprint($fingerprint)
  3231. {
  3232. $this->fingerprint = $fingerprint;
  3233. }
  3234. public function getFingerprint()
  3235. {
  3236. return $this->fingerprint;
  3237. }
  3238. public function setName($name)
  3239. {
  3240. $this->name = $name;
  3241. }
  3242. public function getName()
  3243. {
  3244. return $this->name;
  3245. }
  3246. public function setNotes($notes)
  3247. {
  3248. $this->notes = $notes;
  3249. }
  3250. public function getNotes()
  3251. {
  3252. return $this->notes;
  3253. }
  3254. public function setParameter($parameter)
  3255. {
  3256. $this->parameter = $parameter;
  3257. }
  3258. public function getParameter()
  3259. {
  3260. return $this->parameter;
  3261. }
  3262. public function setParentFolderId($parentFolderId)
  3263. {
  3264. $this->parentFolderId = $parentFolderId;
  3265. }
  3266. public function getParentFolderId()
  3267. {
  3268. return $this->parentFolderId;
  3269. }
  3270. public function setScheduleEndMs($scheduleEndMs)
  3271. {
  3272. $this->scheduleEndMs = $scheduleEndMs;
  3273. }
  3274. public function getScheduleEndMs()
  3275. {
  3276. return $this->scheduleEndMs;
  3277. }
  3278. public function setScheduleStartMs($scheduleStartMs)
  3279. {
  3280. $this->scheduleStartMs = $scheduleStartMs;
  3281. }
  3282. public function getScheduleStartMs()
  3283. {
  3284. return $this->scheduleStartMs;
  3285. }
  3286. public function setType($type)
  3287. {
  3288. $this->type = $type;
  3289. }
  3290. public function getType()
  3291. {
  3292. return $this->type;
  3293. }
  3294. public function setVariableId($variableId)
  3295. {
  3296. $this->variableId = $variableId;
  3297. }
  3298. public function getVariableId()
  3299. {
  3300. return $this->variableId;
  3301. }
  3302. }