Class Variable
Represents a Google Tag Manager Variable.
Implements
Inherited Members
Namespace: Google.Apis.TagManager.v1.Data
Assembly: Google.Apis.TagManager.v1.dll
Syntax
public class Variable : IDirectResponseSchema
Properties
AccountId
GTM Account ID.
Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
ContainerId
GTM Container ID.
Declaration
[JsonProperty("containerId")]
public virtual string ContainerId { get; set; }
Property Value
Type | Description |
---|---|
string |
DisablingTriggerId
For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("disablingTriggerId")]
public virtual IList<string> DisablingTriggerId { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnablingTriggerId
For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("enablingTriggerId")]
public virtual IList<string> EnablingTriggerId { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Fingerprint
The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
Declaration
[JsonProperty("fingerprint")]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Variable display name. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Notes
User notes on how to apply this variable in the container. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("notes")]
public virtual string Notes { get; set; }
Property Value
Type | Description |
---|---|
string |
Parameter
The variable's parameters. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("parameter")]
public virtual IList<Parameter> Parameter { get; set; }
Property Value
Type | Description |
---|---|
IList<Parameter> |
ParentFolderId
Parent folder id.
Declaration
[JsonProperty("parentFolderId")]
public virtual string ParentFolderId { get; set; }
Property Value
Type | Description |
---|---|
string |
ScheduleEndMs
The end timestamp in milliseconds to schedule a variable. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("scheduleEndMs")]
public virtual long? ScheduleEndMs { get; set; }
Property Value
Type | Description |
---|---|
long? |
ScheduleStartMs
The start timestamp in milliseconds to schedule a variable. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("scheduleStartMs")]
public virtual long? ScheduleStartMs { get; set; }
Property Value
Type | Description |
---|---|
long? |
Type
GTM Variable Type. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts.containers.variables.update
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
VariableId
The Variable ID uniquely identifies the GTM Variable.
Declaration
[JsonProperty("variableId")]
public virtual string VariableId { get; set; }
Property Value
Type | Description |
---|---|
string |