class Google::Apis::TagmanagerV1::Rule
Attributes
account_id[RW]
GTM Account ID. Corresponds to the JSON property `accountId` @return [String]
condition[RW]
The list of conditions that make up this rule (implicit AND between them). Corresponds to the JSON property `condition` @return [Array<Google::Apis::TagmanagerV1::Condition>]
container_id[RW]
GTM Container ID. Corresponds to the JSON property `containerId` @return [String]
fingerprint[RW]
The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified. Corresponds to the JSON property `fingerprint` @return [String]
name[RW]
Rule display name. Corresponds to the JSON property `name` @return [String]
notes[RW]
User notes on how to apply this rule in the container. Corresponds to the JSON property `notes` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/tagmanager_v1/classes.rb, line 1016 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/tagmanager_v1/classes.rb, line 1021 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @condition = args[:condition] if args.key?(:condition) @container_id = args[:container_id] if args.key?(:container_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @rule_id = args[:rule_id] if args.key?(:rule_id) end