class Google::Apis::VisionV1::AsyncAnnotateFileRequest
An offline file annotation request.
Attributes
features[RW]
Required. Requested features. Corresponds to the JSON property `features` @return [Array<Google::Apis::VisionV1::Feature>]
image_context[RW]
Image
context and/or feature-specific parameters. Corresponds to the JSON property `imageContext` @return [Google::Apis::VisionV1::ImageContext]
input_config[RW]
The desired input location and metadata. Corresponds to the JSON property `inputConfig` @return [Google::Apis::VisionV1::InputConfig]
output_config[RW]
The desired output location and metadata. Corresponds to the JSON property `outputConfig` @return [Google::Apis::VisionV1::OutputConfig]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 298 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 303 def update!(**args) @features = args[:features] if args.key?(:features) @image_context = args[:image_context] if args.key?(:image_context) @input_config = args[:input_config] if args.key?(:input_config) @output_config = args[:output_config] if args.key?(:output_config) end