Class AccountsResource.ContainersResource.WorkspacesResource.BulkUpdateRequest
Applies multiple entity changes to a workspace in one call. When creating new entities, their entity IDs must be unique and in correct format. That is, they must start with "new_" and followed by number, e.g. "new_1", "new_2". Example body snippet to create myNewTag under myNewFolder is:
"changes": [ { "folder": { "folderId": "new_1", "name": "myNewFolder", ... }, "changeStatus":
"added" }, { "tag": { "tagId": "new_2", "name": "myNewTag", "parentFolderId": "new_1", ... },
"changeStatus": "added" } ]
Inheritance
AccountsResource.ContainersResource.WorkspacesResource.BulkUpdateRequest
Inherited Members
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class AccountsResource.ContainersResource.WorkspacesResource.BulkUpdateRequest : TagManagerBaseServiceRequest<BulkUpdateWorkspaceResponse>, IClientServiceRequest<BulkUpdateWorkspaceResponse>, IClientServiceRequest
Constructors
BulkUpdateRequest(IClientService, ProposedChange, string)
Constructs a new BulkUpdate request.
Declaration
public BulkUpdateRequest(IClientService service, ProposedChange body, string path)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ProposedChange | 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 Workspace's API relative path.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes BulkUpdate parameter list.
Declaration
protected override void InitParameters()