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



4797
4798
4799
# File 'generated/google/apis/analytics_v3/classes.rb', line 4797

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



4790
4791
4792
# File 'generated/google/apis/analytics_v3/classes.rb', line 4790

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



4795
4796
4797
# File 'generated/google/apis/analytics_v3/classes.rb', line 4795

def include_conditions
  @include_conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4802
4803
4804
4805
# File 'generated/google/apis/analytics_v3/classes.rb', line 4802

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