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

API calls for all endpoints tagged Accounts.

Link to this section Summary

Functions

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

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.

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, optional_params \\ [], opts \\ []) View Source

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}.
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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_reauthorize(connection, path, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}.
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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_quick_preview(connection, path, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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_templates_create(connection, parent, optional_params \\ [], opts \\ []) View Source

Creates a GTM Custom Template.

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}
  • optional_params (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 (CustomTemplate):

Returns

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

Link to this function

tagmanager_accounts_containers_workspaces_templates_list(connection, parent, optional_params \\ [], opts \\ []) View Source

Lists all GTM Templates of a GTM container workspace.

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}
  • optional_params (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.ListTemplatesResponse{}} on success {:error, info} on failure

Link to this function

tagmanager_accounts_containers_workspaces_triggers_create(connection, parent, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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_zones_create(connection, parent, optional_params \\ [], opts \\ []) View Source

Creates a GTM Zone.

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}
  • optional_params (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 (Zone):

Returns

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

Link to this function

tagmanager_accounts_containers_workspaces_zones_list(connection, parent, optional_params \\ [], opts \\ []) View Source

Lists all GTM Zones of a GTM container workspace.

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}
  • optional_params (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.ListZonesResponse{}} on success {:error, info} on failure

Link to this function

tagmanager_accounts_containers_workspaces_zones_revert(connection, path, optional_params \\ [], opts \\ []) View Source

Reverts changes to a GTM Zone in a GTM Workspace.

Parameters

  • connection (GoogleApi.TagManager.V2.Connection): Connection to server
  • path (String.t): GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}
  • optional_params (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 zone in storage.

Returns

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

Link to this function

tagmanager_accounts_list(connection, optional_params \\ [], opts \\ []) View Source

Lists all GTM Accounts that a user has access to.

Parameters

  • connection (GoogleApi.TagManager.V2.Connection): Connection to server
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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, optional_params \\ [], opts \\ []) View Source

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}
  • optional_params (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 zone in storage.
    • :body (Zone):

Returns

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