class Google::Apis::BooksV1::Bookshelf

Attributes

access[RW]

Whether this bookshelf is PUBLIC or PRIVATE. Corresponds to the JSON property `access` @return [String]

created[RW]

Created time for this bookshelf (formatted UTC timestamp with millisecond resolution). Corresponds to the JSON property `created` @return [DateTime]

description[RW]

Description of this bookshelf. Corresponds to the JSON property `description` @return [String]

id[RW]

Id of this bookshelf, only unique by user. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

Resource type for bookshelf metadata. Corresponds to the JSON property `kind` @return [String]

title[RW]

Title of this bookshelf. Corresponds to the JSON property `title` @return [String]

updated[RW]

Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution). Corresponds to the JSON property `updated` @return [DateTime]

volume_count[RW]

Number of volumes in this bookshelf. Corresponds to the JSON property `volumeCount` @return [Fixnum]

volumes_last_updated[RW]

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

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 624
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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