Class: Google::Apis::AndroidpublisherV3::SubscriptionListing
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::SubscriptionListing
- 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
The consumer-visible metadata of a subscription.
Instance Attribute Summary collapse
-
#benefits ⇒ Array<String>
A list of benefits shown to the user on platforms such as the Play Store and in restoration flows in the language of this listing.
-
#description ⇒ String
The description of this subscription in the language of this listing.
-
#language_code ⇒ String
Required.
-
#title ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubscriptionListing
constructor
A new instance of SubscriptionListing.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SubscriptionListing
Returns a new instance of SubscriptionListing.
5517 5518 5519 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#benefits ⇒ Array<String>
A list of benefits shown to the user on platforms such as the Play Store and
in restoration flows in the language of this listing. Plain text. Ordered list
of at most four benefits.
Corresponds to the JSON property benefits
5498 5499 5500 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5498 def benefits @benefits end |
#description ⇒ String
The description of this subscription in the language of this listing. Maximum
length - 80 characters. Plain text.
Corresponds to the JSON property description
5504 5505 5506 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5504 def description @description end |
#language_code ⇒ String
Required. The language of this listing, as defined by BCP-47, e.g. "en-US".
Corresponds to the JSON property languageCode
5509 5510 5511 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5509 def language_code @language_code end |
#title ⇒ String
Required. The title of this subscription in the language of this listing.
Plain text.
Corresponds to the JSON property title
5515 5516 5517 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5515 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5522 5523 5524 5525 5526 5527 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5522 def update!(**args) @benefits = args[:benefits] if args.key?(:benefits) @description = args[:description] if args.key?(:description) @language_code = args[:language_code] if args.key?(:language_code) @title = args[:title] if args.key?(:title) end |