google-apis-documentai_v1 0.31.0 → 0.34.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: ca4971f1633e4735830055b3e63ee5a33ca40b4784e2b06f6943231ab42e5ccb
|
4
|
+
data.tar.gz: 2962c29b1585e366bbc942262f3f26ecbbbe56bad68710138ce726af82f302fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1559df80662a33a38e5db3e8936d6accde0cd952ce656508d0405aea15cf8132be180a037a6171acf4012da04bceb4d413ea6d102a7bcdae1e1e978f0fe5f319
|
7
|
+
data.tar.gz: 3164768bf281859eb518ef5c39cc357a4e184c698bbed1f6049605b38906a71171fcb83079ed14f47200fa4dd5c4785b06654b390f77054c138396b1d148505f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2022-04-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220401
|
6
|
+
|
7
|
+
### v0.33.0 (2022-03-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220326
|
10
|
+
|
11
|
+
### v0.32.0 (2022-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220321
|
14
|
+
|
3
15
|
### v0.31.0 (2022-03-15)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220311
|
@@ -1237,10 +1237,10 @@ module Google
|
|
1237
1237
|
end
|
1238
1238
|
end
|
1239
1239
|
|
1240
|
-
# Document represents the canonical document resource in Document
|
1241
|
-
#
|
1242
|
-
#
|
1243
|
-
#
|
1240
|
+
# Document represents the canonical document resource in Document AI. It is an
|
1241
|
+
# interchange format that provides insights into documents and allows for
|
1242
|
+
# collaboration between users and Document AI to iterate and optimize for
|
1243
|
+
# quality.
|
1244
1244
|
class GoogleCloudDocumentaiV1Document
|
1245
1245
|
include Google::Apis::Core::Hashable
|
1246
1246
|
|
@@ -1370,6 +1370,15 @@ module Google
|
|
1370
1370
|
# @return [String]
|
1371
1371
|
attr_accessor :mention_text
|
1372
1372
|
|
1373
|
+
# Optional. This attribute indicates that the processing didn't actually
|
1374
|
+
# identify this entity, but a confidence score was assigned that represent the
|
1375
|
+
# potential that this could be a false negative. A non-present entity should
|
1376
|
+
# have an empty mention_text and text_anchor.
|
1377
|
+
# Corresponds to the JSON property `nonPresent`
|
1378
|
+
# @return [Boolean]
|
1379
|
+
attr_accessor :non_present
|
1380
|
+
alias_method :non_present?, :non_present
|
1381
|
+
|
1373
1382
|
# Parsed and normalized entity value.
|
1374
1383
|
# Corresponds to the JSON property `normalizedValue`
|
1375
1384
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]
|
@@ -1405,7 +1414,7 @@ module Google
|
|
1405
1414
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
|
1406
1415
|
attr_accessor :text_anchor
|
1407
1416
|
|
1408
|
-
# Entity type from a schema e.g. `Address`.
|
1417
|
+
# Required. Entity type from a schema e.g. `Address`.
|
1409
1418
|
# Corresponds to the JSON property `type`
|
1410
1419
|
# @return [String]
|
1411
1420
|
attr_accessor :type
|
@@ -1420,6 +1429,7 @@ module Google
|
|
1420
1429
|
@id = args[:id] if args.key?(:id)
|
1421
1430
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1422
1431
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
1432
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
1423
1433
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
1424
1434
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
1425
1435
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -3012,10 +3022,10 @@ module Google
|
|
3012
3022
|
class GoogleCloudDocumentaiV1ProcessRequest
|
3013
3023
|
include Google::Apis::Core::Hashable
|
3014
3024
|
|
3015
|
-
# Document represents the canonical document resource in Document
|
3016
|
-
#
|
3017
|
-
#
|
3018
|
-
#
|
3025
|
+
# Document represents the canonical document resource in Document AI. It is an
|
3026
|
+
# interchange format that provides insights into documents and allows for
|
3027
|
+
# collaboration between users and Document AI to iterate and optimize for
|
3028
|
+
# quality.
|
3019
3029
|
# Corresponds to the JSON property `inlineDocument`
|
3020
3030
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
3021
3031
|
attr_accessor :inline_document
|
@@ -3048,10 +3058,10 @@ module Google
|
|
3048
3058
|
class GoogleCloudDocumentaiV1ProcessResponse
|
3049
3059
|
include Google::Apis::Core::Hashable
|
3050
3060
|
|
3051
|
-
# Document represents the canonical document resource in Document
|
3052
|
-
#
|
3053
|
-
#
|
3054
|
-
#
|
3061
|
+
# Document represents the canonical document resource in Document AI. It is an
|
3062
|
+
# interchange format that provides insights into documents and allows for
|
3063
|
+
# collaboration between users and Document AI to iterate and optimize for
|
3064
|
+
# quality.
|
3055
3065
|
# Corresponds to the JSON property `document`
|
3056
3066
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
3057
3067
|
attr_accessor :document
|
@@ -3214,7 +3224,7 @@ module Google
|
|
3214
3224
|
# have multiple versions, pre-trained by Google internally or up-trained by the
|
3215
3225
|
# customer. At a time, a processor can only have one default version version. So
|
3216
3226
|
# the processor's behavior (when processing documents) is defined by a default
|
3217
|
-
# version
|
3227
|
+
# version
|
3218
3228
|
class GoogleCloudDocumentaiV1ProcessorVersion
|
3219
3229
|
include Google::Apis::Core::Hashable
|
3220
3230
|
|
@@ -3228,6 +3238,12 @@ module Google
|
|
3228
3238
|
# @return [String]
|
3229
3239
|
attr_accessor :display_name
|
3230
3240
|
|
3241
|
+
# Denotes that this ProcessorVersion is managed by google.
|
3242
|
+
# Corresponds to the JSON property `googleManaged`
|
3243
|
+
# @return [Boolean]
|
3244
|
+
attr_accessor :google_managed
|
3245
|
+
alias_method :google_managed?, :google_managed
|
3246
|
+
|
3231
3247
|
# The KMS key name used for encryption.
|
3232
3248
|
# Corresponds to the JSON property `kmsKeyName`
|
3233
3249
|
# @return [String]
|
@@ -3258,6 +3274,7 @@ module Google
|
|
3258
3274
|
def update!(**args)
|
3259
3275
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3260
3276
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3277
|
+
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
3261
3278
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
3262
3279
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
3263
3280
|
@name = args[:name] if args.key?(:name)
|
@@ -3326,10 +3343,10 @@ module Google
|
|
3326
3343
|
attr_accessor :enable_schema_validation
|
3327
3344
|
alias_method :enable_schema_validation?, :enable_schema_validation
|
3328
3345
|
|
3329
|
-
# Document represents the canonical document resource in Document
|
3330
|
-
#
|
3331
|
-
#
|
3332
|
-
#
|
3346
|
+
# Document represents the canonical document resource in Document AI. It is an
|
3347
|
+
# interchange format that provides insights into documents and allows for
|
3348
|
+
# collaboration between users and Document AI to iterate and optimize for
|
3349
|
+
# quality.
|
3333
3350
|
# Corresponds to the JSON property `inlineDocument`
|
3334
3351
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
3335
3352
|
attr_accessor :inline_document
|
@@ -3599,10 +3616,10 @@ module Google
|
|
3599
3616
|
end
|
3600
3617
|
end
|
3601
3618
|
|
3602
|
-
# Document represents the canonical document resource in Document
|
3603
|
-
#
|
3604
|
-
#
|
3605
|
-
#
|
3619
|
+
# Document represents the canonical document resource in Document AI. It is an
|
3620
|
+
# interchange format that provides insights into documents and allows for
|
3621
|
+
# collaboration between users and Document AI to iterate and optimize for
|
3622
|
+
# quality.
|
3606
3623
|
class GoogleCloudDocumentaiV1beta1Document
|
3607
3624
|
include Google::Apis::Core::Hashable
|
3608
3625
|
|
@@ -3732,6 +3749,15 @@ module Google
|
|
3732
3749
|
# @return [String]
|
3733
3750
|
attr_accessor :mention_text
|
3734
3751
|
|
3752
|
+
# Optional. This attribute indicates that the processing didn't actually
|
3753
|
+
# identify this entity, but a confidence score was assigned that represent the
|
3754
|
+
# potential that this could be a false negative. A non-present entity should
|
3755
|
+
# have an empty mention_text and text_anchor.
|
3756
|
+
# Corresponds to the JSON property `nonPresent`
|
3757
|
+
# @return [Boolean]
|
3758
|
+
attr_accessor :non_present
|
3759
|
+
alias_method :non_present?, :non_present
|
3760
|
+
|
3735
3761
|
# Parsed and normalized entity value.
|
3736
3762
|
# Corresponds to the JSON property `normalizedValue`
|
3737
3763
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
|
@@ -3767,7 +3793,7 @@ module Google
|
|
3767
3793
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
3768
3794
|
attr_accessor :text_anchor
|
3769
3795
|
|
3770
|
-
# Entity type from a schema e.g. `Address`.
|
3796
|
+
# Required. Entity type from a schema e.g. `Address`.
|
3771
3797
|
# Corresponds to the JSON property `type`
|
3772
3798
|
# @return [String]
|
3773
3799
|
attr_accessor :type
|
@@ -3782,6 +3808,7 @@ module Google
|
|
3782
3808
|
@id = args[:id] if args.key?(:id)
|
3783
3809
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
3784
3810
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
3811
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
3785
3812
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
3786
3813
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
3787
3814
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -5351,10 +5378,10 @@ module Google
|
|
5351
5378
|
end
|
5352
5379
|
end
|
5353
5380
|
|
5354
|
-
# Document represents the canonical document resource in Document
|
5355
|
-
#
|
5356
|
-
#
|
5357
|
-
#
|
5381
|
+
# Document represents the canonical document resource in Document AI. It is an
|
5382
|
+
# interchange format that provides insights into documents and allows for
|
5383
|
+
# collaboration between users and Document AI to iterate and optimize for
|
5384
|
+
# quality.
|
5358
5385
|
class GoogleCloudDocumentaiV1beta2Document
|
5359
5386
|
include Google::Apis::Core::Hashable
|
5360
5387
|
|
@@ -5490,6 +5517,15 @@ module Google
|
|
5490
5517
|
# @return [String]
|
5491
5518
|
attr_accessor :mention_text
|
5492
5519
|
|
5520
|
+
# Optional. This attribute indicates that the processing didn't actually
|
5521
|
+
# identify this entity, but a confidence score was assigned that represent the
|
5522
|
+
# potential that this could be a false negative. A non-present entity should
|
5523
|
+
# have an empty mention_text and text_anchor.
|
5524
|
+
# Corresponds to the JSON property `nonPresent`
|
5525
|
+
# @return [Boolean]
|
5526
|
+
attr_accessor :non_present
|
5527
|
+
alias_method :non_present?, :non_present
|
5528
|
+
|
5493
5529
|
# Parsed and normalized entity value.
|
5494
5530
|
# Corresponds to the JSON property `normalizedValue`
|
5495
5531
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
|
@@ -5525,7 +5561,7 @@ module Google
|
|
5525
5561
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
5526
5562
|
attr_accessor :text_anchor
|
5527
5563
|
|
5528
|
-
# Entity type from a schema e.g. `Address`.
|
5564
|
+
# Required. Entity type from a schema e.g. `Address`.
|
5529
5565
|
# Corresponds to the JSON property `type`
|
5530
5566
|
# @return [String]
|
5531
5567
|
attr_accessor :type
|
@@ -5540,6 +5576,7 @@ module Google
|
|
5540
5576
|
@id = args[:id] if args.key?(:id)
|
5541
5577
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
5542
5578
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
5579
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
5543
5580
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
5544
5581
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
5545
5582
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -7731,8 +7768,7 @@ module Google
|
|
7731
7768
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
7732
7769
|
# messages in your APIs. A typical example is to use it as the request or the
|
7733
7770
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
7734
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
7735
|
-
# `Empty` is empty JSON object ````.
|
7771
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
7736
7772
|
class GoogleProtobufEmpty
|
7737
7773
|
include Google::Apis::Core::Hashable
|
7738
7774
|
|
@@ -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.34.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 = "20220401"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1924,6 +1924,7 @@ module Google
|
|
1924
1924
|
property :id, as: 'id'
|
1925
1925
|
property :mention_id, as: 'mentionId'
|
1926
1926
|
property :mention_text, as: 'mentionText'
|
1927
|
+
property :non_present, as: 'nonPresent'
|
1927
1928
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue::Representation
|
1928
1929
|
|
1929
1930
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor::Representation
|
@@ -2466,6 +2467,7 @@ module Google
|
|
2466
2467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2467
2468
|
property :create_time, as: 'createTime'
|
2468
2469
|
property :display_name, as: 'displayName'
|
2470
|
+
property :google_managed, as: 'googleManaged'
|
2469
2471
|
property :kms_key_name, as: 'kmsKeyName'
|
2470
2472
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
2471
2473
|
property :name, as: 'name'
|
@@ -2626,6 +2628,7 @@ module Google
|
|
2626
2628
|
property :id, as: 'id'
|
2627
2629
|
property :mention_id, as: 'mentionId'
|
2628
2630
|
property :mention_text, as: 'mentionText'
|
2631
|
+
property :non_present, as: 'nonPresent'
|
2629
2632
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
|
2630
2633
|
|
2631
2634
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
|
@@ -3128,6 +3131,7 @@ module Google
|
|
3128
3131
|
property :id, as: 'id'
|
3129
3132
|
property :mention_id, as: 'mentionId'
|
3130
3133
|
property :mention_text, as: 'mentionText'
|
3134
|
+
property :non_present, as: 'nonPresent'
|
3131
3135
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
|
3132
3136
|
|
3133
3137
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
|
@@ -152,8 +152,8 @@ module Google
|
|
152
152
|
# The resource that owns the locations collection, if applicable.
|
153
153
|
# @param [String] filter
|
154
154
|
# A filter to narrow down results to a preferred subset. The filtering language
|
155
|
-
# accepts strings like "displayName=tokyo"
|
156
|
-
# AIP-160](https://google.aip.dev/160).
|
155
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
156
|
+
# in [AIP-160](https://google.aip.dev/160).
|
157
157
|
# @param [Fixnum] page_size
|
158
158
|
# The maximum number of results to return. If not set, the service selects a
|
159
159
|
# default.
|
@@ -956,8 +956,8 @@ module Google
|
|
956
956
|
# The resource that owns the locations collection, if applicable.
|
957
957
|
# @param [String] filter
|
958
958
|
# A filter to narrow down results to a preferred subset. The filtering language
|
959
|
-
# accepts strings like "displayName=tokyo"
|
960
|
-
# AIP-160](https://google.aip.dev/160).
|
959
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
960
|
+
# in [AIP-160](https://google.aip.dev/160).
|
961
961
|
# @param [Fixnum] page_size
|
962
962
|
# The maximum number of results to return. If not set, the service selects a
|
963
963
|
# default.
|
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.34.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-
|
11
|
+
date: 2022-04-11 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.34.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: []
|