class AccountsContainersWorkspacesZones extends Resource (View source)

The "zones" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $zones = $tagmanagerService->accounts_containers_workspaces_zones;

Methods

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

Creates a GTM Zone. (zones.create)

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

Deletes a GTM Zone. (zones.delete)

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

Gets a GTM Zone. (zones.get)

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

Lists all GTM Zones of a GTM container workspace.

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

Reverts changes to a GTM Zone in a GTM Workspace. (zones.revert)

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

Updates a GTM Zone. (zones.update)

Details

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

Creates a GTM Zone. (zones.create)

Parameters

string $parent

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

Zone $postBody
array $optParams

Optional parameters.

Return Value

Zone

Exceptions

Exception

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

Deletes a GTM Zone. (zones.delete)

Parameters

string $path

GTM Zone's API relative path. Example: accounts/{account_ id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets a GTM Zone. (zones.get)

Parameters

string $path

GTM Zone's API relative path. Example: accounts/{account_ id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

array $optParams

Optional parameters.

Return Value

Zone

Exceptions

Exception

ListZonesResponse listAccountsContainersWorkspacesZones(string $parent, array $optParams = [])

Lists all GTM Zones of a GTM container workspace.

(zones.listAccountsContainersWorkspacesZones)

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

ListZonesResponse

Exceptions

Exception

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

Reverts changes to a GTM Zone in a GTM Workspace. (zones.revert)

Parameters

string $path

GTM Zone's API relative path. Example: accounts/{account_ id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

array $optParams

Optional parameters.

Return Value

RevertZoneResponse

Exceptions

Exception

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

Updates a GTM Zone. (zones.update)

Parameters

string $path

GTM Zone's API relative path. Example: accounts/{account_ id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}

Zone $postBody
array $optParams

Optional parameters.

Return Value

Zone

Exceptions

Exception