class AccountsContainersDestinations extends Resource (View source)

The "destinations" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $destinations = $tagmanagerService->accounts_containers_destinations;

Methods

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

Gets a Destination. (destinations.get)

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

Adds a Destination to this Container and removes it from the Container to which it is currently linked. (destinations.link)

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

Lists all Destinations linked to a GTM Container.

Details

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

Gets a Destination. (destinations.get)

Parameters

string $path

Google Tag Destination's API relative path. Example: acco unts/{account_id}/containers/{container_id}/destinations/{destination_link_id }

array $optParams

Optional parameters.

Return Value

Destination

Exceptions

Exception

Adds a Destination to this Container and removes it from the Container to which it is currently linked. (destinations.link)

Parameters

string $parent

GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}

array $optParams

Optional parameters.

Return Value

Destination

Exceptions

Exception

ListDestinationsResponse listAccountsContainersDestinations(string $parent, array $optParams = [])

Lists all Destinations linked to a GTM Container.

(destinations.listAccountsContainersDestinations)

Parameters

string $parent

GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}

array $optParams

Optional parameters.

Return Value

ListDestinationsResponse

Exceptions

Exception