class Google::Apis::TagmanagerV1::Variable
Attributes
GTM Account ID. Corresponds to the JSON property `accountId` @return [String]
GTM Container ID. Corresponds to the JSON property `containerId` @return [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. Corresponds to the JSON property `disablingTriggerId` @return [Array<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. Corresponds to the JSON property `enablingTriggerId` @return [Array<String>]
The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. Corresponds to the JSON property `fingerprint` @return [String]
Variable display name. Corresponds to the JSON property `name` @return [String]
User notes on how to apply this variable in the container. Corresponds to the JSON property `notes` @return [String]
The variable's parameters. Corresponds to the JSON property `parameter` @return [Array<Google::Apis::TagmanagerV1::Parameter>]
Parent folder id. Corresponds to the JSON property `parentFolderId` @return [String]
The end timestamp in milliseconds to schedule a variable. Corresponds to the JSON property `scheduleEndMs` @return [String]
The start timestamp in milliseconds to schedule a variable. Corresponds to the JSON property `scheduleStartMs` @return [String]
GTM Variable Type. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/tagmanager_v1/classes.rb, line 1471 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/tagmanager_v1/classes.rb, line 1476 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @container_id = args[:container_id] if args.key?(:container_id) @disabling_trigger_id = args[:disabling_trigger_id] if args.key?(:disabling_trigger_id) @enabling_trigger_id = args[:enabling_trigger_id] if args.key?(:enabling_trigger_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @parameter = args[:parameter] if args.key?(:parameter) @parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id) @schedule_end_ms = args[:schedule_end_ms] if args.key?(:schedule_end_ms) @schedule_start_ms = args[:schedule_start_ms] if args.key?(:schedule_start_ms) @type = args[:type] if args.key?(:type) @variable_id = args[:variable_id] if args.key?(:variable_id) end