class Google::Apis::BooksV1::VolumeAnnotation

Attributes

annotation_data_id[RW]

The annotation data id for this volume annotation. Corresponds to the JSON property `annotationDataId` @return [String]

annotation_type[RW]

The type of annotation this is. Corresponds to the JSON property `annotationType` @return [String]

content_ranges[RW]

The content ranges to identify the selected text. Corresponds to the JSON property `contentRanges` @return [Google::Apis::BooksV1::VolumeAnnotation::ContentRanges]

data[RW]

Data for this annotation. Corresponds to the JSON property `data` @return [String]

deleted[RW]

Indicates that this annotation is deleted. Corresponds to the JSON property `deleted` @return [Boolean]

deleted?[RW]

Indicates that this annotation is deleted. Corresponds to the JSON property `deleted` @return [Boolean]

id[RW]

Unique id of this volume annotation. Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource Type Corresponds to the JSON property `kind` @return [String]

layer_id[RW]

The Layer this annotation is for. Corresponds to the JSON property `layerId` @return [String]

page_ids[RW]

Pages the annotation spans. Corresponds to the JSON property `pageIds` @return [Array<String>]

selected_text[RW]

Excerpt from the volume. Corresponds to the JSON property `selectedText` @return [String]

updated[RW]

Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date- time format). Corresponds to the JSON property `updated` @return [DateTime]

volume_id[RW]

The Volume this annotation is for. Corresponds to the JSON property `volumeId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 3836
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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