google_api_tag_manager v0.6.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
tagmanager_accounts_containers_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Container.t()} | {:error, Tesla.Env.t()}

Creates a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Account's API relative path. Example: accounts/{account_id}.
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Container{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_environments_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_environments_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Environment.t()} | {:error, Tesla.Env.t()}

Creates a GTM Environment.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_environments_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_environments_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Environment.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_environments_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_environments_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Environment.t()} | {:error, Tesla.Env.t()}

Gets a GTM Environment.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_environments_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListEnvironmentsResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Environments of a GTM Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_environments_reauthorize(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Environment.t()} | {:error, Tesla.Env.t()}

Re-generates the authorization code for a GTM Environment.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_environments_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_environments_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Environment.t()} | {:error, Tesla.Env.t()}

Updates a GTM Environment.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Environment{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Container.t()} | {:error, Tesla.Env.t()}

Gets a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Container{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_list(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListContainersResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all Containers that belongs to a GTM Account.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Accounts's API relative path. Example: accounts/{account_id}.
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ListContainersResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Container.t()} | {:error, Tesla.Env.t()}

Updates a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Container{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_version_headers_latest(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_version_headers_latest(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ContainerVersionHeader.t()}
  | {:error, Tesla.Env.t()}

Gets the latest container version header

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_version_headers_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListContainerVersionsResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all Container Versions of a GTM Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ListContainerVersionsResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_versions_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_versions_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a Container Version.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_versions_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_versions_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t()}
  | {:error, Tesla.Env.t()}

Gets a Container Version.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_versions_live(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_versions_live(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t()}
  | {:error, Tesla.Env.t()}

Gets the live (i.e. published) container version

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_versions_publish(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.PublishContainerVersionResponse.t()}
  | {:error, Tesla.Env.t()}

Publishes a Container Version.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_versions_set_latest(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_versions_undelete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t()}
  | {:error, Tesla.Env.t()}

Undeletes a Container Version.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ContainerVersion{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_versions_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_versions_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ContainerVersion.t()}
  | {:error, Tesla.Env.t()}

Updates a Container Version.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_built_in_variables_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.CreateBuiltInVariableResponse.t()}
  | {:error, Tesla.Env.t()}

Creates one or more GTM Built-In Variables.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.CreateBuiltInVariableResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_built_in_variables_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_built_in_variables_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes one or more GTM Built-In Variables.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} 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
tagmanager_accounts_containers_workspaces_built_in_variables_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_built_in_variables_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Workspace.t()} | {:error, Tesla.Env.t()}

Creates a Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_create_version(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.CreateContainerVersionResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Folder.t()} | {:error, Tesla.Env.t()}

