class Google::Apis::BooksV1::Annotation
Attributes
Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. Corresponds to the JSON property `afterSelectedText` @return [String]
Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty. Corresponds to the JSON property `beforeSelectedText` @return [String]
Selection ranges sent from the client. Corresponds to the JSON property `clientVersionRanges` @return [Google::Apis::BooksV1::Annotation::ClientVersionRanges]
Timestamp for the created time of this annotation. Corresponds to the JSON property `created` @return [String]
Selection ranges for the most recent content version. Corresponds to the JSON property `currentVersionRanges` @return [Google::Apis::BooksV1::Annotation::CurrentVersionRanges]
User-created 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]
The highlight style for this annotation. Corresponds to the JSON property `highlightStyle` @return [String]
Id of this annotation, in the form of a GUID. 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]
Corresponds to the JSON property `layerSummary` @return [Google::Apis::BooksV1::Annotation::LayerSummary]
Pages that this 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 annotation was modified. Corresponds to the JSON property `updated` @return [String]
The volume that this annotation belongs to. Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File lib/google/apis/books_v1/classes.rb, line 117 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 122 def update!(**args) @after_selected_text = args[:after_selected_text] if args.key?(:after_selected_text) @before_selected_text = args[:before_selected_text] if args.key?(:before_selected_text) @client_version_ranges = args[:client_version_ranges] if args.key?(:client_version_ranges) @created = args[:created] if args.key?(:created) @current_version_ranges = args[:current_version_ranges] if args.key?(:current_version_ranges) @data = args[:data] if args.key?(:data) @deleted = args[:deleted] if args.key?(:deleted) @highlight_style = args[:highlight_style] if args.key?(:highlight_style) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @layer_id = args[:layer_id] if args.key?(:layer_id) @layer_summary = args[:layer_summary] if args.key?(:layer_summary) @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