Class: Google::Apis::AndroidpublisherV3::TargetingRuleScope
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::TargetingRuleScope
- 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
Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.
Instance Attribute Summary collapse
-
#specific_subscription_in_app ⇒ String
The scope of the current targeting rule is the subscription with the specified subscription ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetingRuleScope
constructor
A new instance of TargetingRuleScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetingRuleScope
Returns a new instance of TargetingRuleScope.
3848 3849 3850 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#specific_subscription_in_app ⇒ String
The scope of the current targeting rule is the subscription with the specified
subscription ID. Must be a subscription within the same parent app.
Corresponds to the JSON property specificSubscriptionInApp
3846 3847 3848 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3846 def specific_subscription_in_app @specific_subscription_in_app end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3853 3854 3855 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3853 def update!(**args) @specific_subscription_in_app = args[:specific_subscription_in_app] if args.key?(:specific_subscription_in_app) end |