class Google::Apis::VisionV1::AnnotateImageRequest
Request for performing Vision tasks over a user-provided image, with user-requested features.
Attributes
features[RW]
Requested features. Corresponds to the JSON property ‘features` @return [Array<Google::Apis::VisionV1::Feature>]
image[RW]
Client image to perform Vision tasks over. Corresponds to the JSON property ‘image` @return [Google::Apis::VisionV1::Image]
image_context[RW]
Image
context. Corresponds to the JSON property ‘imageContext` @return [Google::Apis::VisionV1::ImageContext]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 67 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_v1/classes.rb, line 72 def update!(**args) @image = args[:image] if args.key?(:image) @image_context = args[:image_context] if args.key?(:image_context) @features = args[:features] if args.key?(:features) end