Creates a GTM Folder.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Folder{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Folder.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_entities(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_entities(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.FolderEntities.t()}
  | {:error, Tesla.Env.t()}

List all entities in a GTM Folder.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.FolderEntities{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Folder.t()} | {:error, Tesla.Env.t()}

Gets a GTM Folder.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Folder{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_list(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListFoldersResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Folders of a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_folders_move_entities_to_folder(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Moves entities to a GTM Folder.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: 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 (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
    • :tagId (type: list(String.t)) - The tags to be moved to the folder.
    • :triggerId (type: list(String.t)) - The triggers to be moved to the folder.
    • :variableId (type: list(String.t)) - The variables to be moved to the folder.
    • :body (type: GoogleApi.TagManager.V2.Model.Folder.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_revert(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.RevertFolderResponse.t()}
  | {:error, Tesla.Env.t()}

Reverts changes to a GTM Folder in a GTM Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.RevertFolderResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_folders_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_folders_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Folder.t()} | {:error, Tesla.Env.t()}

Updates a GTM Folder.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Folder{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Workspace.t()} | {:error, Tesla.Env.t()}

Gets a Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Workspace{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_get_status(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_get_status(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.GetWorkspaceStatusResponse.t()}
  | {:error, Tesla.Env.t()}

Finds conflicting and modified entities in the workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListWorkspacesResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all Workspaces that belong to a GTM Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_quick_preview(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_resolve_conflict(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_sync(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_sync(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_tags_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Tag.t()} | {:error, Tesla.Env.t()}

Creates a GTM Tag.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Tag{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_tags_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_tags_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Tag.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_tags_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_tags_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Tag.t()} | {:error, Tesla.Env.t()}

Gets a GTM Tag.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_tags_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListTagsResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Tags of a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ListTagsResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_tags_revert(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_tags_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.RevertTagResponse.t()}
  | {:error, Tesla.Env.t()}

Reverts changes to a GTM Tag in a GTM Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.RevertTagResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_tags_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_tags_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Tag.t()} | {:error, Tesla.Env.t()}

Updates a GTM Tag.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Tag{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_templates_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_templates_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.CustomTemplate.t()}
  | {:error, Tesla.Env.t()}

Creates a GTM Custom Template.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.CustomTemplate{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_templates_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_templates_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Template.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_templates_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_templates_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.CustomTemplate.t()}
  | {:error, Tesla.Env.t()}

Gets a GTM Template.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_templates_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListTemplatesResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Templates of a GTM container workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ListTemplatesResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_templates_revert(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_templates_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.RevertTemplateResponse.t()}
  | {:error, Tesla.Env.t()}

Reverts changes to a GTM Template in a GTM Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.RevertTemplateResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_templates_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_templates_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.CustomTemplate.t()}
  | {:error, Tesla.Env.t()}

Updates a GTM Template.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.CustomTemplate{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
tagmanager_accounts_containers_workspaces_triggers_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Trigger.t()} | {:error, Tesla.Env.t()}

Creates a GTM Trigger.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Trigger{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_triggers_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_triggers_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Trigger.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_triggers_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_triggers_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Trigger.t()} | {:error, Tesla.Env.t()}

Gets a GTM Trigger.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_triggers_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListTriggersResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Triggers of a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ListTriggersResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_triggers_revert(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_triggers_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.RevertTriggerResponse.t()}
  | {:error, Tesla.Env.t()}

Reverts changes to a GTM Trigger in a GTM Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.RevertTriggerResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_triggers_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_triggers_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Trigger.t()} | {:error, Tesla.Env.t()}

Updates a GTM Trigger.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Trigger{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.Workspace.t()} | {:error, Tesla.Env.t()}

Updates a Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Workspace{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_variables_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_variables_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Variable.t()} | {:error, Tesla.Env.t()}

Creates a GTM Variable.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Variable{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_variables_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_variables_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Variable.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_variables_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_variables_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Variable.t()} | {:error, Tesla.Env.t()}

Gets a GTM Variable.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_variables_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListVariablesResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Variables of a Container.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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

View Source
tagmanager_accounts_containers_workspaces_variables_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.RevertVariableResponse.t()}
  | {:error, Tesla.Env.t()}

Reverts changes to a GTM Variable in a GTM Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.RevertVariableResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_variables_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_variables_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Variable.t()} | {:error, Tesla.Env.t()}

Updates a GTM Variable.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Variable{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_zones_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_zones_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Zone.t()} | {:error, Tesla.Env.t()}

Creates a GTM Zone.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Zone{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_zones_delete(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_zones_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a GTM Zone.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_zones_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_zones_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Zone.t()} | {:error, Tesla.Env.t()}

Gets a GTM Zone.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_zones_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListZonesResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Zones of a GTM container workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_containers_workspaces_zones_revert(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.RevertZoneResponse.t()}
  | {:error, Tesla.Env.t()}

Reverts changes to a GTM Zone in a GTM Workspace.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.RevertZoneResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_containers_workspaces_zones_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_containers_workspaces_zones_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, GoogleApi.TagManager.V2.Model.Zone.t()} | {:error, Tesla.Env.t()}

Updates a GTM Zone.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Zone's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Zone{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_get(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.TagManager.V2.Model.Account.t()} | {:error, Tesla.Env.t()}

Gets a GTM Account.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Accounts's API relative path. Example: accounts/{account_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Account{}} on success
  • {:error, info} on failure
Link to this function

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

View Source
tagmanager_accounts_list(Tesla.Env.client(), keyword(), keyword()) ::
  {:ok, GoogleApi.TagManager.V2.Model.ListAccountsResponse.t()}
  | {:error, Tesla.Env.t()}

Lists all GTM Accounts that a user has access to.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.ListAccountsResponse{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_update(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_update(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.TagManager.V2.Model.Account.t()} | {:error, Tesla.Env.t()}

Updates a GTM Account.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM Accounts's API relative path. Example: accounts/{account_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %GoogleApi.TagManager.V2.Model.Account{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_user_permissions_create(connection, parent, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_user_permissions_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.UserPermission.t()}
  | {:error, Tesla.Env.t()}

Creates a user's Account & Container access.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Account's API relative path. Example: accounts/{account_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_user_permissions_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

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

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

tagmanager_accounts_user_permissions_get(connection, path, optional_params \\ [], opts \\ [])

View Source
tagmanager_accounts_user_permissions_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.UserPermission.t()}
  | {:error, Tesla.Env.t()}

Gets a user's Account & Container access.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_user_permissions_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  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 (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • parent (type: String.t) - GTM Accounts's API relative path. Example: accounts/{account_id}
  • optional_params (type: keyword()) - Optional parameters

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

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
tagmanager_accounts_user_permissions_update(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.TagManager.V2.Model.UserPermission.t()}
  | {:error, Tesla.Env.t()}

Updates a user's Account & Container access.

Parameters

  • connection (type: GoogleApi.TagManager.V2.Connection.t) - Connection to server
  • path (type: String.t) - GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}
  • optional_params (type: keyword()) - Optional parameters

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

Returns

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