Class: Google::Apis::BooksV1::VolumeAnnotation::ContentRanges
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::VolumeAnnotation::ContentRanges
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Overview
The content ranges to identify the selected text.
Instance Attribute Summary collapse
-
#cfi_range ⇒ Google::Apis::BooksV1::AnnotatinsRange
Range in CFI format for this annotation for version above.
-
#content_version ⇒ String
Content version applicable to ranges below.
-
#gb_image_range ⇒ Google::Apis::BooksV1::AnnotatinsRange
Range in GB image format for this annotation for version above.
-
#gb_text_range ⇒ Google::Apis::BooksV1::AnnotatinsRange
Range in GB text format for this annotation for version above.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentRanges
constructor
A new instance of ContentRanges.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContentRanges
Returns a new instance of ContentRanges.
3960 3961 3962 |
# File 'generated/google/apis/books_v1/classes.rb', line 3960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cfi_range ⇒ Google::Apis::BooksV1::AnnotatinsRange
Range in CFI format for this annotation for version above.
Corresponds to the JSON property cfiRange
3943 3944 3945 |
# File 'generated/google/apis/books_v1/classes.rb', line 3943 def cfi_range @cfi_range end |
#content_version ⇒ String
Content version applicable to ranges below.
Corresponds to the JSON property contentVersion
3948 3949 3950 |
# File 'generated/google/apis/books_v1/classes.rb', line 3948 def content_version @content_version end |
#gb_image_range ⇒ Google::Apis::BooksV1::AnnotatinsRange
Range in GB image format for this annotation for version above.
Corresponds to the JSON property gbImageRange
3953 3954 3955 |
# File 'generated/google/apis/books_v1/classes.rb', line 3953 def gb_image_range @gb_image_range end |
#gb_text_range ⇒ Google::Apis::BooksV1::AnnotatinsRange
Range in GB text format for this annotation for version above.
Corresponds to the JSON property gbTextRange
3958 3959 3960 |
# File 'generated/google/apis/books_v1/classes.rb', line 3958 def gb_text_range @gb_text_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3965 3966 3967 3968 3969 3970 |
# File 'generated/google/apis/books_v1/classes.rb', line 3965 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 |