Class: Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition

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

Overview

A state based audience definition that will cause a user to be added or removed from an audience.

Defined Under Namespace

Classes: ExcludeConditions

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) ⇒ StateBasedAudienceDefinition

Returns a new instance of StateBasedAudienceDefinition



4757
4758
4759
# File 'generated/google/apis/analytics_v3/classes.rb', line 4757

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

Instance Attribute Details

#exclude_conditionsGoogle::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions

Defines the conditions to exclude users from the audience. Corresponds to the JSON property excludeConditions



4750
4751
4752
# File 'generated/google/apis/analytics_v3/classes.rb', line 4750

def exclude_conditions
  @exclude_conditions
end

#include_conditionsGoogle::Apis::AnalyticsV3::IncludeConditions

JSON template for an Analytics Remarketing Include Conditions. Corresponds to the JSON property includeConditions



4755
4756
4757
# File 'generated/google/apis/analytics_v3/classes.rb', line 4755

def include_conditions
  @include_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4762
4763
4764
4765
# File 'generated/google/apis/analytics_v3/classes.rb', line 4762

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