Class AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.RevertRequest
Reverts changes to a GTM Template in a GTM Workspace.
Inheritance
System.Object
AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.RevertRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.TagManager.v2
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class RevertRequest : TagManagerBaseServiceRequest<RevertTemplateResponse>, IClientServiceRequest<RevertTemplateResponse>, IClientServiceRequest
Constructors
RevertRequest(IClientService, String)
Constructs a new Revert request.
Declaration
public RevertRequest(IClientService service, string path)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | path |
Properties
Fingerprint
When provided, this fingerprint must match the fingerprint of the template in storage.
Declaration
[RequestParameter("fingerprint", RequestParameterType.Query)]
public virtual string Fingerprint { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.RevertTemplateResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.RevertTemplateResponse>.MethodName
Path
GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/ {container_id}/workspaces/{workspace_id}/templates/{template_id}
Declaration
[RequestParameter("path", RequestParameterType.Path)]
public virtual string Path { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.RevertTemplateResponse>.RestPath
Methods
InitParameters()
Initializes Revert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.TagManager.v2.TagManagerBaseServiceRequest<Google.Apis.TagManager.v2.Data.RevertTemplateResponse>.InitParameters()