Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceSimpleFilter

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 a simple filter that a user must satisfy to be a member of the Audience.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAudienceSimpleFilter

Returns a new instance of GoogleAnalyticsAdminV1alphaAudienceSimpleFilter.



1424
1425
1426
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1424

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

Instance Attribute Details

#filter_expressionGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceFilterExpression

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



1417
1418
1419
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1417

def filter_expression
  @filter_expression
end

#scopeString

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

Returns:

  • (String)


1422
1423
1424
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1422

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1429
1430
1431
1432
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 1429

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