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

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

Defines the conditions to exclude users from the audience.

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

Returns a new instance of ExcludeConditions.



4562
4563
4564
# File 'generated/google/apis/analytics_v3/classes.rb', line 4562

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

Instance Attribute Details

#exclusion_durationString

Whether to make the exclusion TEMPORARY or PERMANENT. Corresponds to the JSON property exclusionDuration

Returns:

  • (String)


4555
4556
4557
# File 'generated/google/apis/analytics_v3/classes.rb', line 4555

def exclusion_duration
  @exclusion_duration
end

#segmentString

The segment condition that will cause a user to be removed from an audience. Corresponds to the JSON property segment

Returns:

  • (String)


4560
4561
4562
# File 'generated/google/apis/analytics_v3/classes.rb', line 4560

def segment
  @segment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4567
4568
4569
4570
# File 'generated/google/apis/analytics_v3/classes.rb', line 4567

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