For a list of methods for this resource, see the end of this page.
Resource representations
Represents a Google Tag Manager Container Workspace.
{ "path": string, "accountId": string, "containerId": string, "workspaceId": string, "name": string, "description": string, "fingerprint": string, "tagManagerUrl": string }
Property name | Value | Description | Notes |
---|---|---|---|
accountId |
string |
GTM Account ID. | |
containerId |
string |
GTM Container ID. | |
description |
string |
Workspace description. | writable |
fingerprint |
string |
The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. | |
name |
string |
Workspace display name. | writable |
path |
string |
GTM Workspace's API relative path. | |
tagManagerUrl |
string |
Auto generated link to the tag manager UI | |
workspaceId |
string |
The Workspace ID uniquely identifies the GTM Workspace. |
Methods
- create
- Creates a Workspace.
- create_version
- 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.
- delete
- Deletes a Workspace.
- get
- Gets a Workspace.
- getStatus
- Finds conflicting and modified entities in the workspace.
- list
- Lists all Workspaces that belong to a GTM Container.
- quick_preview
- Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
- resolve_conflict
- Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
- sync
- Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
- update
- Updates a Workspace.