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, pre-trained by Google internally or up-trained by the customer. At a time, a processor can only have one default version version. So the processor's behavior (when processing documents) is defined by a default version
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The time the processor version was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The time the processor version was created.
- (::Google::Protobuf::Timestamp) — The time the processor version was created.
#deprecation_info
def deprecation_info() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo) — If set, information about the eventual deprecation of this version.
#deprecation_info=
def deprecation_info=(value) -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo
- value (::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo) — If set, information about the eventual deprecation of this version.
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo) — If set, information about the eventual deprecation of this version.
#display_name
def display_name() -> ::String
- (::String) — The display name of the processor version.
#display_name=
def display_name=(value) -> ::String
- value (::String) — The display name of the processor version.
- (::String) — The display name of the processor version.
#document_schema
def document_schema() -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
- (::Google::Cloud::DocumentAI::V1::DocumentSchema) — The schema of the processor version. Describes the output.
#document_schema=
def document_schema=(value) -> ::Google::Cloud::DocumentAI::V1::DocumentSchema
- value (::Google::Cloud::DocumentAI::V1::DocumentSchema) — The schema of the processor version. Describes the output.
- (::Google::Cloud::DocumentAI::V1::DocumentSchema) — The schema of the processor version. Describes the output.
#google_managed
def google_managed() -> ::Boolean
- (::Boolean) — Denotes that this ProcessorVersion is managed by google.
#google_managed=
def google_managed=(value) -> ::Boolean
- value (::Boolean) — Denotes that this ProcessorVersion is managed by google.
- (::Boolean) — Denotes that this ProcessorVersion is managed by google.
#kms_key_name
def kms_key_name() -> ::String
- (::String) — The KMS key name used for encryption.
#kms_key_name=
def kms_key_name=(value) -> ::String
- value (::String) — The KMS key name used for encryption.
- (::String) — The KMS key name used for encryption.
#kms_key_version_name
def kms_key_version_name() -> ::String
- (::String) — The KMS key version with which data is encrypted.
#kms_key_version_name=
def kms_key_version_name=(value) -> ::String
- value (::String) — The KMS key version with which data is encrypted.
- (::String) — The KMS key version with which data is encrypted.
#latest_evaluation
def latest_evaluation() -> ::Google::Cloud::DocumentAI::V1::EvaluationReference
- (::Google::Cloud::DocumentAI::V1::EvaluationReference) — The most recently invoked evaluation for the processor version.
#latest_evaluation=
def latest_evaluation=(value) -> ::Google::Cloud::DocumentAI::V1::EvaluationReference
- value (::Google::Cloud::DocumentAI::V1::EvaluationReference) — The most recently invoked evaluation for the processor version.
- (::Google::Cloud::DocumentAI::V1::EvaluationReference) — The most recently invoked evaluation for the processor version.
#name
def name() -> ::String
-
(::String) — The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
#name=
def name=(value) -> ::String
-
value (::String) — The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
-
(::String) — The resource name of the processor version.
Format:
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}
#state
def state() -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::State
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::State) — The state of the processor version.
#state=
def state=(value) -> ::Google::Cloud::DocumentAI::V1::ProcessorVersion::State
- value (::Google::Cloud::DocumentAI::V1::ProcessorVersion::State) — The state of the processor version.
- (::Google::Cloud::DocumentAI::V1::ProcessorVersion::State) — The state of the processor version.