Class: Google::Apis::TagmanagerV2::ZoneBoundary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tagmanager_v2/classes.rb,
generated/google/apis/tagmanager_v2/representations.rb,
generated/google/apis/tagmanager_v2/representations.rb

Overview

Represents a Zone's boundaries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ZoneBoundary

Returns a new instance of ZoneBoundary



2465
2466
2467
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2465

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conditionArray<Google::Apis::TagmanagerV2::Condition>

The conditions that, when conjoined, make up the boundary. Corresponds to the JSON property condition



2457
2458
2459
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2457

def condition
  @condition
end

#custom_evaluation_trigger_idArray<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

Returns:

  • (Array<String>)


2463
2464
2465
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2463

def custom_evaluation_trigger_id
  @custom_evaluation_trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2470
2471
2472
2473
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2470

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