Class AccountsResource.ContainersResource.WorkspacesResource
The "workspaces" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource
Constructors
WorkspacesResource(IClientService)
Constructs a new resource.
Declaration
public WorkspacesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
BuiltInVariables
Gets the BuiltInVariables resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource BuiltInVariables { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.BuiltInVariablesResource |
Clients
Gets the Clients resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.ClientsResource Clients { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.ClientsResource |
Folders
Gets the Folders resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource Folders { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource |
GtagConfig
Gets the GtagConfig resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.GtagConfigResource GtagConfig { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.GtagConfigResource |
Tags
Gets the Tags resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TagsResource Tags { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TagsResource |
Templates
Gets the Templates resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource Templates { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource |
Transformations
Gets the Transformations resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TransformationsResource Transformations { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TransformationsResource |
Triggers
Gets the Triggers resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.TriggersResource Triggers { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.TriggersResource |
Variables
Gets the Variables resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.VariablesResource Variables { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.VariablesResource |
Zones
Gets the Zones resource.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.ZonesResource Zones { get; }
Property Value
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.ZonesResource |
Methods
Create(Workspace, string)
Creates a Workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.CreateRequest Create(Workspace body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Workspace | body | The body of the request. |
string | parent | GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.CreateRequest |
CreateVersion(CreateContainerVersionRequestVersionOptions, string)
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.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.CreateVersionRequest CreateVersion(CreateContainerVersionRequestVersionOptions body, string path)
Parameters
Type | Name | Description |
---|---|---|
CreateContainerVersionRequestVersionOptions | body | The body of the request. |
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.CreateVersionRequest |
Delete(string)
Deletes a Workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.DeleteRequest |
Get(string)
Gets a Workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.GetRequest |
GetStatus(string)
Finds conflicting and modified entities in the workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.GetStatusRequest GetStatus(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.GetStatusRequest |
List(string)
Lists all Workspaces that belong to a GTM Container.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.ListRequest |
QuickPreview(string)
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.QuickPreviewRequest QuickPreview(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.QuickPreviewRequest |
ResolveConflict(Entity, string)
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.ResolveConflictRequest ResolveConflict(Entity body, string path)
Parameters
Type | Name | Description |
---|---|---|
Entity | body | The body of the request. |
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.ResolveConflictRequest |
Sync(string)
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.SyncRequest Sync(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.SyncRequest |
Update(Workspace, string)
Updates a Workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.UpdateRequest Update(Workspace body, string path)
Parameters
Type | Name | Description |
---|---|---|
Workspace | body | The body of the request. |
string | path | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.UpdateRequest |