Class: Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb
Overview
Request message for the create processor version method.
Defined Under Namespace
Classes: InputData
Instance Attribute Summary collapse
-
#base_processor_version ⇒ ::String
Optional.
-
#document_schema ⇒ ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Optional.
-
#input_data ⇒ ::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::InputData
Optional.
-
#parent ⇒ ::String
Required.
-
#processor_version ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion
Required.
Instance Attribute Details
#base_processor_version ⇒ ::String
Returns Optional. The processor version to use as a base for training. This processor version
must be a child of parent
. Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
.
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 577 class TrainProcessorVersionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The input data used to train a new `ProcessorVersion`. # @!attribute [rw] training_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for training the new version. # @!attribute [rw] test_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for testing the trained version. class InputData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#document_schema ⇒ ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Returns Optional. The schema the processor version will be trained with.
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 577 class TrainProcessorVersionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The input data used to train a new `ProcessorVersion`. # @!attribute [rw] training_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for training the new version. # @!attribute [rw] test_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for testing the trained version. class InputData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#input_data ⇒ ::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::InputData
Returns Optional. The input data used to train the ProcessorVersion
.
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 577 class TrainProcessorVersionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The input data used to train a new `ProcessorVersion`. # @!attribute [rw] training_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for training the new version. # @!attribute [rw] test_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for testing the trained version. class InputData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parent ⇒ ::String
Returns Required. The parent (project, location and processor) to create the new version for.
Format: projects/{project}/locations/{location}/processors/{processor}
.
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 577 class TrainProcessorVersionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The input data used to train a new `ProcessorVersion`. # @!attribute [rw] training_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for training the new version. # @!attribute [rw] test_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for testing the trained version. class InputData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#processor_version ⇒ ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion
Returns Required. The processor version to be created.
577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 577 class TrainProcessorVersionRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The input data used to train a new `ProcessorVersion`. # @!attribute [rw] training_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for training the new version. # @!attribute [rw] test_documents # @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig] # The documents used for testing the trained version. class InputData include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |