Variable class

Represents a Google Tag Manager Variable.

Constructors

Variable()
Variable.fromJson(Map _json)

Properties

accountId String
GTM Account ID.
read / write
containerId String
GTM Container ID.
read / write
disablingTriggerId List<String>
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.
read / write
enablingTriggerId List<String>
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.
read / write
fingerprint String
The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
read / write
name String
Variable display name.
read / write
notes String
User notes on how to apply this variable in the container.
read / write
parameter List<Parameter>
The variable's parameters.
read / write
parentFolderId String
Parent folder id.
read / write
scheduleEndMs String
The end timestamp in milliseconds to schedule a variable.
read / write
scheduleStartMs String
The start timestamp in milliseconds to schedule a variable.
read / write
type String
GTM Variable Type.
read / write
variableId String
The Variable ID uniquely identifies the GTM Variable.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited