class AccountsContainersWorkspacesGtagConfig extends Resource (View source)

The "gtag_config" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $gtag_config = $tagmanagerService->accounts_containers_workspaces_gtag_config;

Methods

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

Creates a Google tag config. (gtag_config.create)

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

Deletes a Google tag config. (gtag_config.delete)

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

Gets a Google tag config. (gtag_config.get)

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

Lists all Google tag configs in a Container.

update(string $path, GtagConfig $postBody, array $optParams = [])

Updates a Google tag config. (gtag_config.update)

Details

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

Creates a Google tag config. (gtag_config.create)

Parameters

string $parent

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

GtagConfig $postBody
array $optParams

Optional parameters.

Return Value

GtagConfig

Exceptions

Exception

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

Deletes a Google tag config. (gtag_config.delete)

Parameters

string $path

Google tag config's API relative path. Example: accounts/ {account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/ {gtag_config_id}

array $optParams

Optional parameters.

Exceptions

Exception

GtagConfig get(string $path, array $optParams = [])

Gets a Google tag config. (gtag_config.get)

Parameters

string $path

Google tag config's API relative path. Example: accounts/ {account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/ {gtag_config_id}

array $optParams

Optional parameters.

Return Value

GtagConfig

Exceptions

Exception

ListGtagConfigResponse listAccountsContainersWorkspacesGtagConfig(string $parent, array $optParams = [])

Lists all Google tag configs in a Container.

(gtag_config.listAccountsContainersWorkspacesGtagConfig)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListGtagConfigResponse

Exceptions

Exception

GtagConfig update(string $path, GtagConfig $postBody, array $optParams = [])

Updates a Google tag config. (gtag_config.update)

Parameters

string $path

Google tag config's API relative path. Example: accounts/ {account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/ {gtag_config_id}

GtagConfig $postBody
array $optParams

Optional parameters.

Return Value

GtagConfig

Exceptions

Exception