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.



2172
2173
2174
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2172

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)


2170
2171
2172
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2170

def subscription_type
  @subscription_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2177
2178
2179
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2177

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