class Google::Apis::BooksV1::Volume::VolumeInfo

General volume information.

Attributes

allow_anon_logging[RW]

Whether anonymous logging should be allowed. Corresponds to the JSON property `allowAnonLogging` @return [Boolean]

allow_anon_logging?[RW]

Whether anonymous logging should be allowed. Corresponds to the JSON property `allowAnonLogging` @return [Boolean]

authors[RW]

The names of the authors and/or editors for this volume. (In LITE projection) Corresponds to the JSON property `authors` @return [Array<String>]

average_rating[RW]

The mean review rating for this volume. (min = 1.0, max = 5.0) Corresponds to the JSON property `averageRating` @return [Float]

categories[RW]

A list of subject categories, such as “Fiction”, “Suspense”, etc. Corresponds to the JSON property `categories` @return [Array<String>]

comics_content[RW]

Whether the volume has comics content. Corresponds to the JSON property `comicsContent` @return [Boolean]

comics_content?[RW]

Whether the volume has comics content. Corresponds to the JSON property `comicsContent` @return [Boolean]

content_version[RW]

An identifier for the version of the volume content (text & images). (In LITE projection) Corresponds to the JSON property `contentVersion` @return [String]

description[RW]

A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.) Corresponds to the JSON property `description` @return [String]

dimensions[RW]

Physical dimensions of this volume. Corresponds to the JSON property `dimensions` @return [Google::Apis::BooksV1::Volume::VolumeInfo::Dimensions]

industry_identifiers[RW]

Industry standard identifiers for this volume. Corresponds to the JSON property `industryIdentifiers` @return [Array<Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier>]

language[RW]

Best language for this volume (based on content). It is the two-letter ISO 639- 1 code such as 'fr', 'en', etc. Corresponds to the JSON property `language` @return [String]

main_category[RW]

The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight. Corresponds to the JSON property `mainCategory` @return [String]

maturity_rating[RW]

Corresponds to the JSON property `maturityRating` @return [String]

page_count[RW]

Total number of pages as per publisher metadata. Corresponds to the JSON property `pageCount` @return [Fixnum]

panelization_summary[RW]

A top-level summary of the panelization info in this volume. Corresponds to the JSON property `panelizationSummary` @return [Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary]

print_type[RW]

Type of publication of this volume. Possible values are BOOK or MAGAZINE. Corresponds to the JSON property `printType` @return [String]

printed_page_count[RW]

Total number of printed pages in generated pdf representation. Corresponds to the JSON property `printedPageCount` @return [Fixnum]

published_date[RW]

Date of publication. (In LITE projection.) Corresponds to the JSON property `publishedDate` @return [String]

publisher[RW]

Publisher of this volume. (In LITE projection.) Corresponds to the JSON property `publisher` @return [String]

ratings_count[RW]

The number of review ratings for this volume. Corresponds to the JSON property `ratingsCount` @return [Fixnum]

reading_modes[RW]

The reading modes available for this volume. Corresponds to the JSON property `readingModes` @return [Google::Apis::BooksV1::Volume::VolumeInfo::ReadingModes]

sample_page_count[RW]

Total number of sample pages as per publisher metadata. Corresponds to the JSON property `samplePageCount` @return [Fixnum]

series_info[RW]

Corresponds to the JSON property `seriesInfo` @return [Google::Apis::BooksV1::Volumeseriesinfo]

subtitle[RW]

Volume subtitle. (In LITE projection.) Corresponds to the JSON property `subtitle` @return [String]

title[RW]

Volume title. (In LITE projection.) Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 4000
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 4005
def update!(**args)
  @allow_anon_logging = args[:allow_anon_logging] if args.key?(:allow_anon_logging)
  @authors = args[:authors] if args.key?(:authors)
  @average_rating = args[:average_rating] if args.key?(:average_rating)
  @canonical_volume_link = args[:canonical_volume_link] if args.key?(:canonical_volume_link)
  @categories = args[:categories] if args.key?(:categories)
  @comics_content = args[:comics_content] if args.key?(:comics_content)
  @content_version = args[:content_version] if args.key?(:content_version)
  @description = args[:description] if args.key?(:description)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @image_links = args[:image_links] if args.key?(:image_links)
  @industry_identifiers = args[:industry_identifiers] if args.key?(:industry_identifiers)
  @info_link = args[:info_link] if args.key?(:info_link)
  @language = args[:language] if args.key?(:language)
  @main_category = args[:main_category] if args.key?(:main_category)
  @maturity_rating = args[:maturity_rating] if args.key?(:maturity_rating)
  @page_count = args[:page_count] if args.key?(:page_count)
  @panelization_summary = args[:panelization_summary] if args.key?(:panelization_summary)
  @preview_link = args[:preview_link] if args.key?(:preview_link)
  @print_type = args[:print_type] if args.key?(:print_type)
  @printed_page_count = args[:printed_page_count] if args.key?(:printed_page_count)
  @published_date = args[:published_date] if args.key?(:published_date)
  @publisher = args[:publisher] if args.key?(:publisher)
  @ratings_count = args[:ratings_count] if args.key?(:ratings_count)
  @reading_modes = args[:reading_modes] if args.key?(:reading_modes)
  @sample_page_count = args[:sample_page_count] if args.key?(:sample_page_count)
  @series_info = args[:series_info] if args.key?(:series_info)
  @subtitle = args[:subtitle] if args.key?(:subtitle)
  @title = args[:title] if args.key?(:title)
end