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
Returns
-
(::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
Parameter
-
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}
.
Returns
-
(::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
Returns
- (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions) — Options to control Custom Document Extraction (CDE) Processor.
#custom_document_extraction_options=
def custom_document_extraction_options=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions
Parameter
- value (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions) — Options to control Custom Document Extraction (CDE) Processor.
Returns
- (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions) — Options to control Custom Document Extraction (CDE) Processor.
#document_schema
def document_schema() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
Returns
- (::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
Parameter
- value (::Google::Cloud::DocumentAI::V1::DocumentSchema) — Optional. The schema the processor version will be trained with.
Returns
- (::Google::Cloud::DocumentAI::V1::DocumentSchema) — Optional. The schema the processor version will be trained with.
#input_data
def input_data() -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData
Returns
- (::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
Parameter
- value (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the ProcessorVersion.
Returns
- (::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the ProcessorVersion.
#parent
def parent() -> ::String
Returns
-
(::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
Parameter
-
value (::String) — Required. The parent (project, location and processor) to create the new
version for. Format:
projects/{project}/locations/{location}/processors/{processor}
.
Returns
-
(::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
Returns
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion) — Required. The processor version to be created.
#processor_version=
def processor_version=(value) -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion
Parameter
- value (::Google::Cloud::DocumentAI::V1::ProcessorVersion) — Required. The processor version to be created.
Returns
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion) — Required. The processor version to be created.