google-apis-documentai_v1beta2 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: 105945c947af3049dc41cb6884100a154502db5c6699a74f43a8f916a39af4ab
|
4
|
+
data.tar.gz: a80c8898324b94e97508b85117d7ba34e174ca2d382d31d6b8b3b9d5cf3a4279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c80ec7893021e6ff2b166399e062451d6fd5f16e96fb4cf7217474bf2ab4cbdc855fa7168210c089c2c5dd7e3305d206a70564998695599c3ba87dbe19ca65d9
|
7
|
+
data.tar.gz: f90049cf35a3b1b47278cc00eee82b11b2d6a53810b5df2252b81e15f678bba3ccc6e0d3b3a97a8aaf6b3e2afffc1bcb5582c934cefd9cf41fadf14116a7045d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.34.0 (2022-03-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220326
|
6
|
+
|
7
|
+
### v0.33.0 (2022-03-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220321
|
10
|
+
|
11
|
+
### v0.32.0 (2022-03-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220311
|
14
|
+
|
3
15
|
### v0.31.0 (2022-03-09)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220307
|
@@ -68,6 +68,11 @@ module Google
|
|
68
68
|
# @return [String]
|
69
69
|
attr_accessor :dest_dataset_type
|
70
70
|
|
71
|
+
# The destination dataset split type.
|
72
|
+
# Corresponds to the JSON property `destSplitType`
|
73
|
+
# @return [String]
|
74
|
+
attr_accessor :dest_split_type
|
75
|
+
|
71
76
|
# The list of response details of each document.
|
72
77
|
# Corresponds to the JSON property `individualBatchMoveStatuses`
|
73
78
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus>]
|
@@ -81,6 +86,7 @@ module Google
|
|
81
86
|
def update!(**args)
|
82
87
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
83
88
|
@dest_dataset_type = args[:dest_dataset_type] if args.key?(:dest_dataset_type)
|
89
|
+
@dest_split_type = args[:dest_split_type] if args.key?(:dest_split_type)
|
84
90
|
@individual_batch_move_statuses = args[:individual_batch_move_statuses] if args.key?(:individual_batch_move_statuses)
|
85
91
|
end
|
86
92
|
end
|
@@ -1403,10 +1409,10 @@ module Google
|
|
1403
1409
|
end
|
1404
1410
|
end
|
1405
1411
|
|
1406
|
-
# Document represents the canonical document resource in Document
|
1407
|
-
#
|
1408
|
-
#
|
1409
|
-
#
|
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.
|
1410
1416
|
class GoogleCloudDocumentaiV1beta1Document
|
1411
1417
|
include Google::Apis::Core::Hashable
|
1412
1418
|
|
@@ -1536,6 +1542,15 @@ module Google
|
|
1536
1542
|
# @return [String]
|
1537
1543
|
attr_accessor :mention_text
|
1538
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
|
+
|
1539
1554
|
# Parsed and normalized entity value.
|
1540
1555
|
# Corresponds to the JSON property `normalizedValue`
|
1541
1556
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
|
@@ -1571,7 +1586,7 @@ module Google
|
|
1571
1586
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
1572
1587
|
attr_accessor :text_anchor
|
1573
1588
|
|
1574
|
-
# Entity type from a schema e.g. `Address`.
|
1589
|
+
# Required. Entity type from a schema e.g. `Address`.
|
1575
1590
|
# Corresponds to the JSON property `type`
|
1576
1591
|
# @return [String]
|
1577
1592
|
attr_accessor :type
|
@@ -1586,6 +1601,7 @@ module Google
|
|
1586
1601
|
@id = args[:id] if args.key?(:id)
|
1587
1602
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1588
1603
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
1604
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
1589
1605
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
1590
1606
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
1591
1607
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -3195,10 +3211,10 @@ module Google
|
|
3195
3211
|
end
|
3196
3212
|
end
|
3197
3213
|
|
3198
|
-
# Document represents the canonical document resource in Document
|
3199
|
-
#
|
3200
|
-
#
|
3201
|
-
#
|
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.
|
3202
3218
|
class GoogleCloudDocumentaiV1beta2Document
|
3203
3219
|
include Google::Apis::Core::Hashable
|
3204
3220
|
|
@@ -3334,6 +3350,15 @@ module Google
|
|
3334
3350
|
# @return [String]
|
3335
3351
|
attr_accessor :mention_text
|
3336
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
|
+
|
3337
3362
|
# Parsed and normalized entity value.
|
3338
3363
|
# Corresponds to the JSON property `normalizedValue`
|
3339
3364
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
|
@@ -3369,7 +3394,7 @@ module Google
|
|
3369
3394
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
3370
3395
|
attr_accessor :text_anchor
|
3371
3396
|
|
3372
|
-
# Entity type from a schema e.g. `Address`.
|
3397
|
+
# Required. Entity type from a schema e.g. `Address`.
|
3373
3398
|
# Corresponds to the JSON property `type`
|
3374
3399
|
# @return [String]
|
3375
3400
|
attr_accessor :type
|
@@ -3384,6 +3409,7 @@ module Google
|
|
3384
3409
|
@id = args[:id] if args.key?(:id)
|
3385
3410
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
3386
3411
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
3412
|
+
@non_present = args[:non_present] if args.key?(:non_present)
|
3387
3413
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
3388
3414
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
3389
3415
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -5731,8 +5757,7 @@ module Google
|
|
5731
5757
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
5732
5758
|
# messages in your APIs. A typical example is to use it as the request or the
|
5733
5759
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
5734
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
5735
|
-
# `Empty` is empty JSON object ````.
|
5760
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
5736
5761
|
class GoogleProtobufEmpty
|
5737
5762
|
include Google::Apis::Core::Hashable
|
5738
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.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 = "20220326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1146,6 +1146,7 @@ module Google
|
|
1146
1146
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1147
1147
|
|
1148
1148
|
property :dest_dataset_type, as: 'destDatasetType'
|
1149
|
+
property :dest_split_type, as: 'destSplitType'
|
1149
1150
|
collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
|
1150
1151
|
|
1151
1152
|
end
|
@@ -1666,6 +1667,7 @@ module Google
|
|
1666
1667
|
property :id, as: 'id'
|
1667
1668
|
property :mention_id, as: 'mentionId'
|
1668
1669
|
property :mention_text, as: 'mentionText'
|
1670
|
+
property :non_present, as: 'nonPresent'
|
1669
1671
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
|
1670
1672
|
|
1671
1673
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
|
@@ -2183,6 +2185,7 @@ module Google
|
|
2183
2185
|
property :id, as: 'id'
|
2184
2186
|
property :mention_id, as: 'mentionId'
|
2185
2187
|
property :mention_text, as: 'mentionText'
|
2188
|
+
property :non_present, as: 'nonPresent'
|
2186
2189
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
|
2187
2190
|
|
2188
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.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-04 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.34.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: []
|