class Google::Apis::BooksV1::Review

Attributes

author[RW]

Author of this review. Corresponds to the JSON property `author` @return [Google::Apis::BooksV1::Review::Author]

content[RW]

Review text. Corresponds to the JSON property `content` @return [String]

date[RW]

Date of this review. Corresponds to the JSON property `date` @return [String]

full_text_url[RW]

URL for the full review text, for reviews gathered from the web. Corresponds to the JSON property `fullTextUrl` @return [String]

kind[RW]

Resource type for a review. Corresponds to the JSON property `kind` @return [String]

rating[RW]

Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED. Corresponds to the JSON property `rating` @return [String]

source[RW]

Information regarding the source of this review, when the review is not from a Google Books user. Corresponds to the JSON property `source` @return [Google::Apis::BooksV1::Review::Source]

title[RW]

Title for this review. Corresponds to the JSON property `title` @return [String]

type[RW]

Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER. Corresponds to the JSON property `type` @return [String]

volume_id[RW]

Volume that this review is for. Corresponds to the JSON property `volumeId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 2494
def update!(**args)
  @author = args[:author] if args.key?(:author)
  @content = args[:content] if args.key?(:content)
  @date = args[:date] if args.key?(:date)
  @full_text_url = args[:full_text_url] if args.key?(:full_text_url)
  @kind = args[:kind] if args.key?(:kind)
  @rating = args[:rating] if args.key?(:rating)
  @source = args[:source] if args.key?(:source)
  @title = args[:title] if args.key?(:title)
  @type = args[:type] if args.key?(:type)
  @volume_id = args[:volume_id] if args.key?(:volume_id)
end