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



731
732
733
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 731

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)


729
730
731
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 729

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



723
724
725
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 723

def or_filters_for_segment
  @or_filters_for_segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



736
737
738
739
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 736

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