class AccountsContainersWorkspacesBuiltInVariables extends Resource (View source)

The "built_in_variables" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $built_in_variables = $tagmanagerService->accounts_containers_workspaces_built_in_variables;

Methods

create(string $parent, array $optParams = [])

Creates one or more GTM Built-In Variables. (built_in_variables.create)

delete(string $path, array $optParams = [])

Deletes one or more GTM Built-In Variables. (built_in_variables.delete)

listAccountsContainersWorkspacesBuiltInVariables(string $parent, array $optParams = [])

Lists all the enabled Built-In Variables of a GTM Container.

revert(string $path, array $optParams = [])

Reverts changes to a GTM Built-In Variables in a GTM Workspace.

Details

CreateBuiltInVariableResponse create(string $parent, array $optParams = [])

Creates one or more GTM Built-In Variables. (built_in_variables.create)

Parameters

string $parent

GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

array $optParams

Optional parameters.

Return Value

CreateBuiltInVariableResponse

Exceptions

Exception

delete(string $path, array $optParams = [])

Deletes one or more GTM Built-In Variables. (built_in_variables.delete)

Parameters

string $path

GTM BuiltInVariable's API relative path. Example: account s/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_v ariables

array $optParams

Optional parameters.

Exceptions

Exception

ListEnabledBuiltInVariablesResponse listAccountsContainersWorkspacesBuiltInVariables(string $parent, array $optParams = [])

Lists all the enabled Built-In Variables of a GTM Container.

(built_in_variables.listAccountsContainersWorkspacesBuiltInVariables)

Parameters

string $parent

GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

array $optParams

Optional parameters.

Return Value

ListEnabledBuiltInVariablesResponse

Exceptions

Exception

RevertBuiltInVariableResponse revert(string $path, array $optParams = [])

Reverts changes to a GTM Built-In Variables in a GTM Workspace.

(built_in_variables.revert)

Parameters

string $path

GTM BuiltInVariable's API relative path. Example: account s/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_v ariables

array $optParams

Optional parameters.

Return Value

RevertBuiltInVariableResponse

Exceptions

Exception