Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest.
Request message for the TrainProcessorVersion method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#base_processor_version
def base_processor_version() -> ::String
-
(::String) — 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}
.
#base_processor_version=
def base_processor_version=(value) -> ::String
-
value (::String) — 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}
.
-
(::String) — 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}
.
#custom_document_extraction_options
def custom_document_extraction_options() -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions
-
(::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions) — Options to control Custom Document Extraction (CDE) Processor.
Note: The following fields are mutually exclusive:
custom_document_extraction_options
,foundation_model_tuning_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#custom_document_extraction_options=
def custom_document_extraction_options=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions
-
value (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions) — Options to control Custom Document Extraction (CDE) Processor.
Note: The following fields are mutually exclusive:
custom_document_extraction_options
,foundation_model_tuning_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions) — Options to control Custom Document Extraction (CDE) Processor.
Note: The following fields are mutually exclusive:
custom_document_extraction_options
,foundation_model_tuning_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#document_schema
def document_schema() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
- (::Google::Cloud::DocumentAI::V1::DocumentSchema) — Optional. The schema the processor version will be trained with.
#document_schema=
def document_schema=(value) -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
- value (::Google::Cloud::DocumentAI::V1::DocumentSchema) — Optional. The schema the processor version will be trained with.
- (::Google::Cloud::DocumentAI::V1::DocumentSchema) — Optional. The schema the processor version will be trained with.
#foundation_model_tuning_options
def foundation_model_tuning_options() -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions
-
(::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions) — Options to control foundation model tuning of a processor.
Note: The following fields are mutually exclusive:
foundation_model_tuning_options
,custom_document_extraction_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#foundation_model_tuning_options=
def foundation_model_tuning_options=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions
-
value (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions) — Options to control foundation model tuning of a processor.
Note: The following fields are mutually exclusive:
foundation_model_tuning_options
,custom_document_extraction_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions) — Options to control foundation model tuning of a processor.
Note: The following fields are mutually exclusive:
foundation_model_tuning_options
,custom_document_extraction_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#input_data
def input_data() -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData
- (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the ProcessorVersion.
#input_data=
def input_data=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData
- value (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the ProcessorVersion.
- (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the ProcessorVersion.
#parent
def parent() -> ::String
-
(::String) — Required. The parent (project, location and processor) to create the new
version for. Format:
projects/{project}/locations/{location}/processors/{processor}
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The parent (project, location and processor) to create the new
version for. Format:
projects/{project}/locations/{location}/processors/{processor}
.
-
(::String) — Required. The parent (project, location and processor) to create the new
version for. Format:
projects/{project}/locations/{location}/processors/{processor}
.
#processor_version
def processor_version() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion) — Required. The processor version to be created.
#processor_version=
def processor_version=(value) -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion
- value (::Google::Cloud::DocumentAI::V1::ProcessorVersion) — Required. The processor version to be created.
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion) — Required. The processor version to be created.