google-apis-documentai_v1 0.33.0 → 0.36.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: '0991b9d49ab32d447089ee8257a327e3e414c242e1558a326bedc17b092ede72'
|
4
|
+
data.tar.gz: 95914d6fedf40152aa35049f76da2250dbae9ef9e12de0d6a47967ed31847d86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da24ed6780582653d2aaf324503e7d1a6d15e1d9a5449f527d4185eabc30fd4789c3c411b95bc1f35cd10a54bbd2be278048d42d7b95a72223a7094127258502
|
7
|
+
data.tar.gz: f7d6a7a2496ddeb08c5efee2643faccf0c19af4d1b22a42bdc65d98e450b1890d250a8ff16e9024a9d2a28d45ed4bc5a750488262f9f0be9879dfe97a4611a5e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2022-04-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220421
|
6
|
+
|
7
|
+
### v0.35.0 (2022-04-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220409
|
10
|
+
|
11
|
+
### v0.34.0 (2022-04-05)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220401
|
14
|
+
|
3
15
|
### v0.33.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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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
|
@@ -3224,7 +3279,7 @@ module Google
|
|
3224
3279
|
# have multiple versions, pre-trained by Google internally or up-trained by the
|
3225
3280
|
# customer. At a time, a processor can only have one default version version. So
|
3226
3281
|
# the processor's behavior (when processing documents) is defined by a default
|
3227
|
-
# version
|
3282
|
+
# version
|
3228
3283
|
class GoogleCloudDocumentaiV1ProcessorVersion
|
3229
3284
|
include Google::Apis::Core::Hashable
|
3230
3285
|
|
@@ -3233,6 +3288,11 @@ module Google
|
|
3233
3288
|
# @return [String]
|
3234
3289
|
attr_accessor :create_time
|
3235
3290
|
|
3291
|
+
# Information about the upcoming deprecation of this processor version.
|
3292
|
+
# Corresponds to the JSON property `deprecationInfo`
|
3293
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo]
|
3294
|
+
attr_accessor :deprecation_info
|
3295
|
+
|
3236
3296
|
# The display name of the processor version.
|
3237
3297
|
# Corresponds to the JSON property `displayName`
|
3238
3298
|
# @return [String]
|
@@ -3273,6 +3333,7 @@ module Google
|
|
3273
3333
|
# Update properties of this object
|
3274
3334
|
def update!(**args)
|
3275
3335
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3336
|
+
@deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
|
3276
3337
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3277
3338
|
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
3278
3339
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
@@ -3282,6 +3343,31 @@ module Google
|
|
3282
3343
|
end
|
3283
3344
|
end
|
3284
3345
|
|
3346
|
+
# Information about the upcoming deprecation of this processor version.
|
3347
|
+
class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
|
3348
|
+
include Google::Apis::Core::Hashable
|
3349
|
+
|
3350
|
+
# The time at which this processor version will be deprecated.
|
3351
|
+
# Corresponds to the JSON property `deprecationTime`
|
3352
|
+
# @return [String]
|
3353
|
+
attr_accessor :deprecation_time
|
3354
|
+
|
3355
|
+
# If set, the processor version that will be used as a replacement.
|
3356
|
+
# Corresponds to the JSON property `replacementProcessorVersion`
|
3357
|
+
# @return [String]
|
3358
|
+
attr_accessor :replacement_processor_version
|
3359
|
+
|
3360
|
+
def initialize(**args)
|
3361
|
+
update!(**args)
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# Update properties of this object
|
3365
|
+
def update!(**args)
|
3366
|
+
@deprecation_time = args[:deprecation_time] if args.key?(:deprecation_time)
|
3367
|
+
@replacement_processor_version = args[:replacement_processor_version] if args.key?(:replacement_processor_version)
|
3368
|
+
end
|
3369
|
+
end
|
3370
|
+
|
3285
3371
|
# Payload message of raw document content (bytes).
|
3286
3372
|
class GoogleCloudDocumentaiV1RawDocument
|
3287
3373
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.36.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 = "20220421"
|
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
|
|
@@ -658,6 +670,12 @@ module Google
|
|
658
670
|
include Google::Apis::Core::JsonObjectSupport
|
659
671
|
end
|
660
672
|
|
673
|
+
class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
661
679
|
class GoogleCloudDocumentaiV1RawDocument
|
662
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
681
|
|
@@ -1449,6 +1467,18 @@ module Google
|
|
1449
1467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1450
1468
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1451
1469
|
|
1470
|
+
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
1471
|
+
|
1472
|
+
end
|
1473
|
+
end
|
1474
|
+
|
1475
|
+
class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
1476
|
+
# @private
|
1477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1478
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1479
|
+
|
1480
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1481
|
+
|
1452
1482
|
end
|
1453
1483
|
end
|
1454
1484
|
|
@@ -1505,6 +1535,14 @@ module Google
|
|
1505
1535
|
end
|
1506
1536
|
end
|
1507
1537
|
|
1538
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
1539
|
+
# @private
|
1540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1541
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1542
|
+
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
|
1508
1546
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
1509
1547
|
# @private
|
1510
1548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2466,6 +2504,8 @@ module Google
|
|
2466
2504
|
# @private
|
2467
2505
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2468
2506
|
property :create_time, as: 'createTime'
|
2507
|
+
property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo::Representation
|
2508
|
+
|
2469
2509
|
property :display_name, as: 'displayName'
|
2470
2510
|
property :google_managed, as: 'googleManaged'
|
2471
2511
|
property :kms_key_name, as: 'kmsKeyName'
|
@@ -2475,6 +2515,14 @@ module Google
|
|
2475
2515
|
end
|
2476
2516
|
end
|
2477
2517
|
|
2518
|
+
class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
|
2519
|
+
# @private
|
2520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2521
|
+
property :deprecation_time, as: 'deprecationTime'
|
2522
|
+
property :replacement_processor_version, as: 'replacementProcessorVersion'
|
2523
|
+
end
|
2524
|
+
end
|
2525
|
+
|
2478
2526
|
class GoogleCloudDocumentaiV1RawDocument
|
2479
2527
|
# @private
|
2480
2528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -152,8 +152,8 @@ module Google
|
|
152
152
|
# The resource that owns the locations collection, if applicable.
|
153
153
|
# @param [String] filter
|
154
154
|
# A filter to narrow down results to a preferred subset. The filtering language
|
155
|
-
# accepts strings like "displayName=tokyo"
|
156
|
-
# AIP-160](https://google.aip.dev/160).
|
155
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
156
|
+
# in [AIP-160](https://google.aip.dev/160).
|
157
157
|
# @param [Fixnum] page_size
|
158
158
|
# The maximum number of results to return. If not set, the service selects a
|
159
159
|
# default.
|
@@ -956,8 +956,8 @@ module Google
|
|
956
956
|
# The resource that owns the locations collection, if applicable.
|
957
957
|
# @param [String] filter
|
958
958
|
# A filter to narrow down results to a preferred subset. The filtering language
|
959
|
-
# accepts strings like "displayName=tokyo"
|
960
|
-
# AIP-160](https://google.aip.dev/160).
|
959
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
960
|
+
# in [AIP-160](https://google.aip.dev/160).
|
961
961
|
# @param [Fixnum] page_size
|
962
962
|
# The maximum number of results to return. If not set, the service selects a
|
963
963
|
# default.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.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-02 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|