AccountsContainersWorkspaces
class AccountsContainersWorkspaces extends Resource (View source)
The "workspaces" collection of methods.
Typical usage is:
$tagmanagerService = new Google\Service\TagManager(...);
$workspaces = $tagmanagerService->accounts_containers_workspaces;
Methods
Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version. (workspaces.create_version)
Deletes a Workspace. (workspaces.delete)
Finds conflicting and modified entities in the workspace.
Lists all Workspaces that belong to a GTM Container.
Quick previews a workspace by creating a fake container version from all entities in the provided workspace. (workspaces.quick_preview)
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request. (workspaces.resolve_conflict)
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
Details
Workspace
create(string $parent, Workspace $postBody, array $optParams = [])
Creates a Workspace. (workspaces.create)
CreateContainerVersionResponse
create_version(string $path, CreateContainerVersionRequestVersionOptions $postBody, array $optParams = [])
Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version. (workspaces.create_version)
delete(string $path, array $optParams = [])
Deletes a Workspace. (workspaces.delete)
Workspace
get(string $path, array $optParams = [])
Gets a Workspace. (workspaces.get)
GetWorkspaceStatusResponse
getStatus(string $path, array $optParams = [])
Finds conflicting and modified entities in the workspace.
(workspaces.getStatus)
ListWorkspacesResponse
listAccountsContainersWorkspaces(string $parent, array $optParams = [])
Lists all Workspaces that belong to a GTM Container.
(workspaces.listAccountsContainersWorkspaces)
QuickPreviewResponse
quick_preview(string $path, array $optParams = [])
Quick previews a workspace by creating a fake container version from all entities in the provided workspace. (workspaces.quick_preview)
resolve_conflict(string $path, Entity $postBody, array $optParams = [])
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request. (workspaces.resolve_conflict)
SyncWorkspaceResponse
sync(string $path, array $optParams = [])
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
(workspaces.sync)