Class: Google::Apis::BooksV1::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Metadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::BooksV1::Metadata::Item>
A list of offline dictionary metadata.
-
#kind ⇒ String
Resource type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata
2005 2006 2007 |
# File 'generated/google/apis/books_v1/classes.rb', line 2005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::Metadata::Item>
A list of offline dictionary metadata.
Corresponds to the JSON property items
1998 1999 2000 |
# File 'generated/google/apis/books_v1/classes.rb', line 1998 def items @items end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
2003 2004 2005 |
# File 'generated/google/apis/books_v1/classes.rb', line 2003 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2010 2011 2012 2013 |
# File 'generated/google/apis/books_v1/classes.rb', line 2010 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |