Class: Google::Apis::BooksV1::Volume::LayerInfo
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::LayerInfo
- 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
Overview
What layers exist in this volume and high level information about them.
Defined Under Namespace
Classes: Layer
Instance Attribute Summary collapse
-
#layers ⇒ Array<Google::Apis::BooksV1::Volume::LayerInfo::Layer>
A layer should appear here if and only if the layer exists for this book.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LayerInfo
constructor
A new instance of LayerInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LayerInfo
Returns a new instance of LayerInfo.
3272 3273 3274 |
# File 'generated/google/apis/books_v1/classes.rb', line 3272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layers ⇒ Array<Google::Apis::BooksV1::Volume::LayerInfo::Layer>
A layer should appear here if and only if the layer exists for this book.
Corresponds to the JSON property layers
3270 3271 3272 |
# File 'generated/google/apis/books_v1/classes.rb', line 3270 def layers @layers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3277 3278 3279 |
# File 'generated/google/apis/books_v1/classes.rb', line 3277 def update!(**args) @layers = args[:layers] if args.key?(:layers) end |