google_api_tag_manager v0.1.0 GoogleApi.TagManager.V2.Api.Accounts View Source

API calls for all endpoints tagged Accounts.

Link to this section Summary

Functions

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 live (i.e. published) container version

Sets the latest version used for synchronization of workspaces when detecting conflicts and errors

Reverts changes to a GTM Built-In Variables in a GTM 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

Finds conflicting and modified entities in the workspace

Lists all Workspaces that belong to a GTM Container

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

Lists all GTM Accounts that a user has access to

Removes a user from the account, revoking access to it and all of its containers

List all users that have access to the account along with Account and Container user access granted to each of them

Link to this section Functions

Link to this function tagmanager_accounts_containers_create(connection, parent, opts \\ []) View Source
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.t): GTM Account's API relative path. Example: accounts/{account_id}.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Container):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Container{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_environments_create(connection, parent, opts \\ []) View Source
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.t): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Environment):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_environments_list(connection, parent, opts \\ []) View Source
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.t): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListEnvironmentsResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_environments_patch(connection, path, opts \\ []) View Source
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.t): GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :fingerprint (String.t): 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

Link to this function tagmanager_accounts_containers_environments_reauthorize(connection, path, opts \\ []) View Source
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.t): GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Environment):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_list(connection, parent, opts \\ []) View Source
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.t): GTM Accounts's API relative path. Example: accounts/{account_id}.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListContainersResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_version_headers_latest(connection, parent, opts \\ []) View Source
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.t): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersionHeader{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_version_headers_list(connection, parent, opts \\ []) View Source
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.t): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :includeDeleted (boolean()): Also retrieve deleted (archived) versions when true.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListContainerVersionsResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_versions_live(connection, parent, opts \\ []) View Source
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.t): GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_versions_publish(connection, path, opts \\ []) View Source
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.t): GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :fingerprint (String.t): 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

Link to this function tagmanager_accounts_containers_versions_set_latest(connection, path, opts \\ []) View Source
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.t): GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_versions_undelete(connection, path, opts \\ []) View Source
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.t): GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_built_in_variables_create(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :type ([String.t]): The types of built-in variables to enable.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.CreateBuiltInVariableResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_built_in_variables_list(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListEnabledBuiltInVariablesResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_built_in_variables_revert(connection, path, opts \\ []) View Source
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.t): 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.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :type (String.t): The type of built-in variable to revert.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.RevertBuiltInVariableResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_create(connection, parent, opts \\ []) View Source
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.t): GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Workspace):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Workspace{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_create_version(connection, path, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (CreateContainerVersionRequestVersionOptions):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.CreateContainerVersionResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_folders_create(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Folder):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Folder{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_folders_entities(connection, path, opts \\ []) View Source
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.t): 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.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.FolderEntities{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_folders_list(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListFoldersResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_folders_move_entities_to_folder(connection, path, opts \\ []) View Source
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.t): 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.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :tagId ([String.t]): The tags to be moved to the folder.
    • :triggerId ([String.t]): The triggers to be moved to the folder.
    • :variableId ([String.t]): The variables to be moved to the folder.
    • :body (Folder):

Returns

{:ok, %{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_get_status(connection, path, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.GetWorkspaceStatusResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_list(connection, parent, opts \\ []) View Source
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.t): GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListWorkspacesResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_proposal_create(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{aid}/containers/{cid}/workspace/{wid}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (CreateWorkspaceProposalRequest):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.WorkspaceProposal{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_quick_preview(connection, path, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.QuickPreviewResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_resolve_conflict(connection, path, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :fingerprint (String.t): 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

Link to this function tagmanager_accounts_containers_workspaces_sync(connection, path, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.SyncWorkspaceResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_tags_create(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Tag):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Tag{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_tags_list(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListTagsResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_triggers_create(connection, parent, opts \\ []) View Source
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.t): GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Trigger):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Trigger{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_triggers_list(connection, parent, opts \\ []) View Source
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.t): GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListTriggersResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_variables_create(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (Variable):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.Variable{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_variables_list(connection, parent, opts \\ []) View Source
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.t): GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListVariablesResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_containers_workspaces_variables_revert(connection, path, opts \\ []) View Source
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.t): 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.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :fingerprint (String.t): 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

Link to this function tagmanager_accounts_list(connection, opts \\ []) View Source
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.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListAccountsResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_user_permissions_create(connection, parent, opts \\ []) View Source
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.t): GTM Account's API relative path. Example: accounts/{account_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (UserPermission):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.UserPermission{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_user_permissions_delete(connection, path, opts \\ []) View Source
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.t): GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :type ([String.t]): The types of built-in variables to delete.

Returns

{:ok, %{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_user_permissions_get(connection, path, opts \\ []) View Source
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.t): GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :containerVersionId (String.t): 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

Link to this function tagmanager_accounts_user_permissions_list(connection, parent, opts \\ []) View Source
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.t): GTM Accounts's API relative path. Example: accounts/{account_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :pageToken (String.t): Continuation token for fetching the next page of results.

Returns

{:ok, %GoogleApi.TagManager.V2.Model.ListUserPermissionsResponse{}} on success {:error, info} on failure

Link to this function tagmanager_accounts_user_permissions_update(connection, path, opts \\ []) View Source
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.t): GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): 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.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (UserPermission): When provided, this fingerprint must match the fingerprint of the variable in storage.
    • :body (Variable):

Returns

{:ok, %GoogleApi.TagManager.V2.Model.UserPermission{}} on success {:error, info} on failure