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



4703
4704
4705
# File 'generated/google/apis/analytics_v3/classes.rb', line 4703

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



4696
4697
4698
# File 'generated/google/apis/analytics_v3/classes.rb', line 4696

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



4701
4702
4703
# File 'generated/google/apis/analytics_v3/classes.rb', line 4701

def include_conditions
  @include_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4708
4709
4710
4711
# File 'generated/google/apis/analytics_v3/classes.rb', line 4708

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