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.



1396
1397
1398
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1396

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 (For example, 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)


1375
1376
1377
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1375

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



1380
1381
1382
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1380

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)


1388
1389
1390
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1388

def immediately_follows
  @immediately_follows
end

#scopeString

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

Returns:

  • (String)


1394
1395
1396
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1394

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1401
1402
1403
1404
1405
1406
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1401

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