Class AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.MoveEntitiesToFolderRequest
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.
Inheritance
AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.MoveEntitiesToFolderRequest
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.FoldersResource.MoveEntitiesToFolderRequest : TagManagerBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
MoveEntitiesToFolderRequest(IClientService, Folder, string)
Constructs a new MoveEntitiesToFolder request.
Declaration
public MoveEntitiesToFolderRequest(IClientService service, Folder body, string path)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Folder | body | |
string | path |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Path
GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
Declaration
[RequestParameter("path", RequestParameterType.Path)]
public virtual string Path { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TagId
The tags to be moved to the folder.
Declaration
[RequestParameter("tagId", RequestParameterType.Query)]
public virtual Repeatable<string> TagId { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
TriggerId
The triggers to be moved to the folder.
Declaration
[RequestParameter("triggerId", RequestParameterType.Query)]
public virtual Repeatable<string> TriggerId { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
VariableId
The variables to be moved to the folder.
Declaration
[RequestParameter("variableId", RequestParameterType.Query)]
public virtual Repeatable<string> VariableId { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes MoveEntitiesToFolder parameter list.
Declaration
protected override void InitParameters()