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

Constructor Details

#initialize(**args) ⇒ SegmentSequenceStep

Returns a new instance of SegmentSequenceStep.



1860
1861
1862
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1860

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)


1852
1853
1854
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1852

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



1858
1859
1860
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1858

def or_filters_for_segment
  @or_filters_for_segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1865
1866
1867
1868
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1865

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