Class: Google::Apis::AnalyticsreportingV4::SegmentSequenceStep

Inherits:
Object
  • Object
show all
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

A segment sequence definition.

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) ⇒ SegmentSequenceStep

Returns a new instance of SegmentSequenceStep



1414
1415
1416
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1414

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

Instance Attribute Details

#match_typeString

Specifies if the step immediately precedes or can be any time before the next step. Corresponds to the JSON property matchType

Returns:

  • (String)


1406
1407
1408
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1406

def match_type
  @match_type
end

#or_filters_for_segmentArray<Google::Apis::AnalyticsreportingV4::OrFiltersForSegment>

A sequence is specified with a list of Or grouped filters which are combined with AND operator. Corresponds to the JSON property orFiltersForSegment



1412
1413
1414
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1412

def or_filters_for_segment
  @or_filters_for_segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1419
1420
1421
1422
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1419

def update!(**args)
  @match_type = args[:match_type] if args.key?(:match_type)
  @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment)
end