class Google::Apis::BooksV1::Annotation::ClientVersionRanges

Selection ranges sent from the client.

Attributes

cfi_range[RW]

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

content_version[RW]

Content version the client sent in. Corresponds to the JSON property `contentVersion` @return [String]

gb_image_range[RW]

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

gb_text_range[RW]

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

image_cfi_range[RW]

Range in image CFI format for this annotation sent by client. Corresponds to the JSON property `imageCfiRange` @return [Google::Apis::BooksV1::AnnotatinsRange]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 171
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 176
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)
  @image_cfi_range = args[:image_cfi_range] if args.key?(:image_cfi_range)
end