class Google::Apis::TagmanagerV1::Trigger
Attributes
GTM Account
ID. Corresponds to the JSON property `accountId` @return [String]
Used in the case of auto event tracking. @mutable tagmanager.accounts. containers.triggers.create @mutable tagmanager.accounts.containers.triggers. update Corresponds to the JSON property `autoEventFilter` @return [Array<Google::Apis::TagmanagerV1::Condition>]
GTM Container
ID. Corresponds to the JSON property `containerId` @return [String]
Used in the case of custom event, which is fired iff all Conditions are true. @ mutable tagmanager.accounts.containers.triggers.create @mutable tagmanager. accounts.containers.triggers.update Corresponds to the JSON property `customEventFilter` @return [Array<Google::Apis::TagmanagerV1::Condition>]
The trigger will only fire iff all Conditions are true. @mutable tagmanager. accounts.containers.triggers.create @mutable tagmanager.accounts.containers. triggers.update Corresponds to the JSON property `filter` @return [Array<Google::Apis::TagmanagerV1::Condition>]
The fingerprint of the GTM Trigger
as computed at storage time. This value is recomputed whenever the trigger is modified. Corresponds to the JSON property `fingerprint` @return [String]
Trigger
display name. @mutable tagmanager.accounts.containers.triggers.create @ mutable tagmanager.accounts.containers.triggers.update Corresponds to the JSON property `name` @return [String]
Additional parameters. @mutable tagmanager.accounts.containers.workspaces. triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers. update Corresponds to the JSON property `parameter` @return [Array<Google::Apis::TagmanagerV1::Parameter>]
Parent folder id. Corresponds to the JSON property `parentFolderId` @return [String]
Defines the data layer event that causes this trigger. @mutable tagmanager. accounts.containers.triggers.create @mutable tagmanager.accounts.containers. triggers.update Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/tagmanager_v1/classes.rb, line 1472 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/tagmanager_v1/classes.rb, line 1477 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @auto_event_filter = args[:auto_event_filter] if args.key?(:auto_event_filter) @check_validation = args[:check_validation] if args.key?(:check_validation) @container_id = args[:container_id] if args.key?(:container_id) @continuous_time_min_milliseconds = args[:continuous_time_min_milliseconds] if args.key?(:continuous_time_min_milliseconds) @custom_event_filter = args[:custom_event_filter] if args.key?(:custom_event_filter) @event_name = args[:event_name] if args.key?(:event_name) @filter = args[:filter] if args.key?(:filter) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @horizontal_scroll_percentage_list = args[:horizontal_scroll_percentage_list] if args.key?(:horizontal_scroll_percentage_list) @interval = args[:interval] if args.key?(:interval) @interval_seconds = args[:interval_seconds] if args.key?(:interval_seconds) @limit = args[:limit] if args.key?(:limit) @max_timer_length_seconds = args[:max_timer_length_seconds] if args.key?(:max_timer_length_seconds) @name = args[:name] if args.key?(:name) @parameter = args[:parameter] if args.key?(:parameter) @parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id) @selector = args[:selector] if args.key?(:selector) @total_time_min_milliseconds = args[:total_time_min_milliseconds] if args.key?(:total_time_min_milliseconds) @trigger_id = args[:trigger_id] if args.key?(:trigger_id) @type = args[:type] if args.key?(:type) @unique_trigger_id = args[:unique_trigger_id] if args.key?(:unique_trigger_id) @vertical_scroll_percentage_list = args[:vertical_scroll_percentage_list] if args.key?(:vertical_scroll_percentage_list) @visibility_selector = args[:visibility_selector] if args.key?(:visibility_selector) @visible_percentage_max = args[:visible_percentage_max] if args.key?(:visible_percentage_max) @visible_percentage_min = args[:visible_percentage_min] if args.key?(:visible_percentage_min) @wait_for_tags = args[:wait_for_tags] if args.key?(:wait_for_tags) @wait_for_tags_timeout = args[:wait_for_tags_timeout] if args.key?(:wait_for_tags_timeout) end