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.


977
978
979
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 977

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)

969
970
971
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 969

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


975
976
977
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 975

def or_filters_for_segment
  @or_filters_for_segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


982
983
984
985
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 982

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