class Google::Apis::BooksV1::Volume

Attributes

access_info[RW]

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]

etag[RW]

Opaque identifier for a specific version of a volume resource. (In LITE projection) Corresponds to the JSON property `etag` @return [String]

id[RW]

Unique identifier for a volume. (In LITE projection.) Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type for a volume. (In LITE projection.) Corresponds to the JSON property `kind` @return [String]

layer_info[RW]

What layers exist in this volume and high level information about them. Corresponds to the JSON property `layerInfo` @return [Google::Apis::BooksV1::Volume::LayerInfo]

sale_info[RW]

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_info[RW]

Search result information related to this volume. Corresponds to the JSON property `searchInfo` @return [Google::Apis::BooksV1::Volume::SearchInfo]

user_info[RW]

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]

volume_info[RW]

General volume information. Corresponds to the JSON property `volumeInfo` @return [Google::Apis::BooksV1::Volume::VolumeInfo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 3061
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 3066
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