{ "ownerName": "Google", "id": "tagmanager:v2", "version": "v2", "kind": "discovery#restDescription", "basePath": "", "resources": { "accounts": { "methods": { "list": { "id": "tagmanager.accounts.list", "path": "tagmanager/v2/accounts", "flatPath": "tagmanager/v2/accounts", "httpMethod": "GET", "parameters": { "includeGoogleTags": { "description": "Also retrieve accounts associated with Google Tag when true.", "location": "query", "type": "boolean" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "ListAccountsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.manage.accounts", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Accounts that a user has access to." }, "get": { "id": "tagmanager.accounts.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Account's API relative path. Example: accounts/{account_id}", "pattern": "^accounts/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Account" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.manage.accounts", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Account." }, "update": { "id": "tagmanager.accounts.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Account's API relative path. Example: accounts/{account_id}", "pattern": "^accounts/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the account in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Account" }, "response": { "$ref": "Account" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.manage.accounts" ], "description": "Updates a GTM Account." } }, "resources": { "user_permissions": { "methods": { "create": { "id": "tagmanager.accounts.user_permissions.create", "path": "tagmanager/v2/{+parent}/user_permissions", "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Account's API relative path. Example: accounts/{account_id}", "pattern": "^accounts/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "UserPermission" }, "response": { "$ref": "UserPermission" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.manage.users" ], "description": "Creates a user's Account & Container access." }, "list": { "id": "tagmanager.accounts.user_permissions.list", "path": "tagmanager/v2/{+parent}/user_permissions", "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Account's API relative path. Example: accounts/{account_id}", "pattern": "^accounts/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListUserPermissionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.manage.users" ], "description": "List all users that have access to the account along with Account and Container user access granted to each of them." }, "get": { "id": "tagmanager.accounts.user_permissions.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}", "pattern": "^accounts/[^/]+/user_permissions/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "UserPermission" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.manage.users" ], "description": "Gets a user's Account & Container access." }, "update": { "id": "tagmanager.accounts.user_permissions.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}", "pattern": "^accounts/[^/]+/user_permissions/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "UserPermission" }, "response": { "$ref": "UserPermission" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.manage.users" ], "description": "Updates a user's Account & Container access." }, "delete": { "id": "tagmanager.accounts.user_permissions.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}", "pattern": "^accounts/[^/]+/user_permissions/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.manage.users" ], "description": "Removes a user from the account, revoking access to it and all of its containers." } } }, "containers": { "methods": { "create": { "id": "tagmanager.accounts.containers.create", "path": "tagmanager/v2/{+parent}/containers", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Account's API relative path. Example: accounts/{account_id}.", "pattern": "^accounts/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Container" }, "response": { "$ref": "Container" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a Container." }, "list": { "id": "tagmanager.accounts.containers.list", "path": "tagmanager/v2/{+parent}/containers", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Account's API relative path. Example: accounts/{account_id}.", "pattern": "^accounts/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListContainersResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all Containers that belongs to a GTM Account." }, "get": { "id": "tagmanager.accounts.containers.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Container" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a Container." }, "snippet": { "id": "tagmanager.accounts.containers.snippet", "path": "tagmanager/v2/{+path}:snippet", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:snippet", "httpMethod": "GET", "parameters": { "path": { "description": "Container snippet's API relative path. Example: accounts/{account_id}/containers/{container_id}:snippet", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "GetContainerSnippetResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets the tagging snippet for a Container." }, "lookup": { "id": "tagmanager.accounts.containers.lookup", "path": "tagmanager/v2/accounts/containers:lookup", "flatPath": "tagmanager/v2/accounts/containers:lookup", "httpMethod": "GET", "parameters": { "destinationId": { "description": "Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id}.", "location": "query", "type": "string" } }, "parameterOrder": [], "response": { "$ref": "Container" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Looks up a Container by destination ID." }, "update": { "id": "tagmanager.accounts.containers.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the container in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Container" }, "response": { "$ref": "Container" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a Container." }, "combine": { "id": "tagmanager.accounts.containers.combine", "path": "tagmanager/v2/{+path}:combine", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:combine", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "containerId": { "description": "ID of container that will be merged into the current container.", "location": "query", "type": "string" }, "allowUserPermissionFeatureUpdate": { "description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", "location": "query", "type": "boolean" }, "settingSource": { "description": "Specify the source of config setting after combine", "location": "query", "type": "string", "enumDescriptions": [ "", "Keep the current container config setting after combine", "Use config setting from the other tag after combine" ], "enum": [ "settingSourceUnspecified", "current", "other" ] } }, "parameterOrder": [ "path" ], "response": { "$ref": "Container" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Combines Containers." }, "move_tag_id": { "id": "tagmanager.accounts.containers.move_tag_id", "path": "tagmanager/v2/{+path}:move_tag_id", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:move_tag_id", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "tagId": { "description": "Tag ID to be removed from the current Container.", "location": "query", "type": "string" }, "tagName": { "description": "The name for the newly created tag.", "location": "query", "type": "string" }, "copyUsers": { "description": "Whether or not to copy users from this tag to the new tag.", "location": "query", "type": "boolean" }, "copySettings": { "description": "Whether or not to copy tag settings from this tag to the new tag.", "location": "query", "type": "boolean" }, "allowUserPermissionFeatureUpdate": { "description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", "location": "query", "type": "boolean" }, "copyTermsOfService": { "description": "Must be set to true to accept all terms of service agreements copied from the current tag to the newly created tag. If this bit is false, the operation will fail.", "location": "query", "type": "boolean" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Container" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Move Tag ID out of a Container." }, "delete": { "id": "tagmanager.accounts.containers.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.delete.containers" ], "description": "Deletes a Container." } }, "resources": { "destinations": { "methods": { "get": { "id": "tagmanager.accounts.containers.destinations.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/destinations/{destinationsId}", "httpMethod": "GET", "parameters": { "path": { "description": "Google Tag Destination's API relative path. Example: accounts/{account_id}/containers/{container_id}/destinations/{destination_link_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/destinations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Destination" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a Destination." }, "list": { "id": "tagmanager.accounts.containers.destinations.list", "path": "tagmanager/v2/{+parent}/destinations", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/destinations", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDestinationsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all Destinations linked to a GTM Container." }, "link": { "id": "tagmanager.accounts.containers.destinations.link", "path": "tagmanager/v2/{+parent}/destinations:link", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/destinations:link", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "destinationId": { "description": "Destination ID to be linked to the current container.", "location": "query", "type": "string" }, "allowUserPermissionFeatureUpdate": { "description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", "location": "query", "type": "boolean" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "Destination" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Adds a Destination to this Container and removes it from the Container to which it is currently linked." } } }, "workspaces": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.create", "path": "tagmanager/v2/{+parent}/workspaces", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Workspace" }, "response": { "$ref": "Workspace" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a Workspace." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.delete.containers" ], "description": "Deletes a Workspace." }, "get": { "id": "tagmanager.accounts.containers.workspaces.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Workspace" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a Workspace." }, "update": { "id": "tagmanager.accounts.containers.workspaces.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the workspace in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Workspace" }, "response": { "$ref": "Workspace" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a Workspace." }, "list": { "id": "tagmanager.accounts.containers.workspaces.list", "path": "tagmanager/v2/{+parent}/workspaces", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListWorkspacesResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all Workspaces that belong to a GTM Container." }, "sync": { "id": "tagmanager.accounts.containers.workspaces.sync", "path": "tagmanager/v2/{+path}:sync", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:sync", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "SyncWorkspaceResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities." }, "getStatus": { "id": "tagmanager.accounts.containers.workspaces.getStatus", "path": "tagmanager/v2/{+path}/status", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/status", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "GetWorkspaceStatusResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Finds conflicting and modified entities in the workspace." }, "resolve_conflict": { "id": "tagmanager.accounts.containers.workspaces.resolve_conflict", "path": "tagmanager/v2/{+path}:resolve_conflict", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:resolve_conflict", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Entity" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request." }, "quick_preview": { "id": "tagmanager.accounts.containers.workspaces.quick_preview", "path": "tagmanager/v2/{+path}:quick_preview", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:quick_preview", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "QuickPreviewResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containerversions" ], "description": "Quick previews a workspace by creating a fake container version from all entities in the provided workspace." }, "create_version": { "id": "tagmanager.accounts.containers.workspaces.create_version", "path": "tagmanager/v2/{+path}:create_version", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:create_version", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "CreateContainerVersionRequestVersionOptions" }, "response": { "$ref": "CreateContainerVersionResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containerversions" ], "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." } }, "resources": { "variables": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.variables.create", "path": "tagmanager/v2/{+parent}/variables", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Variable" }, "response": { "$ref": "Variable" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Variable." }, "list": { "id": "tagmanager.accounts.containers.workspaces.variables.list", "path": "tagmanager/v2/{+parent}/variables", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListVariablesResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Variables of a Container." }, "get": { "id": "tagmanager.accounts.containers.workspaces.variables.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Variable" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Variable." }, "update": { "id": "tagmanager.accounts.containers.workspaces.variables.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the variable in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Variable" }, "response": { "$ref": "Variable" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Variable." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.variables.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Variable." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.variables.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the variable in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertVariableResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Variable in a GTM Workspace." } } }, "built_in_variables": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.built_in_variables.create", "path": "tagmanager/v2/{+parent}/built_in_variables", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "type": { "description": "The types of built-in variables to enable.", "location": "query", "repeated": true, "type": "string", "enumDescriptions": [ "", "", "", "", "", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "For web or mobile.", "", "For web or mobile.", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", "pagePath", "referrer", "event", "clickElement", "clickClasses", "clickId", "clickTarget", "clickUrl", "clickText", "firstPartyServingUrl", "formElement", "formClasses", "formId", "formTarget", "formUrl", "formText", "errorMessage", "errorUrl", "errorLine", "newHistoryUrl", "oldHistoryUrl", "newHistoryFragment", "oldHistoryFragment", "newHistoryState", "oldHistoryState", "historySource", "containerVersion", "debugMode", "randomNumber", "containerId", "appId", "appName", "appVersionCode", "appVersionName", "language", "osVersion", "platform", "sdkVersion", "deviceName", "resolution", "advertiserId", "advertisingTrackingEnabled", "htmlId", "environmentName", "ampBrowserLanguage", "ampCanonicalPath", "ampCanonicalUrl", "ampCanonicalHost", "ampReferrer", "ampTitle", "ampClientId", "ampClientTimezone", "ampClientTimestamp", "ampClientScreenWidth", "ampClientScreenHeight", "ampClientScrollX", "ampClientScrollY", "ampClientMaxScrollX", "ampClientMaxScrollY", "ampTotalEngagedTime", "ampPageViewId", "ampPageLoadTime", "ampPageDownloadTime", "ampGtmEvent", "eventName", "firebaseEventParameterCampaign", "firebaseEventParameterCampaignAclid", "firebaseEventParameterCampaignAnid", "firebaseEventParameterCampaignClickTimestamp", "firebaseEventParameterCampaignContent", "firebaseEventParameterCampaignCp1", "firebaseEventParameterCampaignGclid", "firebaseEventParameterCampaignSource", "firebaseEventParameterCampaignTerm", "firebaseEventParameterCurrency", "firebaseEventParameterDynamicLinkAcceptTime", "firebaseEventParameterDynamicLinkLinkid", "firebaseEventParameterNotificationMessageDeviceTime", "firebaseEventParameterNotificationMessageId", "firebaseEventParameterNotificationMessageName", "firebaseEventParameterNotificationMessageTime", "firebaseEventParameterNotificationTopic", "firebaseEventParameterPreviousAppVersion", "firebaseEventParameterPreviousOsVersion", "firebaseEventParameterPrice", "firebaseEventParameterProductId", "firebaseEventParameterQuantity", "firebaseEventParameterValue", "videoProvider", "videoUrl", "videoTitle", "videoDuration", "videoPercent", "videoVisible", "videoStatus", "videoCurrentTime", "scrollDepthThreshold", "scrollDepthUnits", "scrollDepthDirection", "elementVisibilityRatio", "elementVisibilityTime", "elementVisibilityFirstTime", "elementVisibilityRecentTime", "requestPath", "requestMethod", "clientName", "queryString", "serverPageLocationUrl", "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion" ] } }, "parameterOrder": [ "parent" ], "response": { "$ref": "CreateBuiltInVariableResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates one or more GTM Built-In Variables." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.built_in_variables.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/built_in_variables$", "location": "path", "required": true, "type": "string" }, "type": { "description": "The types of built-in variables to delete.", "location": "query", "repeated": true, "type": "string", "enumDescriptions": [ "", "", "", "", "", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "For web or mobile.", "", "For web or mobile.", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", "pagePath", "referrer", "event", "clickElement", "clickClasses", "clickId", "clickTarget", "clickUrl", "clickText", "firstPartyServingUrl", "formElement", "formClasses", "formId", "formTarget", "formUrl", "formText", "errorMessage", "errorUrl", "errorLine", "newHistoryUrl", "oldHistoryUrl", "newHistoryFragment", "oldHistoryFragment", "newHistoryState", "oldHistoryState", "historySource", "containerVersion", "debugMode", "randomNumber", "containerId", "appId", "appName", "appVersionCode", "appVersionName", "language", "osVersion", "platform", "sdkVersion", "deviceName", "resolution", "advertiserId", "advertisingTrackingEnabled", "htmlId", "environmentName", "ampBrowserLanguage", "ampCanonicalPath", "ampCanonicalUrl", "ampCanonicalHost", "ampReferrer", "ampTitle", "ampClientId", "ampClientTimezone", "ampClientTimestamp", "ampClientScreenWidth", "ampClientScreenHeight", "ampClientScrollX", "ampClientScrollY", "ampClientMaxScrollX", "ampClientMaxScrollY", "ampTotalEngagedTime", "ampPageViewId", "ampPageLoadTime", "ampPageDownloadTime", "ampGtmEvent", "eventName", "firebaseEventParameterCampaign", "firebaseEventParameterCampaignAclid", "firebaseEventParameterCampaignAnid", "firebaseEventParameterCampaignClickTimestamp", "firebaseEventParameterCampaignContent", "firebaseEventParameterCampaignCp1", "firebaseEventParameterCampaignGclid", "firebaseEventParameterCampaignSource", "firebaseEventParameterCampaignTerm", "firebaseEventParameterCurrency", "firebaseEventParameterDynamicLinkAcceptTime", "firebaseEventParameterDynamicLinkLinkid", "firebaseEventParameterNotificationMessageDeviceTime", "firebaseEventParameterNotificationMessageId", "firebaseEventParameterNotificationMessageName", "firebaseEventParameterNotificationMessageTime", "firebaseEventParameterNotificationTopic", "firebaseEventParameterPreviousAppVersion", "firebaseEventParameterPreviousOsVersion", "firebaseEventParameterPrice", "firebaseEventParameterProductId", "firebaseEventParameterQuantity", "firebaseEventParameterValue", "videoProvider", "videoUrl", "videoTitle", "videoDuration", "videoPercent", "videoVisible", "videoStatus", "videoCurrentTime", "scrollDepthThreshold", "scrollDepthUnits", "scrollDepthDirection", "elementVisibilityRatio", "elementVisibilityTime", "elementVisibilityFirstTime", "elementVisibilityRecentTime", "requestPath", "requestMethod", "clientName", "queryString", "serverPageLocationUrl", "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion" ] } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes one or more GTM Built-In Variables." }, "list": { "id": "tagmanager.accounts.containers.workspaces.built_in_variables.list", "path": "tagmanager/v2/{+parent}/built_in_variables", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEnabledBuiltInVariablesResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all the enabled Built-In Variables of a GTM Container." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.built_in_variables.revert", "path": "tagmanager/v2/{+path}/built_in_variables:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "type": { "description": "The type of built-in variable to revert.", "location": "query", "type": "string", "enumDescriptions": [ "", "", "", "", "", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "For web or mobile.", "", "For web or mobile.", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", "pagePath", "referrer", "event", "clickElement", "clickClasses", "clickId", "clickTarget", "clickUrl", "clickText", "firstPartyServingUrl", "formElement", "formClasses", "formId", "formTarget", "formUrl", "formText", "errorMessage", "errorUrl", "errorLine", "newHistoryUrl", "oldHistoryUrl", "newHistoryFragment", "oldHistoryFragment", "newHistoryState", "oldHistoryState", "historySource", "containerVersion", "debugMode", "randomNumber", "containerId", "appId", "appName", "appVersionCode", "appVersionName", "language", "osVersion", "platform", "sdkVersion", "deviceName", "resolution", "advertiserId", "advertisingTrackingEnabled", "htmlId", "environmentName", "ampBrowserLanguage", "ampCanonicalPath", "ampCanonicalUrl", "ampCanonicalHost", "ampReferrer", "ampTitle", "ampClientId", "ampClientTimezone", "ampClientTimestamp", "ampClientScreenWidth", "ampClientScreenHeight", "ampClientScrollX", "ampClientScrollY", "ampClientMaxScrollX", "ampClientMaxScrollY", "ampTotalEngagedTime", "ampPageViewId", "ampPageLoadTime", "ampPageDownloadTime", "ampGtmEvent", "eventName", "firebaseEventParameterCampaign", "firebaseEventParameterCampaignAclid", "firebaseEventParameterCampaignAnid", "firebaseEventParameterCampaignClickTimestamp", "firebaseEventParameterCampaignContent", "firebaseEventParameterCampaignCp1", "firebaseEventParameterCampaignGclid", "firebaseEventParameterCampaignSource", "firebaseEventParameterCampaignTerm", "firebaseEventParameterCurrency", "firebaseEventParameterDynamicLinkAcceptTime", "firebaseEventParameterDynamicLinkLinkid", "firebaseEventParameterNotificationMessageDeviceTime", "firebaseEventParameterNotificationMessageId", "firebaseEventParameterNotificationMessageName", "firebaseEventParameterNotificationMessageTime", "firebaseEventParameterNotificationTopic", "firebaseEventParameterPreviousAppVersion", "firebaseEventParameterPreviousOsVersion", "firebaseEventParameterPrice", "firebaseEventParameterProductId", "firebaseEventParameterQuantity", "firebaseEventParameterValue", "videoProvider", "videoUrl", "videoTitle", "videoDuration", "videoPercent", "videoVisible", "videoStatus", "videoCurrentTime", "scrollDepthThreshold", "scrollDepthUnits", "scrollDepthDirection", "elementVisibilityRatio", "elementVisibilityTime", "elementVisibilityFirstTime", "elementVisibilityRecentTime", "requestPath", "requestMethod", "clientName", "queryString", "serverPageLocationUrl", "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion" ] } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertBuiltInVariableResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Built-In Variables in a GTM Workspace." } } }, "triggers": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.triggers.create", "path": "tagmanager/v2/{+parent}/triggers", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Trigger" }, "response": { "$ref": "Trigger" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Trigger." }, "list": { "id": "tagmanager.accounts.containers.workspaces.triggers.list", "path": "tagmanager/v2/{+parent}/triggers", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListTriggersResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Triggers of a Container." }, "get": { "id": "tagmanager.accounts.containers.workspaces.triggers.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Trigger" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Trigger." }, "update": { "id": "tagmanager.accounts.containers.workspaces.triggers.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Trigger" }, "response": { "$ref": "Trigger" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Trigger." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.triggers.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Trigger." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.triggers.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertTriggerResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Trigger in a GTM Workspace." } } }, "tags": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.tags.create", "path": "tagmanager/v2/{+parent}/tags", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Tag" }, "response": { "$ref": "Tag" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Tag." }, "list": { "id": "tagmanager.accounts.containers.workspaces.tags.list", "path": "tagmanager/v2/{+parent}/tags", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListTagsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Tags of a Container." }, "get": { "id": "tagmanager.accounts.containers.workspaces.tags.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Tag" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Tag." }, "update": { "id": "tagmanager.accounts.containers.workspaces.tags.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the tag in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Tag" }, "response": { "$ref": "Tag" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Tag." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.tags.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Tag." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.tags.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of thetag in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertTagResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Tag in a GTM Workspace." } } }, "gtag_config": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.gtag_config.create", "path": "tagmanager/v2/{+parent}/gtag_config", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config", "httpMethod": "POST", "parameters": { "parent": { "description": "Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GtagConfig" }, "response": { "$ref": "GtagConfig" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a Google tag config." }, "list": { "id": "tagmanager.accounts.containers.workspaces.gtag_config.list", "path": "tagmanager/v2/{+parent}/gtag_config", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config", "httpMethod": "GET", "parameters": { "parent": { "description": "Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListGtagConfigResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all Google tag configs in a Container." }, "get": { "id": "tagmanager.accounts.containers.workspaces.gtag_config.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config/{gtag_configId}", "httpMethod": "GET", "parameters": { "path": { "description": "Google tag config's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/gtag_config/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "GtagConfig" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a Google tag config." }, "update": { "id": "tagmanager.accounts.containers.workspaces.gtag_config.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config/{gtag_configId}", "httpMethod": "PUT", "parameters": { "path": { "description": "Google tag config's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/gtag_config/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the config in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "GtagConfig" }, "response": { "$ref": "GtagConfig" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a Google tag config." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.gtag_config.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config/{gtag_configId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "Google tag config's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/gtag_config/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a Google tag config." } } }, "templates": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.templates.create", "path": "tagmanager/v2/{+parent}/templates", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "CustomTemplate" }, "response": { "$ref": "CustomTemplate" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Custom Template." }, "list": { "id": "tagmanager.accounts.containers.workspaces.templates.list", "path": "tagmanager/v2/{+parent}/templates", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListTemplatesResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Templates of a GTM container workspace." }, "get": { "id": "tagmanager.accounts.containers.workspaces.templates.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "CustomTemplate" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Template." }, "update": { "id": "tagmanager.accounts.containers.workspaces.templates.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the templates in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "CustomTemplate" }, "response": { "$ref": "CustomTemplate" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Template." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.templates.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Template." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.templates.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the template in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertTemplateResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Template in a GTM Workspace." } } }, "folders": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.folders.create", "path": "tagmanager/v2/{+parent}/folders", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Folder" }, "response": { "$ref": "Folder" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Folder." }, "list": { "id": "tagmanager.accounts.containers.workspaces.folders.list", "path": "tagmanager/v2/{+parent}/folders", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListFoldersResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Folders of a Container." }, "get": { "id": "tagmanager.accounts.containers.workspaces.folders.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Folder" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Folder." }, "entities": { "id": "tagmanager.accounts.containers.workspaces.folders.entities", "path": "tagmanager/v2/{+path}:entities", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:entities", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "FolderEntities" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "List all entities in a GTM Folder." }, "update": { "id": "tagmanager.accounts.containers.workspaces.folders.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the folder in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Folder" }, "response": { "$ref": "Folder" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Folder." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.folders.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Folder." }, "move_entities_to_folder": { "id": "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder", "path": "tagmanager/v2/{+path}:move_entities_to_folder", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:move_entities_to_folder", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "tagId": { "description": "The tags to be moved to the folder.", "location": "query", "repeated": true, "type": "string" }, "variableId": { "description": "The variables to be moved to the folder.", "location": "query", "repeated": true, "type": "string" }, "triggerId": { "description": "The triggers to be moved to the folder.", "location": "query", "repeated": true, "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Folder" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.folders.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the tag in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertFolderResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Folder in a GTM Workspace." } } }, "zones": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.zones.create", "path": "tagmanager/v2/{+parent}/zones", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Zone" }, "response": { "$ref": "Zone" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Zone." }, "list": { "id": "tagmanager.accounts.containers.workspaces.zones.list", "path": "tagmanager/v2/{+parent}/zones", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListZonesResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Zones of a GTM container workspace." }, "get": { "id": "tagmanager.accounts.containers.workspaces.zones.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Zone" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Zone." }, "update": { "id": "tagmanager.accounts.containers.workspaces.zones.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the zone in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Zone" }, "response": { "$ref": "Zone" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Zone." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.zones.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Zone." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.zones.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the zone in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertZoneResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Zone in a GTM Workspace." } } }, "clients": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.clients.create", "path": "tagmanager/v2/{+parent}/clients", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Client" }, "response": { "$ref": "Client" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Client." }, "list": { "id": "tagmanager.accounts.containers.workspaces.clients.list", "path": "tagmanager/v2/{+parent}/clients", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListClientsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Clients of a GTM container workspace." }, "get": { "id": "tagmanager.accounts.containers.workspaces.clients.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Client" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Client." }, "update": { "id": "tagmanager.accounts.containers.workspaces.clients.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the client in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Client" }, "response": { "$ref": "Client" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Client." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.clients.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Client." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.clients.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Client's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the client in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertClientResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Client in a GTM Workspace." } } }, "transformations": { "methods": { "create": { "id": "tagmanager.accounts.containers.workspaces.transformations.create", "path": "tagmanager/v2/{+parent}/transformations", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Transformation" }, "response": { "$ref": "Transformation" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Transformation." }, "list": { "id": "tagmanager.accounts.containers.workspaces.transformations.list", "path": "tagmanager/v2/{+parent}/transformations", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListTransformationsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Transformations of a GTM container workspace." }, "get": { "id": "tagmanager.accounts.containers.workspaces.transformations.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Transformation" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Transformation." }, "update": { "id": "tagmanager.accounts.containers.workspaces.transformations.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the transformation in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Transformation" }, "response": { "$ref": "Transformation" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Transformation." }, "delete": { "id": "tagmanager.accounts.containers.workspaces.transformations.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Transformation." }, "revert": { "id": "tagmanager.accounts.containers.workspaces.transformations.revert", "path": "tagmanager/v2/{+path}:revert", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}:revert", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the transformation in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "RevertTransformationResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Reverts changes to a GTM Transformation in a GTM Workspace." } } } } }, "versions": { "methods": { "get": { "id": "tagmanager.accounts.containers.versions.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", "location": "path", "required": true, "type": "string" }, "containerVersionId": { "description": "The GTM ContainerVersion ID. Specify published to retrieve the currently published version.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "ContainerVersion" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.edit.containerversions", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a Container Version." }, "update": { "id": "tagmanager.accounts.containers.versions.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the container version in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "ContainerVersion" }, "response": { "$ref": "ContainerVersion" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containerversions" ], "description": "Updates a Container Version." }, "delete": { "id": "tagmanager.accounts.containers.versions.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containerversions" ], "description": "Deletes a Container Version." }, "undelete": { "id": "tagmanager.accounts.containers.versions.undelete", "path": "tagmanager/v2/{+path}:undelete", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:undelete", "httpMethod": "POST", "parameters": { "path": { "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "ContainerVersion" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containerversions" ], "description": "Undeletes a Container Version." }, "publish": { "id": "tagmanager.accounts.containers.versions.publish", "path": "tagmanager/v2/{+path}:publish", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:publish", "httpMethod": "POST", "parameters": { "path": { "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the container version in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "PublishContainerVersionResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.publish" ], "description": "Publishes a Container Version." }, "set_latest": { "id": "tagmanager.accounts.containers.versions.set_latest", "path": "tagmanager/v2/{+path}:set_latest", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:set_latest", "httpMethod": "POST", "parameters": { "path": { "description": "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "ContainerVersion" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Sets the latest version used for synchronization of workspaces when detecting conflicts and errors." }, "live": { "id": "tagmanager.accounts.containers.versions.live", "path": "tagmanager/v2/{+parent}/versions:live", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions:live", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ContainerVersion" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets the live (i.e. published) container version" } } }, "version_headers": { "methods": { "list": { "id": "tagmanager.accounts.containers.version_headers.list", "path": "tagmanager/v2/{+parent}/version_headers", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "includeDeleted": { "description": "Also retrieve deleted (archived) versions when true.", "location": "query", "type": "boolean" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListContainerVersionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.edit.containerversions", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all Container Versions of a GTM Container." }, "latest": { "id": "tagmanager.accounts.containers.version_headers.latest", "path": "tagmanager/v2/{+parent}/version_headers:latest", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers:latest", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ContainerVersionHeader" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets the latest container version header" } } }, "environments": { "methods": { "create": { "id": "tagmanager.accounts.containers.environments.create", "path": "tagmanager/v2/{+parent}/environments", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments", "httpMethod": "POST", "parameters": { "parent": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Environment" }, "response": { "$ref": "Environment" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Creates a GTM Environment." }, "list": { "id": "tagmanager.accounts.containers.environments.list", "path": "tagmanager/v2/{+parent}/environments", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments", "httpMethod": "GET", "parameters": { "parent": { "description": "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}", "pattern": "^accounts/[^/]+/containers/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "Continuation token for fetching the next page of results.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEnvironmentsResponse" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Lists all GTM Environments of a GTM Container." }, "get": { "id": "tagmanager.accounts.containers.environments.get", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}", "httpMethod": "GET", "parameters": { "path": { "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "response": { "$ref": "Environment" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers", "https://www.googleapis.com/auth/tagmanager.readonly" ], "description": "Gets a GTM Environment." }, "update": { "id": "tagmanager.accounts.containers.environments.update", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}", "httpMethod": "PUT", "parameters": { "path": { "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", "location": "path", "required": true, "type": "string" }, "fingerprint": { "description": "When provided, this fingerprint must match the fingerprint of the environment in storage.", "location": "query", "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Environment" }, "response": { "$ref": "Environment" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Updates a GTM Environment." }, "delete": { "id": "tagmanager.accounts.containers.environments.delete", "path": "tagmanager/v2/{+path}", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}", "httpMethod": "DELETE", "parameters": { "path": { "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "scopes": [ "https://www.googleapis.com/auth/tagmanager.edit.containers" ], "description": "Deletes a GTM Environment." }, "reauthorize": { "id": "tagmanager.accounts.containers.environments.reauthorize", "path": "tagmanager/v2/{+path}:reauthorize", "flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}:reauthorize", "httpMethod": "POST", "parameters": { "path": { "description": "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}", "pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "path" ], "request": { "$ref": "Environment" }, "response": { "$ref": "Environment" }, "scopes": [ "https://www.googleapis.com/auth/tagmanager.publish" ], "description": "Re-generates the authorization code for a GTM Environment." } } } } } } } }, "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/tagmanager.delete.containers": { "description": "Delete your Google Tag Manager containers" }, "https://www.googleapis.com/auth/tagmanager.edit.containers": { "description": "Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing" }, "https://www.googleapis.com/auth/tagmanager.edit.containerversions": { "description": "Manage your Google Tag Manager container versions" }, "https://www.googleapis.com/auth/tagmanager.manage.accounts": { "description": "View and manage your Google Tag Manager accounts" }, "https://www.googleapis.com/auth/tagmanager.manage.users": { "description": "Manage user permissions of your Google Tag Manager account and container" }, "https://www.googleapis.com/auth/tagmanager.publish": { "description": "Publish your Google Tag Manager container versions" }, "https://www.googleapis.com/auth/tagmanager.readonly": { "description": "View your Google Tag Manager container and its subcomponents" } } } }, "ownerDomain": "google.com", "revision": "20240610", "schemas": { "ListAccountsResponse": { "id": "ListAccountsResponse", "description": "List Accounts Response.", "type": "object", "properties": { "account": { "description": "List of GTM Accounts that a user has access to.", "type": "array", "items": { "$ref": "Account" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "Account": { "id": "Account", "description": "Represents a Google Tag Manager Account.", "type": "object", "properties": { "path": { "description": "GTM Account's API relative path.", "type": "string" }, "accountId": { "description": "The Account ID uniquely identifies the GTM Account.", "type": "string" }, "name": { "description": "Account display name. @mutable tagmanager.accounts.create @mutable tagmanager.accounts.update", "type": "string" }, "shareData": { "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", "type": "boolean" }, "fingerprint": { "description": "The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "features": { "description": "Read-only Account feature set", "$ref": "AccountFeatures" } } }, "AccountFeatures": { "id": "AccountFeatures", "type": "object", "properties": { "supportUserPermissions": { "description": "Whether this Account supports user permissions managed by GTM.", "type": "boolean" }, "supportMultipleContainers": { "description": "Whether this Account supports multiple Containers.", "type": "boolean" } } }, "UserPermission": { "id": "UserPermission", "description": "Represents a user's permissions to an account and its container.", "type": "object", "properties": { "path": { "description": "GTM UserPermission's API relative path.", "type": "string" }, "accountId": { "description": "The Account ID uniquely identifies the GTM Account.", "type": "string" }, "emailAddress": { "description": "User's email address. @mutable tagmanager.accounts.permissions.create", "type": "string" }, "accountAccess": { "description": "GTM Account access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update", "$ref": "AccountAccess" }, "containerAccess": { "description": "GTM Container access permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update", "type": "array", "items": { "$ref": "ContainerAccess" } } } }, "AccountAccess": { "id": "AccountAccess", "description": "Defines the Google Tag Manager Account access permissions.", "type": "object", "properties": { "permission": { "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", "type": "string", "enumDescriptions": [ "", "", "", "" ], "enum": [ "accountPermissionUnspecified", "noAccess", "user", "admin" ] } } }, "ContainerAccess": { "id": "ContainerAccess", "description": "Defines the Google Tag Manager Container access permissions.", "type": "object", "properties": { "containerId": { "description": "GTM Container ID. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update", "type": "string" }, "permission": { "description": "List of Container permissions. @mutable tagmanager.accounts.permissions.create @mutable tagmanager.accounts.permissions.update", "type": "string", "enumDescriptions": [ "", "", "", "", "", "" ], "enum": [ "containerPermissionUnspecified", "noAccess", "read", "edit", "approve", "publish" ] } } }, "ListUserPermissionsResponse": { "id": "ListUserPermissionsResponse", "description": "List user permissions response.", "type": "object", "properties": { "userPermission": { "description": "All GTM UserPermissions of a GTM Account.", "type": "array", "items": { "$ref": "UserPermission" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "Container": { "id": "Container", "description": "Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.", "type": "object", "properties": { "path": { "description": "GTM Container's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "The Container ID uniquely identifies the GTM Container.", "type": "string" }, "name": { "description": "Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update", "annotations": { "required": [ "tagmanager.accounts.containers.create", "tagmanager.accounts.containers.update" ] }, "type": "string" }, "domainName": { "description": "List of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update", "type": "array", "items": { "type": "string" } }, "publicId": { "description": "Container Public ID.", "type": "string" }, "tagIds": { "description": "All Tag IDs that refer to this Container.", "type": "array", "items": { "type": "string" } }, "features": { "description": "Read-only Container feature set.", "$ref": "ContainerFeatures" }, "notes": { "description": "Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update", "type": "string" }, "usageContext": { "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", "annotations": { "required": [ "tagmanager.accounts.containers.create", "tagmanager.accounts.containers.update" ] }, "type": "array", "items": { "type": "string", "enumDescriptions": [ "", "", "", "", "", "", "", "" ], "enum": [ "usageContextUnspecified", "web", "android", "ios", "androidSdk5", "iosSdk5", "amp", "server" ] } }, "fingerprint": { "description": "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "taggingServerUrls": { "description": "List of server-side container URLs for the Container. If multiple URLs are provided, all URL paths must match. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update", "type": "array", "items": { "type": "string" } } } }, "ContainerFeatures": { "id": "ContainerFeatures", "type": "object", "properties": { "supportUserPermissions": { "description": "Whether this Container supports user permissions managed by GTM.", "type": "boolean" }, "supportEnvironments": { "description": "Whether this Container supports environments.", "type": "boolean" }, "supportWorkspaces": { "description": "Whether this Container supports workspaces.", "type": "boolean" }, "supportGtagConfigs": { "description": "Whether this Container supports Google tag config.", "type": "boolean" }, "supportBuiltInVariables": { "description": "Whether this Container supports built-in variables", "type": "boolean" }, "supportClients": { "description": "Whether this Container supports clients.", "type": "boolean" }, "supportFolders": { "description": "Whether this Container supports folders.", "type": "boolean" }, "supportTags": { "description": "Whether this Container supports tags.", "type": "boolean" }, "supportTemplates": { "description": "Whether this Container supports templates.", "type": "boolean" }, "supportTriggers": { "description": "Whether this Container supports triggers.", "type": "boolean" }, "supportVariables": { "description": "Whether this Container supports variables.", "type": "boolean" }, "supportVersions": { "description": "Whether this Container supports Container versions.", "type": "boolean" }, "supportZones": { "description": "Whether this Container supports zones.", "type": "boolean" }, "supportTransformations": { "description": "Whether this Container supports transformations.", "type": "boolean" } } }, "ListContainersResponse": { "id": "ListContainersResponse", "description": "List Containers Response.", "type": "object", "properties": { "container": { "description": "All Containers of a GTM Account.", "type": "array", "items": { "$ref": "Container" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "GetContainerSnippetResponse": { "id": "GetContainerSnippetResponse", "type": "object", "properties": { "snippet": { "description": "Tagging snippet for a Container.", "type": "string" } } }, "Destination": { "id": "Destination", "description": "Represents a Google Tag Destination.", "type": "object", "properties": { "path": { "description": "Destination's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "destinationLinkId": { "description": "The Destination link ID uniquely identifies the Destination.", "type": "string" }, "destinationId": { "description": "Destination ID.", "type": "string" }, "name": { "description": "Destination display name.", "type": "string" }, "fingerprint": { "description": "The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI.", "type": "string" } } }, "ListDestinationsResponse": { "id": "ListDestinationsResponse", "type": "object", "properties": { "destination": { "description": "All Destinations linked to a GTM Container.", "type": "array", "items": { "$ref": "Destination" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "Workspace": { "id": "Workspace", "description": "Represents a Google Tag Manager Container Workspace.", "type": "object", "properties": { "path": { "description": "GTM Workspace's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "The Workspace ID uniquely identifies the GTM Workspace.", "type": "string" }, "name": { "description": "Workspace display name. @mutable tagmanager.accounts.containers.workspaces.create @mutable tagmanager.accounts.containers.workspaces.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.create", "tagmanager.accounts.containers.workspaces.update" ] }, "type": "string" }, "description": { "description": "Workspace description. @mutable tagmanager.accounts.containers.workspaces.create @mutable tagmanager.accounts.containers.workspaces.update", "type": "string" }, "fingerprint": { "description": "The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" } } }, "ListWorkspacesResponse": { "id": "ListWorkspacesResponse", "description": "A list of workspaces in a container.", "type": "object", "properties": { "workspace": { "description": "All Workspaces of a GTM Container.", "type": "array", "items": { "$ref": "Workspace" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "SyncWorkspaceResponse": { "id": "SyncWorkspaceResponse", "description": "A response after synchronizing the workspace to the latest container version.", "type": "object", "properties": { "syncStatus": { "description": "Indicates whether synchronization caused a merge conflict or sync error.", "$ref": "SyncStatus" }, "mergeConflict": { "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.", "type": "array", "items": { "$ref": "MergeConflict" } } } }, "SyncStatus": { "id": "SyncStatus", "description": "The status of a workspace after synchronization.", "type": "object", "properties": { "mergeConflict": { "description": "Synchornization operation detected a merge conflict.", "type": "boolean" }, "syncError": { "description": "An error occurred during the synchronization operation.", "type": "boolean" } } }, "MergeConflict": { "id": "MergeConflict", "description": "Represents a merge conflict.", "type": "object", "properties": { "entityInWorkspace": { "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.", "$ref": "Entity" }, "entityInBaseVersion": { "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.", "$ref": "Entity" } } }, "Entity": { "id": "Entity", "description": "A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace.", "type": "object", "properties": { "tag": { "description": "The tag being represented by the entity.", "$ref": "Tag" }, "trigger": { "description": "The trigger being represented by the entity.", "$ref": "Trigger" }, "variable": { "description": "The variable being represented by the entity.", "$ref": "Variable" }, "folder": { "description": "The folder being represented by the entity.", "$ref": "Folder" }, "client": { "description": "The client being represented by the entity.", "$ref": "Client" }, "transformation": { "description": "The transformation being represented by the entity.", "$ref": "Transformation" }, "zone": { "description": "The zone being represented by the entity.", "$ref": "Zone" }, "customTemplate": { "description": "The custom template being represented by the entity.", "$ref": "CustomTemplate" }, "builtInVariable": { "description": "The built in variable being represented by the entity.", "$ref": "BuiltInVariable" }, "gtagConfig": { "description": "The gtag config being represented by the entity.", "$ref": "GtagConfig" }, "changeStatus": { "description": "Represents how the entity has been changed in the workspace.", "type": "string", "enumDescriptions": [ "", "The entity has never been changed.", "The entity is added to the workspace.", "The entity is deleted from the workspace.", "The entity has been updated in the workspace." ], "enum": [ "changeStatusUnspecified", "none", "added", "deleted", "updated" ] } } }, "Tag": { "id": "Tag", "description": "Represents a Google Tag Manager Tag.", "type": "object", "properties": { "path": { "description": "GTM Tag's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "tagId": { "description": "The Tag ID uniquely identifies the GTM Tag.", "type": "string" }, "name": { "description": "Tag display name. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.tags.create", "tagmanager.accounts.containers.workspaces.tags.update" ] }, "type": "string" }, "type": { "description": "GTM Tag Type. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.tags.create", "tagmanager.accounts.containers.workspaces.tags.update" ] }, "type": "string" }, "firingRuleId": { "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", "deprecated": true, "type": "array", "items": { "type": "string" } }, "blockingRuleId": { "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", "deprecated": true, "type": "array", "items": { "type": "string" } }, "liveOnly": { "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", "type": "boolean" }, "priority": { "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", "$ref": "Parameter" }, "notes": { "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", "type": "string" }, "scheduleStartMs": { "description": "The start timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update", "type": "string", "format": "int64" }, "scheduleEndMs": { "description": "The end timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update", "type": "string", "format": "int64" }, "parameter": { "description": "The tag's parameters. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update", "type": "array", "items": { "$ref": "Parameter" } }, "fingerprint": { "description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.", "type": "string" }, "firingTriggerId": { "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", "type": "array", "items": { "type": "string" } }, "blockingTriggerId": { "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", "type": "array", "items": { "type": "string" } }, "setupTag": { "description": "The list of setup tags. Currently we only allow one.", "type": "array", "items": { "$ref": "SetupTag" } }, "teardownTag": { "description": "The list of teardown tags. Currently we only allow one.", "type": "array", "items": { "$ref": "TeardownTag" } }, "parentFolderId": { "description": "Parent folder id.", "type": "string" }, "tagFiringOption": { "description": "Option to fire this tag.", "type": "string", "enumDescriptions": [ "", "Tag can be fired multiple times per event.", "Tag can only be fired per event but can be fired multiple times per load (e.g., app load or page load).", "Tag can only be fired per load (e.g., app load or page load)." ], "enum": [ "tagFiringOptionUnspecified", "unlimited", "oncePerEvent", "oncePerLoad" ] }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "paused": { "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", "type": "boolean" }, "monitoringMetadata": { "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", "$ref": "Parameter" }, "monitoringMetadataTagNameKey": { "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", "type": "string" }, "consentSettings": { "description": "Consent settings of a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update", "$ref": "TagConsentSetting" } } }, "Parameter": { "id": "Parameter", "description": "Represents a Google Tag Manager Parameter.", "type": "object", "properties": { "type": { "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", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.tags.create", "tagmanager.accounts.containers.workspaces.tags.update", "tagmanager.accounts.containers.workspaces.triggers.create", "tagmanager.accounts.containers.workspaces.triggers.update", "tagmanager.accounts.containers.workspaces.variables.create", "tagmanager.accounts.containers.workspaces.variables.update" ] }, "type": "string", "enumDescriptions": [ "", "May include variable references (such as \"{{myVariable}}\").", "", "", "", "", "", "" ], "enum": [ "typeUnspecified", "template", "integer", "boolean", "list", "map", "triggerReference", "tagReference" ] }, "key": { "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", "type": "string" }, "value": { "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", "type": "string" }, "list": { "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", "type": "array", "items": { "$ref": "Parameter" } }, "map": { "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", "type": "array", "items": { "$ref": "Parameter" } }, "isWeakReference": { "description": "Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update", "type": "boolean" } } }, "SetupTag": { "id": "SetupTag", "description": "Represents a reference to atag that fires before another tag in order to set up dependencies.", "type": "object", "properties": { "tagName": { "description": "The name of the setup tag.", "type": "string" }, "stopOnSetupFailure": { "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.", "type": "boolean" } } }, "TeardownTag": { "id": "TeardownTag", "description": "Represents a tag that fires after another tag in order to tear down dependencies.", "type": "object", "properties": { "tagName": { "description": "The name of the teardown tag.", "type": "string" }, "stopTeardownOnFailure": { "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.", "type": "boolean" } } }, "TagConsentSetting": { "id": "TagConsentSetting", "type": "object", "properties": { "consentStatus": { "description": "The tag's consent status. If set to NEEDED, the runtime will check that the consent types specified by the consent_type field have been granted.", "type": "string", "enumDescriptions": [ "Default value where user has not specified any setting on it.", "Tag doesn't require any additional consent settings.", "Tag requires additional consent settings." ], "enum": [ "notSet", "notNeeded", "needed" ] }, "consentType": { "description": "The type of consents to check for during tag firing if in the consent NEEDED state. This parameter must be of type LIST where each list item is of type STRING.", "$ref": "Parameter" } } }, "Trigger": { "id": "Trigger", "description": "Represents a Google Tag Manager Trigger", "type": "object", "properties": { "path": { "description": "GTM Trigger's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "triggerId": { "description": "The Trigger ID uniquely identifies the GTM Trigger.", "type": "string" }, "name": { "description": "Trigger display name. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.triggers.create", "tagmanager.accounts.containers.workspaces.triggers.update" ] }, "type": "string" }, "type": { "description": "Defines the data layer event that causes this trigger. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.triggers.create" ] }, "type": "string", "enumDescriptions": [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "eventTypeUnspecified", "pageview", "domReady", "windowLoaded", "customEvent", "triggerGroup", "init", "consentInit", "serverPageview", "always", "firebaseAppException", "firebaseAppUpdate", "firebaseCampaign", "firebaseFirstOpen", "firebaseInAppPurchase", "firebaseNotificationDismiss", "firebaseNotificationForeground", "firebaseNotificationOpen", "firebaseNotificationReceive", "firebaseOsUpdate", "firebaseSessionStart", "firebaseUserEngagement", "formSubmission", "click", "linkClick", "jsError", "historyChange", "timer", "ampClick", "ampTimer", "ampScroll", "ampVisibility", "youTubeVideo", "scrollDepth", "elementVisibility" ] }, "customEventFilter": { "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", "type": "array", "items": { "$ref": "Condition" } }, "filter": { "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", "type": "array", "items": { "$ref": "Condition" } }, "autoEventFilter": { "description": "Used in the case of auto event tracking. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update", "type": "array", "items": { "$ref": "Condition" } }, "waitForTags": { "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", "$ref": "Parameter" }, "checkValidation": { "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", "$ref": "Parameter" }, "waitForTagsTimeout": { "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", "$ref": "Parameter" }, "uniqueTriggerId": { "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", "$ref": "Parameter" }, "eventName": { "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", "$ref": "Parameter" }, "interval": { "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", "$ref": "Parameter" }, "limit": { "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", "$ref": "Parameter" }, "fingerprint": { "description": "The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.", "type": "string" }, "parentFolderId": { "description": "Parent folder id.", "type": "string" }, "selector": { "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", "$ref": "Parameter" }, "intervalSeconds": { "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", "$ref": "Parameter" }, "maxTimerLengthSeconds": { "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", "$ref": "Parameter" }, "verticalScrollPercentageList": { "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", "$ref": "Parameter" }, "horizontalScrollPercentageList": { "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", "$ref": "Parameter" }, "visibilitySelector": { "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", "$ref": "Parameter" }, "visiblePercentageMin": { "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", "$ref": "Parameter" }, "visiblePercentageMax": { "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", "$ref": "Parameter" }, "continuousTimeMinMilliseconds": { "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", "$ref": "Parameter" }, "totalTimeMinMilliseconds": { "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", "$ref": "Parameter" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "notes": { "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", "type": "string" }, "parameter": { "description": "Additional parameters. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update", "type": "array", "items": { "$ref": "Parameter" } } } }, "Condition": { "id": "Condition", "description": "Represents a predicate.", "type": "object", "properties": { "type": { "description": "The type of operator for this condition. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.triggers.create", "tagmanager.accounts.containers.workspaces.triggers.update" ] }, "type": "string", "enumDescriptions": [ "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "conditionTypeUnspecified", "equals", "contains", "startsWith", "endsWith", "matchRegex", "greater", "greaterOrEquals", "less", "lessOrEquals", "cssSelector", "urlMatches" ] }, "parameter": { "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", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.triggers.create", "tagmanager.accounts.containers.workspaces.triggers.update" ] }, "type": "array", "items": { "$ref": "Parameter" } } } }, "Variable": { "id": "Variable", "description": "Represents a Google Tag Manager Variable.", "type": "object", "properties": { "path": { "description": "GTM Variable's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "variableId": { "description": "The Variable ID uniquely identifies the GTM Variable.", "type": "string" }, "name": { "description": "Variable display name. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.variables.create", "tagmanager.accounts.containers.workspaces.variables.update" ] }, "type": "string" }, "type": { "description": "GTM Variable Type. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.variables.create", "tagmanager.accounts.containers.workspaces.variables.update" ] }, "type": "string" }, "notes": { "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", "type": "string" }, "scheduleStartMs": { "description": "The start timestamp in milliseconds to schedule a variable. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update", "type": "string", "format": "int64" }, "scheduleEndMs": { "description": "The end timestamp in milliseconds to schedule a variable. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update", "type": "string", "format": "int64" }, "parameter": { "description": "The variable's parameters. @mutable tagmanager.accounts.containers.workspaces.variables.create @mutable tagmanager.accounts.containers.workspaces.variables.update", "type": "array", "items": { "$ref": "Parameter" } }, "enablingTriggerId": { "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", "type": "array", "items": { "type": "string" } }, "disablingTriggerId": { "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", "type": "array", "items": { "type": "string" } }, "fingerprint": { "description": "The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.", "type": "string" }, "parentFolderId": { "description": "Parent folder id.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "formatValue": { "description": "Option to convert a variable value to other value.", "$ref": "VariableFormatValue" } } }, "VariableFormatValue": { "id": "VariableFormatValue", "type": "object", "properties": { "caseConversionType": { "description": "The option to convert a string-type variable value to either lowercase or uppercase.", "type": "string", "enumDescriptions": [ "", "The option to convert a variable value to lowercase.", "The option to convert a variable value to uppercase." ], "enum": [ "none", "lowercase", "uppercase" ] }, "convertNullToValue": { "description": "The value to convert if a variable value is null.", "$ref": "Parameter" }, "convertUndefinedToValue": { "description": "The value to convert if a variable value is undefined.", "$ref": "Parameter" }, "convertTrueToValue": { "description": "The value to convert if a variable value is true.", "$ref": "Parameter" }, "convertFalseToValue": { "description": "The value to convert if a variable value is false.", "$ref": "Parameter" } } }, "Folder": { "id": "Folder", "description": "Represents a Google Tag Manager Folder.", "type": "object", "properties": { "path": { "description": "GTM Folder's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "folderId": { "description": "The Folder ID uniquely identifies the GTM Folder.", "type": "string" }, "name": { "description": "Folder display name. @mutable tagmanager.accounts.containers.workspaces.folders.create @mutable tagmanager.accounts.containers.workspaces.folders.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.folders.create", "tagmanager.accounts.containers.workspaces.folders.update" ] }, "type": "string" }, "fingerprint": { "description": "The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "notes": { "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", "type": "string" } } }, "Client": { "id": "Client", "type": "object", "properties": { "path": { "description": "GTM client's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "clientId": { "description": "The Client ID uniquely identifies the GTM client.", "type": "string" }, "name": { "description": "Client display name. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.clients.create", "tagmanager.accounts.containers.workspaces.clients.update" ] }, "type": "string" }, "type": { "description": "Client type. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.clients.create", "tagmanager.accounts.containers.workspaces.clients.update" ] }, "type": "string" }, "parameter": { "description": "The client's parameters. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update", "type": "array", "items": { "$ref": "Parameter" } }, "priority": { "description": "Priority determines relative firing order. @mutable tagmanager.accounts.containers.workspaces.clients.create @mutable tagmanager.accounts.containers.workspaces.clients.update", "type": "integer", "format": "int32" }, "fingerprint": { "description": "The fingerprint of the GTM Client as computed at storage time. This value is recomputed whenever the client is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "parentFolderId": { "description": "Parent folder id.", "type": "string" }, "notes": { "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", "type": "string" } } }, "Transformation": { "id": "Transformation", "description": "Represents a Google Tag Manager Transformation.", "type": "object", "properties": { "path": { "description": "GTM transformation's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "transformationId": { "description": "The Transformation ID uniquely identifies the GTM transformation.", "type": "string" }, "name": { "description": "Transformation display name. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.transformations.create", "tagmanager.accounts.containers.workspaces.transformations.update" ] }, "type": "string" }, "type": { "description": "Transformation type. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update", "annotations": { "required": [ "tagmanager.accounts.containers.workspaces.transformations.create", "tagmanager.accounts.containers.workspaces.transformations.update" ] }, "type": "string" }, "parameter": { "description": "The transformation's parameters. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update", "type": "array", "items": { "$ref": "Parameter" } }, "fingerprint": { "description": "The fingerprint of the GTM Transformation as computed at storage time. This value is recomputed whenever the transformation is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "parentFolderId": { "description": "Parent folder id.", "type": "string" }, "notes": { "description": "User notes on how to apply this transformation in the container. @mutable tagmanager.accounts.containers.workspaces.transformations.create @mutable tagmanager.accounts.containers.workspaces.transformations.update", "type": "string" } } }, "Zone": { "id": "Zone", "description": "Represents a Google Tag Manager Zone's contents.", "type": "object", "properties": { "path": { "description": "GTM Zone's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "zoneId": { "description": "The Zone ID uniquely identifies the GTM Zone.", "type": "string" }, "name": { "description": "Zone display name.", "type": "string" }, "fingerprint": { "description": "The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "notes": { "description": "User notes on how to apply this zone in the container.", "type": "string" }, "childContainer": { "description": "Containers that are children of this Zone.", "type": "array", "items": { "$ref": "ZoneChildContainer" } }, "boundary": { "description": "This Zone's boundary.", "$ref": "ZoneBoundary" }, "typeRestriction": { "description": "This Zone's type restrictions.", "$ref": "ZoneTypeRestriction" } } }, "ZoneChildContainer": { "id": "ZoneChildContainer", "description": "Represents a child container of a Zone.", "type": "object", "properties": { "publicId": { "description": "The child container's public id.", "type": "string" }, "nickname": { "description": "The zone's nickname for the child container.", "type": "string" } } }, "ZoneBoundary": { "id": "ZoneBoundary", "description": "Represents a Zone's boundaries.", "type": "object", "properties": { "condition": { "description": "The conditions that, when conjoined, make up the boundary.", "type": "array", "items": { "$ref": "Condition" } }, "customEvaluationTriggerId": { "description": "Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true.", "type": "array", "items": { "type": "string" } } } }, "ZoneTypeRestriction": { "id": "ZoneTypeRestriction", "description": "Represents a Zone's type restrictions.", "type": "object", "properties": { "enable": { "description": "True if type restrictions have been enabled for this Zone.", "type": "boolean" }, "whitelistedTypeId": { "description": "List of type public ids that have been whitelisted for use in this Zone.", "type": "array", "items": { "type": "string" } } } }, "CustomTemplate": { "id": "CustomTemplate", "description": "Represents a Google Tag Manager Custom Template's contents.", "type": "object", "properties": { "path": { "description": "GTM Custom Template's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "templateId": { "description": "The Custom Template ID uniquely identifies the GTM custom template.", "type": "string" }, "name": { "description": "Custom Template display name.", "type": "string" }, "fingerprint": { "description": "The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "templateData": { "description": "The custom template in text format.", "type": "string" }, "galleryReference": { "description": "A reference to the Community Template Gallery entry.", "$ref": "GalleryReference" } } }, "GalleryReference": { "id": "GalleryReference", "description": "Represents the link between a custom template and an entry on the Community Template Gallery site.", "type": "object", "properties": { "host": { "description": "The name of the host for the community gallery template.", "type": "string" }, "owner": { "description": "The name of the owner for the community gallery template.", "type": "string" }, "repository": { "description": "The name of the repository for the community gallery template.", "type": "string" }, "version": { "description": "The version of the community gallery template.", "type": "string" }, "isModified": { "description": "If a user has manually edited the community gallery template.", "type": "boolean" }, "signature": { "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.", "type": "string" } } }, "BuiltInVariable": { "id": "BuiltInVariable", "description": "Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing properties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.", "type": "object", "properties": { "path": { "description": "GTM BuiltInVariable's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "workspaceId": { "description": "GTM Workspace ID.", "type": "string" }, "type": { "description": "Type of built-in variable. @required.tagmanager.accounts.containers.workspaces.built_in_variable.update @mutable tagmanager.accounts.containers.workspaces.built_in_variable.update", "type": "string", "enumDescriptions": [ "", "", "", "", "", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "For web or mobile.", "", "For web or mobile.", "For web or mobile.", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "enum": [ "builtInVariableTypeUnspecified", "pageUrl", "pageHostname", "pagePath", "referrer", "event", "clickElement", "clickClasses", "clickId", "clickTarget", "clickUrl", "clickText", "firstPartyServingUrl", "formElement", "formClasses", "formId", "formTarget", "formUrl", "formText", "errorMessage", "errorUrl", "errorLine", "newHistoryUrl", "oldHistoryUrl", "newHistoryFragment", "oldHistoryFragment", "newHistoryState", "oldHistoryState", "historySource", "containerVersion", "debugMode", "randomNumber", "containerId", "appId", "appName", "appVersionCode", "appVersionName", "language", "osVersion", "platform", "sdkVersion", "deviceName", "resolution", "advertiserId", "advertisingTrackingEnabled", "htmlId", "environmentName", "ampBrowserLanguage", "ampCanonicalPath", "ampCanonicalUrl", "ampCanonicalHost", "ampReferrer", "ampTitle", "ampClientId", "ampClientTimezone", "ampClientTimestamp", "ampClientScreenWidth", "ampClientScreenHeight", "ampClientScrollX", "ampClientScrollY", "ampClientMaxScrollX", "ampClientMaxScrollY", "ampTotalEngagedTime", "ampPageViewId", "ampPageLoadTime", "ampPageDownloadTime", "ampGtmEvent", "eventName", "firebaseEventParameterCampaign", "firebaseEventParameterCampaignAclid", "firebaseEventParameterCampaignAnid", "firebaseEventParameterCampaignClickTimestamp", "firebaseEventParameterCampaignContent", "firebaseEventParameterCampaignCp1", "firebaseEventParameterCampaignGclid", "firebaseEventParameterCampaignSource", "firebaseEventParameterCampaignTerm", "firebaseEventParameterCurrency", "firebaseEventParameterDynamicLinkAcceptTime", "firebaseEventParameterDynamicLinkLinkid", "firebaseEventParameterNotificationMessageDeviceTime", "firebaseEventParameterNotificationMessageId", "firebaseEventParameterNotificationMessageName", "firebaseEventParameterNotificationMessageTime", "firebaseEventParameterNotificationTopic", "firebaseEventParameterPreviousAppVersion", "firebaseEventParameterPreviousOsVersion", "firebaseEventParameterPrice", "firebaseEventParameterProductId", "firebaseEventParameterQuantity", "firebaseEventParameterValue", "videoProvider", "videoUrl", "videoTitle", "videoDuration", "videoPercent", "videoVisible", "videoStatus", "videoCurrentTime", "scrollDepthThreshold", "scrollDepthUnits", "scrollDepthDirection", "elementVisibilityRatio", "elementVisibilityTime", "elementVisibilityFirstTime", "elementVisibilityRecentTime", "requestPath", "requestMethod", "clientName", "queryString", "serverPageLocationUrl", "serverPageLocationPath", "serverPageLocationHostname", "visitorRegion" ] }, "name": { "description": "Name of the built-in variable to be used to refer to the built-in variable.", "type": "string" } } }, "GtagConfig": { "id": "GtagConfig", "description": "Represents a Google tag configuration.", "type": "object", "properties": { "path": { "description": "Google tag config's API relative path.", "type": "string" }, "accountId": { "description": "Google tag account ID.", "type": "string" }, "containerId": { "description": "Google tag container ID.", "type": "string" }, "workspaceId": { "description": "Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise.", "type": "string" }, "gtagConfigId": { "description": "The ID uniquely identifies the Google tag config.", "type": "string" }, "type": { "description": "Google tag config type. @required tagmanager.accounts.containers.workspaces.gtag_config.create @required tagmanager.accounts.containers.workspaces.gtag_config.update @mutable tagmanager.accounts.containers.workspaces.gtag_config.create @mutable tagmanager.accounts.containers.workspaces.gtag_config.update", "type": "string" }, "parameter": { "description": "The Google tag config's parameters. @mutable tagmanager.accounts.containers.workspaces.gtag_config.create @mutable tagmanager.accounts.containers.workspaces.gtag_config.update", "type": "array", "items": { "$ref": "Parameter" } }, "fingerprint": { "description": "The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" } } }, "GetWorkspaceStatusResponse": { "id": "GetWorkspaceStatusResponse", "description": "The changes that have occurred in the workspace since the base container version.", "type": "object", "properties": { "workspaceChange": { "description": "Entities that have been changed in the workspace.", "type": "array", "items": { "$ref": "Entity" } }, "mergeConflict": { "description": "The merge conflict after sync.", "type": "array", "items": { "$ref": "MergeConflict" } } } }, "QuickPreviewResponse": { "id": "QuickPreviewResponse", "description": "Response to quick previewing a workspace.", "type": "object", "properties": { "containerVersion": { "description": "The quick previewed container version.", "$ref": "ContainerVersion" }, "syncStatus": { "description": "Whether quick previewing failed when syncing the workspace to the latest container version.", "$ref": "SyncStatus" }, "compilerError": { "description": "Were there compiler errors or not.", "type": "boolean" } } }, "ContainerVersion": { "id": "ContainerVersion", "description": "Represents a Google Tag Manager Container Version.", "type": "object", "properties": { "path": { "description": "GTM Container Version's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "containerVersionId": { "description": "The Container Version ID uniquely identifies the GTM Container Version.", "type": "string" }, "name": { "description": "Container version display name. @mutable tagmanager.accounts.containers.versions.update", "type": "string" }, "deleted": { "description": "A value of true indicates this container version has been deleted.", "type": "boolean" }, "description": { "description": "Container version description. @mutable tagmanager.accounts.containers.versions.update", "type": "string" }, "container": { "description": "The container that this version was taken from.", "$ref": "Container" }, "tag": { "description": "The tags in the container that this version was taken from.", "type": "array", "items": { "$ref": "Tag" } }, "trigger": { "description": "The triggers in the container that this version was taken from.", "type": "array", "items": { "$ref": "Trigger" } }, "variable": { "description": "The variables in the container that this version was taken from.", "type": "array", "items": { "$ref": "Variable" } }, "folder": { "description": "The folders in the container that this version was taken from.", "type": "array", "items": { "$ref": "Folder" } }, "builtInVariable": { "description": "The built-in variables in the container that this version was taken from.", "type": "array", "items": { "$ref": "BuiltInVariable" } }, "fingerprint": { "description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" }, "zone": { "description": "The zones in the container that this version was taken from.", "type": "array", "items": { "$ref": "Zone" } }, "customTemplate": { "description": "The custom templates in the container that this version was taken from.", "type": "array", "items": { "$ref": "CustomTemplate" } }, "client": { "description": "The clients in the container that this version was taken from.", "type": "array", "items": { "$ref": "Client" } }, "gtagConfig": { "description": "The Google tag configs in the container that this version was taken from.", "type": "array", "items": { "$ref": "GtagConfig" } }, "transformation": { "description": "The transformations in the container that this version was taken from.", "type": "array", "items": { "$ref": "Transformation" } } } }, "CreateContainerVersionRequestVersionOptions": { "id": "CreateContainerVersionRequestVersionOptions", "description": "Options for new container versions.", "type": "object", "properties": { "name": { "description": "The name of the container version to be created.", "type": "string" }, "notes": { "description": "The notes of the container version to be created.", "type": "string" } } }, "CreateContainerVersionResponse": { "id": "CreateContainerVersionResponse", "description": "Create container versions response.", "type": "object", "properties": { "containerVersion": { "description": "The container version created.", "$ref": "ContainerVersion" }, "syncStatus": { "description": "Whether version creation failed when syncing the workspace to the latest container version.", "$ref": "SyncStatus" }, "compilerError": { "description": "Compiler errors or not.", "type": "boolean" }, "newWorkspacePath": { "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.", "type": "string" } } }, "PublishContainerVersionResponse": { "id": "PublishContainerVersionResponse", "description": "Publish container version response.", "type": "object", "properties": { "containerVersion": { "description": "The container version created.", "$ref": "ContainerVersion" }, "compilerError": { "description": "Compiler errors or not.", "type": "boolean" } } }, "ListContainerVersionsResponse": { "id": "ListContainerVersionsResponse", "description": "List container versions response.", "type": "object", "properties": { "containerVersionHeader": { "description": "All container version headers of a GTM Container.", "type": "array", "items": { "$ref": "ContainerVersionHeader" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "ContainerVersionHeader": { "id": "ContainerVersionHeader", "description": "Represents a Google Tag Manager Container Version Header.", "type": "object", "properties": { "path": { "description": "GTM Container Version's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "containerVersionId": { "description": "The Container Version ID uniquely identifies the GTM Container Version.", "type": "string" }, "name": { "description": "Container version display name.", "type": "string" }, "numMacros": { "description": "Number of macros in the container version.", "deprecated": true, "type": "string" }, "numRules": { "description": "Number of rules in the container version.", "deprecated": true, "type": "string" }, "numTags": { "description": "Number of tags in the container version.", "type": "string" }, "numTriggers": { "description": "Number of triggers in the container version.", "type": "string" }, "deleted": { "description": "A value of true indicates this container version has been deleted.", "type": "boolean" }, "numVariables": { "description": "Number of variables in the container version.", "type": "string" }, "numZones": { "description": "Number of zones in the container version.", "type": "string" }, "numCustomTemplates": { "description": "Number of custom templates in the container version.", "type": "string" }, "numClients": { "description": "Number of clients in the container version.", "type": "string" }, "numGtagConfigs": { "description": "Number of Google tag configs in the container version.", "type": "string" }, "numTransformations": { "description": "Number of transformations in the container version.", "type": "string" } } }, "ListVariablesResponse": { "id": "ListVariablesResponse", "description": "List Variables Response.", "type": "object", "properties": { "variable": { "description": "All GTM Variables of a GTM Container.", "type": "array", "items": { "$ref": "Variable" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertVariableResponse": { "id": "RevertVariableResponse", "description": "The result of reverting a variable in a workspace.", "type": "object", "properties": { "variable": { "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.", "$ref": "Variable" } } }, "CreateBuiltInVariableResponse": { "id": "CreateBuiltInVariableResponse", "type": "object", "properties": { "builtInVariable": { "description": "List of created built-in variables.", "type": "array", "items": { "$ref": "BuiltInVariable" } } } }, "ListEnabledBuiltInVariablesResponse": { "id": "ListEnabledBuiltInVariablesResponse", "description": "A list of enabled built-in variables.", "type": "object", "properties": { "builtInVariable": { "description": "All GTM BuiltInVariables of a GTM container.", "type": "array", "items": { "$ref": "BuiltInVariable" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertBuiltInVariableResponse": { "id": "RevertBuiltInVariableResponse", "description": "The result of reverting a built-in variable in a workspace.", "type": "object", "properties": { "enabled": { "description": "Whether the built-in variable is enabled after reversion.", "type": "boolean" } } }, "ListTriggersResponse": { "id": "ListTriggersResponse", "description": "List triggers response.", "type": "object", "properties": { "trigger": { "description": "All GTM Triggers of a GTM Container.", "type": "array", "items": { "$ref": "Trigger" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertTriggerResponse": { "id": "RevertTriggerResponse", "description": "The result of reverting a trigger in a workspace.", "type": "object", "properties": { "trigger": { "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.", "$ref": "Trigger" } } }, "ListTagsResponse": { "id": "ListTagsResponse", "description": "List Tags Response.", "type": "object", "properties": { "tag": { "description": "All GTM Tags of a GTM Container.", "type": "array", "items": { "$ref": "Tag" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertTagResponse": { "id": "RevertTagResponse", "description": "The result of reverting a tag in a workspace.", "type": "object", "properties": { "tag": { "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.", "$ref": "Tag" } } }, "ListGtagConfigResponse": { "id": "ListGtagConfigResponse", "type": "object", "properties": { "gtagConfig": { "description": "All Google tag configs in a Container.", "type": "array", "items": { "$ref": "GtagConfig" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "ListTemplatesResponse": { "id": "ListTemplatesResponse", "type": "object", "properties": { "template": { "description": "All GTM Custom Templates of a GTM Container.", "type": "array", "items": { "$ref": "CustomTemplate" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertTemplateResponse": { "id": "RevertTemplateResponse", "description": "The result of reverting a template in a workspace.", "type": "object", "properties": { "template": { "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.", "$ref": "CustomTemplate" } } }, "ListFoldersResponse": { "id": "ListFoldersResponse", "description": "List Folders Response.", "type": "object", "properties": { "folder": { "description": "All GTM Folders of a GTM Container.", "type": "array", "items": { "$ref": "Folder" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "FolderEntities": { "id": "FolderEntities", "description": "Represents a Google Tag Manager Folder's contents.", "type": "object", "properties": { "tag": { "description": "The list of tags inside the folder.", "type": "array", "items": { "$ref": "Tag" } }, "variable": { "description": "The list of variables inside the folder.", "type": "array", "items": { "$ref": "Variable" } }, "trigger": { "description": "The list of triggers inside the folder.", "type": "array", "items": { "$ref": "Trigger" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertFolderResponse": { "id": "RevertFolderResponse", "description": "The result of reverting folder changes in a workspace.", "type": "object", "properties": { "folder": { "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.", "$ref": "Folder" } } }, "Environment": { "id": "Environment", "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.", "type": "object", "properties": { "path": { "description": "GTM Environment's API relative path.", "type": "string" }, "accountId": { "description": "GTM Account ID.", "type": "string" }, "containerId": { "description": "GTM Container ID.", "type": "string" }, "environmentId": { "description": "GTM Environment ID uniquely identifies the GTM Environment.", "type": "string" }, "type": { "description": "The type of this environment.", "type": "string", "enumDescriptions": [ "Points to a user defined environment.", "Points to the current live container version.", "Points to the latest container version.", "Automatically managed environment that points to a workspace preview or version created by a workspace." ], "enum": [ "user", "live", "latest", "workspace" ] }, "fingerprint": { "description": "The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.", "type": "string" }, "name": { "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", "annotations": { "required": [ "tagmanager.accounts.containers.environments.create", "tagmanager.accounts.containers.environments.update" ] }, "type": "string" }, "description": { "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", "type": "string" }, "enableDebug": { "description": "Whether or not to enable debug by default for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update", "type": "boolean" }, "url": { "description": "Default preview page url for the environment. @mutable tagmanager.accounts.containers.environments.create @mutable tagmanager.accounts.containers.environments.update", "type": "string" }, "authorizationCode": { "description": "The environment authorization code.", "type": "string" }, "authorizationTimestamp": { "description": "The last update time-stamp for the authorization code.", "type": "string", "format": "google-datetime" }, "containerVersionId": { "description": "Represents a link to a container version.", "type": "string" }, "workspaceId": { "description": "Represents a link to a quick preview of a workspace.", "type": "string" }, "tagManagerUrl": { "description": "Auto generated link to the tag manager UI", "type": "string" } } }, "ListEnvironmentsResponse": { "id": "ListEnvironmentsResponse", "description": "List Environments Response.", "type": "object", "properties": { "environment": { "description": "All Environments of a GTM Container.", "type": "array", "items": { "$ref": "Environment" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "ListZonesResponse": { "id": "ListZonesResponse", "type": "object", "properties": { "zone": { "description": "All GTM Zones of a GTM Container.", "type": "array", "items": { "$ref": "Zone" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertZoneResponse": { "id": "RevertZoneResponse", "description": "The result of reverting a zone in a workspace.", "type": "object", "properties": { "zone": { "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.", "$ref": "Zone" } } }, "ListClientsResponse": { "id": "ListClientsResponse", "type": "object", "properties": { "client": { "description": "All GTM Clients of a GTM Container.", "type": "array", "items": { "$ref": "Client" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertClientResponse": { "id": "RevertClientResponse", "description": "The result of reverting a client in a workspace.", "type": "object", "properties": { "client": { "description": "Client as it appears in the latest container version since the last workspace synchronization operation. If no client is present, that means the client was deleted in the latest container version.", "$ref": "Client" } } }, "ListTransformationsResponse": { "id": "ListTransformationsResponse", "type": "object", "properties": { "transformation": { "description": "All GTM Transformations of a GTM Container.", "type": "array", "items": { "$ref": "Transformation" } }, "nextPageToken": { "description": "Continuation token for fetching the next page of results.", "type": "string" } } }, "RevertTransformationResponse": { "id": "RevertTransformationResponse", "description": "The result of reverting a transformation in a workspace.", "type": "object", "properties": { "transformation": { "description": "Transformation as it appears in the latest container version since the last workspace synchronization operation. If no transformation is present, that means the transformation was deleted in the latest container version.", "$ref": "Transformation" } } } }, "parameters": { "access_token": { "type": "string", "description": "OAuth access token.", "location": "query" }, "alt": { "type": "string", "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" ], "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query" }, "callback": { "type": "string", "description": "JSONP", "location": "query" }, "fields": { "type": "string", "description": "Selector specifying which fields to include in a partial response.", "location": "query" }, "key": { "type": "string", "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.", "location": "query" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "prettyPrint": { "type": "boolean", "description": "Returns response with indentations and line breaks.", "default": "true", "location": "query" }, "quotaUser": { "type": "string", "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.", "location": "query" }, "upload_protocol": { "type": "string", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query" }, "uploadType": { "type": "string", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query" }, "$.xgafv": { "type": "string", "description": "V1 error format.", "enum": [ "1", "2" ], "enumDescriptions": [ "v1 error format", "v2 error format" ], "location": "query" } }, "canonicalName": "Tag Manager", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "rootUrl": "https://tagmanager.googleapis.com/", "mtlsRootUrl": "https://tagmanager.mtls.googleapis.com/", "discoveryVersion": "v1", "batchPath": "batch", "description": "This API allows clients to access and modify container and tag configuration.", "baseUrl": "https://tagmanager.googleapis.com/", "servicePath": "", "documentationLink": "https://developers.google.com/tag-manager", "protocol": "rest", "name": "tagmanager", "title": "Tag Manager API" }