Class: Google::Apis::BooksV1::LayerSummaries
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::LayerSummaries
- 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
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::BooksV1::LayerSummary>
A list of layer summary items.
-
#kind ⇒ String
Resource type.
-
#total_items ⇒ Fixnum
The total number of layer summaries found.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LayerSummaries
constructor
A new instance of LayerSummaries.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LayerSummaries
Returns a new instance of LayerSummaries
1885 1886 1887 |
# File 'generated/google/apis/books_v1/classes.rb', line 1885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::LayerSummary>
A list of layer summary items.
Corresponds to the JSON property items
1873 1874 1875 |
# File 'generated/google/apis/books_v1/classes.rb', line 1873 def items @items end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
1878 1879 1880 |
# File 'generated/google/apis/books_v1/classes.rb', line 1878 def kind @kind end |
#total_items ⇒ Fixnum
The total number of layer summaries found.
Corresponds to the JSON property totalItems
1883 1884 1885 |
# File 'generated/google/apis/books_v1/classes.rb', line 1883 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1890 1891 1892 1893 1894 |
# File 'generated/google/apis/books_v1/classes.rb', line 1890 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @total_items = args[:total_items] if args.key?(:total_items) end |