Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/google/apis/documentai_v1beta2/representations.rb
Overview
The response for the TrainProcessorVersion method.
Instance Attribute Summary collapse
-
#processor_version ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion
A processor version is an implementation of a processor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
constructor
A new instance of GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse
Returns a new instance of GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse.
406 407 408 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#processor_version ⇒ Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ProcessorVersion
A processor version is an implementation of a processor. Each processor can
have multiple versions, pre-trained by Google internally or up-trained by the
customer. At a time, a processor can only have one default version version. So
the processor's behavior (when processing documents) is defined by a default
version.
Corresponds to the JSON property processorVersion
404 405 406 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 404 def processor_version @processor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
411 412 413 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 411 def update!(**args) @processor_version = args[:processor_version] if args.key?(:processor_version) end |