class Google::Apis::VisionV1p2beta1::ImageAnnotationContext
If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.
Attributes
page_number[RW]
If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image. Corresponds to the JSON property `pageNumber` @return [Fixnum]
uri[RW]
The URI of the file used to produce the image. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 8705 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 8710 def update!(**args) @page_number = args[:page_number] if args.key?(:page_number) @uri = args[:uri] if args.key?(:uri) end