Document AI V1 API - Class Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest (v0.21.1)

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

#custom_document_extraction_options=

def custom_document_extraction_options=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions
Parameter
Returns

#document_schema

def document_schema() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
Returns

#document_schema=

def document_schema=(value) -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
Parameter
Returns

#foundation_model_tuning_options

def foundation_model_tuning_options() -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions
Returns

#foundation_model_tuning_options=

def foundation_model_tuning_options=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::FoundationModelTuningOptions
Parameter
Returns

#input_data

def input_data() -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData
Returns

#input_data=

def input_data=(value) -> ::Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::InputData
Parameter
Returns

#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

#processor_version=

def processor_version=(value) -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion
Parameter
Returns