Class: Google::Apis::BooksV1::Volume::LayerInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/books_v1/classes.rb,
lib/google/apis/books_v1/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LayerInfo

Returns a new instance of LayerInfo.



3271
3272
3273
# File 'lib/google/apis/books_v1/classes.rb', line 3271

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#layersArray<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



3269
3270
3271
# File 'lib/google/apis/books_v1/classes.rb', line 3269

def layers
  @layers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3276
3277
3278
# File 'lib/google/apis/books_v1/classes.rb', line 3276

def update!(**args)
  @layers = args[:layers] if args.key?(:layers)
end