Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::ProcessorVersion.
A processor version is an implementation of a processor. Each processor can have multiple versions, pretrained by Google internally or uptrained by the customer. A processor can only have one default version at a time. Its document-processing behavior is defined by that version.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the processor version was created.
#deprecation_info
def deprecation_info() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo
Returns
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo) — Output only. If set, information about the eventual deprecation of this version.
#display_name
def display_name() -> ::String
Returns
- (::String) — The display name of the processor version.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The display name of the processor version.
Returns
- (::String) — The display name of the processor version.
#document_schema
def document_schema() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
Returns
- (::Google::Cloud::DocumentAI::V1::DocumentSchema) — Output only. The schema of the processor version. Describes the output.
#gen_ai_model_info
def gen_ai_model_info() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::GenAiModelInfo
Returns
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::GenAiModelInfo) — Output only. Information about Generative AI model-based processor versions.
#google_managed
def google_managed() -> ::Boolean
Returns
-
(::Boolean) — Output only. Denotes that this
ProcessorVersion
is managed by Google.
#kms_key_name
def kms_key_name() -> ::String
Returns
- (::String) — Output only. The KMS key name used for encryption.
#kms_key_version_name
def kms_key_version_name() -> ::String
Returns
- (::String) — Output only. The KMS key version with which data is encrypted.
#latest_evaluation
def latest_evaluation() -> ::Google::Cloud::DocumentAI::V1::EvaluationReference
Returns
- (::Google::Cloud::DocumentAI::V1::EvaluationReference) — Output only. The most recently invoked evaluation for the processor version.
#model_type
def model_type() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::ModelType
Returns
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::ModelType) — Output only. The model type of this processor version.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
Returns
-
(::String) — Identifier. The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
#satisfies_pzi
def satisfies_pzi() -> ::Boolean
Returns
- (::Boolean) — Output only. Reserved for future use.
#satisfies_pzs
def satisfies_pzs() -> ::Boolean
Returns
- (::Boolean) — Output only. Reserved for future use.
#state
def state() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::State
Returns
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::State) — Output only. The state of the processor version.