AccountsContainersWorkspacesResource class

Constructors

AccountsContainersWorkspacesResource(ApiRequester client)

Methods

create(Workspace request, String parent, {String? $fields}) Future<Workspace>
Creates a Workspace.
createVersion(CreateContainerVersionRequestVersionOptions request, String path, {String? $fields}) Future<CreateContainerVersionResponse>
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.
delete(String path, {String? $fields}) Future<void>
Deletes a Workspace.
get(String path, {String? $fields}) Future<Workspace>
Gets a Workspace.
getStatus(String path, {String? $fields}) Future<GetWorkspaceStatusResponse>
Finds conflicting and modified entities in the workspace.
list(String parent, {String? pageToken, String? $fields}) Future<ListWorkspacesResponse>
Lists all Workspaces that belong to a GTM Container.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quickPreview(String path, {String? $fields}) Future<QuickPreviewResponse>
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
resolveConflict(Entity request, String path, {String? fingerprint, String? $fields}) Future<void>
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
sync(String path, {String? $fields}) Future<SyncWorkspaceResponse>
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
toString() String
A string representation of this object.
inherited
update(Workspace request, String path, {String? fingerprint, String? $fields}) Future<Workspace>
Updates a Workspace.

Operators

operator ==(Object other) bool
The equality operator.
inherited