Class: Google::Apis::AndroidpublisherV3::ExternalSubscription
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::ExternalSubscription
- 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
Details of an external subscription.
Instance Attribute Summary collapse
-
#subscription_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalSubscription
constructor
A new instance of ExternalSubscription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExternalSubscription
Returns a new instance of ExternalSubscription.
2180 2181 2182 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subscription_type ⇒ String
Required. The type of the external subscription.
Corresponds to the JSON property subscriptionType
2178 2179 2180 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2178 def subscription_type @subscription_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2185 2186 2187 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2185 def update!(**args) @subscription_type = args[:subscription_type] if args.key?(:subscription_type) end |