proto_docs/google/cloud/documentai/v1beta3/processor.rb in google-cloud-document_ai-v1beta3-0.23.0 vs proto_docs/google/cloud/documentai/v1beta3/processor.rb in google-cloud-document_ai-v1beta3-0.24.0
- old
+ new
@@ -20,14 +20,13 @@
module Google
module Cloud
module DocumentAI
module V1beta3
# 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
+ # 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.
# @!attribute [rw] name
# @return [::String]
# The resource name of the processor version.
# Format:
# `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`
@@ -52,11 +51,11 @@
# @!attribute [rw] kms_key_version_name
# @return [::String]
# The KMS key version with which data is encrypted.
# @!attribute [rw] google_managed
# @return [::Boolean]
- # Denotes that this ProcessorVersion is managed by google.
+ # Denotes that this `ProcessorVersion` is managed by Google.
# @!attribute [rw] deprecation_info
# @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::DeprecationInfo]
# If set, information about the eventual deprecation of this version.
class ProcessorVersion
include ::Google::Protobuf::MessageExts
@@ -97,10 +96,13 @@
# The processor version is being deleted.
DELETING = 6
# The processor version failed and is in an indeterminate state.
FAILED = 7
+
+ # The processor version is being imported.
+ IMPORTING = 8
end
end
# The first-class citizen for Document AI. Each processor defines how to
# extract structural information from a document.
@@ -108,12 +110,12 @@
# @return [::String]
# Output only. Immutable. The resource name of the processor.
# Format: `projects/{project}/locations/{location}/processors/{processor}`
# @!attribute [rw] type
# @return [::String]
- # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
- # To get a list of processors types, see
+ # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
+ # To get a list of processor types, see
# {::Google::Cloud::DocumentAI::V1beta3::DocumentProcessorService::Client#fetch_processor_types FetchProcessorTypes}.
# @!attribute [rw] display_name
# @return [::String]
# The display name of the processor.
# @!attribute [r] state
@@ -129,11 +131,11 @@
# @!attribute [rw] create_time
# @return [::Google::Protobuf::Timestamp]
# The time the processor was created.
# @!attribute [rw] kms_key_name
# @return [::String]
- # The KMS key used for encryption/decryption in CMEK scenarios.
- # See https://cloud.google.com/security-key-management.
+ # The [KMS key](https://cloud.google.com/security-key-management) used for
+ # encryption and decryption in CMEK scenarios.
class Processor
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
# The possible states of the processor.