Class: Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Represents a targeting rule of the form: User never had scope
before.
Instance Attribute Summary collapse
-
#scope ⇒ Google::Apis::AndroidpublisherV3::TargetingRuleScope
Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AcquisitionTargetingRule
constructor
A new instance of AcquisitionTargetingRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AcquisitionTargetingRule
Returns a new instance of AcquisitionTargetingRule.
80 81 82 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 80 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scope ⇒ Google::Apis::AndroidpublisherV3::TargetingRuleScope
Defines the scope of subscriptions which a targeting rule can match to target
offers to users based on past or current entitlement.
Corresponds to the JSON property scope
78 79 80 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 78 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
85 86 87 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 85 def update!(**args) @scope = args[:scope] if args.key?(:scope) end |