class Google::Apis::BooksV1::VolumeAnnotation
Attributes
The annotation data id for this volume annotation. Corresponds to the JSON property `annotationDataId` @return [String]
Link to get data for this annotation. Corresponds to the JSON property `annotationDataLink` @return [String]
The type of annotation this is. Corresponds to the JSON property `annotationType` @return [String]
The content ranges to identify the selected text. Corresponds to the JSON property `contentRanges` @return [Google::Apis::BooksV1::VolumeAnnotation::ContentRanges]
Data for this annotation. Corresponds to the JSON property `data` @return [String]
Indicates that this annotation is deleted. Corresponds to the JSON property `deleted` @return [Boolean]
Indicates that this annotation is deleted. Corresponds to the JSON property `deleted` @return [Boolean]
Unique id of this volume annotation. Corresponds to the JSON property `id` @return [String]
Resource Type Corresponds to the JSON property `kind` @return [String]
The Layer this annotation is for. Corresponds to the JSON property `layerId` @return [String]
Pages the annotation spans. Corresponds to the JSON property `pageIds` @return [Array<String>]
Excerpt from the volume. Corresponds to the JSON property `selectedText` @return [String]
URL to this resource. Corresponds to the JSON property `selfLink` @return [String]
Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date- time format). Corresponds to the JSON property `updated` @return [DateTime]
The Volume this annotation is for. Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 3836 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 3841 def update!(**args) @annotation_data_id = args[:annotation_data_id] if args.key?(:annotation_data_id) @annotation_data_link = args[:annotation_data_link] if args.key?(:annotation_data_link) @annotation_type = args[:annotation_type] if args.key?(:annotation_type) @content_ranges = args[:content_ranges] if args.key?(:content_ranges) @data = args[:data] if args.key?(:data) @deleted = args[:deleted] if args.key?(:deleted) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @layer_id = args[:layer_id] if args.key?(:layer_id) @page_ids = args[:page_ids] if args.key?(:page_ids) @selected_text = args[:selected_text] if args.key?(:selected_text) @self_link = args[:self_link] if args.key?(:self_link) @updated = args[:updated] if args.key?(:updated) @volume_id = args[:volume_id] if args.key?(:volume_id) end