google-apis-documentai_v1beta2 0.34.0 → 0.37.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: 1a79a6d5f97a2933cf2bb022a79d56c3e5248143fb527ee2bda50152814d3efa
|
4
|
+
data.tar.gz: 3e116270a90bf1130438460fd68a8b56cbdc6e7719ffce0c8b160362c1112644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bfd770c015f9372f5f7563373455d9594b10de9effc8b41309eff5834ed848ea061cef20a47f32742b0654effbfddf8b237d08db2db39fc0d064b58ede2a365
|
7
|
+
data.tar.gz: 2dcbf1163eebc9be3f42dd6af143421175e51b5c68b1d3fdfbed10142bc6d11f667d7bba403f18cab310be4cbd88f8bbad1344bd00061b6b74b81cf1a7798f5f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.37.0 (2022-05-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220505
|
6
|
+
|
7
|
+
### v0.36.0 (2022-04-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220421
|
10
|
+
|
11
|
+
### v0.35.0 (2022-04-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220409
|
14
|
+
|
3
15
|
### v0.34.0 (2022-03-29)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220326
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# @return [Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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
|
|
@@ -196,6 +232,25 @@ module Google
|
|
196
232
|
end
|
197
233
|
end
|
198
234
|
|
235
|
+
# The long running operation metadata for DeleteDataLabelingJob.
|
236
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
237
|
+
include Google::Apis::Core::Hashable
|
238
|
+
|
239
|
+
# The common metadata for long running operations.
|
240
|
+
# Corresponds to the JSON property `commonMetadata`
|
241
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
242
|
+
attr_accessor :common_metadata
|
243
|
+
|
244
|
+
def initialize(**args)
|
245
|
+
update!(**args)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Update properties of this object
|
249
|
+
def update!(**args)
|
250
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
199
254
|
# The long running operation metadata for DeleteLabelerPool.
|
200
255
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
201
256
|
include Google::Apis::Core::Hashable
|
@@ -1816,8 +1871,8 @@ module Google
|
|
1816
1871
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
|
1817
1872
|
attr_accessor :tokens
|
1818
1873
|
|
1819
|
-
# Transformation matrices
|
1820
|
-
# produce Page.image.
|
1874
|
+
# Transformation matrices (both already applied and not) to the original
|
1875
|
+
# document image to produce Page.image.
|
1821
1876
|
# Corresponds to the JSON property `transforms`
|
1822
1877
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
|
1823
1878
|
attr_accessor :transforms
|
@@ -2192,6 +2247,14 @@ module Google
|
|
2192
2247
|
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
|
2193
2248
|
include Google::Apis::Core::Hashable
|
2194
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
|
+
|
2195
2258
|
# Number of columns in the matrix.
|
2196
2259
|
# Corresponds to the JSON property `cols`
|
2197
2260
|
# @return [Fixnum]
|
@@ -2222,6 +2285,7 @@ module Google
|
|
2222
2285
|
|
2223
2286
|
# Update properties of this object
|
2224
2287
|
def update!(**args)
|
2288
|
+
@applied = args[:applied] if args.key?(:applied)
|
2225
2289
|
@cols = args[:cols] if args.key?(:cols)
|
2226
2290
|
@data = args[:data] if args.key?(:data)
|
2227
2291
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -3661,8 +3725,8 @@ module Google
|
|
3661
3725
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
|
3662
3726
|
attr_accessor :tokens
|
3663
3727
|
|
3664
|
-
# Transformation matrices
|
3665
|
-
# produce Page.image.
|
3728
|
+
# Transformation matrices (both already applied and not) to the original
|
3729
|
+
# document image to produce Page.image.
|
3666
3730
|
# Corresponds to the JSON property `transforms`
|
3667
3731
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
|
3668
3732
|
attr_accessor :transforms
|
@@ -4037,6 +4101,14 @@ module Google
|
|
4037
4101
|
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
|
4038
4102
|
include Google::Apis::Core::Hashable
|
4039
4103
|
|
4104
|
+
# Has the transformation already been applied to the current Document? Needed to
|
4105
|
+
# disambiguate pre-processing transformations already applied vs transformations
|
4106
|
+
# added at annotation time by HITL operators.
|
4107
|
+
# Corresponds to the JSON property `applied`
|
4108
|
+
# @return [Boolean]
|
4109
|
+
attr_accessor :applied
|
4110
|
+
alias_method :applied?, :applied
|
4111
|
+
|
4040
4112
|
# Number of columns in the matrix.
|
4041
4113
|
# Corresponds to the JSON property `cols`
|
4042
4114
|
# @return [Fixnum]
|
@@ -4067,6 +4139,7 @@ module Google
|
|
4067
4139
|
|
4068
4140
|
# Update properties of this object
|
4069
4141
|
def update!(**args)
|
4142
|
+
@applied = args[:applied] if args.key?(:applied)
|
4070
4143
|
@cols = args[:cols] if args.key?(:cols)
|
4071
4144
|
@data = args[:data] if args.key?(:data)
|
4072
4145
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -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.37.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 = "20220505"
|
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
|
|
@@ -64,6 +70,12 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -1131,6 +1143,18 @@ module Google
|
|
1131
1143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1132
1144
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1133
1145
|
|
1146
|
+
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
1147
|
+
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
1152
|
+
# @private
|
1153
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1154
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1155
|
+
|
1156
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
|
1157
|
+
|
1134
1158
|
end
|
1135
1159
|
end
|
1136
1160
|
|
@@ -1187,6 +1211,14 @@ module Google
|
|
1187
1211
|
end
|
1188
1212
|
end
|
1189
1213
|
|
1214
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
1215
|
+
# @private
|
1216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1217
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1218
|
+
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1190
1222
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
1191
1223
|
# @private
|
1192
1224
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1850,6 +1882,7 @@ module Google
|
|
1850
1882
|
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
|
1851
1883
|
# @private
|
1852
1884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1885
|
+
property :applied, as: 'applied'
|
1853
1886
|
property :cols, as: 'cols'
|
1854
1887
|
property :data, :base64 => true, as: 'data'
|
1855
1888
|
property :rows, as: 'rows'
|
@@ -2377,6 +2410,7 @@ module Google
|
|
2377
2410
|
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
|
2378
2411
|
# @private
|
2379
2412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2413
|
+
property :applied, as: 'applied'
|
2380
2414
|
property :cols, as: 'cols'
|
2381
2415
|
property :data, :base64 => true, as: 'data'
|
2382
2416
|
property :rows, as: 'rows'
|
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.37.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-16 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.37.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: []
|