Class: Google::Apis::AnalyticsreportingV4::SequenceSegment
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::SequenceSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
Sequence conditions consist of one or more steps, where each step is defined by one or more dimension/metric conditions. Multiple steps can be combined with special sequence operators.
Instance Attribute Summary collapse
-
#first_step_should_match_first_hit ⇒ Boolean
(also: #first_step_should_match_first_hit?)
If set, first step condition must match the first hit of the visitor (in the date range).
-
#segment_sequence_steps ⇒ Array<Google::Apis::AnalyticsreportingV4::SegmentSequenceStep>
The list of steps in the sequence.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SequenceSegment
constructor
A new instance of SequenceSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SequenceSegment
Returns a new instance of SequenceSegment
1443 1444 1445 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1443 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first_step_should_match_first_hit ⇒ Boolean Also known as: first_step_should_match_first_hit?
If set, first step condition must match the first hit of the visitor (in
the date range).
Corresponds to the JSON property firstStepShouldMatchFirstHit
1435 1436 1437 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1435 def first_step_should_match_first_hit @first_step_should_match_first_hit end |
#segment_sequence_steps ⇒ Array<Google::Apis::AnalyticsreportingV4::SegmentSequenceStep>
The list of steps in the sequence.
Corresponds to the JSON property segmentSequenceSteps
1441 1442 1443 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1441 def segment_sequence_steps @segment_sequence_steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1448 1449 1450 1451 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1448 def update!(**args) @first_step_should_match_first_hit = args[:first_step_should_match_first_hit] if args.key?(:first_step_should_match_first_hit) @segment_sequence_steps = args[:segment_sequence_steps] if args.key?(:segment_sequence_steps) end |