Class AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.UpdateRequest
Updates a GTM Template.
Inheritance
System.Object
AccountsResource.ContainersResource.WorkspacesResource.TemplatesResource.UpdateRequest
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 UpdateRequest : TagManagerBaseServiceRequest<CustomTemplate>, IClientServiceRequest<CustomTemplate>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, CustomTemplate, String)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, CustomTemplate body, string path)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CustomTemplate | body | |
| System.String | path |
Properties
Fingerprint
When provided, this fingerprint must match the fingerprint of the templates 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.CustomTemplate>.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.CustomTemplate>.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.CustomTemplate>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v2.Data.CustomTemplate>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.TagManager.v2.TagManagerBaseServiceRequest<Google.Apis.TagManager.v2.Data.CustomTemplate>.InitParameters()