Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest.
Request message for the create processor version 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}
.
#document_schema
def document_schema() -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentSchema) — Optional. The schema the processor version will be trained with.
#document_schema=
def document_schema=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DocumentSchema
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::DocumentSchema) — Optional. The schema the processor version will be trained with.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DocumentSchema) — Optional. The schema the processor version will be trained with.
#input_data
def input_data() -> ::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::InputData
Returns
-
(::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the
ProcessorVersion
.
#input_data=
def input_data=(value) -> ::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::InputData
Parameter
-
value (::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::InputData) — Optional. The input data used to train the
ProcessorVersion
.
Returns
-
(::Google::Cloud::DocumentAI::V1beta3::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::V1beta3::ProcessorVersion
Returns
- (::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion) — Required. The processor version to be created.
#processor_version=
def processor_version=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion) — Required. The processor version to be created.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion) — Required. The processor version to be created.