Class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vision_v1p1beta1/classes.rb,
lib/google/apis/vision_v1p1beta1/representations.rb,
lib/google/apis/vision_v1p1beta1/representations.rb
Overview
An offline file annotation request.
Instance Attribute Summary collapse
-
#features ⇒ Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature>
Required.
-
#image_context ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext
Image context and/or feature-specific parameters.
-
#input_config ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig
The desired input location and metadata.
-
#output_config ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig
The desired output location and metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
constructor
A new instance of GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest
Returns a new instance of GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest.
1139 1140 1141 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 1139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#features ⇒ Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature>
Required. Requested features.
Corresponds to the JSON property features
1122 1123 1124 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 1122 def features @features end |
#image_context ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext
Image context and/or feature-specific parameters.
Corresponds to the JSON property imageContext
1127 1128 1129 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 1127 def image_context @image_context end |
#input_config ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig
The desired input location and metadata.
Corresponds to the JSON property inputConfig
1132 1133 1134 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 1132 def input_config @input_config end |
#output_config ⇒ Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig
The desired output location and metadata.
Corresponds to the JSON property outputConfig
1137 1138 1139 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 1137 def output_config @output_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1144 1145 1146 1147 1148 1149 |
# File 'lib/google/apis/vision_v1p1beta1/classes.rb', line 1144 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 |