Class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest

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

Overview

An offline file annotation request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest

Returns a new instance of GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest.



2859
2860
2861
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 2859

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

Instance Attribute Details

#featuresArray<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1Feature>

Required. Requested features. Corresponds to the JSON property features



2842
2843
2844
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 2842

def features
  @features
end

#image_contextGoogle::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1ImageContext

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



2847
2848
2849
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 2847

def image_context
  @image_context
end

#input_configGoogle::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1InputConfig

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



2852
2853
2854
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 2852

def input_config
  @input_config
end

#output_configGoogle::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig

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



2857
2858
2859
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 2857

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2864
2865
2866
2867
2868
2869
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 2864

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