Class AccountsResource.ContainersResource.WorkspacesResource.FoldersResource
The "folders" collection of methods.
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.FoldersResource
Constructors
FoldersResource(IClientService)
Constructs a new resource.
Declaration
public FoldersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Folder, string)
Creates a GTM Folder.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.CreateRequest Create(Folder body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Folder | body | The body of the request. |
string | parent | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.CreateRequest |
Delete(string)
Deletes a GTM Folder.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.DeleteRequest Delete(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.DeleteRequest |
Entities(string)
List all entities in a GTM Folder.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.EntitiesRequest Entities(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.EntitiesRequest |
Get(string)
Gets a GTM Folder.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.GetRequest Get(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.GetRequest |
List(string)
Lists all GTM Folders of a Container.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.ListRequest |
MoveEntitiesToFolder(Folder, string)
Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.MoveEntitiesToFolderRequest MoveEntitiesToFolder(Folder body, string path)
Parameters
Type | Name | Description |
---|---|---|
Folder | body | The body of the request. |
string | path | GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.MoveEntitiesToFolderRequest |
Revert(string)
Reverts changes to a GTM Folder in a GTM Workspace.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.RevertRequest Revert(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.RevertRequest |
Update(Folder, string)
Updates a GTM Folder.
Declaration
public virtual AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.UpdateRequest Update(Folder body, string path)
Parameters
Type | Name | Description |
---|---|---|
Folder | body | The body of the request. |
string | path | GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id} |
Returns
Type | Description |
---|---|
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.UpdateRequest |