Class: Google::Apis::AndroidpublisherV3::Listing

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb

Overview

A localized store listing. The resource for ListingsService.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Listing

Returns a new instance of Listing.


1017
1018
1019
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1017

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

Instance Attribute Details

#full_descriptionString

Full description of the app. Corresponds to the JSON property fullDescription

Returns:

  • (String)

994
995
996
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 994

def full_description
  @full_description
end

#languageString

Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Corresponds to the JSON property language

Returns:

  • (String)

1000
1001
1002
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1000

def language
  @language
end

#short_descriptionString

Short description of the app. Corresponds to the JSON property shortDescription

Returns:

  • (String)

1005
1006
1007
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1005

def short_description
  @short_description
end

#titleString

Localized title of the app. Corresponds to the JSON property title

Returns:

  • (String)

1010
1011
1012
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1010

def title
  @title
end

#videoString

URL of a promotional YouTube video for the app. Corresponds to the JSON property video

Returns:

  • (String)

1015
1016
1017
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1015

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1022
1023
1024
1025
1026
1027
1028
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1022

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