class Google::Apis::BooksV1::Bookshelf
Attributes
Whether this bookshelf is PUBLIC or PRIVATE. Corresponds to the JSON property `access` @return [String]
Created time for this bookshelf (formatted UTC timestamp with millisecond resolution). Corresponds to the JSON property `created` @return [DateTime]
Description of this bookshelf. Corresponds to the JSON property `description` @return [String]
Id of this bookshelf, only unique by user. Corresponds to the JSON property `id` @return [Fixnum]
Resource type for bookshelf metadata. Corresponds to the JSON property `kind` @return [String]
URL to this resource. Corresponds to the JSON property `selfLink` @return [String]
Title of this bookshelf. Corresponds to the JSON property `title` @return [String]
Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution). Corresponds to the JSON property `updated` @return [DateTime]
Number of volumes in this bookshelf. Corresponds to the JSON property `volumeCount` @return [Fixnum]
Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution). Corresponds to the JSON property `volumesLastUpdated` @return [DateTime]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 624 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 629 def update!(**args) @access = args[:access] if args.key?(:access) @created = args[:created] if args.key?(:created) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @self_link = args[:self_link] if args.key?(:self_link) @title = args[:title] if args.key?(:title) @updated = args[:updated] if args.key?(:updated) @volume_count = args[:volume_count] if args.key?(:volume_count) @volumes_last_updated = args[:volumes_last_updated] if args.key?(:volumes_last_updated) end