class Google::Apis::BooksV1::VolumeAnnotation::ContentRanges

The content ranges to identify the selected text.

Attributes

cfi_range[RW]

Range in CFI format for this annotation for version above. Corresponds to the JSON property `cfiRange` @return [Google::Apis::BooksV1::AnnotatinsRange]

content_version[RW]

Content version applicable to ranges below. Corresponds to the JSON property `contentVersion` @return [String]

gb_image_range[RW]

Range in GB image format for this annotation for version above. Corresponds to the JSON property `gbImageRange` @return [Google::Apis::BooksV1::AnnotatinsRange]

gb_text_range[RW]

Range in GB text format for this annotation for version above. Corresponds to the JSON property `gbTextRange` @return [Google::Apis::BooksV1::AnnotatinsRange]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 3882
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 3887
def update!(**args)
  @cfi_range = args[:cfi_range] if args.key?(:cfi_range)
  @content_version = args[:content_version] if args.key?(:content_version)
  @gb_image_range = args[:gb_image_range] if args.key?(:gb_image_range)
  @gb_text_range = args[:gb_text_range] if args.key?(:gb_text_range)
end