Class: Google::Apis::BooksV1::Volume::LayerInfo::Layer
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::LayerInfo::Layer
- 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
-
#layer_id ⇒ String
The layer id of this layer (e.g. "geo").
-
#volume_annotations_version ⇒ String
The current version of this layer's volume annotations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Layer
constructor
A new instance of Layer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Layer
Returns a new instance of Layer.
2928 2929 2930 |
# File 'generated/google/apis/books_v1/classes.rb', line 2928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layer_id ⇒ String
The layer id of this layer (e.g. "geo").
Corresponds to the JSON property layerId
2919 2920 2921 |
# File 'generated/google/apis/books_v1/classes.rb', line 2919 def layer_id @layer_id end |
#volume_annotations_version ⇒ String
The current version of this layer's volume annotations. Note that this version
applies only to the data in the books.layers.volumeAnnotations.* responses.
The actual annotation data is versioned separately.
Corresponds to the JSON property volumeAnnotationsVersion
2926 2927 2928 |
# File 'generated/google/apis/books_v1/classes.rb', line 2926 def volume_annotations_version @volume_annotations_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2933 2934 2935 2936 |
# File 'generated/google/apis/books_v1/classes.rb', line 2933 def update!(**args) @layer_id = args[:layer_id] if args.key?(:layer_id) @volume_annotations_version = args[:volume_annotations_version] if args.key?(:volume_annotations_version) end |