Class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/vision_v1p1beta1/classes.rb,
generated/google/apis/vision_v1p1beta1/representations.rb,
generated/google/apis/vision_v1p1beta1/representations.rb

Overview

An offline file annotation request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest

Returns a new instance of GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest



1202
1203
1204
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 1202

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#featuresArray<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1Feature>

Required. Requested features. Corresponds to the JSON property features



1185
1186
1187
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 1185

def features
  @features
end

#image_contextGoogle::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageContext

Image context and/or feature-specific parameters. Corresponds to the JSON property imageContext



1190
1191
1192
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 1190

def image_context
  @image_context
end

#input_configGoogle::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig

The desired input location and metadata. Corresponds to the JSON property inputConfig



1195
1196
1197
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 1195

def input_config
  @input_config
end

#output_configGoogle::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig

The desired output location and metadata. Corresponds to the JSON property outputConfig



1200
1201
1202
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 1200

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1207
1208
1209
1210
1211
1212
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 1207

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