Class: Google::Apis::VisionV1::AsyncAnnotateFileRequest
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1::AsyncAnnotateFileRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vision_v1/classes.rb,
generated/google/apis/vision_v1/representations.rb,
generated/google/apis/vision_v1/representations.rb
Overview
An offline file annotation request.
Instance Attribute Summary collapse
-
#features ⇒ Array<Google::Apis::VisionV1::Feature>
Required.
-
#image_context ⇒ Google::Apis::VisionV1::ImageContext
Image context and/or feature-specific parameters.
-
#input_config ⇒ Google::Apis::VisionV1::InputConfig
The desired input location and metadata.
-
#output_config ⇒ Google::Apis::VisionV1::OutputConfig
The desired output location and metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AsyncAnnotateFileRequest
constructor
A new instance of AsyncAnnotateFileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AsyncAnnotateFileRequest
Returns a new instance of AsyncAnnotateFileRequest
273 274 275 |
# File 'generated/google/apis/vision_v1/classes.rb', line 273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#features ⇒ Array<Google::Apis::VisionV1::Feature>
Required. Requested features.
Corresponds to the JSON property features
256 257 258 |
# File 'generated/google/apis/vision_v1/classes.rb', line 256 def features @features end |
#image_context ⇒ Google::Apis::VisionV1::ImageContext
Image context and/or feature-specific parameters.
Corresponds to the JSON property imageContext
261 262 263 |
# File 'generated/google/apis/vision_v1/classes.rb', line 261 def image_context @image_context end |
#input_config ⇒ Google::Apis::VisionV1::InputConfig
The desired input location and metadata.
Corresponds to the JSON property inputConfig
266 267 268 |
# File 'generated/google/apis/vision_v1/classes.rb', line 266 def input_config @input_config end |
#output_config ⇒ Google::Apis::VisionV1::OutputConfig
The desired output location and metadata.
Corresponds to the JSON property outputConfig
271 272 273 |
# File 'generated/google/apis/vision_v1/classes.rb', line 271 def output_config @output_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
278 279 280 281 282 283 |
# File 'generated/google/apis/vision_v1/classes.rb', line 278 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 |