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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LayerInfo

Returns a new instance of LayerInfo.



3282
3283
3284
# File 'generated/google/apis/books_v1/classes.rb', line 3282

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



3280
3281
3282
# File 'generated/google/apis/books_v1/classes.rb', line 3280

def layers
  @layers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3287
3288
3289
# File 'generated/google/apis/books_v1/classes.rb', line 3287

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