blob: c0b289ec06cabe95f1ced644e8f625c8813dc9ec [file] [log] [blame]
{
"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"
}
}
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/tagmanager/v2",
"canonicalName": "Tag Manager",
"description": "This API allows clients to access and modify container and tag\n configuration.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/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"
},
"id": "tagmanager:v2",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "tagmanager",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"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",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"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",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"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",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"accounts": {
"methods": {
"get": {
"description": "Gets a GTM Account.",
"flatPath": "tagmanager/v2/accounts/{accountsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+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"
]
},
"list": {
"description": "Lists all GTM Accounts that a user has access to.",
"flatPath": "tagmanager/v2/accounts",
"httpMethod": "GET",
"id": "tagmanager.accounts.list",
"parameterOrder": [],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
}
},
"path": "tagmanager/v2/accounts",
"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"
]
},
"update": {
"description": "Updates a GTM Account.",
"flatPath": "tagmanager/v2/accounts/{accountsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the account\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Account"
},
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.accounts"
]
}
},
"resources": {
"containers": {
"methods": {
"create": {
"description": "Creates a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Account's API relative path.\nExample: accounts/{account_id}.",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/containers",
"request": {
"$ref": "Container"
},
"response": {
"$ref": "Container"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.delete.containers"
]
},
"get": {
"description": "Gets a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Container"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all Containers that belongs to a GTM Account.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}.",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/containers",
"response": {
"$ref": "ListContainersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"update": {
"description": "Updates a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\ncontainer in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Container"
},
"response": {
"$ref": "Container"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
},
"resources": {
"environments": {
"methods": {
"create": {
"description": "Creates a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.environments.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/environments",
"request": {
"$ref": "Environment"
},
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.environments.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.environments.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Environments of a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.environments.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/environments",
"response": {
"$ref": "ListEnvironmentsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"reauthorize": {
"description": "Re-generates the authorization code for a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}:reauthorize",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.environments.reauthorize",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:reauthorize",
"request": {
"$ref": "Environment"
},
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.publish"
]
},
"update": {
"description": "Updates a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.environments.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\nenvironment in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Environment"
},
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"version_headers": {
"methods": {
"latest": {
"description": "Gets the latest container version header",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers:latest",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.version_headers.latest",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/version_headers:latest",
"response": {
"$ref": "ContainerVersionHeader"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all Container Versions of a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.version_headers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"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"
},
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/version_headers",
"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"
]
}
}
},
"versions": {
"methods": {
"delete": {
"description": "Deletes a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.versions.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"get": {
"description": "Gets a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.versions.get",
"parameterOrder": [
"path"
],
"parameters": {
"containerVersionId": {
"description": "The GTM ContainerVersion ID. Specify \u003ccode\u003epublished\u003c/code\u003e to retrieve\nthe currently published version.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+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"
]
},
"live": {
"description": "Gets the live (i.e. published) container version",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions:live",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.versions.live",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/versions:live",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"publish": {
"description": "Publishes a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:publish",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.versions.publish",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\ncontainer version in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:publish",
"response": {
"$ref": "PublishContainerVersionResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.publish"
]
},
"set_latest": {
"description": "Sets the latest version used for synchronization of workspaces when\ndetecting conflicts and errors.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:set_latest",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.versions.set_latest",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:set_latest",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"undelete": {
"description": "Undeletes a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:undelete",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.versions.undelete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:undelete",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"update": {
"description": "Updates a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.versions.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\ncontainer version in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "ContainerVersion"
},
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
}
}
},
"workspaces": {
"methods": {
"create": {
"description": "Creates a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM parent Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/workspaces",
"request": {
"$ref": "Workspace"
},
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"create_version": {
"description": "Creates a Container Version from the entities present in the workspace,\ndeletes the workspace, and sets the base container version to the newly\ncreated version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:create_version",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.create_version",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:create_version",
"request": {
"$ref": "CreateContainerVersionRequestVersionOptions"
},
"response": {
"$ref": "CreateContainerVersionResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"delete": {
"description": "Deletes a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.delete.containers"
]
},
"get": {
"description": "Gets a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"getStatus": {
"description": "Finds conflicting and modified entities in the workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/status",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.getStatus",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}/status",
"response": {
"$ref": "GetWorkspaceStatusResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all Workspaces that belong to a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM parent Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/workspaces",
"response": {
"$ref": "ListWorkspacesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"quick_preview": {
"description": "Quick previews a workspace by creating a fake container version from all\nentities in the provided workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:quick_preview",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.quick_preview",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:quick_preview",
"response": {
"$ref": "QuickPreviewResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"resolve_conflict": {
"description": "Resolves a merge conflict for a workspace entity by updating it to the\nresolved entity passed in the request.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:resolve_conflict",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.resolve_conflict",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\nentity_in_workspace in the merge conflict.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:resolve_conflict",
"request": {
"$ref": "Entity"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"sync": {
"description": "Syncs a workspace to the latest container version by updating all\nunmodified workspace entities and displaying conflicts for modified\nentities.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:sync",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.sync",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:sync",
"response": {
"$ref": "SyncWorkspaceResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\nworkspace in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Workspace"
},
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
},
"resources": {
"built_in_variables": {
"methods": {
"create": {
"description": "Creates one or more GTM Built-In Variables.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The types of built-in variables to enable.",
"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"
],
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/built_in_variables",
"response": {
"$ref": "CreateBuiltInVariableResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes one or more GTM Built-In Variables.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM BuiltInVariable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/built_in_variables$",
"required": true,
"type": "string"
},
"type": {
"description": "The types of built-in variables to delete.",
"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"
],
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"list": {
"description": "Lists all the enabled Built-In Variables of a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/built_in_variables",
"response": {
"$ref": "ListEnabledBuiltInVariablesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Built-In Variables in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.revert",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM BuiltInVariable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The type of built-in variable to revert.",
"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"
],
"location": "query",
"type": "string"
}
},
"path": "tagmanager/v2/{+path}/built_in_variables:revert",
"response": {
"$ref": "RevertBuiltInVariableResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"folders": {
"methods": {
"create": {
"description": "Creates a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/folders",
"request": {
"$ref": "Folder"
},
"response": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.folders.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"entities": {
"description": "List all entities in a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:entities",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.entities",
"parameterOrder": [
"path"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:entities",
"response": {
"$ref": "FolderEntities"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"get": {
"description": "Gets a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.folders.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Folders of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.folders.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/folders",
"response": {
"$ref": "ListFoldersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"move_entities_to_folder": {
"description": "Moves entities to a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:move_entities_to_folder",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
},
"tagId": {
"description": "The tags 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"
},
"variableId": {
"description": "The variables to be moved to the folder.",
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:move_entities_to_folder",
"request": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"revert": {
"description": "Reverts changes to a GTM Folder in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the tag\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertFolderResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.folders.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the folder in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Folder"
},
"response": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"tags": {
"methods": {
"create": {
"description": "Creates a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.tags.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/tags",
"request": {
"$ref": "Tag"
},
"response": {
"$ref": "Tag"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.tags.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.tags.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Tag"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Tags of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.tags.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/tags",
"response": {
"$ref": "ListTagsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Tag in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.tags.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of thetag\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertTagResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.tags.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the tag in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Tag"
},
"response": {
"$ref": "Tag"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"templates": {
"methods": {
"create": {
"description": "Creates a GTM Custom Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.templates.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/templates",
"request": {
"$ref": "CustomTemplate"
},
"response": {
"$ref": "CustomTemplate"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.templates.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.templates.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "CustomTemplate"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Templates of a GTM container workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.templates.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/templates",
"response": {
"$ref": "ListTemplatesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Template in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.templates.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the template\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertTemplateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.templates.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the templates\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "CustomTemplate"
},
"response": {
"$ref": "CustomTemplate"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"triggers": {
"methods": {
"create": {
"description": "Creates a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.triggers.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspaces's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/triggers",
"request": {
"$ref": "Trigger"
},
"response": {
"$ref": "Trigger"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.triggers.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.triggers.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Trigger"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Triggers of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.triggers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspaces's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/triggers",
"response": {
"$ref": "ListTriggersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Trigger in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.triggers.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the trigger\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertTriggerResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.triggers.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the trigger\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Trigger"
},
"response": {
"$ref": "Trigger"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"variables": {
"methods": {
"create": {
"description": "Creates a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.variables.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/variables",
"request": {
"$ref": "Variable"
},
"response": {
"$ref": "Variable"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.variables.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.variables.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Variable"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Variables of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.variables.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/variables",
"response": {
"$ref": "ListVariablesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Variable in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.variables.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the variable\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertVariableResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.variables.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the variable\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Variable"
},
"response": {
"$ref": "Variable"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"zones": {
"methods": {
"create": {
"description": "Creates a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.zones.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/zones",
"request": {
"$ref": "Zone"
},
"response": {
"$ref": "Zone"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.zones.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.zones.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Zone"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Zones of a GTM container workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.zones.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/zones",
"response": {
"$ref": "ListZonesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Zone in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.zones.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the zone in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertZoneResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.zones.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the zone in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Zone"
},
"response": {
"$ref": "Zone"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
}
}
}
}
},
"user_permissions": {
"methods": {
"create": {
"description": "Creates a user's Account \u0026 Container access.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions",
"httpMethod": "POST",
"id": "tagmanager.accounts.user_permissions.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Account's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"