google-apis-documentai_v1beta2 0.32.0 → 0.35.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: 2dc146df10f1af92a2e983c11b3298d57deb81fdac3c3986f8d41c3f4dfd2946
|
4
|
+
data.tar.gz: a2d00151044a2a2d846a43d0ca1602096fac45f25b5856d6246eb519ac691113
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8f7da0a4725c1999bf6177d8f2e42f6269804d26ba518e9cd565a2b79c6de6d36ad16a8f41f67e283098cfc83d82847055ed9f10bc7b42533d22b04e3da4acb
|
7
|
+
data.tar.gz: 16a000c274306e21f6a56642340ab8f6e680452b3c22fb8e57e6fde64b261a58cf40e6a0eb0ee1eb5e4660f8acc3eb999b6553146f5da9c37d96c3530e0c8ce3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.35.0 (2022-04-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220409
|
6
|
+
|
7
|
+
### v0.34.0 (2022-03-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220326
|
10
|
+
|
11
|
+
### v0.33.0 (2022-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220321
|
14
|
+
|
3
15
|
### v0.32.0 (2022-03-15)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220311
|
@@ -196,6 +196,25 @@ module Google
|
|
196
196
|
end
|
197
197
|
end
|
198
198
|
|
199
|
+
# The long running operation metadata for DeleteDataLabelingJob.
|
200
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
201
|
+
include Google::Apis::Core::Hashable
|
202
|
+
|
203
|
+
# The common metadata for long running operations.
|
204
|
+
# Corresponds to the JSON property `commonMetadata`
|
205
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
206
|
+
attr_accessor :common_metadata
|
207
|
+
|
208
|
+
def initialize(**args)
|
209
|
+
update!(**args)
|
210
|
+
end
|
211
|
+
|
212
|
+
# Update properties of this object
|
213
|
+
def update!(**args)
|
214
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
199
218
|
# The long running operation metadata for DeleteLabelerPool.
|
200
219
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
201
220
|
include Google::Apis::Core::Hashable
|
@@ -1409,10 +1428,10 @@ module Google
|
|
1409
1428
|
end
|
1410
1429
|
end
|
1411
1430
|
|
1412
|
-
# Document represents the canonical document resource in Document
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1431
|
+
# Document represents the canonical document resource in Document AI. It is an
|
1432
|
+
# interchange format that provides insights into documents and allows for
|
1433
|
+
# collaboration between users and Document AI to iterate and optimize for
|
1434
|
+
# quality.
|
1416
1435
|
class GoogleCloudDocumentaiV1beta1Document
|
1417
1436
|
include Google::Apis::Core::Hashable
|
1418
1437
|
|
@@ -1542,6 +1561,15 @@ module Google
|
|
1542
1561
|
# @return [String]
|
1543
1562
|
attr_accessor :mention_text
|
1544
1563
|
|
1564
|
+
# Optional. This attribute indicates that the processing didn't actually
|
1565
|
+
# identify this entity, but a confidence score was assigned that represent the
|
1566
|
+
# potential that this could be a false negative. A non-present entity should
|
1567
|
+
# have an empty mention_text and text_anchor.
|
1568
|
+
# Corresponds to the JSON property `nonPresent`
|
1569
|
+
# @return [Boolean]
|
1570
|
+
attr_accessor :non_present
|
1571
|
+
alias_method :non_present?, :non_present
|
1572
|
+
|
1545
1573
|
# Parsed and normalized entity value.
|
1546
1574
|
# Corresponds to the JSON property `normalizedValue`
|
1547
1575
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
|
@@ -1577,7 +1605,7 @@ module Google
|
|
1577
1605
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
1578
1606
|
attr_accessor :text_anchor
|
1579
1607
|
|
1580
|
-
# Entity type from a schema e.g. `Address`.
|
1608
|
+
# Required. Entity type from a schema e.g. `Address`.
|
1581
1609
|
# Corresponds to the JSON property `type`
|
1582
1610
|
# @return [String]
|
1583
1611
|
attr_accessor :type
|
@@ -1592,6 +1620,7 @@ module Google
|
|
1592
1620
|
@id = args[:id] if args.key?(:id)
|
1593
1621
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1594
1622
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
1623
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
1595
1624
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
1596
1625
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
1597
1626
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -3201,10 +3230,10 @@ module Google
|
|
3201
3230
|
end
|
3202
3231
|
end
|
3203
3232
|
|
3204
|
-
# Document represents the canonical document resource in Document
|
3205
|
-
#
|
3206
|
-
#
|
3207
|
-
#
|
3233
|
+
# Document represents the canonical document resource in Document AI. It is an
|
3234
|
+
# interchange format that provides insights into documents and allows for
|
3235
|
+
# collaboration between users and Document AI to iterate and optimize for
|
3236
|
+
# quality.
|
3208
3237
|
class GoogleCloudDocumentaiV1beta2Document
|
3209
3238
|
include Google::Apis::Core::Hashable
|
3210
3239
|
|
@@ -3340,6 +3369,15 @@ module Google
|
|
3340
3369
|
# @return [String]
|
3341
3370
|
attr_accessor :mention_text
|
3342
3371
|
|
3372
|
+
# Optional. This attribute indicates that the processing didn't actually
|
3373
|
+
# identify this entity, but a confidence score was assigned that represent the
|
3374
|
+
# potential that this could be a false negative. A non-present entity should
|
3375
|
+
# have an empty mention_text and text_anchor.
|
3376
|
+
# Corresponds to the JSON property `nonPresent`
|
3377
|
+
# @return [Boolean]
|
3378
|
+
attr_accessor :non_present
|
3379
|
+
alias_method :non_present?, :non_present
|
3380
|
+
|
3343
3381
|
# Parsed and normalized entity value.
|
3344
3382
|
# Corresponds to the JSON property `normalizedValue`
|
3345
3383
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
|
@@ -3375,7 +3413,7 @@ module Google
|
|
3375
3413
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
3376
3414
|
attr_accessor :text_anchor
|
3377
3415
|
|
3378
|
-
# Entity type from a schema e.g. `Address`.
|
3416
|
+
# Required. Entity type from a schema e.g. `Address`.
|
3379
3417
|
# Corresponds to the JSON property `type`
|
3380
3418
|
# @return [String]
|
3381
3419
|
attr_accessor :type
|
@@ -3390,6 +3428,7 @@ module Google
|
|
3390
3428
|
@id = args[:id] if args.key?(:id)
|
3391
3429
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
3392
3430
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
3431
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
3393
3432
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
3394
3433
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
3395
3434
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -5737,8 +5776,7 @@ module Google
|
|
5737
5776
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
5738
5777
|
# messages in your APIs. A typical example is to use it as the request or the
|
5739
5778
|
# 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 ````.
|
5779
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
5742
5780
|
class GoogleProtobufEmpty
|
5743
5781
|
include Google::Apis::Core::Hashable
|
5744
5782
|
|
@@ -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.35.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 = "20220409"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -1187,6 +1193,14 @@ module Google
|
|
1187
1193
|
end
|
1188
1194
|
end
|
1189
1195
|
|
1196
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
1197
|
+
# @private
|
1198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1199
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1200
|
+
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1190
1204
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
1191
1205
|
# @private
|
1192
1206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1667,6 +1681,7 @@ module Google
|
|
1667
1681
|
property :id, as: 'id'
|
1668
1682
|
property :mention_id, as: 'mentionId'
|
1669
1683
|
property :mention_text, as: 'mentionText'
|
1684
|
+
property :non_present, as: 'nonPresent'
|
1670
1685
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
|
1671
1686
|
|
1672
1687
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
|
@@ -2184,6 +2199,7 @@ module Google
|
|
2184
2199
|
property :id, as: 'id'
|
2185
2200
|
property :mention_id, as: 'mentionId'
|
2186
2201
|
property :mention_text, as: 'mentionText'
|
2202
|
+
property :non_present, as: 'nonPresent'
|
2187
2203
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
|
2188
2204
|
|
2189
2205
|
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.35.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-18 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.35.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: []
|