blob: 3349216b1d59c0bf4016f3fa0febc1ab60949a52 [file] [log] [blame]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001{
2 "discoveryVersion": "v1",
3 "kind": "discovery#restDescription",
4 "basePath": "",
5 "parameters": {
6 "alt": {
7 "type": "string",
8 "description": "Data format for response.",
9 "enumDescriptions": [
10 "Responses with Content-Type of application/json",
11 "Media download with context-dependent Content-Type",
12 "Responses with Content-Type of application/x-protobuf"
13 ],
14 "enum": [
15 "json",
16 "media",
17 "proto"
18 ],
19 "default": "json",
20 "location": "query"
21 },
22 "callback": {
23 "description": "JSONP",
24 "location": "query",
25 "type": "string"
26 },
27 "$.xgafv": {
28 "type": "string",
29 "description": "V1 error format.",
30 "enumDescriptions": [
31 "v1 error format",
32 "v2 error format"
33 ],
34 "enum": [
35 "1",
36 "2"
37 ],
38 "location": "query"
39 },
40 "quotaUser": {
41 "type": "string",
42 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
43 "location": "query"
44 },
45 "upload_protocol": {
46 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
47 "location": "query",
48 "type": "string"
49 },
50 "access_token": {
51 "description": "OAuth access token.",
52 "type": "string",
53 "location": "query"
54 },
55 "prettyPrint": {
56 "default": "true",
57 "description": "Returns response with indentations and line breaks.",
58 "type": "boolean",
59 "location": "query"
60 },
61 "oauth_token": {
62 "description": "OAuth 2.0 token for the current user.",
63 "location": "query",
64 "type": "string"
65 },
66 "uploadType": {
67 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
68 "location": "query",
69 "type": "string"
70 },
71 "fields": {
72 "location": "query",
73 "type": "string",
74 "description": "Selector specifying which fields to include in a partial response."
75 },
76 "key": {
77 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
78 "type": "string",
79 "location": "query"
80 }
81 },
82 "title": "Tag Manager API",
83 "auth": {
84 "oauth2": {
85 "scopes": {
86 "https://www.googleapis.com/auth/tagmanager.edit.containerversions": {
87 "description": "Manage your Google Tag Manager container versions"
88 },
89 "https://www.googleapis.com/auth/tagmanager.readonly": {
90 "description": "View your Google Tag Manager container and its subcomponents"
91 },
92 "https://www.googleapis.com/auth/tagmanager.delete.containers": {
93 "description": "Delete your Google Tag Manager containers"
94 },
95 "https://www.googleapis.com/auth/tagmanager.manage.accounts": {
96 "description": "View and manage your Google Tag Manager accounts"
97 },
98 "https://www.googleapis.com/auth/tagmanager.edit.containers": {
99 "description": "Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing"
100 },
101 "https://www.googleapis.com/auth/tagmanager.manage.users": {
102 "description": "Manage user permissions of your Google Tag Manager account and container"
103 },
104 "https://www.googleapis.com/auth/tagmanager.publish": {
105 "description": "Publish your Google Tag Manager container versions"
106 }
107 }
108 }
109 },
110 "documentationLink": "https://developers.google.com/tag-manager",
111 "revision": "20201022",
112 "servicePath": "",
113 "baseUrl": "https://tagmanager.googleapis.com/",
114 "protocol": "rest",
115 "batchPath": "batch",
116 "icons": {
117 "x32": "http://www.google.com/images/icons/product/search-32.gif",
118 "x16": "http://www.google.com/images/icons/product/search-16.gif"
119 },
120 "ownerDomain": "google.com",
121 "schemas": {
122 "ListTagsResponse": {
123 "properties": {
124 "tag": {
125 "type": "array",
126 "items": {
127 "$ref": "Tag"
128 },
129 "description": "All GTM Tags of a GTM Container."
130 },
131 "nextPageToken": {
132 "description": "Continuation token for fetching the next page of results.",
133 "type": "string"
134 }
135 },
136 "description": "List Tags Response.",
137 "type": "object",
138 "id": "ListTagsResponse"
139 },
140 "ListContainersResponse": {
141 "description": "List Containers Response.",
142 "properties": {
143 "nextPageToken": {
144 "type": "string",
145 "description": "Continuation token for fetching the next page of results."
146 },
147 "container": {
148 "type": "array",
149 "items": {
150 "$ref": "Container"
151 },
152 "description": "All Containers of a GTM Account."
153 }
154 },
155 "id": "ListContainersResponse",
156 "type": "object"
157 },
158 "ListVariablesResponse": {
159 "description": "List Variables Response.",
160 "properties": {
161 "nextPageToken": {
162 "type": "string",
163 "description": "Continuation token for fetching the next page of results."
164 },
165 "variable": {
166 "description": "All GTM Variables of a GTM Container.",
167 "type": "array",
168 "items": {
169 "$ref": "Variable"
170 }
171 }
172 },
173 "id": "ListVariablesResponse",
174 "type": "object"
175 },
176 "RevertTriggerResponse": {
177 "description": "The result of reverting a trigger in a workspace.",
178 "type": "object",
179 "properties": {
180 "trigger": {
181 "$ref": "Trigger",
182 "description": "Trigger as it appears in the latest container version since the last workspace synchronization operation. If no trigger is present, that means the trigger was deleted in the latest container version."
183 }
184 },
185 "id": "RevertTriggerResponse"
186 },
187 "ListTriggersResponse": {
188 "properties": {
189 "nextPageToken": {
190 "type": "string",
191 "description": "Continuation token for fetching the next page of results."
192 },
193 "trigger": {
194 "type": "array",
195 "description": "All GTM Triggers of a GTM Container.",
196 "items": {
197 "$ref": "Trigger"
198 }
199 }
200 },
201 "id": "ListTriggersResponse",
202 "type": "object",
203 "description": "List triggers response."
204 },
205 "Trigger": {
206 "description": "Represents a Google Tag Manager Trigger",
207 "type": "object",
208 "id": "Trigger",
209 "properties": {
210 "eventName": {
211 "description": "Name of the GTM event that is fired. Only valid for Timer triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
212 "$ref": "Parameter"
213 },
214 "notes": {
215 "type": "string",
216 "description": "User notes on how to apply this trigger in the container. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
217 },
218 "totalTimeMinMilliseconds": {
219 "description": "A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
220 "$ref": "Parameter"
221 },
222 "checkValidation": {
223 "description": "Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
224 "$ref": "Parameter"
225 },
226 "visibilitySelector": {
227 "$ref": "Parameter",
228 "description": "A visibility trigger CSS selector (i.e. \"#id\"). Only valid for AMP Visibility trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
229 },
230 "customEventFilter": {
231 "description": "Used in the case of custom event, which is fired iff all Conditions are true. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
232 "items": {
233 "$ref": "Condition"
234 },
235 "type": "array"
236 },
237 "containerId": {
238 "type": "string",
239 "description": "GTM Container ID."
240 },
241 "visiblePercentageMax": {
242 "description": "A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
243 "$ref": "Parameter"
244 },
245 "fingerprint": {
246 "description": "The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.",
247 "type": "string"
248 },
249 "verticalScrollPercentageList": {
250 "$ref": "Parameter",
251 "description": "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
252 },
253 "interval": {
254 "description": "Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
255 "$ref": "Parameter"
256 },
257 "limit": {
258 "description": "Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
259 "$ref": "Parameter"
260 },
261 "tagManagerUrl": {
262 "description": "Auto generated link to the tag manager UI",
263 "type": "string"
264 },
265 "filter": {
266 "type": "array",
267 "description": "The trigger will only fire iff all Conditions are true. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
268 "items": {
269 "$ref": "Condition"
270 }
271 },
272 "name": {
273 "annotations": {
274 "required": [
275 "tagmanager.accounts.containers.workspaces.triggers.create",
276 "tagmanager.accounts.containers.workspaces.triggers.update"
277 ]
278 },
279 "description": "Trigger display name. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
280 "type": "string"
281 },
282 "triggerId": {
283 "type": "string",
284 "description": "The Trigger ID uniquely identifies the GTM Trigger."
285 },
286 "autoEventFilter": {
287 "type": "array",
288 "description": "Used in the case of auto event tracking. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
289 "items": {
290 "$ref": "Condition"
291 }
292 },
293 "workspaceId": {
294 "type": "string",
295 "description": "GTM Workspace ID."
296 },
297 "path": {
298 "type": "string",
299 "description": "GTM Trigger's API relative path."
300 },
301 "continuousTimeMinMilliseconds": {
302 "description": "A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
303 "$ref": "Parameter"
304 },
305 "visiblePercentageMin": {
306 "$ref": "Parameter",
307 "description": "A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
308 },
309 "parameter": {
310 "items": {
311 "$ref": "Parameter"
312 },
313 "type": "array",
314 "description": "Additional parameters. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
315 },
316 "accountId": {
317 "description": "GTM Account ID.",
318 "type": "string"
319 },
320 "uniqueTriggerId": {
321 "$ref": "Parameter",
322 "description": "Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
323 },
324 "waitForTags": {
325 "$ref": "Parameter",
326 "description": "Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
327 },
328 "waitForTagsTimeout": {
329 "$ref": "Parameter",
330 "description": "How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
331 },
332 "intervalSeconds": {
333 "description": "Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
334 "$ref": "Parameter"
335 },
336 "horizontalScrollPercentageList": {
337 "$ref": "Parameter",
338 "description": "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
339 },
340 "selector": {
341 "$ref": "Parameter",
342 "description": "A click trigger CSS selector (i.e. \"a\", \"button\" etc.). Only valid for AMP Click trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update"
343 },
344 "type": {
345 "annotations": {
346 "required": [
347 "tagmanager.accounts.containers.workspaces.triggers.create"
348 ]
349 },
350 "type": "string",
351 "description": "Defines the data layer event that causes this trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
352 "enumDescriptions": [
353 "",
354 "",
355 "",
356 "",
357 "",
358 "",
359 "",
360 "",
361 "",
362 "",
363 "",
364 "",
365 "",
366 "",
367 "",
368 "",
369 "",
370 "",
371 "",
372 "",
373 "",
374 "",
375 "",
376 "",
377 "",
378 "",
379 "",
380 "",
381 "",
382 "",
383 "",
384 ""
385 ],
386 "enum": [
387 "eventTypeUnspecified",
388 "pageview",
389 "domReady",
390 "windowLoaded",
391 "customEvent",
392 "triggerGroup",
393 "always",
394 "firebaseAppException",
395 "firebaseAppUpdate",
396 "firebaseCampaign",
397 "firebaseFirstOpen",
398 "firebaseInAppPurchase",
399 "firebaseNotificationDismiss",
400 "firebaseNotificationForeground",
401 "firebaseNotificationOpen",
402 "firebaseNotificationReceive",
403 "firebaseOsUpdate",
404 "firebaseSessionStart",
405 "firebaseUserEngagement",
406 "formSubmission",
407 "click",
408 "linkClick",
409 "jsError",
410 "historyChange",
411 "timer",
412 "ampClick",
413 "ampTimer",
414 "ampScroll",
415 "ampVisibility",
416 "youTubeVideo",
417 "scrollDepth",
418 "elementVisibility"
419 ]
420 },
421 "maxTimerLengthSeconds": {
422 "description": "Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
423 "$ref": "Parameter"
424 },
425 "parentFolderId": {
426 "description": "Parent folder id.",
427 "type": "string"
428 }
429 }
430 },
431 "ListEnabledBuiltInVariablesResponse": {
432 "description": "A list of enabled built-in variables.",
433 "type": "object",
434 "properties": {
435 "builtInVariable": {
436 "items": {
437 "$ref": "BuiltInVariable"
438 },
439 "type": "array",
440 "description": "All GTM BuiltInVariables of a GTM container."
441 },
442 "nextPageToken": {
443 "type": "string",
444 "description": "Continuation token for fetching the next page of results."
445 }
446 },
447 "id": "ListEnabledBuiltInVariablesResponse"
448 },
449 "Condition": {
450 "id": "Condition",
451 "type": "object",
452 "properties": {
453 "type": {
454 "description": "The type of operator for this condition. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
455 "enum": [
456 "conditionTypeUnspecified",
457 "equals",
458 "contains",
459 "startsWith",
460 "endsWith",
461 "matchRegex",
462 "greater",
463 "greaterOrEquals",
464 "less",
465 "lessOrEquals",
466 "cssSelector",
467 "urlMatches"
468 ],
469 "annotations": {
470 "required": [
471 "tagmanager.accounts.containers.workspaces.triggers.create",
472 "tagmanager.accounts.containers.workspaces.triggers.update"
473 ]
474 },
475 "enumDescriptions": [
476 "",
477 "",
478 "",
479 "",
480 "",
481 "",
482 "",
483 "",
484 "",
485 "",
486 "",
487 "NOTE(lanzone): When defining a ConditionType here, don't forget to also define a matching PredicateType (in condition.proto)."
488 ],
489 "type": "string"
490 },
491 "parameter": {
492 "type": "array",
493 "items": {
494 "$ref": "Parameter"
495 },
496 "description": "A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update",
497 "annotations": {
498 "required": [
499 "tagmanager.accounts.containers.workspaces.triggers.create",
500 "tagmanager.accounts.containers.workspaces.triggers.update"
501 ]
502 }
503 }
504 },
505 "description": "Represents a predicate."
506 },
507 "QuickPreviewResponse": {
508 "id": "QuickPreviewResponse",
509 "properties": {
510 "containerVersion": {
511 "$ref": "ContainerVersion",
512 "description": "The quick previewed container version."
513 },
514 "syncStatus": {
515 "$ref": "SyncStatus",
516 "description": "Whether quick previewing failed when syncing the workspace to the latest container version."
517 },
518 "compilerError": {
519 "type": "boolean",
520 "description": "Were there compiler errors or not."
521 }
522 },
523 "type": "object",
524 "description": "Response to quick previewing a workspace."
525 },
526 "ContainerVersionHeader": {
527 "type": "object",
528 "description": "Represents a Google Tag Manager Container Version Header.",
529 "id": "ContainerVersionHeader",
530 "properties": {
531 "numTags": {
532 "description": "Number of tags in the container version.",
533 "type": "string"
534 },
535 "numZones": {
536 "type": "string",
537 "description": "Number of zones in the container version."
538 },
539 "numVariables": {
540 "description": "Number of variables in the container version.",
541 "type": "string"
542 },
543 "numTriggers": {
544 "type": "string",
545 "description": "Number of triggers in the container version."
546 },
547 "containerVersionId": {
548 "type": "string",
549 "description": "The Container Version ID uniquely identifies the GTM Container Version."
550 },
551 "accountId": {
552 "type": "string",
553 "description": "GTM Account ID."
554 },
555 "path": {
556 "description": "GTM Container Versions's API relative path.",
557 "type": "string"
558 },
559 "name": {
560 "type": "string",
561 "description": "Container version display name."
562 },
563 "deleted": {
564 "type": "boolean",
565 "description": "A value of true indicates this container version has been deleted."
566 },
567 "numMacros": {
568 "description": "Number of macros in the container version.",
569 "type": "string"
570 },
571 "numRules": {
572 "description": "Number of rules in the container version.",
573 "type": "string"
574 },
575 "numClients": {
576 "description": "Number of clients in the container version.",
577 "type": "string"
578 },
579 "containerId": {
580 "description": "GTM Container ID.",
581 "type": "string"
582 },
583 "numCustomTemplates": {
584 "description": "Number of custom templates in the container version.",
585 "type": "string"
586 }
587 }
588 },
589 "BuiltInVariable": {
590 "description": "Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing propeties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.",
591 "id": "BuiltInVariable",
592 "type": "object",
593 "properties": {
594 "name": {
595 "description": "Name of the built-in variable to be used to refer to the built-in variable.",
596 "type": "string"
597 },
598 "workspaceId": {
599 "type": "string",
600 "description": "GTM Workspace ID."
601 },
602 "type": {
603 "enumDescriptions": [
604 "",
605 "",
606 "",
607 "",
608 "",
609 "For web or mobile.",
610 "",
611 "",
612 "",
613 "",
614 "",
615 "",
616 "",
617 "",
618 "",
619 "",
620 "",
621 "",
622 "",
623 "",
624 "",
625 "",
626 "",
627 "",
628 "",
629 "",
630 "",
631 "",
632 "",
633 "For web or mobile.",
634 "",
635 "For web or mobile.",
636 "For web or mobile.",
637 "",
638 "",
639 "",
640 "",
641 "",
642 "",
643 "",
644 "",
645 "",
646 "",
647 "",
648 "",
649 "",
650 "",
651 "",
652 "",
653 "",
654 "",
655 "",
656 "",
657 "",
658 "",
659 "",
660 "",
661 "",
662 "",
663 "",
664 "",
665 "",
666 "",
667 "",
668 "",
669 "",
670 "",
671 "",
672 "",
673 "",
674 "",
675 "",
676 "",
677 "",
678 "",
679 "",
680 "",
681 "",
682 "",
683 "",
684 "",
685 "",
686 "",
687 "",
688 "",
689 "",
690 "",
691 "",
692 "",
693 "",
694 "",
695 "",
696 "",
697 "",
698 "",
699 "",
700 "",
701 "",
702 "",
703 "",
704 "",
705 "",
706 "",
707 "",
708 "",
709 "",
710 "",
711 "",
712 "",
713 ""
714 ],
715 "enum": [
716 "builtInVariableTypeUnspecified",
717 "pageUrl",
718 "pageHostname",
719 "pagePath",
720 "referrer",
721 "event",
722 "clickElement",
723 "clickClasses",
724 "clickId",
725 "clickTarget",
726 "clickUrl",
727 "clickText",
728 "firstPartyServingUrl",
729 "formElement",
730 "formClasses",
731 "formId",
732 "formTarget",
733 "formUrl",
734 "formText",
735 "errorMessage",
736 "errorUrl",
737 "errorLine",
738 "newHistoryUrl",
739 "oldHistoryUrl",
740 "newHistoryFragment",
741 "oldHistoryFragment",
742 "newHistoryState",
743 "oldHistoryState",
744 "historySource",
745 "containerVersion",
746 "debugMode",
747 "randomNumber",
748 "containerId",
749 "appId",
750 "appName",
751 "appVersionCode",
752 "appVersionName",
753 "language",
754 "osVersion",
755 "platform",
756 "sdkVersion",
757 "deviceName",
758 "resolution",
759 "advertiserId",
760 "advertisingTrackingEnabled",
761 "htmlId",
762 "environmentName",
763 "ampBrowserLanguage",
764 "ampCanonicalPath",
765 "ampCanonicalUrl",
766 "ampCanonicalHost",
767 "ampReferrer",
768 "ampTitle",
769 "ampClientId",
770 "ampClientTimezone",
771 "ampClientTimestamp",
772 "ampClientScreenWidth",
773 "ampClientScreenHeight",
774 "ampClientScrollX",
775 "ampClientScrollY",
776 "ampClientMaxScrollX",
777 "ampClientMaxScrollY",
778 "ampTotalEngagedTime",
779 "ampPageViewId",
780 "ampPageLoadTime",
781 "ampPageDownloadTime",
782 "ampGtmEvent",
783 "eventName",
784 "firebaseEventParameterCampaign",
785 "firebaseEventParameterCampaignAclid",
786 "firebaseEventParameterCampaignAnid",
787 "firebaseEventParameterCampaignClickTimestamp",
788 "firebaseEventParameterCampaignContent",
789 "firebaseEventParameterCampaignCp1",
790 "firebaseEventParameterCampaignGclid",
791 "firebaseEventParameterCampaignSource",
792 "firebaseEventParameterCampaignTerm",
793 "firebaseEventParameterCurrency",
794 "firebaseEventParameterDynamicLinkAcceptTime",
795 "firebaseEventParameterDynamicLinkLinkid",
796 "firebaseEventParameterNotificationMessageDeviceTime",
797 "firebaseEventParameterNotificationMessageId",
798 "firebaseEventParameterNotificationMessageName",
799 "firebaseEventParameterNotificationMessageTime",
800 "firebaseEventParameterNotificationTopic",
801 "firebaseEventParameterPreviousAppVersion",
802 "firebaseEventParameterPreviousOsVersion",
803 "firebaseEventParameterPrice",
804 "firebaseEventParameterProductId",
805 "firebaseEventParameterQuantity",
806 "firebaseEventParameterValue",
807 "videoProvider",
808 "videoUrl",
809 "videoTitle",
810 "videoDuration",
811 "videoPercent",
812 "videoVisible",
813 "videoStatus",
814 "videoCurrentTime",
815 "scrollDepthThreshold",
816 "scrollDepthUnits",
817 "scrollDepthDirection",
818 "elementVisibilityRatio",
819 "elementVisibilityTime",
820 "elementVisibilityFirstTime",
821 "elementVisibilityRecentTime",
822 "requestPath",
823 "requestMethod",
824 "clientName",
825 "queryString"
826 ],
827 "description": "Type of built-in variable. @required.tagmanager.accounts.containers.workspaces.built_in_variable.update @mutable tagmanager.accounts.containers.workspaces.built_in_variable.update",
828 "type": "string"
829 },
830 "accountId": {
831 "description": "GTM Account ID.",
832 "type": "string"
833 },
834 "containerId": {
835 "description": "GTM Container ID.",
836 "type": "string"
837 },
838 "path": {
839 "description": "GTM BuiltInVariable's API relative path.",
840 "type": "string"
841 }
842 }
843 },
844 "RevertVariableResponse": {
845 "properties": {
846 "variable": {
847 "description": "Variable as it appears in the latest container version since the last workspace synchronization operation. If no variable is present, that means the variable was deleted in the latest container version.",
848 "$ref": "Variable"
849 }
850 },
851 "id": "RevertVariableResponse",
852 "type": "object",
853 "description": "The result of reverting a variable in a workspace."
854 },
855 "Zone": {
856 "id": "Zone",
857 "properties": {
858 "fingerprint": {
859 "type": "string",
860 "description": "The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified."
861 },
862 "containerId": {
863 "description": "GTM Container ID.",
864 "type": "string"
865 },
866 "zoneId": {
867 "type": "string",
868 "description": "The Zone ID uniquely identifies the GTM Zone."
869 },
870 "childContainer": {
871 "items": {
872 "$ref": "ZoneChildContainer"
873 },
874 "description": "Containers that are children of this Zone.",
875 "type": "array"
876 },
877 "workspaceId": {
878 "type": "string",
879 "description": "GTM Workspace ID."
880 },
881 "path": {
882 "type": "string",
883 "description": "GTM Zone's API relative path."
884 },
885 "boundary": {
886 "$ref": "ZoneBoundary",
887 "description": "This Zone's boundary."
888 },
889 "notes": {
890 "description": "User notes on how to apply this zone in the container.",
891 "type": "string"
892 },
893 "typeRestriction": {
894 "$ref": "ZoneTypeRestriction",
895 "description": "This Zone's type restrictions."
896 },
897 "accountId": {
898 "description": "GTM Account ID.",
899 "type": "string"
900 },
901 "tagManagerUrl": {
902 "type": "string",
903 "description": "Auto generated link to the tag manager UI"
904 },
905 "name": {
906 "type": "string",
907 "description": "Zone display name."
908 }
909 },
910 "description": "Represents a Google Tag Manager Zone's contents.",
911 "type": "object"
912 },
913 "AccountAccess": {
914 "properties": {
915 "permission": {
916 "enum": [
917 "accountPermissionUnspecified",
918 "noAccess",
919 "user",
920 "admin"
921 ],
922 "enumDescriptions": [
923 "",
924 "",
925 "",
926 ""
927 ],
928 "type": "string",
929 "description": "Whether the user has no access, user access, or admin access to an account. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update"
930 }
931 },
932 "type": "object",
933 "description": "Defines the Google Tag Manager Account access permissions.",
934 "id": "AccountAccess"
935 },
936 "ListAccountsResponse": {
937 "properties": {
938 "nextPageToken": {
939 "description": "Continuation token for fetching the next page of results.",
940 "type": "string"
941 },
942 "account": {
943 "items": {
944 "$ref": "Account"
945 },
946 "description": "List of GTM Accounts that a user has access to.",
947 "type": "array"
948 }
949 },
950 "type": "object",
951 "description": "List Accounts Response.",
952 "id": "ListAccountsResponse"
953 },
954 "VariableFormatValue": {
955 "properties": {
956 "convertUndefinedToValue": {
957 "description": "The value to convert if a variable value is undefined.",
958 "$ref": "Parameter"
959 },
960 "convertNullToValue": {
961 "$ref": "Parameter",
962 "description": "The value to convert if a variable value is null."
963 },
964 "convertFalseToValue": {
965 "description": "The value to convert if a variable value is false.",
966 "$ref": "Parameter"
967 },
968 "convertTrueToValue": {
969 "description": "The value to convert if a variable value is true.",
970 "$ref": "Parameter"
971 },
972 "caseConversionType": {
973 "type": "string",
974 "enumDescriptions": [
975 "",
976 "The option to convert a variable value to lowercase.",
977 "The option to convert a variable value to uppercase."
978 ],
979 "enum": [
980 "none",
981 "lowercase",
982 "uppercase"
983 ],
984 "description": "The option to convert a string-type variable value to either lowercase or uppercase."
985 }
986 },
987 "type": "object",
988 "id": "VariableFormatValue"
989 },
990 "CustomTemplate": {
991 "id": "CustomTemplate",
992 "description": "Represents a Google Tag Manager Custom Template's contents.",
993 "properties": {
994 "name": {
995 "description": "Custom Template display name.",
996 "type": "string"
997 },
998 "templateId": {
999 "description": "The Custom Template ID uniquely identifies the GTM custom template.",
1000 "type": "string"
1001 },
1002 "galleryReference": {
1003 "description": "A reference to the Community Template Gallery entry.",
1004 "$ref": "GalleryReference"
1005 },
1006 "templateData": {
1007 "type": "string",
1008 "description": "The custom template in text format."
1009 },
1010 "accountId": {
1011 "type": "string",
1012 "description": "GTM Account ID."
1013 },
1014 "tagManagerUrl": {
1015 "type": "string",
1016 "description": "Auto generated link to the tag manager UI"
1017 },
1018 "fingerprint": {
1019 "description": "The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified.",
1020 "type": "string"
1021 },
1022 "workspaceId": {
1023 "type": "string",
1024 "description": "GTM Workspace ID."
1025 },
1026 "containerId": {
1027 "description": "GTM Container ID.",
1028 "type": "string"
1029 },
1030 "path": {
1031 "description": "GTM Custom Template's API relative path.",
1032 "type": "string"
1033 }
1034 },
1035 "type": "object"
1036 },
1037 "TeardownTag": {
1038 "properties": {
1039 "stopTeardownOnFailure": {
1040 "description": "If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.",
1041 "type": "boolean"
1042 },
1043 "tagName": {
1044 "description": "The name of the teardown tag.",
1045 "type": "string"
1046 }
1047 },
1048 "description": "Represents a tag that fires after another tag in order to tear down dependencies.",
1049 "id": "TeardownTag",
1050 "type": "object"
1051 },
1052 "ZoneBoundary": {
1053 "type": "object",
1054 "id": "ZoneBoundary",
1055 "properties": {
1056 "condition": {
1057 "type": "array",
1058 "description": "The conditions that, when conjoined, make up the boundary.",
1059 "items": {
1060 "$ref": "Condition"
1061 }
1062 },
1063 "customEvaluationTriggerId": {
1064 "description": "Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true.",
1065 "type": "array",
1066 "items": {
1067 "type": "string"
1068 }
1069 }
1070 },
1071 "description": "Represents a Zone's boundaries."
1072 },
1073 "ListEnvironmentsResponse": {
1074 "properties": {
1075 "environment": {
1076 "type": "array",
1077 "items": {
1078 "$ref": "Environment"
1079 },
1080 "description": "All Environments of a GTM Container."
1081 },
1082 "nextPageToken": {
1083 "type": "string",
1084 "description": "Continuation token for fetching the next page of results."
1085 }
1086 },
1087 "type": "object",
1088 "id": "ListEnvironmentsResponse",
1089 "description": "List Environments Response."
1090 },
1091 "Workspace": {
1092 "properties": {
1093 "tagManagerUrl": {
1094 "type": "string",
1095 "description": "Auto generated link to the tag manager UI"
1096 },
1097 "description": {
1098 "type": "string",
1099 "description": "Workspace description. @mutable tagmanager.accounts.containers.workspaces.create @mutable tagmanager.accounts.containers.workspaces.update"
1100 },
1101 "workspaceId": {
1102 "description": "The Workspace ID uniquely identifies the GTM Workspace.",
1103 "type": "string"
1104 },
1105 "path": {
1106 "type": "string",
1107 "description": "GTM Workspace's API relative path."
1108 },
1109 "name": {
1110 "type": "string",
1111 "annotations": {
1112 "required": [
1113 "tagmanager.accounts.containers.workspaces.create",
1114 "tagmanager.accounts.containers.workspaces.update"
1115 ]
1116 },
1117 "description": "Workspace display name. @mutable tagmanager.accounts.containers.workspaces.create @mutable tagmanager.accounts.containers.workspaces.update"
1118 },
1119 "accountId": {
1120 "description": "GTM Account ID.",
1121 "type": "string"
1122 },
1123 "containerId": {
1124 "description": "GTM Container ID.",
1125 "type": "string"
1126 },
1127 "fingerprint": {
1128 "description": "The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified.",
1129 "type": "string"
1130 }
1131 },
1132 "description": "Represents a Google Tag Manager Container Workspace.",
1133 "id": "Workspace",
1134 "type": "object"
1135 },
1136 "ContainerVersion": {
1137 "description": "Represents a Google Tag Manager Container Version.",
1138 "type": "object",
1139 "id": "ContainerVersion",
1140 "properties": {
1141 "deleted": {
1142 "type": "boolean",
1143 "description": "A value of true indicates this container version has been deleted."
1144 },
1145 "tagManagerUrl": {
1146 "description": "Auto generated link to the tag manager UI",
1147 "type": "string"
1148 },
1149 "tag": {
1150 "items": {
1151 "$ref": "Tag"
1152 },
1153 "description": "The tags in the container that this version was taken from.",
1154 "type": "array"
1155 },
1156 "fingerprint": {
1157 "type": "string",
1158 "description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified."
1159 },
1160 "path": {
1161 "type": "string",
1162 "description": "GTM ContainerVersions's API relative path."
1163 },
1164 "name": {
1165 "type": "string",
1166 "description": "Container version display name. @mutable tagmanager.accounts.containers.versions.update"
1167 },
1168 "trigger": {
1169 "items": {
1170 "$ref": "Trigger"
1171 },
1172 "type": "array",
1173 "description": "The triggers in the container that this version was taken from."
1174 },
1175 "variable": {
1176 "items": {
1177 "$ref": "Variable"
1178 },
1179 "type": "array",
1180 "description": "The variables in the container that this version was taken from."
1181 },
1182 "accountId": {
1183 "description": "GTM Account ID.",
1184 "type": "string"
1185 },
1186 "containerVersionId": {
1187 "description": "The Container Version ID uniquely identifies the GTM Container Version.",
1188 "type": "string"
1189 },
1190 "containerId": {
1191 "description": "GTM Container ID.",
1192 "type": "string"
1193 },
1194 "folder": {
1195 "items": {
1196 "$ref": "Folder"
1197 },
1198 "type": "array",
1199 "description": "The folders in the container that this version was taken from."
1200 },
1201 "builtInVariable": {
1202 "items": {
1203 "$ref": "BuiltInVariable"
1204 },
1205 "description": "The built-in variables in the container that this version was taken from.",
1206 "type": "array"
1207 },
1208 "description": {
1209 "type": "string",
1210 "description": "Container version description. @mutable tagmanager.accounts.containers.versions.update"
1211 },
1212 "client": {
1213 "items": {
1214 "$ref": "Client"
1215 },
1216 "type": "array",
1217 "description": "The clients in the container that this version was taken from."
1218 },
1219 "zone": {
1220 "type": "array",
1221 "items": {
1222 "$ref": "Zone"
1223 },
1224 "description": "The zones in the container that this version was taken from."
1225 },
1226 "customTemplate": {
1227 "items": {
1228 "$ref": "CustomTemplate"
1229 },
1230 "type": "array",
1231 "description": "The custom templates in the container that this version was taken from."
1232 },
1233 "container": {
1234 "description": "The container that this version was taken from.",
1235 "$ref": "Container"
1236 }
1237 }
1238 },
1239 "ListContainerVersionsResponse": {
1240 "description": "List container versions response.",
1241 "id": "ListContainerVersionsResponse",
1242 "properties": {
1243 "nextPageToken": {
1244 "description": "Continuation token for fetching the next page of results.",
1245 "type": "string"
1246 },
1247 "containerVersionHeader": {
1248 "items": {
1249 "$ref": "ContainerVersionHeader"
1250 },
1251 "type": "array",
1252 "description": "All container version headers of a GTM Container."
1253 }
1254 },
1255 "type": "object"
1256 },
1257 "ContainerAccess": {
1258 "type": "object",
1259 "description": "Defines the Google Tag Manager Container access permissions.",
1260 "id": "ContainerAccess",
1261 "properties": {
1262 "containerId": {
1263 "description": "GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update",
1264 "type": "string"
1265 },
1266 "permission": {
1267 "description": "List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update",
1268 "enum": [
1269 "containerPermissionUnspecified",
1270 "noAccess",
1271 "read",
1272 "edit",
1273 "approve",
1274 "publish"
1275 ],
1276 "enumDescriptions": [
1277 "",
1278 "",
1279 "",
1280 "",
1281 "",
1282 ""
1283 ],
1284 "type": "string"
1285 }
1286 }
1287 },
1288 "RevertBuiltInVariableResponse": {
1289 "description": "The result of reverting a built-in variable in a workspace.",
1290 "type": "object",
1291 "id": "RevertBuiltInVariableResponse",
1292 "properties": {
1293 "enabled": {
1294 "description": "Whether the built-in variable is enabled after reversion.",
1295 "type": "boolean"
1296 }
1297 }
1298 },
1299 "Folder": {
1300 "description": "Represents a Google Tag Manager Folder.",
1301 "properties": {
1302 "workspaceId": {
1303 "description": "GTM Workspace ID.",
1304 "type": "string"
1305 },
1306 "folderId": {
1307 "type": "string",
1308 "description": "The Folder ID uniquely identifies the GTM Folder."
1309 },
1310 "accountId": {
1311 "type": "string",
1312 "description": "GTM Account ID."
1313 },
1314 "tagManagerUrl": {
1315 "description": "Auto generated link to the tag manager UI",
1316 "type": "string"
1317 },
1318 "name": {
1319 "annotations": {
1320 "required": [
1321 "tagmanager.accounts.containers.workspaces.folders.create",
1322 "tagmanager.accounts.containers.workspaces.folders.update"
1323 ]
1324 },
1325 "description": "Folder display name. @mutable tagmanager.accounts.containers.workspaces.folders.create @mutable tagmanager.accounts.containers.workspaces.folders.update",
1326 "type": "string"
1327 },
1328 "containerId": {
1329 "description": "GTM Container ID.",
1330 "type": "string"
1331 },
1332 "notes": {
1333 "description": "User notes on how to apply this folder in the container. @mutable tagmanager.accounts.containers.workspaces.folders.create @mutable tagmanager.accounts.containers.workspaces.folders.update",
1334 "type": "string"
1335 },
1336 "fingerprint": {
1337 "type": "string",
1338 "description": "The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified."
1339 },
1340 "path": {
1341 "description": "GTM Folder's API relative path.",
1342 "type": "string"
1343 }
1344 },
1345 "type": "object",
1346 "id": "Folder"
1347 },
1348 "SetupTag": {
1349 "properties": {
1350 "stopOnSetupFailure": {
1351 "type": "boolean",
1352 "description": "If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status."
1353 },
1354 "tagName": {
1355 "type": "string",
1356 "description": "The name of the setup tag."
1357 }
1358 },
1359 "description": "Represents a reference to atag that fires before another tag in order to set up dependencies.",
1360 "type": "object",
1361 "id": "SetupTag"
1362 },
1363 "CreateContainerVersionResponse": {
1364 "type": "object",
1365 "properties": {
1366 "syncStatus": {
1367 "description": "Whether version creation failed when syncing the workspace to the latest container version.",
1368 "$ref": "SyncStatus"
1369 },
1370 "compilerError": {
1371 "description": "Compiler errors or not.",
1372 "type": "boolean"
1373 },
1374 "newWorkspacePath": {
1375 "type": "string",
1376 "description": "Auto generated workspace path created as a result of version creation. This field should only be populated if the created version was not a quick preview."
1377 },
1378 "containerVersion": {
1379 "description": "The container version created.",
1380 "$ref": "ContainerVersion"
1381 }
1382 },
1383 "description": "Create container versions response.",
1384 "id": "CreateContainerVersionResponse"
1385 },
1386 "UserPermission": {
1387 "description": "Represents a user's permissions to an account and its container.",
1388 "id": "UserPermission",
1389 "properties": {
1390 "containerAccess": {
1391 "type": "array",
1392 "description": "GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update",
1393 "items": {
1394 "$ref": "ContainerAccess"
1395 }
1396 },
1397 "accountAccess": {
1398 "description": "GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update",
1399 "$ref": "AccountAccess"
1400 },
1401 "path": {
1402 "type": "string",
1403 "description": "GTM UserPermission's API relative path."
1404 },
1405 "emailAddress": {
1406 "type": "string",
1407 "description": "User's email address. @mutable tagmanager.accounts.permissions.create"
1408 },
1409 "accountId": {
1410 "type": "string",
1411 "description": "The Account ID uniquely identifies the GTM Account."
1412 }
1413 },
1414 "type": "object"
1415 },
1416 "RevertTemplateResponse": {
1417 "type": "object",
1418 "properties": {
1419 "template": {
1420 "$ref": "CustomTemplate",
1421 "description": "Template as it appears in the latest container version since the last workspace synchronization operation. If no template is present, that means the template was deleted in the latest container version."
1422 }
1423 },
1424 "description": "The result of reverting a template in a workspace.",
1425 "id": "RevertTemplateResponse"
1426 },
1427 "CreateContainerVersionRequestVersionOptions": {
1428 "description": "Options for new container versions.",
1429 "properties": {
1430 "notes": {
1431 "description": "The notes of the container version to be created.",
1432 "type": "string"
1433 },
1434 "name": {
1435 "type": "string",
1436 "description": "The name of the container version to be created."
1437 }
1438 },
1439 "type": "object",
1440 "id": "CreateContainerVersionRequestVersionOptions"
1441 },
1442 "SyncStatus": {
1443 "description": "The status of a workspace after synchronization.",
1444 "id": "SyncStatus",
1445 "type": "object",
1446 "properties": {
1447 "mergeConflict": {
1448 "type": "boolean",
1449 "description": "Synchornization operation detected a merge conflict."
1450 },
1451 "syncError": {
1452 "type": "boolean",
1453 "description": "An error occurred during the synchronization operation."
1454 }
1455 }
1456 },
1457 "RevertZoneResponse": {
1458 "description": "The result of reverting a zone in a workspace.",
1459 "id": "RevertZoneResponse",
1460 "type": "object",
1461 "properties": {
1462 "zone": {
1463 "description": "Zone as it appears in the latest container version since the last workspace synchronization operation. If no zone is present, that means the zone was deleted in the latest container version.",
1464 "$ref": "Zone"
1465 }
1466 }
1467 },
1468 "RevertTagResponse": {
1469 "type": "object",
1470 "description": "The result of reverting a tag in a workspace.",
1471 "id": "RevertTagResponse",
1472 "properties": {
1473 "tag": {
1474 "$ref": "Tag",
1475 "description": "Tag as it appears in the latest container version since the last workspace synchronization operation. If no tag is present, that means the tag was deleted in the latest container version."
1476 }
1477 }
1478 },
1479 "Account": {
1480 "type": "object",
1481 "description": "Represents a Google Tag Manager Account.",
1482 "id": "Account",
1483 "properties": {
1484 "shareData": {
1485 "description": "Whether the account shares data anonymously with Google and others. This flag enables benchmarking by sharing your data in an anonymous form. Google will remove all identifiable information about your website, combine the data with hundreds of other anonymous sites and report aggregate trends in the benchmarking service. @mutable tagmanager.accounts.create @mutable tagmanager.accounts.update",
1486 "type": "boolean"
1487 },
1488 "fingerprint": {
1489 "description": "The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.",
1490 "type": "string"
1491 },
1492 "tagManagerUrl": {
1493 "type": "string",
1494 "description": "Auto generated link to the tag manager UI"
1495 },
1496 "path": {
1497 "type": "string",
1498 "description": "GTM Account's API relative path."
1499 },
1500 "name": {
1501 "type": "string",
1502 "description": "Account display name. @mutable tagmanager.accounts.create @mutable tagmanager.accounts.update"
1503 },
1504 "accountId": {
1505 "description": "The Account ID uniquely identifies the GTM Account.",
1506 "type": "string"
1507 }
1508 }
1509 },
1510 "CreateBuiltInVariableResponse": {
1511 "type": "object",
1512 "id": "CreateBuiltInVariableResponse",
1513 "properties": {
1514 "builtInVariable": {
1515 "items": {
1516 "$ref": "BuiltInVariable"
1517 },
1518 "description": "List of created built-in variables.",
1519 "type": "array"
1520 }
1521 }
1522 },
1523 "ListTemplatesResponse": {
1524 "type": "object",
1525 "properties": {
1526 "nextPageToken": {
1527 "type": "string",
1528 "description": "Continuation token for fetching the next page of results."
1529 },
1530 "template": {
1531 "description": "All GTM Custom Templates of a GTM Container.",
1532 "type": "array",
1533 "items": {
1534 "$ref": "CustomTemplate"
1535 }
1536 }
1537 },
1538 "id": "ListTemplatesResponse"
1539 },
1540 "Environment": {
1541 "id": "Environment",
1542 "description": "Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.",
1543 "properties": {
1544 "url": {
1545 "description": "Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update",
1546 "type": "string"
1547 },
1548 "description": {
1549 "type": "string",
1550 "description": "The environment description. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update"
1551 },
1552 "authorizationTimestamp": {
1553 "format": "google-datetime",
1554 "description": "The last update time-stamp for the authorization code.",
1555 "type": "string"
1556 },
1557 "tagManagerUrl": {
1558 "type": "string",
1559 "description": "Auto generated link to the tag manager UI"
1560 },
1561 "path": {
1562 "type": "string",
1563 "description": "GTM Environment's API relative path."
1564 },
1565 "containerId": {
1566 "type": "string",
1567 "description": "GTM Container ID."
1568 },
1569 "containerVersionId": {
1570 "type": "string",
1571 "description": "Represents a link to a container version."
1572 },
1573 "authorizationCode": {
1574 "type": "string",
1575 "description": "The environment authorization code."
1576 },
1577 "workspaceId": {
1578 "type": "string",
1579 "description": "Represents a link to a quick preview of a workspace."
1580 },
1581 "environmentId": {
1582 "description": "GTM Environment ID uniquely identifies the GTM Environment.",
1583 "type": "string"
1584 },
1585 "accountId": {
1586 "type": "string",
1587 "description": "GTM Account ID."
1588 },
1589 "name": {
1590 "type": "string",
1591 "annotations": {
1592 "required": [
1593 "tagmanager.accounts.containers.environments.create",
1594 "tagmanager.accounts.containers.environments.update"
1595 ]
1596 },
1597 "description": "The environment display name. Can be set or changed only on USER type environments. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update"
1598 },
1599 "enableDebug": {
1600 "description": "Whether or not to enable debug by default for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update",
1601 "type": "boolean"
1602 },
1603 "type": {
1604 "enumDescriptions": [
1605 "Points to a user defined environment.",
1606 "Points to the current live container version.",
1607 "Points to the latest container version.",
1608 "Automatically managed environment that points to a workspace preview or version created by a workspace."
1609 ],
1610 "enum": [
1611 "user",
1612 "live",
1613 "latest",
1614 "workspace"
1615 ],
1616 "type": "string",
1617 "description": "The type of this environment."
1618 },
1619 "fingerprint": {
1620 "type": "string",
1621 "description": "The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified."
1622 }
1623 },
1624 "type": "object"
1625 },
1626 "Tag": {
1627 "description": "Represents a Google Tag Manager Tag.",
1628 "properties": {
1629 "scheduleStartMs": {
1630 "format": "int64",
1631 "type": "string",
1632 "description": "The start timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1633 },
1634 "containerId": {
1635 "description": "GTM Container ID.",
1636 "type": "string"
1637 },
1638 "type": {
1639 "annotations": {
1640 "required": [
1641 "tagmanager.accounts.containers.workspaces.tags.create",
1642 "tagmanager.accounts.containers.workspaces.tags.update"
1643 ]
1644 },
1645 "type": "string",
1646 "description": "GTM Tag Type. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1647 },
1648 "monitoringMetadataTagNameKey": {
1649 "type": "string",
1650 "description": "If non-empty, then the tag display name will be included in the monitoring metadata map using the key specified. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1651 },
1652 "path": {
1653 "type": "string",
1654 "description": "GTM Tag's API relative path."
1655 },
1656 "parameter": {
1657 "description": "The tag's parameters. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1658 "items": {
1659 "$ref": "Parameter"
1660 },
1661 "type": "array"
1662 },
1663 "tagFiringOption": {
1664 "description": "Option to fire this tag.",
1665 "enum": [
1666 "tagFiringOptionUnspecified",
1667 "unlimited",
1668 "oncePerEvent",
1669 "oncePerLoad"
1670 ],
1671 "enumDescriptions": [
1672 "",
1673 "Tag can be fired multiple times per event.",
1674 "Tag can only be fired per event but can be fired multiple times per load (e.g., app load or page load).",
1675 "Tag can only be fired per load (e.g., app load or page load)."
1676 ],
1677 "type": "string"
1678 },
1679 "blockingTriggerId": {
1680 "description": "Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1681 "type": "array",
1682 "items": {
1683 "type": "string"
1684 }
1685 },
1686 "setupTag": {
1687 "type": "array",
1688 "items": {
1689 "$ref": "SetupTag"
1690 },
1691 "description": "The list of setup tags. Currently we only allow one."
1692 },
1693 "liveOnly": {
1694 "type": "boolean",
1695 "description": "If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1696 },
1697 "fingerprint": {
1698 "type": "string",
1699 "description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified."
1700 },
1701 "name": {
1702 "description": "Tag display name. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1703 "type": "string",
1704 "annotations": {
1705 "required": [
1706 "tagmanager.accounts.containers.workspaces.tags.create",
1707 "tagmanager.accounts.containers.workspaces.tags.update"
1708 ]
1709 }
1710 },
1711 "teardownTag": {
1712 "type": "array",
1713 "items": {
1714 "$ref": "TeardownTag"
1715 },
1716 "description": "The list of teardown tags. Currently we only allow one."
1717 },
1718 "paused": {
1719 "description": "Indicates whether the tag is paused, which prevents the tag from firing. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1720 "type": "boolean"
1721 },
1722 "workspaceId": {
1723 "description": "GTM Workspace ID.",
1724 "type": "string"
1725 },
1726 "notes": {
1727 "type": "string",
1728 "description": "User notes on how to apply this tag in the container. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1729 },
1730 "monitoringMetadata": {
1731 "$ref": "Parameter",
1732 "description": "A map of key-value pairs of tag metadata to be included in the event data for tag monitoring. Notes: - This parameter must be type MAP. - Each parameter in the map are type TEMPLATE, however cannot contain variable references. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1733 },
1734 "firingRuleId": {
1735 "type": "array",
1736 "description": "Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1737 "items": {
1738 "type": "string"
1739 }
1740 },
1741 "tagId": {
1742 "type": "string",
1743 "description": "The Tag ID uniquely identifies the GTM Tag."
1744 },
1745 "blockingRuleId": {
1746 "items": {
1747 "type": "string"
1748 },
1749 "description": "Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1750 "type": "array"
1751 },
1752 "tagManagerUrl": {
1753 "type": "string",
1754 "description": "Auto generated link to the tag manager UI"
1755 },
1756 "priority": {
1757 "description": "User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1758 "$ref": "Parameter"
1759 },
1760 "accountId": {
1761 "description": "GTM Account ID.",
1762 "type": "string"
1763 },
1764 "firingTriggerId": {
1765 "description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1766 "type": "array",
1767 "items": {
1768 "type": "string"
1769 }
1770 },
1771 "parentFolderId": {
1772 "description": "Parent folder id.",
1773 "type": "string"
1774 },
1775 "scheduleEndMs": {
1776 "format": "int64",
1777 "type": "string",
1778 "description": "The end timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1779 }
1780 },
1781 "id": "Tag",
1782 "type": "object"
1783 },
1784 "ZoneChildContainer": {
1785 "type": "object",
1786 "id": "ZoneChildContainer",
1787 "description": "Represents a child container of a Zone.",
1788 "properties": {
1789 "publicId": {
1790 "type": "string",
1791 "description": "The child container's public id."
1792 },
1793 "nickname": {
1794 "description": "The zone's nickname for the child container.",
1795 "type": "string"
1796 }
1797 }
1798 },
1799 "Parameter": {
1800 "properties": {
1801 "list": {
1802 "items": {
1803 "$ref": "Parameter"
1804 },
1805 "type": "array",
1806 "description": "This list parameter's parameters (keys will be ignored). @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update"
1807 },
1808 "map": {
1809 "description": "This map parameter's parameters (must have keys; keys must be unique). @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1810 "items": {
1811 "$ref": "Parameter"
1812 },
1813 "type": "array"
1814 },
1815 "type": {
1816 "type": "string",
1817 "description": "The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1818 "annotations": {
1819 "required": [
1820 "tagmanager.accounts.containers.workspaces.tags.create",
1821 "tagmanager.accounts.containers.workspaces.tags.update",
1822 "tagmanager.accounts.containers.workspaces.triggers.create",
1823 "tagmanager.accounts.containers.workspaces.triggers.update",
1824 "tagmanager.accounts.containers.workspaces.variables.create",
1825 "tagmanager.accounts.containers.workspaces.variables.update"
1826 ]
1827 },
1828 "enum": [
1829 "typeUnspecified",
1830 "template",
1831 "integer",
1832 "boolean",
1833 "list",
1834 "map",
1835 "triggerReference",
1836 "tagReference"
1837 ],
1838 "enumDescriptions": [
1839 "",
1840 "May include variable references (such as \"{{myVariable}}\").",
1841 "",
1842 "",
1843 "",
1844 "",
1845 "",
1846 ""
1847 ]
1848 },
1849 "value": {
1850 "description": "A parameter's value (may contain variable references such as \"{{myVariable}}\") as appropriate to the specified type. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1851 "type": "string"
1852 },
1853 "key": {
1854 "description": "The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update",
1855 "type": "string"
1856 }
1857 },
1858 "id": "Parameter",
1859 "description": "Represents a Google Tag Manager Parameter.",
1860 "type": "object"
1861 },
1862 "Variable": {
1863 "type": "object",
1864 "properties": {
1865 "scheduleStartMs": {
1866 "description": "The start timestamp in milliseconds to schedule a variable. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update",
1867 "type": "string",
1868 "format": "int64"
1869 },
1870 "disablingTriggerId": {
1871 "items": {
1872 "type": "string"
1873 },
1874 "description": "For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update",
1875 "type": "array"
1876 },
1877 "formatValue": {
1878 "$ref": "VariableFormatValue",
1879 "description": "Option to convert a variable value to other value."
1880 },
1881 "notes": {
1882 "description": "User notes on how to apply this variable in the container. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update",
1883 "type": "string"
1884 },
1885 "scheduleEndMs": {
1886 "format": "int64",
1887 "description": "The end timestamp in milliseconds to schedule a variable. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update",
1888 "type": "string"
1889 },
1890 "parameter": {
1891 "type": "array",
1892 "items": {
1893 "$ref": "Parameter"
1894 },
1895 "description": "The variable's parameters. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update"
1896 },
1897 "tagManagerUrl": {
1898 "type": "string",
1899 "description": "Auto generated link to the tag manager UI"
1900 },
1901 "containerId": {
1902 "description": "GTM Container ID.",
1903 "type": "string"
1904 },
1905 "type": {
1906 "annotations": {
1907 "required": [
1908 "tagmanager.accounts.containers.workspaces.variables.create",
1909 "tagmanager.accounts.containers.workspaces.variables.update"
1910 ]
1911 },
1912 "description": "GTM Variable Type. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update",
1913 "type": "string"
1914 },
1915 "enablingTriggerId": {
1916 "items": {
1917 "type": "string"
1918 },
1919 "type": "array",
1920 "description": "For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update"
1921 },
1922 "workspaceId": {
1923 "type": "string",
1924 "description": "GTM Workspace ID."
1925 },
1926 "fingerprint": {
1927 "type": "string",
1928 "description": "The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified."
1929 },
1930 "name": {
1931 "type": "string",
1932 "description": "Variable display name. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update",
1933 "annotations": {
1934 "required": [
1935 "tagmanager.accounts.containers.workspaces.variables.create",
1936 "tagmanager.accounts.containers.workspaces.variables.update"
1937 ]
1938 }
1939 },
1940 "path": {
1941 "type": "string",
1942 "description": "GTM Variable's API relative path."
1943 },
1944 "accountId": {
1945 "type": "string",
1946 "description": "GTM Account ID."
1947 },
1948 "parentFolderId": {
1949 "type": "string",
1950 "description": "Parent folder id."
1951 },
1952 "variableId": {
1953 "type": "string",
1954 "description": "The Variable ID uniquely identifies the GTM Variable."
1955 }
1956 },
1957 "id": "Variable",
1958 "description": "Represents a Google Tag Manager Variable."
1959 },
1960 "ListUserPermissionsResponse": {
1961 "type": "object",
1962 "description": "List user permissions response.",
1963 "id": "ListUserPermissionsResponse",
1964 "properties": {
1965 "nextPageToken": {
1966 "description": "Continuation token for fetching the next page of results.",
1967 "type": "string"
1968 },
1969 "userPermission": {
1970 "description": "All GTM UserPermissions of a GTM Account.",
1971 "type": "array",
1972 "items": {
1973 "$ref": "UserPermission"
1974 }
1975 }
1976 }
1977 },
1978 "ListZonesResponse": {
1979 "id": "ListZonesResponse",
1980 "type": "object",
1981 "properties": {
1982 "nextPageToken": {
1983 "type": "string",
1984 "description": "Continuation token for fetching the next page of results."
1985 },
1986 "zone": {
1987 "type": "array",
1988 "items": {
1989 "$ref": "Zone"
1990 },
1991 "description": "All GTM Zones of a GTM Container."
1992 }
1993 }
1994 },
1995 "Entity": {
1996 "properties": {
1997 "tag": {
1998 "description": "The tag being represented by the entity.",
1999 "$ref": "Tag"
2000 },
2001 "changeStatus": {
2002 "enum": [
2003 "changeStatusUnspecified",
2004 "none",
2005 "added",
2006 "deleted",
2007 "updated"
2008 ],
2009 "enumDescriptions": [
2010 "",
2011 "The entity has never been changed.",
2012 "The entity is added to the workspace.",
2013 "The entity is deleted from the workspace.",
2014 "The entity has been updated in the workspace."
2015 ],
2016 "type": "string",
2017 "description": "Represents how the entity has been changed in the workspace."
2018 },
2019 "folder": {
2020 "description": "The folder being represented by the entity.",
2021 "$ref": "Folder"
2022 },
2023 "client": {
2024 "$ref": "Client",
2025 "description": "The client being represented by the entity."
2026 },
2027 "variable": {
2028 "$ref": "Variable",
2029 "description": "The variable being represented by the entity."
2030 },
2031 "trigger": {
2032 "$ref": "Trigger",
2033 "description": "The trigger being represented by the entity."
2034 }
2035 },
2036 "description": "A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace.",
2037 "id": "Entity",
2038 "type": "object"
2039 },
2040 "Container": {
2041 "type": "object",
2042 "id": "Container",
2043 "properties": {
2044 "containerId": {
2045 "description": "The Container ID uniquely identifies the GTM Container.",
2046 "type": "string"
2047 },
2048 "tagManagerUrl": {
2049 "description": "Auto generated link to the tag manager UI",
2050 "type": "string"
2051 },
2052 "usageContext": {
2053 "annotations": {
2054 "required": [
2055 "tagmanager.accounts.containers.create",
2056 "tagmanager.accounts.containers.update"
2057 ]
2058 },
2059 "items": {
2060 "enum": [
2061 "usageContextUnspecified",
2062 "web",
2063 "android",
2064 "ios",
2065 "androidSdk5",
2066 "iosSdk5",
2067 "amp",
2068 "server"
2069 ],
2070 "enumDescriptions": [
2071 "",
2072 "",
2073 "",
2074 "",
2075 "",
2076 "",
2077 "",
2078 ""
2079 ],
2080 "type": "string"
2081 },
2082 "type": "array",
2083 "description": "List of Usage Contexts for the Container. Valid values include: web, android, or ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update"
2084 },
2085 "publicId": {
2086 "type": "string",
2087 "description": "Container Public ID."
2088 },
2089 "domainName": {
2090 "description": "List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update",
2091 "type": "array",
2092 "items": {
2093 "type": "string"
2094 }
2095 },
2096 "path": {
2097 "description": "GTM Container's API relative path.",
2098 "type": "string"
2099 },
2100 "accountId": {
2101 "description": "GTM Account ID.",
2102 "type": "string"
2103 },
2104 "notes": {
2105 "type": "string",
2106 "description": "Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update"
2107 },
2108 "fingerprint": {
2109 "type": "string",
2110 "description": "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified."
2111 },
2112 "name": {
2113 "description": "Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update",
2114 "annotations": {
2115 "required": [
2116 "tagmanager.accounts.containers.create"
2117 ]
2118 },
2119 "type": "string"
2120 }
2121 },
2122 "description": "Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions."
2123 },
2124 "MergeConflict": {
2125 "id": "MergeConflict",
2126 "properties": {
2127 "entityInBaseVersion": {
2128 "$ref": "Entity",
2129 "description": "The base version entity (since the latest sync operation) that has conflicting changes compared to the workspace. If this field is missing, it means the workspace entity is deleted from the base version."
2130 },
2131 "entityInWorkspace": {
2132 "description": "The workspace entity that has conflicting changes compared to the base version. If an entity is deleted in a workspace, it will still appear with a deleted change status.",
2133 "$ref": "Entity"
2134 }
2135 },
2136 "description": "Represents a merge conflict.",
2137 "type": "object"
2138 },
2139 "Client": {
2140 "type": "object",
2141 "id": "Client",
2142 "properties": {
2143 "fingerprint": {
2144 "type": "string",
2145 "description": "The fingerprint of the GTM Client as computed at storage time. This value is recomputed whenever the client is modified."
2146 },
2147 "tagManagerUrl": {
2148 "description": "Auto generated link to the tag manager UI",
2149 "type": "string"
2150 },
2151 "priority": {
2152 "format": "int32",
2153 "type": "integer",
2154 "description": "Priority determines relative firing order. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update"
2155 },
2156 "type": {
2157 "description": "Client type. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update",
2158 "type": "string"
2159 },
2160 "clientId": {
2161 "type": "string",
2162 "description": "The Client ID uniquely identifies the GTM client."
2163 },
2164 "accountId": {
2165 "type": "string",
2166 "description": "GTM Account ID."
2167 },
2168 "containerId": {
2169 "description": "GTM Container ID.",
2170 "type": "string"
2171 },
2172 "path": {
2173 "type": "string",
2174 "description": "GTM client's API relative path."
2175 },
2176 "parameter": {
2177 "description": "The client's parameters. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update",
2178 "items": {
2179 "$ref": "Parameter"
2180 },
2181 "type": "array"
2182 },
2183 "workspaceId": {
2184 "description": "GTM Workspace ID.",
2185 "type": "string"
2186 },
2187 "name": {
2188 "description": "Client display name. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update",
2189 "type": "string"
2190 },
2191 "parentFolderId": {
2192 "description": "Parent folder id.",
2193 "type": "string"
2194 }
2195 }
2196 },
2197 "SyncWorkspaceResponse": {
2198 "id": "SyncWorkspaceResponse",
2199 "type": "object",
2200 "description": "A response after synchronizing the workspace to the latest container version.",
2201 "properties": {
2202 "syncStatus": {
2203 "$ref": "SyncStatus",
2204 "description": "Indicates whether synchronization caused a merge conflict or sync error."
2205 },
2206 "mergeConflict": {
2207 "items": {
2208 "$ref": "MergeConflict"
2209 },
2210 "type": "array",
2211 "description": "The merge conflict after sync. If this field is not empty, the sync is still treated as successful. But a version cannot be created until all conflicts are resolved."
2212 }
2213 }
2214 },
2215 "GalleryReference": {
2216 "properties": {
2217 "isModified": {
2218 "type": "boolean",
2219 "description": "If a user has manually edited the community gallery template."
2220 },
2221 "version": {
2222 "description": "The version of the community gallery template.",
2223 "type": "string"
2224 },
2225 "host": {
2226 "type": "string",
2227 "description": "The name of the host for the community gallery template."
2228 },
2229 "repository": {
2230 "type": "string",
2231 "description": "The name of the repository for the community gallery template."
2232 },
2233 "owner": {
2234 "type": "string",
2235 "description": "The name of the owner for the community gallery template."
2236 },
2237 "signature": {
2238 "type": "string",
2239 "description": "The signature of the community gallery template as computed at import time. This value is recomputed whenever the template is updated from the gallery."
2240 }
2241 },
2242 "description": "Represents the link between a custom template and an entry on the Community Template Gallery site.",
2243 "id": "GalleryReference",
2244 "type": "object"
2245 },
2246 "ListWorkspacesResponse": {
2247 "properties": {
2248 "workspace": {
2249 "items": {
2250 "$ref": "Workspace"
2251 },
2252 "description": "All Workspaces of a GTM Container.",
2253 "type": "array"
2254 },
2255 "nextPageToken": {
2256 "description": "Continuation token for fetching the next page of results.",
2257 "type": "string"
2258 }
2259 },
2260 "type": "object",
2261 "description": "A list of workspaces in a container.",
2262 "id": "ListWorkspacesResponse"
2263 },
2264 "FolderEntities": {
2265 "description": "Represents a Google Tag Manager Folder's contents.",
2266 "type": "object",
2267 "id": "FolderEntities",
2268 "properties": {
2269 "trigger": {
2270 "items": {
2271 "$ref": "Trigger"
2272 },
2273 "description": "The list of triggers inside the folder.",
2274 "type": "array"
2275 },
2276 "tag": {
2277 "description": "The list of tags inside the folder.",
2278 "type": "array",
2279 "items": {
2280 "$ref": "Tag"
2281 }
2282 },
2283 "variable": {
2284 "items": {
2285 "$ref": "Variable"
2286 },
2287 "description": "The list of variables inside the folder.",
2288 "type": "array"
2289 },
2290 "nextPageToken": {
2291 "type": "string",
2292 "description": "Continuation token for fetching the next page of results."
2293 }
2294 }
2295 },
2296 "ZoneTypeRestriction": {
2297 "id": "ZoneTypeRestriction",
2298 "description": "Represents a Zone's type restrictions.",
2299 "properties": {
2300 "enable": {
2301 "description": "True if type restrictions have been enabled for this Zone.",
2302 "type": "boolean"
2303 },
2304 "whitelistedTypeId": {
2305 "items": {
2306 "type": "string"
2307 },
2308 "type": "array",
2309 "description": "List of type public ids that have been whitelisted for use in this Zone."
2310 }
2311 },
2312 "type": "object"
2313 },
2314 "GetWorkspaceStatusResponse": {
2315 "description": "The changes that have occurred in the workspace since the base container version.",
2316 "type": "object",
2317 "id": "GetWorkspaceStatusResponse",
2318 "properties": {
2319 "mergeConflict": {
2320 "description": "The merge conflict after sync.",
2321 "items": {
2322 "$ref": "MergeConflict"
2323 },
2324 "type": "array"
2325 },
2326 "workspaceChange": {
2327 "description": "Entities that have been changed in the workspace.",
2328 "items": {
2329 "$ref": "Entity"
2330 },
2331 "type": "array"
2332 }
2333 }
2334 },
2335 "ListFoldersResponse": {
2336 "type": "object",
2337 "description": "List Folders Response.",
2338 "properties": {
2339 "folder": {
2340 "type": "array",
2341 "items": {
2342 "$ref": "Folder"
2343 },
2344 "description": "All GTM Folders of a GTM Container."
2345 },
2346 "nextPageToken": {
2347 "type": "string",
2348 "description": "Continuation token for fetching the next page of results."
2349 }
2350 },
2351 "id": "ListFoldersResponse"
2352 },
2353 "RevertFolderResponse": {
2354 "properties": {
2355 "folder": {
2356 "$ref": "Folder",
2357 "description": "Folder as it appears in the latest container version since the last workspace synchronization operation. If no folder is present, that means the folder was deleted in the latest container version."
2358 }
2359 },
2360 "description": "The result of reverting folder changes in a workspace.",
2361 "type": "object",
2362 "id": "RevertFolderResponse"
2363 },
2364 "PublishContainerVersionResponse": {
2365 "type": "object",
2366 "description": "Publish container version response.",
2367 "properties": {
2368 "containerVersion": {
2369 "$ref": "ContainerVersion",
2370 "description": "The container version created."
2371 },
2372 "compilerError": {
2373 "description": "Compiler errors or not.",
2374 "type": "boolean"
2375 }
2376 },
2377 "id": "PublishContainerVersionResponse"
2378 }
2379 },
2380 "name": "tagmanager",
2381 "id": "tagmanager:v2",
2382 "canonicalName": "Tag Manager",
2383 "version": "v2",
2384 "resources": {
2385 "accounts": {
2386 "resources": {
2387 "user_permissions": {
2388 "methods": {
2389 "create": {
2390 "response": {
2391 "$ref": "UserPermission"
2392 },
2393 "httpMethod": "POST",
2394 "id": "tagmanager.accounts.user_permissions.create",
2395 "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions",
2396 "description": "Creates a user's Account & Container access.",
2397 "request": {
2398 "$ref": "UserPermission"
2399 },
2400 "path": "tagmanager/v2/{+parent}/user_permissions",
2401 "scopes": [
2402 "https://www.googleapis.com/auth/tagmanager.manage.users"
2403 ],
2404 "parameters": {
2405 "parent": {
2406 "required": true,
2407 "description": "GTM Account's API relative path. Example: accounts/{account_id}",
2408 "pattern": "^accounts/[^/]+$",
2409 "type": "string",
2410 "location": "path"
2411 }
2412 },
2413 "parameterOrder": [
2414 "parent"
2415 ]
2416 },
2417 "list": {
2418 "httpMethod": "GET",
2419 "path": "tagmanager/v2/{+parent}/user_permissions",
2420 "id": "tagmanager.accounts.user_permissions.list",
2421 "description": "List all users that have access to the account along with Account and Container user access granted to each of them.",
2422 "scopes": [
2423 "https://www.googleapis.com/auth/tagmanager.manage.users"
2424 ],
2425 "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions",
2426 "parameters": {
2427 "parent": {
2428 "pattern": "^accounts/[^/]+$",
2429 "location": "path",
2430 "required": true,
2431 "type": "string",
2432 "description": "GTM Accounts's API relative path. Example: accounts/{account_id}"
2433 },
2434 "pageToken": {
2435 "location": "query",
2436 "description": "Continuation token for fetching the next page of results.",
2437 "type": "string"
2438 }
2439 },
2440 "response": {
2441 "$ref": "ListUserPermissionsResponse"
2442 },
2443 "parameterOrder": [
2444 "parent"
2445 ]
2446 },
2447 "update": {
2448 "scopes": [
2449 "https://www.googleapis.com/auth/tagmanager.manage.users"
2450 ],
2451 "parameterOrder": [
2452 "path"
2453 ],
2454 "httpMethod": "PUT",
2455 "response": {
2456 "$ref": "UserPermission"
2457 },
2458 "description": "Updates a user's Account & Container access.",
2459 "parameters": {
2460 "path": {
2461 "location": "path",
2462 "required": true,
2463 "type": "string",
2464 "pattern": "^accounts/[^/]+/user_permissions/[^/]+$",
2465 "description": "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}"
2466 }
2467 },
2468 "path": "tagmanager/v2/{+path}",
2469 "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}",
2470 "request": {
2471 "$ref": "UserPermission"
2472 },
2473 "id": "tagmanager.accounts.user_permissions.update"
2474 },
2475 "delete": {
2476 "description": "Removes a user from the account, revoking access to it and all of its containers.",
2477 "parameters": {
2478 "path": {
2479 "description": "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}",
2480 "pattern": "^accounts/[^/]+/user_permissions/[^/]+$",
2481 "location": "path",
2482 "type": "string",
2483 "required": true
2484 }
2485 },
2486 "scopes": [
2487 "https://www.googleapis.com/auth/tagmanager.manage.users"
2488 ],
2489 "httpMethod": "DELETE",
2490 "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}",
2491 "parameterOrder": [
2492 "path"
2493 ],
2494 "id": "tagmanager.accounts.user_permissions.delete",
2495 "path": "tagmanager/v2/{+path}"
2496 },
2497 "get": {
2498 "path": "tagmanager/v2/{+path}",
2499 "parameters": {
2500 "path": {
2501 "pattern": "^accounts/[^/]+/user_permissions/[^/]+$",
2502 "required": true,
2503 "description": "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}",
2504 "type": "string",
2505 "location": "path"
2506 }
2507 },
2508 "description": "Gets a user's Account & Container access.",
2509 "httpMethod": "GET",
2510 "parameterOrder": [
2511 "path"
2512 ],
2513 "id": "tagmanager.accounts.user_permissions.get",
2514 "response": {
2515 "$ref": "UserPermission"
2516 },
2517 "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}",
2518 "scopes": [
2519 "https://www.googleapis.com/auth/tagmanager.manage.users"
2520 ]
2521 }
2522 }
2523 },
2524 "containers": {
2525 "resources": {
2526 "workspaces": {
2527 "resources": {
2528 "templates": {
2529 "methods": {
2530 "delete": {
2531 "path": "tagmanager/v2/{+path}",
2532 "parameterOrder": [
2533 "path"
2534 ],
2535 "parameters": {
2536 "path": {
2537 "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
2538 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
2539 "location": "path",
2540 "type": "string",
2541 "required": true
2542 }
2543 },
2544 "httpMethod": "DELETE",
2545 "description": "Deletes a GTM Template.",
2546 "scopes": [
2547 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2548 ],
2549 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
2550 "id": "tagmanager.accounts.containers.workspaces.templates.delete"
2551 },
2552 "revert": {
2553 "httpMethod": "POST",
2554 "scopes": [
2555 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2556 ],
2557 "id": "tagmanager.accounts.containers.workspaces.templates.revert",
2558 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}:revert",
2559 "parameterOrder": [
2560 "path"
2561 ],
2562 "path": "tagmanager/v2/{+path}:revert",
2563 "parameters": {
2564 "path": {
2565 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
2566 "required": true,
2567 "type": "string",
2568 "location": "path",
2569 "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}"
2570 },
2571 "fingerprint": {
2572 "type": "string",
2573 "description": "When provided, this fingerprint must match the fingerprint of the template in storage.",
2574 "location": "query"
2575 }
2576 },
2577 "description": "Reverts changes to a GTM Template in a GTM Workspace.",
2578 "response": {
2579 "$ref": "RevertTemplateResponse"
2580 }
2581 },
2582 "list": {
2583 "response": {
2584 "$ref": "ListTemplatesResponse"
2585 },
2586 "path": "tagmanager/v2/{+parent}/templates",
2587 "scopes": [
2588 "https://www.googleapis.com/auth/tagmanager.edit.containers",
2589 "https://www.googleapis.com/auth/tagmanager.readonly"
2590 ],
2591 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates",
2592 "parameters": {
2593 "pageToken": {
2594 "location": "query",
2595 "type": "string",
2596 "description": "Continuation token for fetching the next page of results."
2597 },
2598 "parent": {
2599 "required": true,
2600 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
2601 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
2602 "location": "path",
2603 "type": "string"
2604 }
2605 },
2606 "description": "Lists all GTM Templates of a GTM container workspace.",
2607 "id": "tagmanager.accounts.containers.workspaces.templates.list",
2608 "httpMethod": "GET",
2609 "parameterOrder": [
2610 "parent"
2611 ]
2612 },
2613 "update": {
2614 "httpMethod": "PUT",
2615 "parameters": {
2616 "fingerprint": {
2617 "description": "When provided, this fingerprint must match the fingerprint of the templates in storage.",
2618 "type": "string",
2619 "location": "query"
2620 },
2621 "path": {
2622 "required": true,
2623 "type": "string",
2624 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
2625 "location": "path",
2626 "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}"
2627 }
2628 },
2629 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
2630 "description": "Updates a GTM Template.",
2631 "request": {
2632 "$ref": "CustomTemplate"
2633 },
2634 "response": {
2635 "$ref": "CustomTemplate"
2636 },
2637 "parameterOrder": [
2638 "path"
2639 ],
2640 "scopes": [
2641 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2642 ],
2643 "id": "tagmanager.accounts.containers.workspaces.templates.update",
2644 "path": "tagmanager/v2/{+path}"
2645 },
2646 "get": {
2647 "parameters": {
2648 "path": {
2649 "location": "path",
2650 "type": "string",
2651 "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
2652 "required": true,
2653 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$"
2654 }
2655 },
2656 "httpMethod": "GET",
2657 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
2658 "response": {
2659 "$ref": "CustomTemplate"
2660 },
2661 "id": "tagmanager.accounts.containers.workspaces.templates.get",
2662 "description": "Gets a GTM Template.",
2663 "scopes": [
2664 "https://www.googleapis.com/auth/tagmanager.edit.containers",
2665 "https://www.googleapis.com/auth/tagmanager.readonly"
2666 ],
2667 "path": "tagmanager/v2/{+path}",
2668 "parameterOrder": [
2669 "path"
2670 ]
2671 },
2672 "create": {
2673 "id": "tagmanager.accounts.containers.workspaces.templates.create",
2674 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates",
2675 "parameters": {
2676 "parent": {
2677 "location": "path",
2678 "type": "string",
2679 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
2680 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
2681 "required": true
2682 }
2683 },
2684 "description": "Creates a GTM Custom Template.",
2685 "scopes": [
2686 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2687 ],
2688 "path": "tagmanager/v2/{+parent}/templates",
2689 "httpMethod": "POST",
2690 "parameterOrder": [
2691 "parent"
2692 ],
2693 "request": {
2694 "$ref": "CustomTemplate"
2695 },
2696 "response": {
2697 "$ref": "CustomTemplate"
2698 }
2699 }
2700 }
2701 },
2702 "variables": {
2703 "methods": {
2704 "get": {
2705 "httpMethod": "GET",
2706 "parameterOrder": [
2707 "path"
2708 ],
2709 "parameters": {
2710 "path": {
2711 "location": "path",
2712 "required": true,
2713 "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
2714 "type": "string",
2715 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$"
2716 }
2717 },
2718 "scopes": [
2719 "https://www.googleapis.com/auth/tagmanager.edit.containers",
2720 "https://www.googleapis.com/auth/tagmanager.readonly"
2721 ],
2722 "response": {
2723 "$ref": "Variable"
2724 },
2725 "id": "tagmanager.accounts.containers.workspaces.variables.get",
2726 "description": "Gets a GTM Variable.",
2727 "path": "tagmanager/v2/{+path}",
2728 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}"
2729 },
2730 "revert": {
2731 "path": "tagmanager/v2/{+path}:revert",
2732 "response": {
2733 "$ref": "RevertVariableResponse"
2734 },
2735 "id": "tagmanager.accounts.containers.workspaces.variables.revert",
2736 "scopes": [
2737 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2738 ],
2739 "parameters": {
2740 "fingerprint": {
2741 "type": "string",
2742 "location": "query",
2743 "description": "When provided, this fingerprint must match the fingerprint of the variable in storage."
2744 },
2745 "path": {
2746 "required": true,
2747 "type": "string",
2748 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
2749 "location": "path",
2750 "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}"
2751 }
2752 },
2753 "parameterOrder": [
2754 "path"
2755 ],
2756 "description": "Reverts changes to a GTM Variable in a GTM Workspace.",
2757 "httpMethod": "POST",
2758 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}:revert"
2759 },
2760 "update": {
2761 "description": "Updates a GTM Variable.",
2762 "request": {
2763 "$ref": "Variable"
2764 },
2765 "id": "tagmanager.accounts.containers.workspaces.variables.update",
2766 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
2767 "response": {
2768 "$ref": "Variable"
2769 },
2770 "parameters": {
2771 "fingerprint": {
2772 "location": "query",
2773 "type": "string",
2774 "description": "When provided, this fingerprint must match the fingerprint of the variable in storage."
2775 },
2776 "path": {
2777 "type": "string",
2778 "location": "path",
2779 "required": true,
2780 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
2781 "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}"
2782 }
2783 },
2784 "path": "tagmanager/v2/{+path}",
2785 "httpMethod": "PUT",
2786 "scopes": [
2787 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2788 ],
2789 "parameterOrder": [
2790 "path"
2791 ]
2792 },
2793 "create": {
2794 "response": {
2795 "$ref": "Variable"
2796 },
2797 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables",
2798 "path": "tagmanager/v2/{+parent}/variables",
2799 "httpMethod": "POST",
2800 "parameterOrder": [
2801 "parent"
2802 ],
2803 "id": "tagmanager.accounts.containers.workspaces.variables.create",
2804 "parameters": {
2805 "parent": {
2806 "location": "path",
2807 "type": "string",
2808 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
2809 "required": true,
2810 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$"
2811 }
2812 },
2813 "description": "Creates a GTM Variable.",
2814 "request": {
2815 "$ref": "Variable"
2816 },
2817 "scopes": [
2818 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2819 ]
2820 },
2821 "list": {
2822 "httpMethod": "GET",
2823 "parameters": {
2824 "pageToken": {
2825 "location": "query",
2826 "type": "string",
2827 "description": "Continuation token for fetching the next page of results."
2828 },
2829 "parent": {
2830 "location": "path",
2831 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
2832 "required": true,
2833 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
2834 "type": "string"
2835 }
2836 },
2837 "parameterOrder": [
2838 "parent"
2839 ],
2840 "scopes": [
2841 "https://www.googleapis.com/auth/tagmanager.edit.containers",
2842 "https://www.googleapis.com/auth/tagmanager.readonly"
2843 ],
2844 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables",
2845 "path": "tagmanager/v2/{+parent}/variables",
2846 "id": "tagmanager.accounts.containers.workspaces.variables.list",
2847 "response": {
2848 "$ref": "ListVariablesResponse"
2849 },
2850 "description": "Lists all GTM Variables of a Container."
2851 },
2852 "delete": {
2853 "path": "tagmanager/v2/{+path}",
2854 "scopes": [
2855 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2856 ],
2857 "parameters": {
2858 "path": {
2859 "required": true,
2860 "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
2861 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
2862 "location": "path",
2863 "type": "string"
2864 }
2865 },
2866 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
2867 "id": "tagmanager.accounts.containers.workspaces.variables.delete",
2868 "httpMethod": "DELETE",
2869 "description": "Deletes a GTM Variable.",
2870 "parameterOrder": [
2871 "path"
2872 ]
2873 }
2874 }
2875 },
2876 "folders": {
2877 "methods": {
2878 "delete": {
2879 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
2880 "path": "tagmanager/v2/{+path}",
2881 "id": "tagmanager.accounts.containers.workspaces.folders.delete",
2882 "parameters": {
2883 "path": {
2884 "required": true,
2885 "type": "string",
2886 "location": "path",
2887 "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
2888 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$"
2889 }
2890 },
2891 "scopes": [
2892 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2893 ],
2894 "description": "Deletes a GTM Folder.",
2895 "httpMethod": "DELETE",
2896 "parameterOrder": [
2897 "path"
2898 ]
2899 },
2900 "list": {
2901 "response": {
2902 "$ref": "ListFoldersResponse"
2903 },
2904 "path": "tagmanager/v2/{+parent}/folders",
2905 "parameterOrder": [
2906 "parent"
2907 ],
2908 "httpMethod": "GET",
2909 "description": "Lists all GTM Folders of a Container.",
2910 "id": "tagmanager.accounts.containers.workspaces.folders.list",
2911 "scopes": [
2912 "https://www.googleapis.com/auth/tagmanager.edit.containers",
2913 "https://www.googleapis.com/auth/tagmanager.readonly"
2914 ],
2915 "parameters": {
2916 "pageToken": {
2917 "type": "string",
2918 "location": "query",
2919 "description": "Continuation token for fetching the next page of results."
2920 },
2921 "parent": {
2922 "type": "string",
2923 "required": true,
2924 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
2925 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
2926 "location": "path"
2927 }
2928 },
2929 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders"
2930 },
2931 "revert": {
2932 "description": "Reverts changes to a GTM Folder in a GTM Workspace.",
2933 "path": "tagmanager/v2/{+path}:revert",
2934 "id": "tagmanager.accounts.containers.workspaces.folders.revert",
2935 "parameterOrder": [
2936 "path"
2937 ],
2938 "httpMethod": "POST",
2939 "response": {
2940 "$ref": "RevertFolderResponse"
2941 },
2942 "scopes": [
2943 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2944 ],
2945 "parameters": {
2946 "fingerprint": {
2947 "type": "string",
2948 "description": "When provided, this fingerprint must match the fingerprint of the tag in storage.",
2949 "location": "query"
2950 },
2951 "path": {
2952 "type": "string",
2953 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
2954 "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
2955 "required": true,
2956 "location": "path"
2957 }
2958 },
2959 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:revert"
2960 },
2961 "move_entities_to_folder": {
2962 "id": "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder",
2963 "request": {
2964 "$ref": "Folder"
2965 },
2966 "parameterOrder": [
2967 "path"
2968 ],
2969 "path": "tagmanager/v2/{+path}:move_entities_to_folder",
2970 "scopes": [
2971 "https://www.googleapis.com/auth/tagmanager.edit.containers"
2972 ],
2973 "description": "Moves entities to a GTM Folder.",
2974 "httpMethod": "POST",
2975 "parameters": {
2976 "tagId": {
2977 "type": "string",
2978 "description": "The tags to be moved to the folder.",
2979 "repeated": true,
2980 "location": "query"
2981 },
2982 "variableId": {
2983 "location": "query",
2984 "repeated": true,
2985 "type": "string",
2986 "description": "The variables to be moved to the folder."
2987 },
2988 "path": {
2989 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
2990 "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
2991 "location": "path",
2992 "required": true,
2993 "type": "string"
2994 },
2995 "triggerId": {
2996 "repeated": true,
2997 "description": "The triggers to be moved to the folder.",
2998 "type": "string",
2999 "location": "query"
3000 }
3001 },
3002 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:move_entities_to_folder"
3003 },
3004 "entities": {
3005 "id": "tagmanager.accounts.containers.workspaces.folders.entities",
3006 "description": "List all entities in a GTM Folder.",
3007 "path": "tagmanager/v2/{+path}:entities",
3008 "httpMethod": "POST",
3009 "scopes": [
3010 "https://www.googleapis.com/auth/tagmanager.edit.containers",
3011 "https://www.googleapis.com/auth/tagmanager.readonly"
3012 ],
3013 "response": {
3014 "$ref": "FolderEntities"
3015 },
3016 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:entities",
3017 "parameters": {
3018 "pageToken": {
3019 "description": "Continuation token for fetching the next page of results.",
3020 "location": "query",
3021 "type": "string"
3022 },
3023 "path": {
3024 "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
3025 "type": "string",
3026 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
3027 "required": true,
3028 "location": "path"
3029 }
3030 },
3031 "parameterOrder": [
3032 "path"
3033 ]
3034 },
3035 "update": {
3036 "id": "tagmanager.accounts.containers.workspaces.folders.update",
3037 "httpMethod": "PUT",
3038 "parameterOrder": [
3039 "path"
3040 ],
3041 "path": "tagmanager/v2/{+path}",
3042 "scopes": [
3043 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3044 ],
3045 "request": {
3046 "$ref": "Folder"
3047 },
3048 "response": {
3049 "$ref": "Folder"
3050 },
3051 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
3052 "description": "Updates a GTM Folder.",
3053 "parameters": {
3054 "fingerprint": {
3055 "description": "When provided, this fingerprint must match the fingerprint of the folder in storage.",
3056 "type": "string",
3057 "location": "query"
3058 },
3059 "path": {
3060 "type": "string",
3061 "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
3062 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
3063 "required": true,
3064 "location": "path"
3065 }
3066 }
3067 },
3068 "create": {
3069 "scopes": [
3070 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3071 ],
3072 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders",
3073 "path": "tagmanager/v2/{+parent}/folders",
3074 "id": "tagmanager.accounts.containers.workspaces.folders.create",
3075 "description": "Creates a GTM Folder.",
3076 "parameters": {
3077 "parent": {
3078 "required": true,
3079 "location": "path",
3080 "type": "string",
3081 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
3082 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$"
3083 }
3084 },
3085 "parameterOrder": [
3086 "parent"
3087 ],
3088 "response": {
3089 "$ref": "Folder"
3090 },
3091 "httpMethod": "POST",
3092 "request": {
3093 "$ref": "Folder"
3094 }
3095 },
3096 "get": {
3097 "httpMethod": "GET",
3098 "parameters": {
3099 "path": {
3100 "type": "string",
3101 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
3102 "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
3103 "required": true,
3104 "location": "path"
3105 }
3106 },
3107 "response": {
3108 "$ref": "Folder"
3109 },
3110 "parameterOrder": [
3111 "path"
3112 ],
3113 "path": "tagmanager/v2/{+path}",
3114 "scopes": [
3115 "https://www.googleapis.com/auth/tagmanager.edit.containers",
3116 "https://www.googleapis.com/auth/tagmanager.readonly"
3117 ],
3118 "description": "Gets a GTM Folder.",
3119 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
3120 "id": "tagmanager.accounts.containers.workspaces.folders.get"
3121 }
3122 }
3123 },
3124 "tags": {
3125 "methods": {
3126 "create": {
3127 "description": "Creates a GTM Tag.",
3128 "httpMethod": "POST",
3129 "scopes": [
3130 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3131 ],
3132 "path": "tagmanager/v2/{+parent}/tags",
3133 "response": {
3134 "$ref": "Tag"
3135 },
3136 "request": {
3137 "$ref": "Tag"
3138 },
3139 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags",
3140 "id": "tagmanager.accounts.containers.workspaces.tags.create",
3141 "parameters": {
3142 "parent": {
3143 "location": "path",
3144 "required": true,
3145 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
3146 "type": "string",
3147 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}"
3148 }
3149 },
3150 "parameterOrder": [
3151 "parent"
3152 ]
3153 },
3154 "list": {
3155 "httpMethod": "GET",
3156 "id": "tagmanager.accounts.containers.workspaces.tags.list",
3157 "path": "tagmanager/v2/{+parent}/tags",
3158 "parameterOrder": [
3159 "parent"
3160 ],
3161 "response": {
3162 "$ref": "ListTagsResponse"
3163 },
3164 "scopes": [
3165 "https://www.googleapis.com/auth/tagmanager.edit.containers",
3166 "https://www.googleapis.com/auth/tagmanager.readonly"
3167 ],
3168 "description": "Lists all GTM Tags of a Container.",
3169 "parameters": {
3170 "pageToken": {
3171 "location": "query",
3172 "type": "string",
3173 "description": "Continuation token for fetching the next page of results."
3174 },
3175 "parent": {
3176 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
3177 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
3178 "type": "string",
3179 "required": true,
3180 "location": "path"
3181 }
3182 },
3183 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags"
3184 },
3185 "revert": {
3186 "path": "tagmanager/v2/{+path}:revert",
3187 "response": {
3188 "$ref": "RevertTagResponse"
3189 },
3190 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}:revert",
3191 "description": "Reverts changes to a GTM Tag in a GTM Workspace.",
3192 "scopes": [
3193 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3194 ],
3195 "parameters": {
3196 "path": {
3197 "type": "string",
3198 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
3199 "location": "path",
3200 "required": true,
3201 "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}"
3202 },
3203 "fingerprint": {
3204 "description": "When provided, this fingerprint must match the fingerprint of thetag in storage.",
3205 "location": "query",
3206 "type": "string"
3207 }
3208 },
3209 "parameterOrder": [
3210 "path"
3211 ],
3212 "id": "tagmanager.accounts.containers.workspaces.tags.revert",
3213 "httpMethod": "POST"
3214 },
3215 "get": {
3216 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
3217 "parameterOrder": [
3218 "path"
3219 ],
3220 "description": "Gets a GTM Tag.",
3221 "parameters": {
3222 "path": {
3223 "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
3224 "type": "string",
3225 "required": true,
3226 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
3227 "location": "path"
3228 }
3229 },
3230 "scopes": [
3231 "https://www.googleapis.com/auth/tagmanager.edit.containers",
3232 "https://www.googleapis.com/auth/tagmanager.readonly"
3233 ],
3234 "httpMethod": "GET",
3235 "response": {
3236 "$ref": "Tag"
3237 },
3238 "id": "tagmanager.accounts.containers.workspaces.tags.get",
3239 "path": "tagmanager/v2/{+path}"
3240 },
3241 "delete": {
3242 "httpMethod": "DELETE",
3243 "parameters": {
3244 "path": {
3245 "location": "path",
3246 "type": "string",
3247 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
3248 "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
3249 "required": true
3250 }
3251 },
3252 "scopes": [
3253 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3254 ],
3255 "parameterOrder": [
3256 "path"
3257 ],
3258 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
3259 "path": "tagmanager/v2/{+path}",
3260 "id": "tagmanager.accounts.containers.workspaces.tags.delete",
3261 "description": "Deletes a GTM Tag."
3262 },
3263 "update": {
3264 "scopes": [
3265 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3266 ],
3267 "parameters": {
3268 "path": {
3269 "required": true,
3270 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
3271 "type": "string",
3272 "location": "path",
3273 "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}"
3274 },
3275 "fingerprint": {
3276 "description": "When provided, this fingerprint must match the fingerprint of the tag in storage.",
3277 "type": "string",
3278 "location": "query"
3279 }
3280 },
3281 "httpMethod": "PUT",
3282 "path": "tagmanager/v2/{+path}",
3283 "response": {
3284 "$ref": "Tag"
3285 },
3286 "parameterOrder": [
3287 "path"
3288 ],
3289 "description": "Updates a GTM Tag.",
3290 "request": {
3291 "$ref": "Tag"
3292 },
3293 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
3294 "id": "tagmanager.accounts.containers.workspaces.tags.update"
3295 }
3296 }
3297 },
3298 "triggers": {
3299 "methods": {
3300 "list": {
3301 "path": "tagmanager/v2/{+parent}/triggers",
3302 "httpMethod": "GET",
3303 "description": "Lists all GTM Triggers of a Container.",
3304 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers",
3305 "parameters": {
3306 "pageToken": {
3307 "type": "string",
3308 "location": "query",
3309 "description": "Continuation token for fetching the next page of results."
3310 },
3311 "parent": {
3312 "required": true,
3313 "type": "string",
3314 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
3315 "location": "path",
3316 "description": "GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}"
3317 }
3318 },
3319 "id": "tagmanager.accounts.containers.workspaces.triggers.list",
3320 "parameterOrder": [
3321 "parent"
3322 ],
3323 "response": {
3324 "$ref": "ListTriggersResponse"
3325 },
3326 "scopes": [
3327 "https://www.googleapis.com/auth/tagmanager.edit.containers",
3328 "https://www.googleapis.com/auth/tagmanager.readonly"
3329 ]
3330 },
3331 "revert": {
3332 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}:revert",
3333 "parameterOrder": [
3334 "path"
3335 ],
3336 "scopes": [
3337 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3338 ],
3339 "httpMethod": "POST",
3340 "parameters": {
3341 "path": {
3342 "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
3343 "required": true,
3344 "location": "path",
3345 "type": "string",
3346 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$"
3347 },
3348 "fingerprint": {
3349 "location": "query",
3350 "description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.",
3351 "type": "string"
3352 }
3353 },
3354 "description": "Reverts changes to a GTM Trigger in a GTM Workspace.",
3355 "response": {
3356 "$ref": "RevertTriggerResponse"
3357 },
3358 "path": "tagmanager/v2/{+path}:revert",
3359 "id": "tagmanager.accounts.containers.workspaces.triggers.revert"
3360 },
3361 "create": {
3362 "parameterOrder": [
3363 "parent"
3364 ],
3365 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers",
3366 "httpMethod": "POST",
3367 "path": "tagmanager/v2/{+parent}/triggers",
3368 "id": "tagmanager.accounts.containers.workspaces.triggers.create",
3369 "parameters": {
3370 "parent": {
3371 "description": "GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
3372 "location": "path",
3373 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
3374 "type": "string",
3375 "required": true
3376 }
3377 },
3378 "description": "Creates a GTM Trigger.",
3379 "scopes": [
3380 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3381 ],
3382 "request": {
3383 "$ref": "Trigger"
3384 },
3385 "response": {
3386 "$ref": "Trigger"
3387 }
3388 },
3389 "update": {
3390 "request": {
3391 "$ref": "Trigger"
3392 },
3393 "httpMethod": "PUT",
3394 "parameters": {
3395 "fingerprint": {
3396 "location": "query",
3397 "type": "string",
3398 "description": "When provided, this fingerprint must match the fingerprint of the trigger in storage."
3399 },
3400 "path": {
3401 "required": true,
3402 "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
3403 "type": "string",
3404 "location": "path",
3405 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$"
3406 }
3407 },
3408 "path": "tagmanager/v2/{+path}",
3409 "scopes": [
3410 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3411 ],
3412 "parameterOrder": [
3413 "path"
3414 ],
3415 "response": {
3416 "$ref": "Trigger"
3417 },
3418 "id": "tagmanager.accounts.containers.workspaces.triggers.update",
3419 "description": "Updates a GTM Trigger.",
3420 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}"
3421 },
3422 "get": {
3423 "parameterOrder": [
3424 "path"
3425 ],
3426 "id": "tagmanager.accounts.containers.workspaces.triggers.get",
3427 "response": {
3428 "$ref": "Trigger"
3429 },
3430 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
3431 "description": "Gets a GTM Trigger.",
3432 "httpMethod": "GET",
3433 "scopes": [
3434 "https://www.googleapis.com/auth/tagmanager.edit.containers",
3435 "https://www.googleapis.com/auth/tagmanager.readonly"
3436 ],
3437 "parameters": {
3438 "path": {
3439 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
3440 "location": "path",
3441 "required": true,
3442 "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
3443 "type": "string"
3444 }
3445 },
3446 "path": "tagmanager/v2/{+path}"
3447 },
3448 "delete": {
3449 "scopes": [
3450 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3451 ],
3452 "httpMethod": "DELETE",
3453 "path": "tagmanager/v2/{+path}",
3454 "parameterOrder": [
3455 "path"
3456 ],
3457 "parameters": {
3458 "path": {
3459 "type": "string",
3460 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
3461 "required": true,
3462 "location": "path",
3463 "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}"
3464 }
3465 },
3466 "description": "Deletes a GTM Trigger.",
3467 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
3468 "id": "tagmanager.accounts.containers.workspaces.triggers.delete"
3469 }
3470 }
3471 },
3472 "built_in_variables": {
3473 "methods": {
3474 "create": {
3475 "path": "tagmanager/v2/{+parent}/built_in_variables",
3476 "id": "tagmanager.accounts.containers.workspaces.built_in_variables.create",
3477 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
3478 "parameters": {
3479 "type": {
3480 "enumDescriptions": [
3481 "",
3482 "",
3483 "",
3484 "",
3485 "",
3486 "For web or mobile.",
3487 "",
3488 "",
3489 "",
3490 "",
3491 "",
3492 "",
3493 "",
3494 "",
3495 "",
3496 "",
3497 "",
3498 "",
3499 "",
3500 "",
3501 "",
3502 "",
3503 "",
3504 "",
3505 "",
3506 "",
3507 "",
3508 "",
3509 "",
3510 "For web or mobile.",
3511 "",
3512 "For web or mobile.",
3513 "For web or mobile.",
3514 "",
3515 "",
3516 "",
3517 "",
3518 "",
3519 "",
3520 "",
3521 "",
3522 "",
3523 "",
3524 "",
3525 "",
3526 "",
3527 "",
3528 "",
3529 "",
3530 "",
3531 "",
3532 "",
3533 "",
3534 "",
3535 "",
3536 "",
3537 "",
3538 "",
3539 "",
3540 "",
3541 "",
3542 "",
3543 "",
3544 "",
3545 "",
3546 "",
3547 "",
3548 "",
3549 "",
3550 "",
3551 "",
3552 "",
3553 "",
3554 "",
3555 "",
3556 "",
3557 "",
3558 "",
3559 "",
3560 "",
3561 "",
3562 "",
3563 "",
3564 "",
3565 "",
3566 "",
3567 "",
3568 "",
3569 "",
3570 "",
3571 "",
3572 "",
3573 "",
3574 "",
3575 "",
3576 "",
3577 "",
3578 "",
3579 "",
3580 "",
3581 "",
3582 "",
3583 "",
3584 "",
3585 "",
3586 "",
3587 "",
3588 "",
3589 "",
3590 ""
3591 ],
3592 "location": "query",
3593 "repeated": true,
3594 "enum": [
3595 "builtInVariableTypeUnspecified",
3596 "pageUrl",
3597 "pageHostname",
3598 "pagePath",
3599 "referrer",
3600 "event",
3601 "clickElement",
3602 "clickClasses",
3603 "clickId",
3604 "clickTarget",
3605 "clickUrl",
3606 "clickText",
3607 "firstPartyServingUrl",
3608 "formElement",
3609 "formClasses",
3610 "formId",
3611 "formTarget",
3612 "formUrl",
3613 "formText",
3614 "errorMessage",
3615 "errorUrl",
3616 "errorLine",
3617 "newHistoryUrl",
3618 "oldHistoryUrl",
3619 "newHistoryFragment",
3620 "oldHistoryFragment",
3621 "newHistoryState",
3622 "oldHistoryState",
3623 "historySource",
3624 "containerVersion",
3625 "debugMode",
3626 "randomNumber",
3627 "containerId",
3628 "appId",
3629 "appName",
3630 "appVersionCode",
3631 "appVersionName",
3632 "language",
3633 "osVersion",
3634 "platform",
3635 "sdkVersion",
3636 "deviceName",
3637 "resolution",
3638 "advertiserId",
3639 "advertisingTrackingEnabled",
3640 "htmlId",
3641 "environmentName",
3642 "ampBrowserLanguage",
3643 "ampCanonicalPath",
3644 "ampCanonicalUrl",
3645 "ampCanonicalHost",
3646 "ampReferrer",
3647 "ampTitle",
3648 "ampClientId",
3649 "ampClientTimezone",
3650 "ampClientTimestamp",
3651 "ampClientScreenWidth",
3652 "ampClientScreenHeight",
3653 "ampClientScrollX",
3654 "ampClientScrollY",
3655 "ampClientMaxScrollX",
3656 "ampClientMaxScrollY",
3657 "ampTotalEngagedTime",
3658 "ampPageViewId",
3659 "ampPageLoadTime",
3660 "ampPageDownloadTime",
3661 "ampGtmEvent",
3662 "eventName",
3663 "firebaseEventParameterCampaign",
3664 "firebaseEventParameterCampaignAclid",
3665 "firebaseEventParameterCampaignAnid",
3666 "firebaseEventParameterCampaignClickTimestamp",
3667 "firebaseEventParameterCampaignContent",
3668 "firebaseEventParameterCampaignCp1",
3669 "firebaseEventParameterCampaignGclid",
3670 "firebaseEventParameterCampaignSource",
3671 "firebaseEventParameterCampaignTerm",
3672 "firebaseEventParameterCurrency",
3673 "firebaseEventParameterDynamicLinkAcceptTime",
3674 "firebaseEventParameterDynamicLinkLinkid",
3675 "firebaseEventParameterNotificationMessageDeviceTime",
3676 "firebaseEventParameterNotificationMessageId",
3677 "firebaseEventParameterNotificationMessageName",
3678 "firebaseEventParameterNotificationMessageTime",
3679 "firebaseEventParameterNotificationTopic",
3680 "firebaseEventParameterPreviousAppVersion",
3681 "firebaseEventParameterPreviousOsVersion",
3682 "firebaseEventParameterPrice",
3683 "firebaseEventParameterProductId",
3684 "firebaseEventParameterQuantity",
3685 "firebaseEventParameterValue",
3686 "videoProvider",
3687 "videoUrl",
3688 "videoTitle",
3689 "videoDuration",
3690 "videoPercent",
3691 "videoVisible",
3692 "videoStatus",
3693 "videoCurrentTime",
3694 "scrollDepthThreshold",
3695 "scrollDepthUnits",
3696 "scrollDepthDirection",
3697 "elementVisibilityRatio",
3698 "elementVisibilityTime",
3699 "elementVisibilityFirstTime",
3700 "elementVisibilityRecentTime",
3701 "requestPath",
3702 "requestMethod",
3703 "clientName",
3704 "queryString"
3705 ],
3706 "type": "string",
3707 "description": "The types of built-in variables to enable."
3708 },
3709 "parent": {
3710 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
3711 "required": true,
3712 "location": "path",
3713 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
3714 "type": "string"
3715 }
3716 },
3717 "httpMethod": "POST",
3718 "response": {
3719 "$ref": "CreateBuiltInVariableResponse"
3720 },
3721 "description": "Creates one or more GTM Built-In Variables.",
3722 "scopes": [
3723 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3724 ],
3725 "parameterOrder": [
3726 "parent"
3727 ]
3728 },
3729 "delete": {
3730 "description": "Deletes one or more GTM Built-In Variables.",
3731 "parameterOrder": [
3732 "path"
3733 ],
3734 "parameters": {
3735 "path": {
3736 "description": "GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables",
3737 "location": "path",
3738 "type": "string",
3739 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/built_in_variables$",
3740 "required": true
3741 },
3742 "type": {
3743 "enum": [
3744 "builtInVariableTypeUnspecified",
3745 "pageUrl",
3746 "pageHostname",
3747 "pagePath",
3748 "referrer",
3749 "event",
3750 "clickElement",
3751 "clickClasses",
3752 "clickId",
3753 "clickTarget",
3754 "clickUrl",
3755 "clickText",
3756 "firstPartyServingUrl",
3757 "formElement",
3758 "formClasses",
3759 "formId",
3760 "formTarget",
3761 "formUrl",
3762 "formText",
3763 "errorMessage",
3764 "errorUrl",
3765 "errorLine",
3766 "newHistoryUrl",
3767 "oldHistoryUrl",
3768 "newHistoryFragment",
3769 "oldHistoryFragment",
3770 "newHistoryState",
3771 "oldHistoryState",
3772 "historySource",
3773 "containerVersion",
3774 "debugMode",
3775 "randomNumber",
3776 "containerId",
3777 "appId",
3778 "appName",
3779 "appVersionCode",
3780 "appVersionName",
3781 "language",
3782 "osVersion",
3783 "platform",
3784 "sdkVersion",
3785 "deviceName",
3786 "resolution",
3787 "advertiserId",
3788 "advertisingTrackingEnabled",
3789 "htmlId",
3790 "environmentName",
3791 "ampBrowserLanguage",
3792 "ampCanonicalPath",
3793 "ampCanonicalUrl",
3794 "ampCanonicalHost",
3795 "ampReferrer",
3796 "ampTitle",
3797 "ampClientId",
3798 "ampClientTimezone",
3799 "ampClientTimestamp",
3800 "ampClientScreenWidth",
3801 "ampClientScreenHeight",
3802 "ampClientScrollX",
3803 "ampClientScrollY",
3804 "ampClientMaxScrollX",
3805 "ampClientMaxScrollY",
3806 "ampTotalEngagedTime",
3807 "ampPageViewId",
3808 "ampPageLoadTime",
3809 "ampPageDownloadTime",
3810 "ampGtmEvent",
3811 "eventName",
3812 "firebaseEventParameterCampaign",
3813 "firebaseEventParameterCampaignAclid",
3814 "firebaseEventParameterCampaignAnid",
3815 "firebaseEventParameterCampaignClickTimestamp",
3816 "firebaseEventParameterCampaignContent",
3817 "firebaseEventParameterCampaignCp1",
3818 "firebaseEventParameterCampaignGclid",
3819 "firebaseEventParameterCampaignSource",
3820 "firebaseEventParameterCampaignTerm",
3821 "firebaseEventParameterCurrency",
3822 "firebaseEventParameterDynamicLinkAcceptTime",
3823 "firebaseEventParameterDynamicLinkLinkid",
3824 "firebaseEventParameterNotificationMessageDeviceTime",
3825 "firebaseEventParameterNotificationMessageId",
3826 "firebaseEventParameterNotificationMessageName",
3827 "firebaseEventParameterNotificationMessageTime",
3828 "firebaseEventParameterNotificationTopic",
3829 "firebaseEventParameterPreviousAppVersion",
3830 "firebaseEventParameterPreviousOsVersion",
3831 "firebaseEventParameterPrice",
3832 "firebaseEventParameterProductId",
3833 "firebaseEventParameterQuantity",
3834 "firebaseEventParameterValue",
3835 "videoProvider",
3836 "videoUrl",
3837 "videoTitle",
3838 "videoDuration",
3839 "videoPercent",
3840 "videoVisible",
3841 "videoStatus",
3842 "videoCurrentTime",
3843 "scrollDepthThreshold",
3844 "scrollDepthUnits",
3845 "scrollDepthDirection",
3846 "elementVisibilityRatio",
3847 "elementVisibilityTime",
3848 "elementVisibilityFirstTime",
3849 "elementVisibilityRecentTime",
3850 "requestPath",
3851 "requestMethod",
3852 "clientName",
3853 "queryString"
3854 ],
3855 "location": "query",
3856 "type": "string",
3857 "description": "The types of built-in variables to delete.",
3858 "repeated": true,
3859 "enumDescriptions": [
3860 "",
3861 "",
3862 "",
3863 "",
3864 "",
3865 "For web or mobile.",
3866 "",
3867 "",
3868 "",
3869 "",
3870 "",
3871 "",
3872 "",
3873 "",
3874 "",
3875 "",
3876 "",
3877 "",
3878 "",
3879 "",
3880 "",
3881 "",
3882 "",
3883 "",
3884 "",
3885 "",
3886 "",
3887 "",
3888 "",
3889 "For web or mobile.",
3890 "",
3891 "For web or mobile.",
3892 "For web or mobile.",
3893 "",
3894 "",
3895 "",
3896 "",
3897 "",
3898 "",
3899 "",
3900 "",
3901 "",
3902 "",
3903 "",
3904 "",
3905 "",
3906 "",
3907 "",
3908 "",
3909 "",
3910 "",
3911 "",
3912 "",
3913 "",
3914 "",
3915 "",
3916 "",
3917 "",
3918 "",
3919 "",
3920 "",
3921 "",
3922 "",
3923 "",
3924 "",
3925 "",
3926 "",
3927 "",
3928 "",
3929 "",
3930 "",
3931 "",
3932 "",
3933 "",
3934 "",
3935 "",
3936 "",
3937 "",
3938 "",
3939 "",
3940 "",
3941 "",
3942 "",
3943 "",
3944 "",
3945 "",
3946 "",
3947 "",
3948 "",
3949 "",
3950 "",
3951 "",
3952 "",
3953 "",
3954 "",
3955 "",
3956 "",
3957 "",
3958 "",
3959 "",
3960 "",
3961 "",
3962 "",
3963 "",
3964 "",
3965 "",
3966 "",
3967 "",
3968 "",
3969 ""
3970 ]
3971 }
3972 },
3973 "httpMethod": "DELETE",
3974 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
3975 "id": "tagmanager.accounts.containers.workspaces.built_in_variables.delete",
3976 "path": "tagmanager/v2/{+path}",
3977 "scopes": [
3978 "https://www.googleapis.com/auth/tagmanager.edit.containers"
3979 ]
3980 },
3981 "list": {
3982 "description": "Lists all the enabled Built-In Variables of a GTM Container.",
3983 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
3984 "parameterOrder": [
3985 "parent"
3986 ],
3987 "parameters": {
3988 "pageToken": {
3989 "location": "query",
3990 "type": "string",
3991 "description": "Continuation token for fetching the next page of results."
3992 },
3993 "parent": {
3994 "required": true,
3995 "type": "string",
3996 "location": "path",
3997 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
3998 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$"
3999 }
4000 },
4001 "path": "tagmanager/v2/{+parent}/built_in_variables",
4002 "response": {
4003 "$ref": "ListEnabledBuiltInVariablesResponse"
4004 },
4005 "scopes": [
4006 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4007 "https://www.googleapis.com/auth/tagmanager.readonly"
4008 ],
4009 "id": "tagmanager.accounts.containers.workspaces.built_in_variables.list",
4010 "httpMethod": "GET"
4011 },
4012 "revert": {
4013 "response": {
4014 "$ref": "RevertBuiltInVariableResponse"
4015 },
4016 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables:revert",
4017 "scopes": [
4018 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4019 ],
4020 "httpMethod": "POST",
4021 "parameters": {
4022 "type": {
4023 "enum": [
4024 "builtInVariableTypeUnspecified",
4025 "pageUrl",
4026 "pageHostname",
4027 "pagePath",
4028 "referrer",
4029 "event",
4030 "clickElement",
4031 "clickClasses",
4032 "clickId",
4033 "clickTarget",
4034 "clickUrl",
4035 "clickText",
4036 "firstPartyServingUrl",
4037 "formElement",
4038 "formClasses",
4039 "formId",
4040 "formTarget",
4041 "formUrl",
4042 "formText",
4043 "errorMessage",
4044 "errorUrl",
4045 "errorLine",
4046 "newHistoryUrl",
4047 "oldHistoryUrl",
4048 "newHistoryFragment",
4049 "oldHistoryFragment",
4050 "newHistoryState",
4051 "oldHistoryState",
4052 "historySource",
4053 "containerVersion",
4054 "debugMode",
4055 "randomNumber",
4056 "containerId",
4057 "appId",
4058 "appName",
4059 "appVersionCode",
4060 "appVersionName",
4061 "language",
4062 "osVersion",
4063 "platform",
4064 "sdkVersion",
4065 "deviceName",
4066 "resolution",
4067 "advertiserId",
4068 "advertisingTrackingEnabled",
4069 "htmlId",
4070 "environmentName",
4071 "ampBrowserLanguage",
4072 "ampCanonicalPath",
4073 "ampCanonicalUrl",
4074 "ampCanonicalHost",
4075 "ampReferrer",
4076 "ampTitle",
4077 "ampClientId",
4078 "ampClientTimezone",
4079 "ampClientTimestamp",
4080 "ampClientScreenWidth",
4081 "ampClientScreenHeight",
4082 "ampClientScrollX",
4083 "ampClientScrollY",
4084 "ampClientMaxScrollX",
4085 "ampClientMaxScrollY",
4086 "ampTotalEngagedTime",
4087 "ampPageViewId",
4088 "ampPageLoadTime",
4089 "ampPageDownloadTime",
4090 "ampGtmEvent",
4091 "eventName",
4092 "firebaseEventParameterCampaign",
4093 "firebaseEventParameterCampaignAclid",
4094 "firebaseEventParameterCampaignAnid",
4095 "firebaseEventParameterCampaignClickTimestamp",
4096 "firebaseEventParameterCampaignContent",
4097 "firebaseEventParameterCampaignCp1",
4098 "firebaseEventParameterCampaignGclid",
4099 "firebaseEventParameterCampaignSource",
4100 "firebaseEventParameterCampaignTerm",
4101 "firebaseEventParameterCurrency",
4102 "firebaseEventParameterDynamicLinkAcceptTime",
4103 "firebaseEventParameterDynamicLinkLinkid",
4104 "firebaseEventParameterNotificationMessageDeviceTime",
4105 "firebaseEventParameterNotificationMessageId",
4106 "firebaseEventParameterNotificationMessageName",
4107 "firebaseEventParameterNotificationMessageTime",
4108 "firebaseEventParameterNotificationTopic",
4109 "firebaseEventParameterPreviousAppVersion",
4110 "firebaseEventParameterPreviousOsVersion",
4111 "firebaseEventParameterPrice",
4112 "firebaseEventParameterProductId",
4113 "firebaseEventParameterQuantity",
4114 "firebaseEventParameterValue",
4115 "videoProvider",
4116 "videoUrl",
4117 "videoTitle",
4118 "videoDuration",
4119 "videoPercent",
4120 "videoVisible",
4121 "videoStatus",
4122 "videoCurrentTime",
4123 "scrollDepthThreshold",
4124 "scrollDepthUnits",
4125 "scrollDepthDirection",
4126 "elementVisibilityRatio",
4127 "elementVisibilityTime",
4128 "elementVisibilityFirstTime",
4129 "elementVisibilityRecentTime",
4130 "requestPath",
4131 "requestMethod",
4132 "clientName",
4133 "queryString"
4134 ],
4135 "location": "query",
4136 "enumDescriptions": [
4137 "",
4138 "",
4139 "",
4140 "",
4141 "",
4142 "For web or mobile.",
4143 "",
4144 "",
4145 "",
4146 "",
4147 "",
4148 "",
4149 "",
4150 "",
4151 "",
4152 "",
4153 "",
4154 "",
4155 "",
4156 "",
4157 "",
4158 "",
4159 "",
4160 "",
4161 "",
4162 "",
4163 "",
4164 "",
4165 "",
4166 "For web or mobile.",
4167 "",
4168 "For web or mobile.",
4169 "For web or mobile.",
4170 "",
4171 "",
4172 "",
4173 "",
4174 "",
4175 "",
4176 "",
4177 "",
4178 "",
4179 "",
4180 "",
4181 "",
4182 "",
4183 "",
4184 "",
4185 "",
4186 "",
4187 "",
4188 "",
4189 "",
4190 "",
4191 "",
4192 "",
4193 "",
4194 "",
4195 "",
4196 "",
4197 "",
4198 "",
4199 "",
4200 "",
4201 "",
4202 "",
4203 "",
4204 "",
4205 "",
4206 "",
4207 "",
4208 "",
4209 "",
4210 "",
4211 "",
4212 "",
4213 "",
4214 "",
4215 "",
4216 "",
4217 "",
4218 "",
4219 "",
4220 "",
4221 "",
4222 "",
4223 "",
4224 "",
4225 "",
4226 "",
4227 "",
4228 "",
4229 "",
4230 "",
4231 "",
4232 "",
4233 "",
4234 "",
4235 "",
4236 "",
4237 "",
4238 "",
4239 "",
4240 "",
4241 "",
4242 "",
4243 "",
4244 "",
4245 "",
4246 ""
4247 ],
4248 "description": "The type of built-in variable to revert.",
4249 "type": "string"
4250 },
4251 "path": {
4252 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4253 "description": "GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables",
4254 "type": "string",
4255 "location": "path",
4256 "required": true
4257 }
4258 },
4259 "path": "tagmanager/v2/{+path}/built_in_variables:revert",
4260 "description": "Reverts changes to a GTM Built-In Variables in a GTM Workspace.",
4261 "id": "tagmanager.accounts.containers.workspaces.built_in_variables.revert",
4262 "parameterOrder": [
4263 "path"
4264 ]
4265 }
4266 }
4267 },
4268 "zones": {
4269 "methods": {
4270 "revert": {
4271 "id": "tagmanager.accounts.containers.workspaces.zones.revert",
4272 "path": "tagmanager/v2/{+path}:revert",
4273 "description": "Reverts changes to a GTM Zone in a GTM Workspace.",
4274 "parameterOrder": [
4275 "path"
4276 ],
4277 "response": {
4278 "$ref": "RevertZoneResponse"
4279 },
4280 "scopes": [
4281 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4282 ],
4283 "parameters": {
4284 "fingerprint": {
4285 "type": "string",
4286 "description": "When provided, this fingerprint must match the fingerprint of the zone in storage.",
4287 "location": "query"
4288 },
4289 "path": {
4290 "type": "string",
4291 "required": true,
4292 "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
4293 "location": "path",
4294 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$"
4295 }
4296 },
4297 "httpMethod": "POST",
4298 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}:revert"
4299 },
4300 "create": {
4301 "response": {
4302 "$ref": "Zone"
4303 },
4304 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones",
4305 "path": "tagmanager/v2/{+parent}/zones",
4306 "request": {
4307 "$ref": "Zone"
4308 },
4309 "description": "Creates a GTM Zone.",
4310 "parameterOrder": [
4311 "parent"
4312 ],
4313 "httpMethod": "POST",
4314 "parameters": {
4315 "parent": {
4316 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4317 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4318 "location": "path",
4319 "type": "string",
4320 "required": true
4321 }
4322 },
4323 "scopes": [
4324 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4325 ],
4326 "id": "tagmanager.accounts.containers.workspaces.zones.create"
4327 },
4328 "update": {
4329 "parameterOrder": [
4330 "path"
4331 ],
4332 "request": {
4333 "$ref": "Zone"
4334 },
4335 "response": {
4336 "$ref": "Zone"
4337 },
4338 "scopes": [
4339 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4340 ],
4341 "id": "tagmanager.accounts.containers.workspaces.zones.update",
4342 "description": "Updates a GTM Zone.",
4343 "parameters": {
4344 "path": {
4345 "type": "string",
4346 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
4347 "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
4348 "required": true,
4349 "location": "path"
4350 },
4351 "fingerprint": {
4352 "type": "string",
4353 "location": "query",
4354 "description": "When provided, this fingerprint must match the fingerprint of the zone in storage."
4355 }
4356 },
4357 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
4358 "httpMethod": "PUT",
4359 "path": "tagmanager/v2/{+path}"
4360 },
4361 "get": {
4362 "description": "Gets a GTM Zone.",
4363 "path": "tagmanager/v2/{+path}",
4364 "httpMethod": "GET",
4365 "response": {
4366 "$ref": "Zone"
4367 },
4368 "parameters": {
4369 "path": {
4370 "location": "path",
4371 "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
4372 "type": "string",
4373 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
4374 "required": true
4375 }
4376 },
4377 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
4378 "id": "tagmanager.accounts.containers.workspaces.zones.get",
4379 "scopes": [
4380 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4381 "https://www.googleapis.com/auth/tagmanager.readonly"
4382 ],
4383 "parameterOrder": [
4384 "path"
4385 ]
4386 },
4387 "delete": {
4388 "httpMethod": "DELETE",
4389 "path": "tagmanager/v2/{+path}",
4390 "parameters": {
4391 "path": {
4392 "location": "path",
4393 "type": "string",
4394 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
4395 "required": true,
4396 "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}"
4397 }
4398 },
4399 "parameterOrder": [
4400 "path"
4401 ],
4402 "scopes": [
4403 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4404 ],
4405 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
4406 "id": "tagmanager.accounts.containers.workspaces.zones.delete",
4407 "description": "Deletes a GTM Zone."
4408 },
4409 "list": {
4410 "id": "tagmanager.accounts.containers.workspaces.zones.list",
4411 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones",
4412 "path": "tagmanager/v2/{+parent}/zones",
4413 "description": "Lists all GTM Zones of a GTM container workspace.",
4414 "parameters": {
4415 "pageToken": {
4416 "description": "Continuation token for fetching the next page of results.",
4417 "type": "string",
4418 "location": "query"
4419 },
4420 "parent": {
4421 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4422 "required": true,
4423 "location": "path",
4424 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4425 "type": "string"
4426 }
4427 },
4428 "parameterOrder": [
4429 "parent"
4430 ],
4431 "httpMethod": "GET",
4432 "scopes": [
4433 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4434 "https://www.googleapis.com/auth/tagmanager.readonly"
4435 ],
4436 "response": {
4437 "$ref": "ListZonesResponse"
4438 }
4439 }
4440 }
4441 }
4442 },
4443 "methods": {
4444 "resolve_conflict": {
4445 "id": "tagmanager.accounts.containers.workspaces.resolve_conflict",
4446 "scopes": [
4447 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4448 ],
4449 "parameters": {
4450 "path": {
4451 "required": true,
4452 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4453 "location": "path",
4454 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4455 "type": "string"
4456 },
4457 "fingerprint": {
4458 "description": "When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.",
4459 "type": "string",
4460 "location": "query"
4461 }
4462 },
4463 "httpMethod": "POST",
4464 "description": "Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.",
4465 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:resolve_conflict",
4466 "path": "tagmanager/v2/{+path}:resolve_conflict",
4467 "parameterOrder": [
4468 "path"
4469 ],
4470 "request": {
4471 "$ref": "Entity"
4472 }
4473 },
4474 "quick_preview": {
4475 "scopes": [
4476 "https://www.googleapis.com/auth/tagmanager.edit.containerversions"
4477 ],
4478 "path": "tagmanager/v2/{+path}:quick_preview",
4479 "parameterOrder": [
4480 "path"
4481 ],
4482 "httpMethod": "POST",
4483 "id": "tagmanager.accounts.containers.workspaces.quick_preview",
4484 "parameters": {
4485 "path": {
4486 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4487 "required": true,
4488 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4489 "type": "string",
4490 "location": "path"
4491 }
4492 },
4493 "response": {
4494 "$ref": "QuickPreviewResponse"
4495 },
4496 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:quick_preview",
4497 "description": "Quick previews a workspace by creating a fake container version from all entities in the provided workspace."
4498 },
4499 "delete": {
4500 "parameterOrder": [
4501 "path"
4502 ],
4503 "scopes": [
4504 "https://www.googleapis.com/auth/tagmanager.delete.containers"
4505 ],
4506 "parameters": {
4507 "path": {
4508 "type": "string",
4509 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4510 "location": "path",
4511 "required": true,
4512 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}"
4513 }
4514 },
4515 "httpMethod": "DELETE",
4516 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
4517 "description": "Deletes a Workspace.",
4518 "id": "tagmanager.accounts.containers.workspaces.delete",
4519 "path": "tagmanager/v2/{+path}"
4520 },
4521 "create": {
4522 "httpMethod": "POST",
4523 "parameterOrder": [
4524 "parent"
4525 ],
4526 "request": {
4527 "$ref": "Workspace"
4528 },
4529 "parameters": {
4530 "parent": {
4531 "type": "string",
4532 "description": "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
4533 "location": "path",
4534 "pattern": "^accounts/[^/]+/containers/[^/]+$",
4535 "required": true
4536 }
4537 },
4538 "id": "tagmanager.accounts.containers.workspaces.create",
4539 "path": "tagmanager/v2/{+parent}/workspaces",
4540 "scopes": [
4541 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4542 ],
4543 "description": "Creates a Workspace.",
4544 "response": {
4545 "$ref": "Workspace"
4546 },
4547 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces"
4548 },
4549 "list": {
4550 "response": {
4551 "$ref": "ListWorkspacesResponse"
4552 },
4553 "path": "tagmanager/v2/{+parent}/workspaces",
4554 "description": "Lists all Workspaces that belong to a GTM Container.",
4555 "id": "tagmanager.accounts.containers.workspaces.list",
4556 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces",
4557 "parameters": {
4558 "pageToken": {
4559 "description": "Continuation token for fetching the next page of results.",
4560 "type": "string",
4561 "location": "query"
4562 },
4563 "parent": {
4564 "description": "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
4565 "type": "string",
4566 "required": true,
4567 "pattern": "^accounts/[^/]+/containers/[^/]+$",
4568 "location": "path"
4569 }
4570 },
4571 "httpMethod": "GET",
4572 "parameterOrder": [
4573 "parent"
4574 ],
4575 "scopes": [
4576 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4577 "https://www.googleapis.com/auth/tagmanager.readonly"
4578 ]
4579 },
4580 "sync": {
4581 "parameterOrder": [
4582 "path"
4583 ],
4584 "parameters": {
4585 "path": {
4586 "type": "string",
4587 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4588 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4589 "location": "path",
4590 "required": true
4591 }
4592 },
4593 "response": {
4594 "$ref": "SyncWorkspaceResponse"
4595 },
4596 "path": "tagmanager/v2/{+path}:sync",
4597 "description": "Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.",
4598 "scopes": [
4599 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4600 ],
4601 "id": "tagmanager.accounts.containers.workspaces.sync",
4602 "httpMethod": "POST",
4603 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:sync"
4604 },
4605 "update": {
4606 "id": "tagmanager.accounts.containers.workspaces.update",
4607 "scopes": [
4608 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4609 ],
4610 "response": {
4611 "$ref": "Workspace"
4612 },
4613 "httpMethod": "PUT",
4614 "parameterOrder": [
4615 "path"
4616 ],
4617 "parameters": {
4618 "fingerprint": {
4619 "type": "string",
4620 "location": "query",
4621 "description": "When provided, this fingerprint must match the fingerprint of the workspace in storage."
4622 },
4623 "path": {
4624 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4625 "location": "path",
4626 "type": "string",
4627 "required": true,
4628 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}"
4629 }
4630 },
4631 "request": {
4632 "$ref": "Workspace"
4633 },
4634 "description": "Updates a Workspace.",
4635 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
4636 "path": "tagmanager/v2/{+path}"
4637 },
4638 "getStatus": {
4639 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/status",
4640 "description": "Finds conflicting and modified entities in the workspace.",
4641 "parameters": {
4642 "path": {
4643 "type": "string",
4644 "location": "path",
4645 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4646 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4647 "required": true
4648 }
4649 },
4650 "scopes": [
4651 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4652 "https://www.googleapis.com/auth/tagmanager.readonly"
4653 ],
4654 "path": "tagmanager/v2/{+path}/status",
4655 "id": "tagmanager.accounts.containers.workspaces.getStatus",
4656 "response": {
4657 "$ref": "GetWorkspaceStatusResponse"
4658 },
4659 "parameterOrder": [
4660 "path"
4661 ],
4662 "httpMethod": "GET"
4663 },
4664 "get": {
4665 "response": {
4666 "$ref": "Workspace"
4667 },
4668 "description": "Gets a Workspace.",
4669 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
4670 "path": "tagmanager/v2/{+path}",
4671 "parameters": {
4672 "path": {
4673 "required": true,
4674 "location": "path",
4675 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4676 "type": "string",
4677 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}"
4678 }
4679 },
4680 "httpMethod": "GET",
4681 "scopes": [
4682 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4683 "https://www.googleapis.com/auth/tagmanager.readonly"
4684 ],
4685 "parameterOrder": [
4686 "path"
4687 ],
4688 "id": "tagmanager.accounts.containers.workspaces.get"
4689 },
4690 "create_version": {
4691 "response": {
4692 "$ref": "CreateContainerVersionResponse"
4693 },
4694 "id": "tagmanager.accounts.containers.workspaces.create_version",
4695 "request": {
4696 "$ref": "CreateContainerVersionRequestVersionOptions"
4697 },
4698 "scopes": [
4699 "https://www.googleapis.com/auth/tagmanager.edit.containerversions"
4700 ],
4701 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:create_version",
4702 "parameterOrder": [
4703 "path"
4704 ],
4705 "httpMethod": "POST",
4706 "description": "Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.",
4707 "parameters": {
4708 "path": {
4709 "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
4710 "required": true,
4711 "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
4712 "location": "path",
4713 "type": "string"
4714 }
4715 },
4716 "path": "tagmanager/v2/{+path}:create_version"
4717 }
4718 }
4719 },
4720 "versions": {
4721 "methods": {
4722 "live": {
4723 "parameterOrder": [
4724 "parent"
4725 ],
4726 "httpMethod": "GET",
4727 "parameters": {
4728 "parent": {
4729 "pattern": "^accounts/[^/]+/containers/[^/]+$",
4730 "required": true,
4731 "location": "path",
4732 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
4733 "type": "string"
4734 }
4735 },
4736 "scopes": [
4737 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4738 "https://www.googleapis.com/auth/tagmanager.readonly"
4739 ],
4740 "response": {
4741 "$ref": "ContainerVersion"
4742 },
4743 "description": "Gets the live (i.e. published) container version",
4744 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions:live",
4745 "id": "tagmanager.accounts.containers.versions.live",
4746 "path": "tagmanager/v2/{+parent}/versions:live"
4747 },
4748 "publish": {
4749 "id": "tagmanager.accounts.containers.versions.publish",
4750 "path": "tagmanager/v2/{+path}:publish",
4751 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:publish",
4752 "scopes": [
4753 "https://www.googleapis.com/auth/tagmanager.publish"
4754 ],
4755 "response": {
4756 "$ref": "PublishContainerVersionResponse"
4757 },
4758 "parameters": {
4759 "fingerprint": {
4760 "type": "string",
4761 "location": "query",
4762 "description": "When provided, this fingerprint must match the fingerprint of the container version in storage."
4763 },
4764 "path": {
4765 "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}",
4766 "required": true,
4767 "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
4768 "type": "string",
4769 "location": "path"
4770 }
4771 },
4772 "parameterOrder": [
4773 "path"
4774 ],
4775 "httpMethod": "POST",
4776 "description": "Publishes a Container Version."
4777 },
4778 "set_latest": {
4779 "id": "tagmanager.accounts.containers.versions.set_latest",
4780 "parameterOrder": [
4781 "path"
4782 ],
4783 "response": {
4784 "$ref": "ContainerVersion"
4785 },
4786 "scopes": [
4787 "https://www.googleapis.com/auth/tagmanager.edit.containers"
4788 ],
4789 "description": "Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.",
4790 "httpMethod": "POST",
4791 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:set_latest",
4792 "parameters": {
4793 "path": {
4794 "location": "path",
4795 "type": "string",
4796 "required": true,
4797 "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
4798 "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}"
4799 }
4800 },
4801 "path": "tagmanager/v2/{+path}:set_latest"
4802 },
4803 "get": {
4804 "path": "tagmanager/v2/{+path}",
4805 "id": "tagmanager.accounts.containers.versions.get",
4806 "parameterOrder": [
4807 "path"
4808 ],
4809 "parameters": {
4810 "path": {
4811 "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
4812 "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}",
4813 "type": "string",
4814 "location": "path",
4815 "required": true
4816 },
4817 "containerVersionId": {
4818 "location": "query",
4819 "description": "The GTM ContainerVersion ID. Specify published to retrieve the currently published version.",
4820 "type": "string"
4821 }
4822 },
4823 "scopes": [
4824 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4825 "https://www.googleapis.com/auth/tagmanager.edit.containerversions",
4826 "https://www.googleapis.com/auth/tagmanager.readonly"
4827 ],
4828 "httpMethod": "GET",
4829 "description": "Gets a Container Version.",
4830 "response": {
4831 "$ref": "ContainerVersion"
4832 },
4833 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}"
4834 },
4835 "update": {
4836 "request": {
4837 "$ref": "ContainerVersion"
4838 },
4839 "description": "Updates a Container Version.",
4840 "id": "tagmanager.accounts.containers.versions.update",
4841 "httpMethod": "PUT",
4842 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
4843 "parameters": {
4844 "path": {
4845 "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
4846 "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}",
4847 "location": "path",
4848 "required": true,
4849 "type": "string"
4850 },
4851 "fingerprint": {
4852 "location": "query",
4853 "type": "string",
4854 "description": "When provided, this fingerprint must match the fingerprint of the container version in storage."
4855 }
4856 },
4857 "parameterOrder": [
4858 "path"
4859 ],
4860 "scopes": [
4861 "https://www.googleapis.com/auth/tagmanager.edit.containerversions"
4862 ],
4863 "response": {
4864 "$ref": "ContainerVersion"
4865 },
4866 "path": "tagmanager/v2/{+path}"
4867 },
4868 "delete": {
4869 "id": "tagmanager.accounts.containers.versions.delete",
4870 "path": "tagmanager/v2/{+path}",
4871 "description": "Deletes a Container Version.",
4872 "scopes": [
4873 "https://www.googleapis.com/auth/tagmanager.edit.containerversions"
4874 ],
4875 "httpMethod": "DELETE",
4876 "parameters": {
4877 "path": {
4878 "required": true,
4879 "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
4880 "location": "path",
4881 "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}",
4882 "type": "string"
4883 }
4884 },
4885 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
4886 "parameterOrder": [
4887 "path"
4888 ]
4889 },
4890 "undelete": {
4891 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:undelete",
4892 "parameterOrder": [
4893 "path"
4894 ],
4895 "path": "tagmanager/v2/{+path}:undelete",
4896 "parameters": {
4897 "path": {
4898 "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}",
4899 "required": true,
4900 "location": "path",
4901 "type": "string",
4902 "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$"
4903 }
4904 },
4905 "response": {
4906 "$ref": "ContainerVersion"
4907 },
4908 "id": "tagmanager.accounts.containers.versions.undelete",
4909 "scopes": [
4910 "https://www.googleapis.com/auth/tagmanager.edit.containerversions"
4911 ],
4912 "httpMethod": "POST",
4913 "description": "Undeletes a Container Version."
4914 }
4915 }
4916 },
4917 "version_headers": {
4918 "methods": {
4919 "latest": {
4920 "path": "tagmanager/v2/{+parent}/version_headers:latest",
4921 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers:latest",
4922 "httpMethod": "GET",
4923 "response": {
4924 "$ref": "ContainerVersionHeader"
4925 },
4926 "description": "Gets the latest container version header",
4927 "parameterOrder": [
4928 "parent"
4929 ],
4930 "parameters": {
4931 "parent": {
4932 "location": "path",
4933 "type": "string",
4934 "pattern": "^accounts/[^/]+/containers/[^/]+$",
4935 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
4936 "required": true
4937 }
4938 },
4939 "scopes": [
4940 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4941 "https://www.googleapis.com/auth/tagmanager.readonly"
4942 ],
4943 "id": "tagmanager.accounts.containers.version_headers.latest"
4944 },
4945 "list": {
4946 "httpMethod": "GET",
4947 "path": "tagmanager/v2/{+parent}/version_headers",
4948 "scopes": [
4949 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4950 "https://www.googleapis.com/auth/tagmanager.edit.containerversions",
4951 "https://www.googleapis.com/auth/tagmanager.readonly"
4952 ],
4953 "id": "tagmanager.accounts.containers.version_headers.list",
4954 "parameterOrder": [
4955 "parent"
4956 ],
4957 "response": {
4958 "$ref": "ListContainerVersionsResponse"
4959 },
4960 "description": "Lists all Container Versions of a GTM Container.",
4961 "parameters": {
4962 "includeDeleted": {
4963 "location": "query",
4964 "description": "Also retrieve deleted (archived) versions when true.",
4965 "type": "boolean"
4966 },
4967 "parent": {
4968 "required": true,
4969 "type": "string",
4970 "pattern": "^accounts/[^/]+/containers/[^/]+$",
4971 "location": "path",
4972 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}"
4973 },
4974 "pageToken": {
4975 "type": "string",
4976 "location": "query",
4977 "description": "Continuation token for fetching the next page of results."
4978 }
4979 },
4980 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers"
4981 }
4982 }
4983 },
4984 "environments": {
4985 "methods": {
4986 "list": {
4987 "httpMethod": "GET",
4988 "scopes": [
4989 "https://www.googleapis.com/auth/tagmanager.edit.containers",
4990 "https://www.googleapis.com/auth/tagmanager.readonly"
4991 ],
4992 "response": {
4993 "$ref": "ListEnvironmentsResponse"
4994 },
4995 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments",
4996 "id": "tagmanager.accounts.containers.environments.list",
4997 "path": "tagmanager/v2/{+parent}/environments",
4998 "description": "Lists all GTM Environments of a GTM Container.",
4999 "parameterOrder": [
5000 "parent"
5001 ],
5002 "parameters": {
5003 "pageToken": {
5004 "location": "query",
5005 "description": "Continuation token for fetching the next page of results.",
5006 "type": "string"
5007 },
5008 "parent": {
5009 "type": "string",
5010 "location": "path",
5011 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
5012 "required": true,
5013 "pattern": "^accounts/[^/]+/containers/[^/]+$"
5014 }
5015 }
5016 },
5017 "update": {
5018 "httpMethod": "PUT",
5019 "parameterOrder": [
5020 "path"
5021 ],
5022 "scopes": [
5023 "https://www.googleapis.com/auth/tagmanager.edit.containers"
5024 ],
5025 "request": {
5026 "$ref": "Environment"
5027 },
5028 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
5029 "id": "tagmanager.accounts.containers.environments.update",
5030 "path": "tagmanager/v2/{+path}",
5031 "response": {
5032 "$ref": "Environment"
5033 },
5034 "parameters": {
5035 "path": {
5036 "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
5037 "location": "path",
5038 "type": "string",
5039 "required": true,
5040 "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}"
5041 },
5042 "fingerprint": {
5043 "type": "string",
5044 "description": "When provided, this fingerprint must match the fingerprint of the environment in storage.",
5045 "location": "query"
5046 }
5047 },
5048 "description": "Updates a GTM Environment."
5049 },
5050 "delete": {
5051 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
5052 "parameterOrder": [
5053 "path"
5054 ],
5055 "httpMethod": "DELETE",
5056 "id": "tagmanager.accounts.containers.environments.delete",
5057 "path": "tagmanager/v2/{+path}",
5058 "description": "Deletes a GTM Environment.",
5059 "parameters": {
5060 "path": {
5061 "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
5062 "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}",
5063 "required": true,
5064 "type": "string",
5065 "location": "path"
5066 }
5067 },
5068 "scopes": [
5069 "https://www.googleapis.com/auth/tagmanager.edit.containers"
5070 ]
5071 },
5072 "get": {
5073 "response": {
5074 "$ref": "Environment"
5075 },
5076 "scopes": [
5077 "https://www.googleapis.com/auth/tagmanager.edit.containers",
5078 "https://www.googleapis.com/auth/tagmanager.readonly"
5079 ],
5080 "parameters": {
5081 "path": {
5082 "location": "path",
5083 "type": "string",
5084 "required": true,
5085 "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
5086 "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}"
5087 }
5088 },
5089 "id": "tagmanager.accounts.containers.environments.get",
5090 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
5091 "description": "Gets a GTM Environment.",
5092 "httpMethod": "GET",
5093 "parameterOrder": [
5094 "path"
5095 ],
5096 "path": "tagmanager/v2/{+path}"
5097 },
5098 "create": {
5099 "httpMethod": "POST",
5100 "request": {
5101 "$ref": "Environment"
5102 },
5103 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments",
5104 "path": "tagmanager/v2/{+parent}/environments",
5105 "response": {
5106 "$ref": "Environment"
5107 },
5108 "parameters": {
5109 "parent": {
5110 "pattern": "^accounts/[^/]+/containers/[^/]+$",
5111 "type": "string",
5112 "required": true,
5113 "location": "path",
5114 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}"
5115 }
5116 },
5117 "description": "Creates a GTM Environment.",
5118 "scopes": [
5119 "https://www.googleapis.com/auth/tagmanager.edit.containers"
5120 ],
5121 "id": "tagmanager.accounts.containers.environments.create",
5122 "parameterOrder": [
5123 "parent"
5124 ]
5125 },
5126 "reauthorize": {
5127 "parameterOrder": [
5128 "path"
5129 ],
5130 "parameters": {
5131 "path": {
5132 "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}",
5133 "location": "path",
5134 "required": true,
5135 "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
5136 "type": "string"
5137 }
5138 },
5139 "response": {
5140 "$ref": "Environment"
5141 },
5142 "request": {
5143 "$ref": "Environment"
5144 },
5145 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}:reauthorize",
5146 "path": "tagmanager/v2/{+path}:reauthorize",
5147 "id": "tagmanager.accounts.containers.environments.reauthorize",
5148 "scopes": [
5149 "https://www.googleapis.com/auth/tagmanager.publish"
5150 ],
5151 "description": "Re-generates the authorization code for a GTM Environment.",
5152 "httpMethod": "POST"
5153 }
5154 }
5155 }
5156 },
5157 "methods": {
5158 "list": {
5159 "path": "tagmanager/v2/{+parent}/containers",
5160 "parameterOrder": [
5161 "parent"
5162 ],
5163 "id": "tagmanager.accounts.containers.list",
5164 "description": "Lists all Containers that belongs to a GTM Account.",
5165 "scopes": [
5166 "https://www.googleapis.com/auth/tagmanager.edit.containers",
5167 "https://www.googleapis.com/auth/tagmanager.readonly"
5168 ],
5169 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers",
5170 "parameters": {
5171 "parent": {
5172 "pattern": "^accounts/[^/]+$",
5173 "description": "GTM Accounts's API relative path. Example: accounts/{account_id}.",
5174 "location": "path",
5175 "required": true,
5176 "type": "string"
5177 },
5178 "pageToken": {
5179 "type": "string",
5180 "location": "query",
5181 "description": "Continuation token for fetching the next page of results."
5182 }
5183 },
5184 "httpMethod": "GET",
5185 "response": {
5186 "$ref": "ListContainersResponse"
5187 }
5188 },
5189 "update": {
5190 "id": "tagmanager.accounts.containers.update",
5191 "scopes": [
5192 "https://www.googleapis.com/auth/tagmanager.edit.containers"
5193 ],
5194 "request": {
5195 "$ref": "Container"
5196 },
5197 "parameters": {
5198 "path": {
5199 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
5200 "pattern": "^accounts/[^/]+/containers/[^/]+$",
5201 "type": "string",
5202 "location": "path",
5203 "required": true
5204 },
5205 "fingerprint": {
5206 "description": "When provided, this fingerprint must match the fingerprint of the container in storage.",
5207 "type": "string",
5208 "location": "query"
5209 }
5210 },
5211 "path": "tagmanager/v2/{+path}",
5212 "httpMethod": "PUT",
5213 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
5214 "parameterOrder": [
5215 "path"
5216 ],
5217 "description": "Updates a Container.",
5218 "response": {
5219 "$ref": "Container"
5220 }
5221 },
5222 "get": {
5223 "response": {
5224 "$ref": "Container"
5225 },
5226 "httpMethod": "GET",
5227 "scopes": [
5228 "https://www.googleapis.com/auth/tagmanager.edit.containers",
5229 "https://www.googleapis.com/auth/tagmanager.readonly"
5230 ],
5231 "path": "tagmanager/v2/{+path}",
5232 "parameterOrder": [
5233 "path"
5234 ],
5235 "description": "Gets a Container.",
5236 "parameters": {
5237 "path": {
5238 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
5239 "required": true,
5240 "location": "path",
5241 "type": "string",
5242 "pattern": "^accounts/[^/]+/containers/[^/]+$"
5243 }
5244 },
5245 "id": "tagmanager.accounts.containers.get",
5246 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}"
5247 },
5248 "create": {
5249 "scopes": [
5250 "https://www.googleapis.com/auth/tagmanager.edit.containers"
5251 ],
5252 "parameters": {
5253 "parent": {
5254 "location": "path",
5255 "required": true,
5256 "type": "string",
5257 "pattern": "^accounts/[^/]+$",
5258 "description": "GTM Account's API relative path. Example: accounts/{account_id}."
5259 }
5260 },
5261 "id": "tagmanager.accounts.containers.create",
5262 "httpMethod": "POST",
5263 "parameterOrder": [
5264 "parent"
5265 ],
5266 "description": "Creates a Container.",
5267 "request": {
5268 "$ref": "Container"
5269 },
5270 "path": "tagmanager/v2/{+parent}/containers",
5271 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers",
5272 "response": {
5273 "$ref": "Container"
5274 }
5275 },
5276 "delete": {
5277 "parameters": {
5278 "path": {
5279 "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}",
5280 "type": "string",
5281 "required": true,
5282 "pattern": "^accounts/[^/]+/containers/[^/]+$",
5283 "location": "path"
5284 }
5285 },
5286 "httpMethod": "DELETE",
5287 "parameterOrder": [
5288 "path"
5289 ],
5290 "path": "tagmanager/v2/{+path}",
5291 "id": "tagmanager.accounts.containers.delete",
5292 "scopes": [
5293 "https://www.googleapis.com/auth/tagmanager.delete.containers"
5294 ],
5295 "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
5296 "description": "Deletes a Container."
5297 }
5298 }
5299 }
5300 },
5301 "methods": {
5302 "list": {
5303 "description": "Lists all GTM Accounts that a user has access to.",
5304 "response": {
5305 "$ref": "ListAccountsResponse"
5306 },
5307 "path": "tagmanager/v2/accounts",
5308 "flatPath": "tagmanager/v2/accounts",
5309 "httpMethod": "GET",
5310 "parameters": {
5311 "pageToken": {
5312 "description": "Continuation token for fetching the next page of results.",
5313 "location": "query",
5314 "type": "string"
5315 }
5316 },
5317 "parameterOrder": [],
5318 "scopes": [
5319 "https://www.googleapis.com/auth/tagmanager.edit.containers",
5320 "https://www.googleapis.com/auth/tagmanager.manage.accounts",
5321 "https://www.googleapis.com/auth/tagmanager.readonly"
5322 ],
5323 "id": "tagmanager.accounts.list"
5324 },
5325 "get": {
5326 "flatPath": "tagmanager/v2/accounts/{accountsId}",
5327 "parameterOrder": [
5328 "path"
5329 ],
5330 "description": "Gets a GTM Account.",
5331 "response": {
5332 "$ref": "Account"
5333 },
5334 "parameters": {
5335 "path": {
5336 "location": "path",
5337 "description": "GTM Accounts's API relative path. Example: accounts/{account_id}",
5338 "required": true,
5339 "type": "string",
5340 "pattern": "^accounts/[^/]+$"
5341 }
5342 },
5343 "id": "tagmanager.accounts.get",
5344 "path": "tagmanager/v2/{+path}",
5345 "httpMethod": "GET",
5346 "scopes": [
5347 "https://www.googleapis.com/auth/tagmanager.edit.containers",
5348 "https://www.googleapis.com/auth/tagmanager.manage.accounts",
5349 "https://www.googleapis.com/auth/tagmanager.readonly"
5350 ]
5351 },
5352 "update": {
5353 "flatPath": "tagmanager/v2/accounts/{accountsId}",
5354 "request": {
5355 "$ref": "Account"
5356 },
5357 "scopes": [
5358 "https://www.googleapis.com/auth/tagmanager.manage.accounts"
5359 ],
5360 "description": "Updates a GTM Account.",
5361 "parameterOrder": [
5362 "path"
5363 ],
5364 "path": "tagmanager/v2/{+path}",
5365 "httpMethod": "PUT",
5366 "response": {
5367 "$ref": "Account"
5368 },
5369 "id": "tagmanager.accounts.update",
5370 "parameters": {
5371 "fingerprint": {
5372 "type": "string",
5373 "description": "When provided, this fingerprint must match the fingerprint of the account in storage.",
5374 "location": "query"
5375 },
5376 "path": {
5377 "type": "string",
5378 "required": true,
5379 "pattern": "^accounts/[^/]+$",
5380 "description": "GTM Accounts's API relative path. Example: accounts/{account_id}",
5381 "location": "path"
5382 }
5383 }
5384 }
5385 }
5386 }
5387 },
5388 "mtlsRootUrl": "https://tagmanager.mtls.googleapis.com/",
5389 "description": "This API allows clients to access and modify container and tag configuration.",
5390 "ownerName": "Google",
5391 "rootUrl": "https://tagmanager.googleapis.com/"
5392}