google-apis-documentai_v1beta2 0.30.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
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.33.0 (2022-03-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220321
|
6
|
+
|
7
|
+
### v0.32.0 (2022-03-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220311
|
10
|
+
|
11
|
+
### v0.31.0 (2022-03-09)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220307
|
14
|
+
|
3
15
|
### v0.30.0 (2022-02-24)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220222
|
@@ -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]
|
@@ -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)
|
@@ -1623,11 +1639,11 @@ module Google
|
|
1623
1639
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1624
1640
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1625
1641
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
1626
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
1627
|
-
# and day, with a zero year (
|
1628
|
-
# zero month and a zero day * A year and month, with a zero day (
|
1629
|
-
# card expiration date) Related types: * google.type.
|
1630
|
-
# DateTime * google.protobuf.Timestamp
|
1642
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
1643
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
1644
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
1645
|
+
# example, a credit card expiration date). Related types: * google.type.
|
1646
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1631
1647
|
# Corresponds to the JSON property `dateValue`
|
1632
1648
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
|
1633
1649
|
attr_accessor :date_value
|
@@ -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]
|
@@ -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)
|
@@ -3421,11 +3447,11 @@ module Google
|
|
3421
3447
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
3422
3448
|
# day and time zone are either specified elsewhere or are insignificant. The
|
3423
3449
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
3424
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
3425
|
-
# and day, with a zero year (
|
3426
|
-
# zero month and a zero day * A year and month, with a zero day (
|
3427
|
-
# card expiration date) Related types: * google.type.
|
3428
|
-
# DateTime * google.protobuf.Timestamp
|
3450
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
3451
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
3452
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
3453
|
+
# example, a credit card expiration date). Related types: * google.type.
|
3454
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
3429
3455
|
# Corresponds to the JSON property `dateValue`
|
3430
3456
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
|
3431
3457
|
attr_accessor :date_value
|
@@ -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
|
|
@@ -5875,11 +5900,11 @@ module Google
|
|
5875
5900
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5876
5901
|
# day and time zone are either specified elsewhere or are insignificant. The
|
5877
5902
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
5878
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
5879
|
-
# and day, with a zero year (
|
5880
|
-
# zero month and a zero day * A year and month, with a zero day (
|
5881
|
-
# card expiration date) Related types: * google.type.
|
5882
|
-
# DateTime * google.protobuf.Timestamp
|
5903
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
5904
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
5905
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
5906
|
+
# example, a credit card expiration date). Related types: * google.type.
|
5907
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
5883
5908
|
class GoogleTypeDate
|
5884
5909
|
include Google::Apis::Core::Hashable
|
5885
5910
|
|
@@ -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
|
@@ -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.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-
|
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: []
|