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

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.



1054
1055
1056
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1054

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

Instance Attribute Details

#full_descriptionString

Full description of the app; this may be up to 4000 characters in length. Corresponds to the JSON property fullDescription

Returns:

  • (String)


1031
1032
1033
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1031

def full_description
  @full_description
end

#languageString

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

Returns:

  • (String)


1036
1037
1038
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1036

def language
  @language
end

#short_descriptionString

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

Returns:

  • (String)


1042
1043
1044
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1042

def short_description
  @short_description
end

#titleString

App's localized title. Corresponds to the JSON property title

Returns:

  • (String)


1047
1048
1049
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1047

def title
  @title
end

#videoString

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

Returns:

  • (String)


1052
1053
1054
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1052

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1059
1060
1061
1062
1063
1064
1065
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1059

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