google-cloud-document_ai-v1 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,16 +54,15 @@ module Google
54
54
  # @!attribute [rw] name
55
55
  # @return [::String]
56
56
  # Name of the type. It must be unique within the schema file and
57
- # cannot be a 'Common Type'. Besides that we use the following naming
58
- # conventions:
57
+ # cannot be a "Common Type". The following naming conventions are used:
59
58
  #
60
- # - *use `snake_casing`*
61
- # - name matching is case-sensitive
59
+ # - Use `snake_casing`.
60
+ # - Name matching is case-sensitive.
62
61
  # - Maximum 64 characters.
63
62
  # - Must start with a letter.
64
63
  # - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
65
64
  # compatibility internal infrastructure and tooling can handle any ascii
66
- # character)
65
+ # character.)
67
66
  # - The `/` is sometimes used to denote a property of a type. For example
68
67
  # `line_item/amount`. This convention is deprecated, but will still be
69
68
  # honored for backward compatibility.
@@ -137,8 +136,8 @@ module Google
137
136
  # Metadata for global schema behavior.
138
137
  # @!attribute [rw] document_splitter
139
138
  # @return [::Boolean]
140
- # If true, a `document` entity type can be applied to subdocument (
141
- # splitting). Otherwise, it can only be applied to the entire document
139
+ # If true, a `document` entity type can be applied to subdocument
140
+ # (splitting). Otherwise, it can only be applied to the entire document
142
141
  # (classification).
143
142
  # @!attribute [rw] document_allow_multiple_labels
144
143
  # @return [::Boolean]
@@ -22,10 +22,9 @@ module Google
22
22
  module DocumentAI
23
23
  module V1
24
24
  # A processor version is an implementation of a processor. Each processor
25
- # can have multiple versions, pre-trained by Google internally or up-trained
26
- # by the customer. At a time, a processor can only have one default version
27
- # version. So the processor's behavior (when processing documents) is defined
28
- # by a default version
25
+ # can have multiple versions, pretrained by Google internally or uptrained
26
+ # by the customer. A processor can only have one default version at a time.
27
+ # Its document-processing behavior is defined by that version.
29
28
  # @!attribute [rw] name
30
29
  # @return [::String]
31
30
  # The resource name of the processor version.
@@ -54,7 +53,7 @@ module Google
54
53
  # The KMS key version with which data is encrypted.
55
54
  # @!attribute [rw] google_managed
56
55
  # @return [::Boolean]
57
- # Denotes that this ProcessorVersion is managed by google.
56
+ # Denotes that this `ProcessorVersion` is managed by Google.
58
57
  # @!attribute [rw] deprecation_info
59
58
  # @return [::Google::Cloud::DocumentAI::V1::ProcessorVersion::DeprecationInfo]
60
59
  # If set, information about the eventual deprecation of this version.
@@ -99,6 +98,9 @@ module Google
99
98
 
100
99
  # The processor version failed and is in an indeterminate state.
101
100
  FAILED = 7
101
+
102
+ # The processor version is being imported.
103
+ IMPORTING = 8
102
104
  end
103
105
  end
104
106
 
@@ -110,8 +112,8 @@ module Google
110
112
  # Format: `projects/{project}/locations/{location}/processors/{processor}`
111
113
  # @!attribute [rw] type
112
114
  # @return [::String]
113
- # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
114
- # To get a list of processors types, see
115
+ # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
116
+ # To get a list of processor types, see
115
117
  # {::Google::Cloud::DocumentAI::V1::DocumentProcessorService::Client#fetch_processor_types FetchProcessorTypes}.
116
118
  # @!attribute [rw] display_name
117
119
  # @return [::String]
@@ -131,8 +133,8 @@ module Google
131
133
  # The time the processor was created.
132
134
  # @!attribute [rw] kms_key_name
133
135
  # @return [::String]
134
- # The KMS key used for encryption/decryption in CMEK scenarios.
135
- # See https://cloud.google.com/security-key-management.
136
+ # The [KMS key](https://cloud.google.com/security-key-management) used for
137
+ # encryption and decryption in CMEK scenarios.
136
138
  class Processor
137
139
  include ::Google::Protobuf::MessageExts
138
140
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -29,7 +29,7 @@ module Google
29
29
  # Format: `projects/{project}/processorTypes/{processor_type}`
30
30
  # @!attribute [rw] type
31
31
  # @return [::String]
32
- # The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc.
32
+ # The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`.
33
33
  # @!attribute [rw] category
34
34
  # @return [::String]
35
35
  # The processor category, used by UI to group processor types.
@@ -53,7 +53,8 @@ module Google
53
53
  # The location information about where the processor is available.
54
54
  # @!attribute [rw] location_id
55
55
  # @return [::String]
56
- # The location id, currently must be one of [us, eu].
56
+ # The location ID. For supported locations, refer to [regional and
57
+ # multi-regional support](/document-ai/docs/regions).
57
58
  class LocationInfo
58
59
  include ::Google::Protobuf::MessageExts
59
60
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-document_ai-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common