Class: Google::Apis::AndroidpublisherV2::Listing
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV2::Listing
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
-
#full_description ⇒ String
Full description of the app; this may be up to 4000 characters in length.
-
#language ⇒ String
Language localization code (for example, "de-AT" for Austrian German).
-
#short_description ⇒ String
Short description of the app (previously known as promo text); this may be up to 80 characters in length.
-
#title ⇒ String
App's localized title.
-
#video ⇒ String
URL of a promotional YouTube video for the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Listing
constructor
A new instance of Listing.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Listing
Returns a new instance of Listing.
1050 1051 1052 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_description ⇒ String
Full description of the app; this may be up to 4000 characters in length.
Corresponds to the JSON property fullDescription
1027 1028 1029 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1027 def full_description @full_description end |
#language ⇒ String
Language localization code (for example, "de-AT" for Austrian German).
Corresponds to the JSON property language
1032 1033 1034 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1032 def language @language end |
#short_description ⇒ String
Short description of the app (previously known as promo text); this may be up
to 80 characters in length.
Corresponds to the JSON property shortDescription
1038 1039 1040 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1038 def short_description @short_description end |
#title ⇒ String
App's localized title.
Corresponds to the JSON property title
1043 1044 1045 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1043 def title @title end |
#video ⇒ String
URL of a promotional YouTube video for the app.
Corresponds to the JSON property video
1048 1049 1050 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1048 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1055 1056 1057 1058 1059 1060 1061 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1055 def update!(**args) @full_description = args[:full_description] if args.key?(:full_description) @language = args[:language] if args.key?(:language) @short_description = args[:short_description] if args.key?(:short_description) @title = args[:title] if args.key?(:title) @video = args[:video] if args.key?(:video) end |