class AccountsContainersWorkspacesTransformations extends Resource (View source)

The "transformations" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $transformations = $tagmanagerService->accounts_containers_workspaces_transformations;

Methods

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

Creates a GTM Transformation. (transformations.create)

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

Deletes a GTM Transformation. (transformations.delete)

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

Gets a GTM Transformation. (transformations.get)

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

Lists all GTM Transformations of a GTM container workspace.

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

Reverts changes to a GTM Transformation in a GTM Workspace.

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

Updates a GTM Transformation. (transformations.update)

Details

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

Creates a GTM Transformation. (transformations.create)

Parameters

string $parent

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

Transformation $postBody
array $optParams

Optional parameters.

Return Value

Transformation

Exceptions

Exception

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

Deletes a GTM Transformation. (transformations.delete)

Parameters

string $path

GTM Transformation's API relative path. Example: accounts /{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformat ions/{transformation_id}

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets a GTM Transformation. (transformations.get)

Parameters

string $path

GTM Transformation's API relative path. Example: accounts /{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformat ions/{transformation_id}

array $optParams

Optional parameters.

Return Value

Transformation

Exceptions

Exception

ListTransformationsResponse listAccountsContainersWorkspacesTransformations(string $parent, array $optParams = [])

Lists all GTM Transformations of a GTM container workspace.

(transformations.listAccountsContainersWorkspacesTransformations)

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

ListTransformationsResponse

Exceptions

Exception

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

Reverts changes to a GTM Transformation in a GTM Workspace.

(transformations.revert)

Parameters

string $path

GTM Transformation's API relative path. Example: accounts /{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformat ions/{transformation_id}

array $optParams

Optional parameters.

Return Value

RevertTransformationResponse

Exceptions

Exception

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

Updates a GTM Transformation. (transformations.update)

Parameters

string $path

GTM Transformation's API relative path. Example: accounts /{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformat ions/{transformation_id}

Transformation $postBody
array $optParams

Optional parameters.

Return Value

Transformation

Exceptions

Exception