Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSequenceFilter

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

Defines filters that must occur in a specific order for the user to be a member of the Audience.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceSequenceFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceSequenceFilter.



1352
1353
1354
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1352

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

Instance Attribute Details

#scopeString

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

Returns:

  • (String)


1339
1340
1341
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1339

def scope
  @scope
end

#sequence_maximum_durationString

Optional. Defines the time period in which the whole sequence must occur. Corresponds to the JSON property sequenceMaximumDuration

Returns:

  • (String)


1344
1345
1346
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1344

def sequence_maximum_duration
  @sequence_maximum_duration
end

#sequence_stepsArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep>

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter. Corresponds to the JSON property sequenceSteps



1350
1351
1352
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1350

def sequence_steps
  @sequence_steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1357
1358
1359
1360
1361
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1357

def update!(**args)
  @scope = args[:scope] if args.key?(:scope)
  @sequence_maximum_duration = args[:sequence_maximum_duration] if args.key?(:sequence_maximum_duration)
  @sequence_steps = args[:sequence_steps] if args.key?(:sequence_steps)
end