class AccountsContainersWorkspacesClients extends Resource (View source)

The "clients" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $clients = $tagmanagerService->accounts_containers_workspaces_clients;

Methods

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

Creates a GTM Client. (clients.create)

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

Deletes a GTM Client. (clients.delete)

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

Gets a GTM Client. (clients.get)

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

Lists all GTM Clients of a GTM container workspace.

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

Reverts changes to a GTM Client in a GTM Workspace. (clients.revert)

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

Updates a GTM Client. (clients.update)

Details

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

Creates a GTM Client. (clients.create)

Parameters

string $parent

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

Client $postBody
array $optParams

Optional parameters.

Return Value

Client

Exceptions

Exception

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

Deletes a GTM Client. (clients.delete)

Parameters

string $path

GTM Client's API relative path. Example: accounts/{accoun t_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets a GTM Client. (clients.get)

Parameters

string $path

GTM Client's API relative path. Example: accounts/{accoun t_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

array $optParams

Optional parameters.

Return Value

Client

Exceptions

Exception

ListClientsResponse listAccountsContainersWorkspacesClients(string $parent, array $optParams = [])

Lists all GTM Clients of a GTM container workspace.

(clients.listAccountsContainersWorkspacesClients)

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

ListClientsResponse

Exceptions

Exception

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

Reverts changes to a GTM Client in a GTM Workspace. (clients.revert)

Parameters

string $path

GTM Client's API relative path. Example: accounts/{accoun t_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

array $optParams

Optional parameters.

Return Value

RevertClientResponse

Exceptions

Exception

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

Updates a GTM Client. (clients.update)

Parameters

string $path

GTM Client's API relative path. Example: accounts/{accoun t_id}/containers/{container_id}/workspaces/{workspace_id}/clients/{client_id}

Client $postBody
array $optParams

Optional parameters.

Return Value

Client

Exceptions

Exception