class Google::Apis::BooksV1::Volume
Attributes
Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.). Corresponds to the JSON property `accessInfo` @return [Google::Apis::BooksV1::Volume::AccessInfo]
Opaque identifier for a specific version of a volume resource. (In LITE projection) Corresponds to the JSON property `etag` @return [String]
Unique identifier for a volume. (In LITE projection.) Corresponds to the JSON property `id` @return [String]
Resource type for a volume. (In LITE projection.) Corresponds to the JSON property `kind` @return [String]
What layers exist in this volume and high level information about them. Corresponds to the JSON property `layerInfo` @return [Google::Apis::BooksV1::Volume::LayerInfo]
Recommendation related information for this volume. Corresponds to the JSON property `recommendedInfo` @return [Google::Apis::BooksV1::Volume::RecommendedInfo]
Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries). Corresponds to the JSON property `saleInfo` @return [Google::Apis::BooksV1::Volume::SaleInfo]
Search result information related to this volume. Corresponds to the JSON property `searchInfo` @return [Google::Apis::BooksV1::Volume::SearchInfo]
URL to this resource. (In LITE projection.) Corresponds to the JSON property `selfLink` @return [String]
User specific information related to this volume. (e.g. page this user last read or whether they purchased this book) Corresponds to the JSON property `userInfo` @return [Google::Apis::BooksV1::Volume::UserInfo]
General volume information. Corresponds to the JSON property `volumeInfo` @return [Google::Apis::BooksV1::Volume::VolumeInfo]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 2666 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 2671 def update!(**args) @access_info = args[:access_info] if args.key?(:access_info) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @layer_info = args[:layer_info] if args.key?(:layer_info) @recommended_info = args[:recommended_info] if args.key?(:recommended_info) @sale_info = args[:sale_info] if args.key?(:sale_info) @search_info = args[:search_info] if args.key?(:search_info) @self_link = args[:self_link] if args.key?(:self_link) @user_info = args[:user_info] if args.key?(:user_info) @volume_info = args[:volume_info] if args.key?(:volume_info) end