class Google::Apis::BooksV1::LayerSummary
Attributes
The number of annotations for this layer. Corresponds to the JSON property `annotationCount` @return [Fixnum]
The list of annotation types contained for this layer. Corresponds to the JSON property `annotationTypes` @return [Array<String>]
Link to get data for this annotation. Corresponds to the JSON property `annotationsDataLink` @return [String]
The link to get the annotations for this layer. Corresponds to the JSON property `annotationsLink` @return [String]
The content version this resource is for. Corresponds to the JSON property `contentVersion` @return [String]
The number of data items for this layer. Corresponds to the JSON property `dataCount` @return [Fixnum]
Unique id of this layer summary. Corresponds to the JSON property `id` @return [String]
Resource Type Corresponds to the JSON property `kind` @return [String]
The layer id for this summary. Corresponds to the JSON property `layerId` @return [String]
URL to this resource. Corresponds to the JSON property `selfLink` @return [String]
Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format). Corresponds to the JSON property `updated` @return [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` @return [String]
The volume id this resource is for. Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File lib/google/apis/books_v1/classes.rb, line 2032 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 2037 def update!(**args) @annotation_count = args[:annotation_count] if args.key?(:annotation_count) @annotation_types = args[:annotation_types] if args.key?(:annotation_types) @annotations_data_link = args[:annotations_data_link] if args.key?(:annotations_data_link) @annotations_link = args[:annotations_link] if args.key?(:annotations_link) @content_version = args[:content_version] if args.key?(:content_version) @data_count = args[:data_count] if args.key?(:data_count) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @layer_id = args[:layer_id] if args.key?(:layer_id) @self_link = args[:self_link] if args.key?(:self_link) @updated = args[:updated] if args.key?(:updated) @volume_annotations_version = args[:volume_annotations_version] if args.key?(:volume_annotations_version) @volume_id = args[:volume_id] if args.key?(:volume_id) end