Class: Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions
- 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
-
#exclusion_duration ⇒ String
Whether to make the exclusion TEMPORARY or PERMANENT.
-
#segment ⇒ String
The segment condition that will cause a user to be removed from an audience.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExcludeConditions
constructor
A new instance of ExcludeConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExcludeConditions
Returns a new instance of ExcludeConditions
4821 4822 4823 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 4821 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusion_duration ⇒ String
Whether to make the exclusion TEMPORARY or PERMANENT.
Corresponds to the JSON property exclusionDuration
4814 4815 4816 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 4814 def exclusion_duration @exclusion_duration end |
#segment ⇒ String
The segment condition that will cause a user to be removed from an audience.
Corresponds to the JSON property segment
4819 4820 4821 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 4819 def segment @segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4826 4827 4828 4829 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 4826 def update!(**args) @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration) @segment = args[:segment] if args.key?(:segment) end |