Class: Google::Apis::TagmanagerV2::ZoneBoundary
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::ZoneBoundary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tagmanager_v2/classes.rb,
lib/google/apis/tagmanager_v2/representations.rb,
lib/google/apis/tagmanager_v2/representations.rb
Overview
Represents a Zone's boundaries.
Instance Attribute Summary collapse
-
#condition ⇒ Array<Google::Apis::TagmanagerV2::Condition>
The conditions that, when conjoined, make up the boundary.
-
#custom_evaluation_trigger_id ⇒ Array<String>
Custom evaluation trigger IDs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ZoneBoundary
constructor
A new instance of ZoneBoundary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ZoneBoundary
Returns a new instance of ZoneBoundary.
3133 3134 3135 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ Array<Google::Apis::TagmanagerV2::Condition>
The conditions that, when conjoined, make up the boundary.
Corresponds to the JSON property condition
3125 3126 3127 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3125 def condition @condition end |
#custom_evaluation_trigger_id ⇒ Array<String>
Custom evaluation trigger IDs. A zone will evaluate its boundary conditions
when any of the listed triggers are true.
Corresponds to the JSON property customEvaluationTriggerId
3131 3132 3133 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3131 def custom_evaluation_trigger_id @custom_evaluation_trigger_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3138 3139 3140 3141 |
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 3138 def update!(**args) @condition = args[:condition] if args.key?(:condition) @custom_evaluation_trigger_id = args[:custom_evaluation_trigger_id] if args.key?(:custom_evaluation_trigger_id) end |