class Google::Apis::BooksV1::Review
Attributes
Review
text. Corresponds to the JSON property `content` @return [String]
Date of this review. Corresponds to the JSON property `date` @return [String]
URL for the full review text, for reviews gathered from the web. Corresponds to the JSON property `fullTextUrl` @return [String]
Resource type for a review. Corresponds to the JSON property `kind` @return [String]
Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED. Corresponds to the JSON property `rating` @return [String]
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 for this review. Corresponds to the JSON property `title` @return [String]
Source
type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER. Corresponds to the JSON property `type` @return [String]
Volume
that this review is for. Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File lib/google/apis/books_v1/classes.rb, line 2489 def initialize(**args) update!(**args) end
Public Instance Methods
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