google-apis-documentai_v1 0.27.0 → 0.28.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfefcd0a66b980ef95b0568550121c22c6ad8688af878e7bffc2849ebe2866f3
|
|
4
|
+
data.tar.gz: e72fa731e404096be56452caf9ae29148212058f3cf1985d8deea5d4a4811fc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9347e2bd683de7aec03582412ea1a67d61784dc72a5edb3d6010d2fe904114fa18964d1f579c8ef1d4c66dc3a3f9bf6a033633c36841467377b1bf74ee63f267
|
|
7
|
+
data.tar.gz: 21379bdec6bb6eaf54ad39efe037a19970c97cc4d9b4248c35d49426525a9a9878b846a2dca0ebaf51d2ce07181e999c13d0b4a7a71a01fe4c1f8d5241682eab
|
data/CHANGELOG.md
CHANGED
|
@@ -1252,7 +1252,7 @@ module Google
|
|
|
1252
1252
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity>]
|
|
1253
1253
|
attr_accessor :entities
|
|
1254
1254
|
|
|
1255
|
-
# Relationship among Document.entities.
|
|
1255
|
+
# Placeholder. Relationship among Document.entities.
|
|
1256
1256
|
# Corresponds to the JSON property `entityRelations`
|
|
1257
1257
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityRelation>]
|
|
1258
1258
|
attr_accessor :entity_relations
|
|
@@ -1279,7 +1279,7 @@ module Google
|
|
|
1279
1279
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPage>]
|
|
1280
1280
|
attr_accessor :pages
|
|
1281
1281
|
|
|
1282
|
-
# Revision history of this document.
|
|
1282
|
+
# Placeholder. Revision history of this document.
|
|
1283
1283
|
# Corresponds to the JSON property `revisions`
|
|
1284
1284
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentRevision>]
|
|
1285
1285
|
attr_accessor :revisions
|
|
@@ -1295,14 +1295,14 @@ module Google
|
|
|
1295
1295
|
# @return [String]
|
|
1296
1296
|
attr_accessor :text
|
|
1297
1297
|
|
|
1298
|
-
# A list of text corrections made to [Document.text]. This is
|
|
1299
|
-
# annotating corrections to OCR mistakes. Text changes for a
|
|
1300
|
-
# not overlap with each other.
|
|
1298
|
+
# Placeholder. A list of text corrections made to [Document.text]. This is
|
|
1299
|
+
# usually used for annotating corrections to OCR mistakes. Text changes for a
|
|
1300
|
+
# given revision may not overlap with each other.
|
|
1301
1301
|
# Corresponds to the JSON property `textChanges`
|
|
1302
1302
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextChange>]
|
|
1303
1303
|
attr_accessor :text_changes
|
|
1304
1304
|
|
|
1305
|
-
# Styles for the Document.text.
|
|
1305
|
+
# Placeholder. Styles for the Document.text.
|
|
1306
1306
|
# Corresponds to the JSON property `textStyles`
|
|
1307
1307
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyle>]
|
|
1308
1308
|
attr_accessor :text_styles
|
|
@@ -3221,6 +3221,16 @@ module Google
|
|
|
3221
3221
|
# @return [String]
|
|
3222
3222
|
attr_accessor :display_name
|
|
3223
3223
|
|
|
3224
|
+
# The KMS key name used for encryption.
|
|
3225
|
+
# Corresponds to the JSON property `kmsKeyName`
|
|
3226
|
+
# @return [String]
|
|
3227
|
+
attr_accessor :kms_key_name
|
|
3228
|
+
|
|
3229
|
+
# The KMS key version with which data is encrypted.
|
|
3230
|
+
# Corresponds to the JSON property `kmsKeyVersionName`
|
|
3231
|
+
# @return [String]
|
|
3232
|
+
attr_accessor :kms_key_version_name
|
|
3233
|
+
|
|
3224
3234
|
# The resource name of the processor version. Format: `projects/`project`/
|
|
3225
3235
|
# locations/`location`/processors/`processor`/processorVersions/`
|
|
3226
3236
|
# processor_version``
|
|
@@ -3241,6 +3251,8 @@ module Google
|
|
|
3241
3251
|
def update!(**args)
|
|
3242
3252
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3243
3253
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3254
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
3255
|
+
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
|
3244
3256
|
@name = args[:name] if args.key?(:name)
|
|
3245
3257
|
@state = args[:state] if args.key?(:state)
|
|
3246
3258
|
end
|
|
@@ -3601,7 +3613,7 @@ module Google
|
|
|
3601
3613
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntity>]
|
|
3602
3614
|
attr_accessor :entities
|
|
3603
3615
|
|
|
3604
|
-
# Relationship among Document.entities.
|
|
3616
|
+
# Placeholder. Relationship among Document.entities.
|
|
3605
3617
|
# Corresponds to the JSON property `entityRelations`
|
|
3606
3618
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityRelation>]
|
|
3607
3619
|
attr_accessor :entity_relations
|
|
@@ -3628,7 +3640,7 @@ module Google
|
|
|
3628
3640
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPage>]
|
|
3629
3641
|
attr_accessor :pages
|
|
3630
3642
|
|
|
3631
|
-
# Revision history of this document.
|
|
3643
|
+
# Placeholder. Revision history of this document.
|
|
3632
3644
|
# Corresponds to the JSON property `revisions`
|
|
3633
3645
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentRevision>]
|
|
3634
3646
|
attr_accessor :revisions
|
|
@@ -3644,14 +3656,14 @@ module Google
|
|
|
3644
3656
|
# @return [String]
|
|
3645
3657
|
attr_accessor :text
|
|
3646
3658
|
|
|
3647
|
-
# A list of text corrections made to [Document.text]. This is
|
|
3648
|
-
# annotating corrections to OCR mistakes. Text changes for a
|
|
3649
|
-
# not overlap with each other.
|
|
3659
|
+
# Placeholder. A list of text corrections made to [Document.text]. This is
|
|
3660
|
+
# usually used for annotating corrections to OCR mistakes. Text changes for a
|
|
3661
|
+
# given revision may not overlap with each other.
|
|
3650
3662
|
# Corresponds to the JSON property `textChanges`
|
|
3651
3663
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextChange>]
|
|
3652
3664
|
attr_accessor :text_changes
|
|
3653
3665
|
|
|
3654
|
-
# Styles for the Document.text.
|
|
3666
|
+
# Placeholder. Styles for the Document.text.
|
|
3655
3667
|
# Corresponds to the JSON property `textStyles`
|
|
3656
3668
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyle>]
|
|
3657
3669
|
attr_accessor :text_styles
|
|
@@ -5353,7 +5365,7 @@ module Google
|
|
|
5353
5365
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntity>]
|
|
5354
5366
|
attr_accessor :entities
|
|
5355
5367
|
|
|
5356
|
-
# Relationship among Document.entities.
|
|
5368
|
+
# Placeholder. Relationship among Document.entities.
|
|
5357
5369
|
# Corresponds to the JSON property `entityRelations`
|
|
5358
5370
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityRelation>]
|
|
5359
5371
|
attr_accessor :entity_relations
|
|
@@ -5385,7 +5397,7 @@ module Google
|
|
|
5385
5397
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPage>]
|
|
5386
5398
|
attr_accessor :pages
|
|
5387
5399
|
|
|
5388
|
-
# Revision history of this document.
|
|
5400
|
+
# Placeholder. Revision history of this document.
|
|
5389
5401
|
# Corresponds to the JSON property `revisions`
|
|
5390
5402
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentRevision>]
|
|
5391
5403
|
attr_accessor :revisions
|
|
@@ -5401,14 +5413,14 @@ module Google
|
|
|
5401
5413
|
# @return [String]
|
|
5402
5414
|
attr_accessor :text
|
|
5403
5415
|
|
|
5404
|
-
# A list of text corrections made to [Document.text]. This is
|
|
5405
|
-
# annotating corrections to OCR mistakes. Text changes for a
|
|
5406
|
-
# not overlap with each other.
|
|
5416
|
+
# Placeholder. A list of text corrections made to [Document.text]. This is
|
|
5417
|
+
# usually used for annotating corrections to OCR mistakes. Text changes for a
|
|
5418
|
+
# given revision may not overlap with each other.
|
|
5407
5419
|
# Corresponds to the JSON property `textChanges`
|
|
5408
5420
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
|
|
5409
5421
|
attr_accessor :text_changes
|
|
5410
5422
|
|
|
5411
|
-
# Styles for the Document.text.
|
|
5423
|
+
# Placeholder. Styles for the Document.text.
|
|
5412
5424
|
# Corresponds to the JSON property `textStyles`
|
|
5413
5425
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyle>]
|
|
5414
5426
|
attr_accessor :text_styles
|
|
@@ -8099,8 +8111,8 @@ module Google
|
|
|
8099
8111
|
attr_accessor :recipients
|
|
8100
8112
|
|
|
8101
8113
|
# Required. CLDR region code of the country/region of the address. This is never
|
|
8102
|
-
# inferred and it is up to the user to ensure the value is correct. See
|
|
8103
|
-
# cldr.unicode.org/ and
|
|
8114
|
+
# inferred and it is up to the user to ensure the value is correct. See https://
|
|
8115
|
+
# cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/
|
|
8104
8116
|
# territory_information.html for details. Example: "CH" for Switzerland.
|
|
8105
8117
|
# Corresponds to the JSON property `regionCode`
|
|
8106
8118
|
# @return [String]
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DocumentaiV1
|
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.28.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220222"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2465,6 +2465,8 @@ module Google
|
|
|
2465
2465
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2466
2466
|
property :create_time, as: 'createTime'
|
|
2467
2467
|
property :display_name, as: 'displayName'
|
|
2468
|
+
property :kms_key_name, as: 'kmsKeyName'
|
|
2469
|
+
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
|
2468
2470
|
property :name, as: 'name'
|
|
2469
2471
|
property :state, as: 'state'
|
|
2470
2472
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-documentai_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.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: 2022-02-
|
|
11
|
+
date: 2022-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.28.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|