google-apis-documentai_v1beta2 0.32.0 → 0.33.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: 424be90530028cbaa2a65aa2df672a7070acc7fe6ad298c2f375510aca561a57
|
4
|
+
data.tar.gz: 540fb3353235f8fe203c3bf415a3f6701c664723fdce6c70653225a714b20592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d74ab0426c6c5dc12ce6756f8d1a5c7868bcb5d2d07cd029b226fe8ad4a993a9cc3a235211844e9f97085ec5c23949071b3ace93ee0438aa85043666aadbfe83
|
7
|
+
data.tar.gz: 0c962722b64bf5ccec12436988a7fa741a55bb29d9ca43c7309e521815b3c4b897179594fe951ea7a92a60e76f190f93fe214f8b8bcbfba2327dfa964c274925
|
data/CHANGELOG.md
CHANGED
@@ -1409,10 +1409,10 @@ module Google
|
|
1409
1409
|
end
|
1410
1410
|
end
|
1411
1411
|
|
1412
|
-
# Document represents the canonical document resource in Document
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1412
|
+
# Document represents the canonical document resource in Document AI. It is an
|
1413
|
+
# interchange format that provides insights into documents and allows for
|
1414
|
+
# collaboration between users and Document AI to iterate and optimize for
|
1415
|
+
# quality.
|
1416
1416
|
class GoogleCloudDocumentaiV1beta1Document
|
1417
1417
|
include Google::Apis::Core::Hashable
|
1418
1418
|
|
@@ -1542,6 +1542,15 @@ module Google
|
|
1542
1542
|
# @return [String]
|
1543
1543
|
attr_accessor :mention_text
|
1544
1544
|
|
1545
|
+
# Optional. This attribute indicates that the processing didn't actually
|
1546
|
+
# identify this entity, but a confidence score was assigned that represent the
|
1547
|
+
# potential that this could be a false negative. A non-present entity should
|
1548
|
+
# have an empty mention_text and text_anchor.
|
1549
|
+
# Corresponds to the JSON property `nonPresent`
|
1550
|
+
# @return [Boolean]
|
1551
|
+
attr_accessor :non_present
|
1552
|
+
alias_method :non_present?, :non_present
|
1553
|
+
|
1545
1554
|
# Parsed and normalized entity value.
|
1546
1555
|
# Corresponds to the JSON property `normalizedValue`
|
1547
1556
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
|
@@ -1592,6 +1601,7 @@ module Google
|
|
1592
1601
|
@id = args[:id] if args.key?(:id)
|
1593
1602
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1594
1603
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
1604
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
1595
1605
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
1596
1606
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
1597
1607
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -3201,10 +3211,10 @@ module Google
|
|
3201
3211
|
end
|
3202
3212
|
end
|
3203
3213
|
|
3204
|
-
# Document represents the canonical document resource in Document
|
3205
|
-
#
|
3206
|
-
#
|
3207
|
-
#
|
3214
|
+
# Document represents the canonical document resource in Document AI. It is an
|
3215
|
+
# interchange format that provides insights into documents and allows for
|
3216
|
+
# collaboration between users and Document AI to iterate and optimize for
|
3217
|
+
# quality.
|
3208
3218
|
class GoogleCloudDocumentaiV1beta2Document
|
3209
3219
|
include Google::Apis::Core::Hashable
|
3210
3220
|
|
@@ -3340,6 +3350,15 @@ module Google
|
|
3340
3350
|
# @return [String]
|
3341
3351
|
attr_accessor :mention_text
|
3342
3352
|
|
3353
|
+
# Optional. This attribute indicates that the processing didn't actually
|
3354
|
+
# identify this entity, but a confidence score was assigned that represent the
|
3355
|
+
# potential that this could be a false negative. A non-present entity should
|
3356
|
+
# have an empty mention_text and text_anchor.
|
3357
|
+
# Corresponds to the JSON property `nonPresent`
|
3358
|
+
# @return [Boolean]
|
3359
|
+
attr_accessor :non_present
|
3360
|
+
alias_method :non_present?, :non_present
|
3361
|
+
|
3343
3362
|
# Parsed and normalized entity value.
|
3344
3363
|
# Corresponds to the JSON property `normalizedValue`
|
3345
3364
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
|
@@ -3390,6 +3409,7 @@ module Google
|
|
3390
3409
|
@id = args[:id] if args.key?(:id)
|
3391
3410
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
3392
3411
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
3412
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
3393
3413
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
3394
3414
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
3395
3415
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -5737,8 +5757,7 @@ module Google
|
|
5737
5757
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
5738
5758
|
# messages in your APIs. A typical example is to use it as the request or the
|
5739
5759
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
5740
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
5741
|
-
# `Empty` is empty JSON object ````.
|
5760
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
5742
5761
|
class GoogleProtobufEmpty
|
5743
5762
|
include Google::Apis::Core::Hashable
|
5744
5763
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta2
|
18
18
|
# Version of the google-apis-documentai_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.33.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 = "20220321"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1667,6 +1667,7 @@ module Google
|
|
1667
1667
|
property :id, as: 'id'
|
1668
1668
|
property :mention_id, as: 'mentionId'
|
1669
1669
|
property :mention_text, as: 'mentionText'
|
1670
|
+
property :non_present, as: 'nonPresent'
|
1670
1671
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
|
1671
1672
|
|
1672
1673
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
|
@@ -2184,6 +2185,7 @@ module Google
|
|
2184
2185
|
property :id, as: 'id'
|
2185
2186
|
property :mention_id, as: 'mentionId'
|
2186
2187
|
property :mention_text, as: 'mentionText'
|
2188
|
+
property :non_present, as: 'nonPresent'
|
2187
2189
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
|
2188
2190
|
|
2189
2191
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.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-03-
|
11
|
+
date: 2022-03-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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.33.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|