class Google::Apis::AndroidpublisherV3::UserComment

User entry from conversation between user and developer.

Attributes

android_os_version[RW]

Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent. Corresponds to the JSON property `androidOsVersion` @return [Fixnum]

app_version_code[RW]

Integer version code of the app as installed at the time the review was written. May be absent. Corresponds to the JSON property `appVersionCode` @return [Fixnum]

app_version_name[RW]

String version name of the app as installed at the time the review was written. May be absent. Corresponds to the JSON property `appVersionName` @return [String]

device[RW]

Codename for the reviewer's device, e.g. klte, flounder. May be absent. Corresponds to the JSON property `device` @return [String]

device_metadata[RW]

Characteristics of the user's device. Corresponds to the JSON property `deviceMetadata` @return [Google::Apis::AndroidpublisherV3::DeviceMetadata]

last_modified[RW]

A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970. Corresponds to the JSON property `lastModified` @return [Google::Apis::AndroidpublisherV3::Timestamp]

original_text[RW]

Untranslated text of the review, where the review was translated. If the review was not translated this is left blank. Corresponds to the JSON property `originalText` @return [String]

reviewer_language[RW]

Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent. Corresponds to the JSON property `reviewerLanguage` @return [String]

star_rating[RW]

The star rating associated with the review, from 1 to 5. Corresponds to the JSON property `starRating` @return [Fixnum]

text[RW]

The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character. Corresponds to the JSON property `text` @return [String]

thumbs_down_count[RW]

Number of users who have given this review a thumbs down. Corresponds to the JSON property `thumbsDownCount` @return [Fixnum]

thumbs_up_count[RW]

Number of users who have given this review a thumbs up. Corresponds to the JSON property `thumbsUpCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidpublisher_v3/classes.rb, line 2093
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidpublisher_v3/classes.rb, line 2098
def update!(**args)
  @android_os_version = args[:android_os_version] if args.key?(:android_os_version)
  @app_version_code = args[:app_version_code] if args.key?(:app_version_code)
  @app_version_name = args[:app_version_name] if args.key?(:app_version_name)
  @device = args[:device] if args.key?(:device)
  @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
  @last_modified = args[:last_modified] if args.key?(:last_modified)
  @original_text = args[:original_text] if args.key?(:original_text)
  @reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language)
  @star_rating = args[:star_rating] if args.key?(:star_rating)
  @text = args[:text] if args.key?(:text)
  @thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count)
  @thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count)
end