Class: Google::Apis::AndroidpublisherV3::ExternalSubscription

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalSubscription

Returns a new instance of ExternalSubscription.



2194
2195
2196
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2194

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

Instance Attribute Details

#subscription_typeString

Required. The type of the external subscription. Corresponds to the JSON property subscriptionType

Returns:

  • (String)


2192
2193
2194
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2192

def subscription_type
  @subscription_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2199
2200
2201
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2199

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