google-apis-documentai_v1beta3 0.42.0 → 0.45.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: 390cda7dd1322a38b09d1028def4e197798601ac0a90dd99859a0210da8220d2
|
4
|
+
data.tar.gz: 00120da15608eada5bc300e767ee8b4495bcd28d10417b7b5ccb91651c04ac86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b005747bc206ab3d43e4155d65f1f288a8b6e91c52534773dc7d3a9820ee763311ed07c4791f233651a47b89725dad9eb2870f610d1671ad7722f824eedfb8b
|
7
|
+
data.tar.gz: f0edc1eb2f1c923474dcff55ec31a1bd9c57eeceb80f6632f79bfba8d34559f0579cd5c7e1eebaef40ca62acfc0533800b2fdce55fb809b72f9eb3a06df81e1c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.45.0 (2022-05-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220513
|
6
|
+
|
7
|
+
### v0.44.0 (2022-05-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220505
|
10
|
+
|
11
|
+
### v0.43.0 (2022-04-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220421
|
14
|
+
|
3
15
|
### v0.42.0 (2022-04-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220409
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
32
32
|
attr_accessor :common_metadata
|
33
33
|
|
34
|
+
# The list of response details of each document.
|
35
|
+
# Corresponds to the JSON property `individualBatchDeleteStatuses`
|
36
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
|
37
|
+
attr_accessor :individual_batch_delete_statuses
|
38
|
+
|
34
39
|
def initialize(**args)
|
35
40
|
update!(**args)
|
36
41
|
end
|
@@ -38,6 +43,37 @@ module Google
|
|
38
43
|
# Update properties of this object
|
39
44
|
def update!(**args)
|
40
45
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
46
|
+
@individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# The status of each individual document in the batch delete process.
|
51
|
+
class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
# Document Identifier.
|
55
|
+
# Corresponds to the JSON property `documentId`
|
56
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId]
|
57
|
+
attr_accessor :document_id
|
58
|
+
|
59
|
+
# The `Status` type defines a logical error model that is suitable for different
|
60
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
61
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
62
|
+
# data: error code, error message, and error details. You can find out more
|
63
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
64
|
+
# //cloud.google.com/apis/design/errors).
|
65
|
+
# Corresponds to the JSON property `status`
|
66
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
67
|
+
attr_accessor :status
|
68
|
+
|
69
|
+
def initialize(**args)
|
70
|
+
update!(**args)
|
71
|
+
end
|
72
|
+
|
73
|
+
# Update properties of this object
|
74
|
+
def update!(**args)
|
75
|
+
@document_id = args[:document_id] if args.key?(:document_id)
|
76
|
+
@status = args[:status] if args.key?(:status)
|
41
77
|
end
|
42
78
|
end
|
43
79
|
|
@@ -1835,8 +1871,8 @@ module Google
|
|
1835
1871
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
|
1836
1872
|
attr_accessor :tokens
|
1837
1873
|
|
1838
|
-
# Transformation matrices
|
1839
|
-
# produce Page.image.
|
1874
|
+
# Transformation matrices (both already applied and not) to the original
|
1875
|
+
# document image to produce Page.image.
|
1840
1876
|
# Corresponds to the JSON property `transforms`
|
1841
1877
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
|
1842
1878
|
attr_accessor :transforms
|
@@ -2211,6 +2247,14 @@ module Google
|
|
2211
2247
|
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
|
2212
2248
|
include Google::Apis::Core::Hashable
|
2213
2249
|
|
2250
|
+
# Has the transformation already been applied to the current Document? Needed to
|
2251
|
+
# disambiguate pre-processing transformations already applied vs transformations
|
2252
|
+
# added at annotation time by HITL operators.
|
2253
|
+
# Corresponds to the JSON property `applied`
|
2254
|
+
# @return [Boolean]
|
2255
|
+
attr_accessor :applied
|
2256
|
+
alias_method :applied?, :applied
|
2257
|
+
|
2214
2258
|
# Number of columns in the matrix.
|
2215
2259
|
# Corresponds to the JSON property `cols`
|
2216
2260
|
# @return [Fixnum]
|
@@ -2241,6 +2285,7 @@ module Google
|
|
2241
2285
|
|
2242
2286
|
# Update properties of this object
|
2243
2287
|
def update!(**args)
|
2288
|
+
@applied = args[:applied] if args.key?(:applied)
|
2244
2289
|
@cols = args[:cols] if args.key?(:cols)
|
2245
2290
|
@data = args[:data] if args.key?(:data)
|
2246
2291
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -3640,8 +3685,8 @@ module Google
|
|
3640
3685
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
|
3641
3686
|
attr_accessor :tokens
|
3642
3687
|
|
3643
|
-
# Transformation matrices
|
3644
|
-
# produce Page.image.
|
3688
|
+
# Transformation matrices (both already applied and not) to the original
|
3689
|
+
# document image to produce Page.image.
|
3645
3690
|
# Corresponds to the JSON property `transforms`
|
3646
3691
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
|
3647
3692
|
attr_accessor :transforms
|
@@ -4016,6 +4061,14 @@ module Google
|
|
4016
4061
|
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
|
4017
4062
|
include Google::Apis::Core::Hashable
|
4018
4063
|
|
4064
|
+
# Has the transformation already been applied to the current Document? Needed to
|
4065
|
+
# disambiguate pre-processing transformations already applied vs transformations
|
4066
|
+
# added at annotation time by HITL operators.
|
4067
|
+
# Corresponds to the JSON property `applied`
|
4068
|
+
# @return [Boolean]
|
4069
|
+
attr_accessor :applied
|
4070
|
+
alias_method :applied?, :applied
|
4071
|
+
|
4019
4072
|
# Number of columns in the matrix.
|
4020
4073
|
# Corresponds to the JSON property `cols`
|
4021
4074
|
# @return [Fixnum]
|
@@ -4046,6 +4099,7 @@ module Google
|
|
4046
4099
|
|
4047
4100
|
# Update properties of this object
|
4048
4101
|
def update!(**args)
|
4102
|
+
@applied = args[:applied] if args.key?(:applied)
|
4049
4103
|
@cols = args[:cols] if args.key?(:cols)
|
4050
4104
|
@data = args[:data] if args.key?(:data)
|
4051
4105
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -5832,8 +5886,8 @@ module Google
|
|
5832
5886
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken>]
|
5833
5887
|
attr_accessor :tokens
|
5834
5888
|
|
5835
|
-
# Transformation matrices
|
5836
|
-
# produce Page.image.
|
5889
|
+
# Transformation matrices (both already applied and not) to the original
|
5890
|
+
# document image to produce Page.image.
|
5837
5891
|
# Corresponds to the JSON property `transforms`
|
5838
5892
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageMatrix>]
|
5839
5893
|
attr_accessor :transforms
|
@@ -6208,6 +6262,14 @@ module Google
|
|
6208
6262
|
class GoogleCloudDocumentaiV1beta3DocumentPageMatrix
|
6209
6263
|
include Google::Apis::Core::Hashable
|
6210
6264
|
|
6265
|
+
# Has the transformation already been applied to the current Document? Needed to
|
6266
|
+
# disambiguate pre-processing transformations already applied vs transformations
|
6267
|
+
# added at annotation time by HITL operators.
|
6268
|
+
# Corresponds to the JSON property `applied`
|
6269
|
+
# @return [Boolean]
|
6270
|
+
attr_accessor :applied
|
6271
|
+
alias_method :applied?, :applied
|
6272
|
+
|
6211
6273
|
# Number of columns in the matrix.
|
6212
6274
|
# Corresponds to the JSON property `cols`
|
6213
6275
|
# @return [Fixnum]
|
@@ -6238,6 +6300,7 @@ module Google
|
|
6238
6300
|
|
6239
6301
|
# Update properties of this object
|
6240
6302
|
def update!(**args)
|
6303
|
+
@applied = args[:applied] if args.key?(:applied)
|
6241
6304
|
@cols = args[:cols] if args.key?(:cols)
|
6242
6305
|
@data = args[:data] if args.key?(:data)
|
6243
6306
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -7179,6 +7242,11 @@ module Google
|
|
7179
7242
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
|
7180
7243
|
attr_accessor :document
|
7181
7244
|
|
7245
|
+
# Specifies which fields to include in ProcessResponse's document.
|
7246
|
+
# Corresponds to the JSON property `fieldMask`
|
7247
|
+
# @return [String]
|
7248
|
+
attr_accessor :field_mask
|
7249
|
+
|
7182
7250
|
# Document represents the canonical document resource in Document AI. It is an
|
7183
7251
|
# interchange format that provides insights into documents and allows for
|
7184
7252
|
# collaboration between users and Document AI to iterate and optimize for
|
@@ -7206,6 +7274,7 @@ module Google
|
|
7206
7274
|
# Update properties of this object
|
7207
7275
|
def update!(**args)
|
7208
7276
|
@document = args[:document] if args.key?(:document)
|
7277
|
+
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
7209
7278
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
7210
7279
|
@raw_document = args[:raw_document] if args.key?(:raw_document)
|
7211
7280
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.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 = "20220513"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -1473,6 +1479,18 @@ module Google
|
|
1473
1479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1474
1480
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1475
1481
|
|
1482
|
+
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
1483
|
+
|
1484
|
+
end
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
1488
|
+
# @private
|
1489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1490
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1491
|
+
|
1492
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
1493
|
+
|
1476
1494
|
end
|
1477
1495
|
end
|
1478
1496
|
|
@@ -2200,6 +2218,7 @@ module Google
|
|
2200
2218
|
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
|
2201
2219
|
# @private
|
2202
2220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2221
|
+
property :applied, as: 'applied'
|
2203
2222
|
property :cols, as: 'cols'
|
2204
2223
|
property :data, :base64 => true, as: 'data'
|
2205
2224
|
property :rows, as: 'rows'
|
@@ -2712,6 +2731,7 @@ module Google
|
|
2712
2731
|
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
|
2713
2732
|
# @private
|
2714
2733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2734
|
+
property :applied, as: 'applied'
|
2715
2735
|
property :cols, as: 'cols'
|
2716
2736
|
property :data, :base64 => true, as: 'data'
|
2717
2737
|
property :rows, as: 'rows'
|
@@ -3359,6 +3379,7 @@ module Google
|
|
3359
3379
|
class GoogleCloudDocumentaiV1beta3DocumentPageMatrix
|
3360
3380
|
# @private
|
3361
3381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3382
|
+
property :applied, as: 'applied'
|
3362
3383
|
property :cols, as: 'cols'
|
3363
3384
|
property :data, :base64 => true, as: 'data'
|
3364
3385
|
property :rows, as: 'rows'
|
@@ -3649,6 +3670,7 @@ module Google
|
|
3649
3670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3650
3671
|
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
3651
3672
|
|
3673
|
+
property :field_mask, as: 'fieldMask'
|
3652
3674
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
3653
3675
|
|
3654
3676
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.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-05-23 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_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|