@datafire/google_tagmanager v6.0.0
@datafire/google_tagmanager
Client library for Tag Manager API
Installation and Usage
npm install --save @datafire/google_tagmanagerlet google_tagmanager = require('@datafire/google_tagmanager').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});
.then(data => {
  console.log(data);
});Description
This API allows clients to access and modify container and tag configuration.
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
google_tagmanager.oauthCallback({
  "code": ""
}, context)Input
- input object- code required string
 
- code required 
Output
- output object- access_token string
- refresh_token string
- token_type string
- scope string
- expiration string
 
- access_token 
oauthRefresh
Exchange a refresh_token for an access_token
google_tagmanager.oauthRefresh(null, context)Input
This action has no parameters
Output
- output object- access_token string
- refresh_token string
- token_type string
- scope string
- expiration string
 
- access_token 
tagmanager.accounts.list
Lists all GTM Accounts that a user has access to.
google_tagmanager.tagmanager.accounts.list({}, context)Input
- input object- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- pageToken 
Output
- output ListAccountsResponse
tagmanager.accounts.containers.workspaces.built_in_variables.list
Lists all the enabled Built-In Variables of a GTM Container.
google_tagmanager.tagmanager.accounts.containers.workspaces.built_in_variables.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
tagmanager.accounts.containers.workspaces.built_in_variables.create
Creates one or more GTM Built-In Variables.
google_tagmanager.tagmanager.accounts.containers.workspaces.built_in_variables.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- type array: The types of built-in variables to enable.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
tagmanager.accounts.containers.list
Lists all Containers that belongs to a GTM Account.
google_tagmanager.tagmanager.accounts.containers.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Accounts's API relative path. Example: accounts/{account_id}.
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListContainersResponse
tagmanager.accounts.containers.create
Creates a Container.
google_tagmanager.tagmanager.accounts.containers.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Account's API relative path. Example: accounts/{account_id}.
- body Container
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Container
tagmanager.accounts.containers.environments.list
Lists all GTM Environments of a GTM Container.
google_tagmanager.tagmanager.accounts.containers.environments.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListEnvironmentsResponse
tagmanager.accounts.containers.environments.create
Creates a GTM Environment.
google_tagmanager.tagmanager.accounts.containers.environments.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- body Environment
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Environment
tagmanager.accounts.containers.workspaces.folders.list
Lists all GTM Folders of a Container.
google_tagmanager.tagmanager.accounts.containers.workspaces.folders.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListFoldersResponse
tagmanager.accounts.containers.workspaces.folders.create
Creates a GTM Folder.
google_tagmanager.tagmanager.accounts.containers.workspaces.folders.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body Folder
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Folder
tagmanager.accounts.containers.workspaces.tags.list
Lists all GTM Tags of a Container.
google_tagmanager.tagmanager.accounts.containers.workspaces.tags.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListTagsResponse
tagmanager.accounts.containers.workspaces.tags.create
Creates a GTM Tag.
google_tagmanager.tagmanager.accounts.containers.workspaces.tags.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body Tag
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Tag
tagmanager.accounts.containers.workspaces.templates.list
Lists all GTM Templates of a GTM container workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.templates.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListTemplatesResponse
tagmanager.accounts.containers.workspaces.templates.create
Creates a GTM Custom Template.
google_tagmanager.tagmanager.accounts.containers.workspaces.templates.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body CustomTemplate
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output CustomTemplate
tagmanager.accounts.containers.workspaces.triggers.list
Lists all GTM Triggers of a Container.
google_tagmanager.tagmanager.accounts.containers.workspaces.triggers.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListTriggersResponse
tagmanager.accounts.containers.workspaces.triggers.create
Creates a GTM Trigger.
google_tagmanager.tagmanager.accounts.containers.workspaces.triggers.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body Trigger
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Trigger
tagmanager.accounts.user_permissions.list
List all users that have access to the account along with Account and Container user access granted to each of them.
google_tagmanager.tagmanager.accounts.user_permissions.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Accounts's API relative path. Example: accounts/{account_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListUserPermissionsResponse
tagmanager.accounts.user_permissions.create
Creates a user's Account & Container access.
google_tagmanager.tagmanager.accounts.user_permissions.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Account's API relative path. Example: accounts/{account_id}
- body UserPermission
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output UserPermission
tagmanager.accounts.containers.workspaces.variables.list
Lists all GTM Variables of a Container.
google_tagmanager.tagmanager.accounts.containers.workspaces.variables.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListVariablesResponse
tagmanager.accounts.containers.workspaces.variables.create
Creates a GTM Variable.
google_tagmanager.tagmanager.accounts.containers.workspaces.variables.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body Variable
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Variable
tagmanager.accounts.containers.version_headers.list
Lists all Container Versions of a GTM Container.
google_tagmanager.tagmanager.accounts.containers.version_headers.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- includeDeleted boolean: Also retrieve deleted (archived) versions when true.
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
tagmanager.accounts.containers.version_headers.latest
Gets the latest container version header
google_tagmanager.tagmanager.accounts.containers.version_headers.latest({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ContainerVersionHeader
tagmanager.accounts.containers.versions.live
Gets the live (i.e. published) container version
google_tagmanager.tagmanager.accounts.containers.versions.live({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ContainerVersion
tagmanager.accounts.containers.workspaces.list
Lists all Workspaces that belong to a GTM Container.
google_tagmanager.tagmanager.accounts.containers.workspaces.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListWorkspacesResponse
tagmanager.accounts.containers.workspaces.create
Creates a Workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
- body Workspace
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Workspace
tagmanager.accounts.containers.workspaces.zones.list
Lists all GTM Zones of a GTM container workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.zones.list({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output ListZonesResponse
tagmanager.accounts.containers.workspaces.zones.create
Creates a GTM Zone.
google_tagmanager.tagmanager.accounts.containers.workspaces.zones.create({
  "parent": ""
}, context)Input
- input object- parent required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body Zone
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- parent required 
Output
- output Zone
tagmanager.accounts.user_permissions.delete
Removes a user from the account, revoking access to it and all of its containers.
google_tagmanager.tagmanager.accounts.user_permissions.delete({
  "path": ""
}, context)Input
- input object- path required string: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
- type array: The types of built-in variables to delete.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
Output schema unknown
tagmanager.accounts.user_permissions.get
Gets a user's Account & Container access.
google_tagmanager.tagmanager.accounts.user_permissions.get({
  "path": ""
}, context)Input
- input object- path required string: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
- containerVersionId string: The GTM ContainerVersion ID. Specify published to retrieve the currently published version.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output UserPermission
tagmanager.accounts.user_permissions.update
Updates a user's Account & Container access.
google_tagmanager.tagmanager.accounts.user_permissions.update({
  "path": ""
}, context)Input
- input object- path required string: GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
- fingerprint string: When provided, this fingerprint must match the fingerprint of the zone in storage.
- body UserPermission
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output UserPermission
tagmanager.accounts.containers.workspaces.built_in_variables.revert
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.built_in_variables.revert({
  "path": ""
}, context)Input
- input object- path required string: GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables
- type string(values: 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): The type of built-in variable to revert.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
tagmanager.accounts.containers.workspaces.getStatus
Finds conflicting and modified entities in the workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.getStatus({
  "path": ""
}, context)Input
- input object- path required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output GetWorkspaceStatusResponse
tagmanager.accounts.containers.workspaces.create_version
Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.
google_tagmanager.tagmanager.accounts.containers.workspaces.create_version({
  "path": ""
}, context)Input
- input object- path required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- body CreateContainerVersionRequestVersionOptions
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
tagmanager.accounts.containers.workspaces.folders.entities
List all entities in a GTM Folder.
google_tagmanager.tagmanager.accounts.containers.workspaces.folders.entities({
  "path": ""
}, context)Input
- input object- path required string: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
- pageToken string: Continuation token for fetching the next page of results.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output FolderEntities
tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder
Moves entities to a GTM Folder.
google_tagmanager.tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder({
  "path": ""
}, context)Input
- input object- path required string: GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
- tagId array: The tags to be moved to the folder.
- triggerId array: The triggers to be moved to the folder.
- variableId array: The variables to be moved to the folder.
- body Folder
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
Output schema unknown
tagmanager.accounts.containers.versions.publish
Publishes a Container Version.
google_tagmanager.tagmanager.accounts.containers.versions.publish({
  "path": ""
}, context)Input
- input object- path required string: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
- fingerprint string: When provided, this fingerprint must match the fingerprint of the container version in storage.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
tagmanager.accounts.containers.workspaces.quick_preview
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.quick_preview({
  "path": ""
}, context)Input
- input object- path required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output QuickPreviewResponse
tagmanager.accounts.containers.environments.reauthorize
Re-generates the authorization code for a GTM Environment.
google_tagmanager.tagmanager.accounts.containers.environments.reauthorize({
  "path": ""
}, context)Input
- input object- path required string: GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
- body Environment
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output Environment
tagmanager.accounts.containers.workspaces.resolve_conflict
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
google_tagmanager.tagmanager.accounts.containers.workspaces.resolve_conflict({
  "path": ""
}, context)Input
- input object- path required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- fingerprint string: When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.
- body Entity
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
Output schema unknown
tagmanager.accounts.containers.workspaces.zones.revert
Reverts changes to a GTM Zone in a GTM Workspace.
google_tagmanager.tagmanager.accounts.containers.workspaces.zones.revert({
  "path": ""
}, context)Input
- input object- path required string: GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}
- fingerprint string: When provided, this fingerprint must match the fingerprint of the zone in storage.
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output RevertZoneResponse
tagmanager.accounts.containers.versions.set_latest
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
google_tagmanager.tagmanager.accounts.containers.versions.set_latest({
  "path": ""
}, context)Input
- input object- path required string: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output ContainerVersion
tagmanager.accounts.containers.workspaces.sync
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
google_tagmanager.tagmanager.accounts.containers.workspaces.sync({
  "path": ""
}, context)Input
- input object- path required string: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output SyncWorkspaceResponse
tagmanager.accounts.containers.versions.undelete
Undeletes a Container Version.
google_tagmanager.tagmanager.accounts.containers.versions.undelete({
  "path": ""
}, context)Input
- input object- path required string: GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
- $.xgafv string(values: 1, 2): V1 error format.
- access_token string: OAuth access token.
- alt string(values: json, media, proto): Data format for response.
- callback string: JSONP
- fields string: Selector specifying which fields to include in a partial response.
- key string: 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.
- oauth_token string: OAuth 2.0 token for the current user.
- prettyPrint boolean: Returns response with indentations and line breaks.
- quotaUser string: 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.
- upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
- uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").
 
- path required 
Output
- output ContainerVersion
Definitions
Account
- Account object: Represents a Google Tag Manager Account.- accountId string: The Account ID uniquely identifies the GTM Account.
- fingerprint string: The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.
- name string: Account display name. @mutable tagmanager.accounts.create @mutable tagmanager.accounts.update
- path string: GTM Account's API relative path.
- shareData boolean: 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, combi
 
- accountId