google_api_tag_manager v0.0.1 GoogleApi.TagManager.V2.Api.Accounts View Source
API calls for all endpoints tagged Accounts.
Link to this section Summary
Functions
Creates a Container
Creates a GTM Environment
Lists all GTM Environments of a GTM Container
Updates a GTM Environment. This method supports patch semantics
Re-generates the authorization code for a GTM Environment
Lists all Containers that belongs to a GTM Account
Gets the latest container version header
Lists all Container Versions of a GTM Container
Gets the live (i.e. published) container version
Publishes a Container Version
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors
Undeletes a Container Version
Creates one or more GTM Built-In Variables
Lists all the enabled Built-In Variables of a GTM Container
Reverts changes to a GTM Built-In Variables in a GTM Workspace
Creates a Workspace
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
Creates a GTM Folder
List all entities in a GTM Folder
Lists all GTM Folders of a Container
Moves entities to a GTM Folder
Finds conflicting and modified entities in the workspace
Lists all Workspaces that belong to a GTM Container
Creates a GTM Workspace Proposal
Quick previews a workspace by creating a fake container version from all entities in the provided workspace
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities
Creates a GTM Tag
Lists all GTM Tags of a Container
Creates a GTM Trigger
Lists all GTM Triggers of a Container
Creates a GTM Variable
Lists all GTM Variables of a Container
Reverts changes to a GTM Variable in a GTM Workspace
Lists all GTM Accounts that a user has access to
Creates a user's Account & Container access
Removes a user from the account, revoking access to it and all of its containers
Gets a user's Account & Container access
List all users that have access to the account along with Account and Container user access granted to each of them
Updates a user's Account & Container access
Link to this section Functions
tagmanager_accounts_containers_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Container.t} | {:error, Tesla.Env.t}
Creates a Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Account's API relative path. Example: accounts/{account_id}.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Container):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Container{}} on success {:error, info} on failure
tagmanager_accounts_containers_environments_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Environment.t} | {:error, Tesla.Env.t}
Creates a GTM Environment.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Environment):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success {:error, info} on failure
tagmanager_accounts_containers_environments_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListEnvironmentsResponse.t} | {:error, Tesla.Env.t}
Lists all GTM Environments of a GTM Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListEnvironmentsResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_environments_patch(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Environment.t} | {:error, Tesla.Env.t}
Updates a GTM Environment. This method supports patch semantics.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :fingerprint (String): When provided, this fingerprint must match the fingerprint of the environment in storage.
- :body (Environment):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success {:error, info} on failure
tagmanager_accounts_containers_environments_reauthorize(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Environment.t} | {:error, Tesla.Env.t}
Re-generates the authorization code for a GTM Environment.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Environment):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success {:error, info} on failure
tagmanager_accounts_containers_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListContainersResponse.t} | {:error, Tesla.Env.t}
Lists all Containers that belongs to a GTM Account.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Accounts's API relative path. Example: accounts/{account_id}.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListContainersResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_version_headers_latest(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ContainerVersionHeader.t} | {:error, Tesla.Env.t}
Gets the latest container version header
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersionHeader{}} on success {:error, info} on failure
tagmanager_accounts_containers_version_headers_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListContainerVersionsResponse.t} | {:error, Tesla.Env.t}
Lists all Container Versions of a GTM Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :include_deleted (Boolean): Also retrieve deleted (archived) versions when true.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListContainerVersionsResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_versions_live(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t} | {:error, Tesla.Env.t}
Gets the live (i.e. published) container version
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success {:error, info} on failure
tagmanager_accounts_containers_versions_publish(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.PublishContainerVersionResponse.t} | {:error, Tesla.Env.t}
Publishes a Container Version.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :fingerprint (String): When provided, this fingerprint must match the fingerprint of the container version in storage.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.PublishContainerVersionResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_versions_set_latest(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t} | {:error, Tesla.Env.t}
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success {:error, info} on failure
tagmanager_accounts_containers_versions_undelete(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t} | {:error, Tesla.Env.t}
Undeletes a Container Version.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_built_in_variables_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.CreateBuiltInVariableResponse.t} | {:error, Tesla.Env.t}
Creates one or more GTM Built-In Variables.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :type (List[String]): The types of built-in variables to enable.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.CreateBuiltInVariableResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_built_in_variables_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListEnabledBuiltInVariablesResponse.t} | {:error, Tesla.Env.t}
Lists all the enabled Built-In Variables of a GTM Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListEnabledBuiltInVariablesResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_built_in_variables_revert(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.RevertBuiltInVariableResponse.t} | {:error, Tesla.Env.t}
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :type (String): The type of built-in variable to revert.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.RevertBuiltInVariableResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Workspace.t} | {:error, Tesla.Env.t}
Creates a Workspace.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Workspace):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Workspace{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_create_version(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.CreateContainerVersionResponse.t} | {:error, Tesla.Env.t}
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.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (CreateContainerVersionRequestVersionOptions):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.CreateContainerVersionResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_folders_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Folder.t} | {:error, Tesla.Env.t}
Creates a GTM Folder.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Folder):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Folder{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_folders_entities(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.FolderEntities.t} | {:error, Tesla.Env.t}
List all entities in a GTM Folder.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.FolderEntities{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_folders_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListFoldersResponse.t} | {:error, Tesla.Env.t}
Lists all GTM Folders of a Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListFoldersResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_folders_move_entities_to_folder(Tesla.Env.client, String.t, keyword) :: {:ok, nil} | {:error, Tesla.Env.t}
Moves entities to a GTM Folder.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :tag_id (List[String]): The tags to be moved to the folder.
- :trigger_id (List[String]): The triggers to be moved to the folder.
- :variable_id (List[String]): The variables to be moved to the folder.
- :body (Folder):
Returns
{:ok, %{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_get_status(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.GetWorkspaceStatusResponse.t} | {:error, Tesla.Env.t}
Finds conflicting and modified entities in the workspace.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.GetWorkspaceStatusResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListWorkspacesResponse.t} | {:error, Tesla.Env.t}
Lists all Workspaces that belong to a GTM Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListWorkspacesResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_proposal_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.WorkspaceProposal.t} | {:error, Tesla.Env.t}
Creates a GTM Workspace Proposal.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{aid}/containers/{cid}/workspace/{wid}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (CreateWorkspaceProposalRequest):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.WorkspaceProposal{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_quick_preview(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.QuickPreviewResponse.t} | {:error, Tesla.Env.t}
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.QuickPreviewResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_resolve_conflict(Tesla.Env.client, String.t, keyword) :: {:ok, nil} | {:error, Tesla.Env.t}
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :fingerprint (String): When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.
- :body (Entity):
Returns
{:ok, %{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_sync(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.SyncWorkspaceResponse.t} | {:error, Tesla.Env.t}
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.SyncWorkspaceResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_tags_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Tag.t} | {:error, Tesla.Env.t}
Creates a GTM Tag.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Tag):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Tag{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_tags_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListTagsResponse.t} | {:error, Tesla.Env.t}
Lists all GTM Tags of a Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListTagsResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_triggers_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Trigger.t} | {:error, Tesla.Env.t}
Creates a GTM Trigger.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Trigger):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Trigger{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_triggers_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListTriggersResponse.t} | {:error, Tesla.Env.t}
Lists all GTM Triggers of a Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListTriggersResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_variables_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.Variable.t} | {:error, Tesla.Env.t}
Creates a GTM Variable.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Variable):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.Variable{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_variables_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListVariablesResponse.t} | {:error, Tesla.Env.t}
Lists all GTM Variables of a Container.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListVariablesResponse{}} on success {:error, info} on failure
tagmanager_accounts_containers_workspaces_variables_revert(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.RevertVariableResponse.t} | {:error, Tesla.Env.t}
Reverts changes to a GTM Variable in a GTM Workspace.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :fingerprint (String): When provided, this fingerprint must match the fingerprint of the variable in storage.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.RevertVariableResponse{}} on success {:error, info} on failure
tagmanager_accounts_list(Tesla.Env.client, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListAccountsResponse.t} | {:error, Tesla.Env.t}
Lists all GTM Accounts that a user has access to.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListAccountsResponse{}} on success {:error, info} on failure
tagmanager_accounts_user_permissions_create(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.UserPermission.t} | {:error, Tesla.Env.t}
Creates a user's Account & Container access.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Account's API relative path. Example: accounts/{account_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (UserPermission):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.UserPermission{}} on success {:error, info} on failure
tagmanager_accounts_user_permissions_delete(Tesla.Env.client, String.t, keyword) :: {:ok, nil} | {:error, Tesla.Env.t}
Removes a user from the account, revoking access to it and all of its containers.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :type (List[String]): The types of built-in variables to delete.
Returns
{:ok, %{}} on success {:error, info} on failure
tagmanager_accounts_user_permissions_get(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.UserPermission.t} | {:error, Tesla.Env.t}
Gets a user's Account & Container access.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :container_version_id (String): The GTM ContainerVersion ID. Specify published to retrieve the currently published version.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.UserPermission{}} on success {:error, info} on failure
tagmanager_accounts_user_permissions_list(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.ListUserPermissionsResponse.t} | {:error, Tesla.Env.t}
List all users that have access to the account along with Account and Container user access granted to each of them.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- parent (String): GTM Accounts's API relative path. Example: accounts/{account_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :page_token (String): Continuation token for fetching the next page of results.
Returns
{:ok, %GoogleApi.TagManager.V2.Model.ListUserPermissionsResponse{}} on success {:error, info} on failure
tagmanager_accounts_user_permissions_update(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.TagManager.V2.Model.UserPermission.t} | {:error, Tesla.Env.t}
Updates a user's Account & Container access.
Parameters
- connection (GoogleApi.TagManager.V2.Connection): Connection to server
- path (String): GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :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.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (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. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (UserPermission): When provided, this fingerprint must match the fingerprint of the variable in storage.
- :body2 (Variable):
Returns
{:ok, %GoogleApi.TagManager.V2.Model.UserPermission{}} on success {:error, info} on failure