Resource: Container
Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.
| JSON representation | 
|---|
| { "path": string, "accountId": string, "containerId": string, "name": string, "domainName": [ string ], "publicId": string, "tagIds": [ string ], "features": { object ( | 
| Fields | |
|---|---|
| path | 
 GTM Container's API relative path. | 
| accountId | 
 GTM Account ID. | 
| containerId | 
 The Container ID uniquely identifies the GTM Container. | 
| name | 
 Container display name. | 
| domainName[] | 
 List of domain names associated with the Container. | 
| publicId | 
 Container Public ID. | 
| tagIds[] | 
 All Tag IDs that refer to this Container. | 
| features | 
 Read-only Container feature set. | 
| notes | 
 Container Notes. | 
| usageContext[] | 
 List of Usage Contexts for the Container. Valid values include: 
 . | 
| fingerprint | 
 The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified. | 
| tagManagerUrl | 
 Auto generated link to the tag manager UI | 
| taggingServerUrls[] | 
 List of server-side container URLs for the Container. If multiple URLs are provided, all URL paths must match. | 
Features
| JSON representation | 
|---|
| { "supportUserPermissions": boolean, "supportEnvironments": boolean, "supportWorkspaces": boolean, "supportGtagConfigs": boolean, "supportBuiltInVariables": boolean, "supportClients": boolean, "supportFolders": boolean, "supportTags": boolean, "supportTemplates": boolean, "supportTriggers": boolean, "supportVariables": boolean, "supportVersions": boolean, "supportZones": boolean, "supportTransformations": boolean } | 
| Fields | |
|---|---|
| supportUserPermissions | 
 Whether this Container supports user permissions managed by GTM. | 
| supportEnvironments | 
 Whether this Container supports environments. | 
| supportWorkspaces | 
 Whether this Container supports workspaces. | 
| supportGtagConfigs | 
 Whether this Container supports Google tag config. | 
| supportBuiltInVariables | 
 Whether this Container supports built-in variables | 
| supportClients | 
 Whether this Container supports clients. | 
| supportFolders | 
 Whether this Container supports folders. | 
| supportTags | 
 Whether this Container supports tags. | 
| supportTemplates | 
 Whether this Container supports templates. | 
| supportTriggers | 
 Whether this Container supports triggers. | 
| supportVariables | 
 Whether this Container supports variables. | 
| supportVersions | 
 Whether this Container supports Container versions. | 
| supportZones | 
 Whether this Container supports zones. | 
| supportTransformations | 
 Whether this Container supports transformations. | 
UsageContext
| Enums | |
|---|---|
| usageContextUnspecified | |
| web | |
| android | |
| ios | |
| androidSdk5 | |
| iosSdk5 | |
| amp | |
| server | |
| Methods | |
|---|---|
| 
 | Combines Containers. | 
| 
 | Creates a Container. | 
| 
 | Deletes a Container. | 
| 
 | Gets a Container. | 
| 
 | Lists all Containers that belongs to a GTM Account. | 
| 
 | Looks up a Container by destination ID or tag ID. | 
| 
 | Move Tag ID out of a Container. | 
| 
 | Gets the tagging snippet for a Container. | 
| 
 | Updates a Container. |