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.



2180
2181
2182
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2180

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)


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