Class AccountsResource.ContainersResource.VariablesResource.UpdateRequest
Updates a GTM Variable.
Inheritance
AccountsResource.ContainersResource.VariablesResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.TagManager.v1
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class AccountsResource.ContainersResource.VariablesResource.UpdateRequest : TagManagerBaseServiceRequest<Variable>, IClientServiceRequest<Variable>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Variable, string, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Variable body, string accountId, string containerId, string variableId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Variable | body | |
string | accountId | |
string | containerId | |
string | variableId |
Properties
AccountId
The GTM Account ID.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
ContainerId
The GTM Container ID.
Declaration
[RequestParameter("containerId", RequestParameterType.Path)]
public virtual string ContainerId { get; }
Property Value
Type | Description |
---|---|
string |
Fingerprint
When provided, this fingerprint must match the fingerprint of the variable in storage.
Declaration
[RequestParameter("fingerprint", RequestParameterType.Query)]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Variable>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Variable>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Variable>.RestPath
VariableId
The GTM Variable ID.
Declaration
[RequestParameter("variableId", RequestParameterType.Path)]
public virtual string VariableId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.TagManager.v1.Data.Variable>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()