Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

A condition that must occur in the specified step order for this user to match the sequence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep

Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep.



1305
1306
1307
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1305

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

Instance Attribute Details

#constraint_durationString

Optional. When set, this step must be satisfied within the constraint_duration of the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not set, there is no duration requirement (the duration is effectively unlimited). It is ignored for the first step. Corresponds to the JSON property constraintDuration

Returns:

  • (String)


1284
1285
1286
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1284

def constraint_duration
  @constraint_duration
end

#filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpression

A logical expression of Audience dimension, metric, or event filters. Corresponds to the JSON property filterExpression



1289
1290
1291
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1289

def filter_expression
  @filter_expression
end

#immediately_followsBoolean Also known as: immediately_follows?

Optional. If true, the event satisfying this step must be the very next event after the event satisfying the last step. If unset or false, this step indirectly follows the prior step; for example, there may be events between the prior step and this step. It is ignored for the first step. Corresponds to the JSON property immediatelyFollows

Returns:

  • (Boolean)


1297
1298
1299
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1297

def immediately_follows
  @immediately_follows
end

#scopeString

Required. Immutable. Specifies the scope for this step. Corresponds to the JSON property scope

Returns:

  • (String)


1303
1304
1305
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1303

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1310
1311
1312
1313
1314
1315
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1310

def update!(**args)
  @constraint_duration = args[:constraint_duration] if args.key?(:constraint_duration)
  @filter_expression = args[:filter_expression] if args.key?(:filter_expression)
  @immediately_follows = args[:immediately_follows] if args.key?(:immediately_follows)
  @scope = args[:scope] if args.key?(:scope)
end