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.



4538
4539
4540
# File 'generated/google/apis/analytics_v3/classes.rb', line 4538

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



4531
4532
4533
# File 'generated/google/apis/analytics_v3/classes.rb', line 4531

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



4536
4537
4538
# File 'generated/google/apis/analytics_v3/classes.rb', line 4536

def include_conditions
  @include_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4543
4544
4545
4546
# File 'generated/google/apis/analytics_v3/classes.rb', line 4543

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