class Google::Apis::LibraryagentV1::GoogleExampleLibraryagentV1Shelf
A Shelf contains a collection of books with a theme.
Attributes
name[RW]
Output only. The resource name of the shelf. Shelf names have the form ` shelves/`shelf_id“. The name is ignored when creating a shelf. Corresponds to the JSON property `name` @return [String]
theme[RW]
The theme of the shelf Corresponds to the JSON property `theme` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/libraryagent_v1/classes.rb, line 133 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/libraryagent_v1/classes.rb, line 138 def update!(**args) @name = args[:name] if args.key?(:name) @theme = args[:theme] if args.key?(:theme) end