google-apis-documentai_v1 0.71.0 → 0.73.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: 938e6cd21706d1c27185a5c27323bb0bdb5e3f31bd367ce0a827d002a49b11a5
4
- data.tar.gz: 2a8fd8192e0271db1b7aba2381ba28703970bbf1c6e3adb18b11b576e62dfbb4
3
+ metadata.gz: b436014b3b2df1362e66082a2f66ae44afeb410e64a9522c0ac0685fe332b78c
4
+ data.tar.gz: 9634f867f0ca110b1f37d96c83b66d389183e0116f4e01d114c0bbac06032437
5
5
  SHA512:
6
- metadata.gz: ee0822f912d90d1ceb03f3eeab502eb0cfaf849f9fced138fbbd7c0a909aee51db7e031fb9872bb49babee39b87e88587e127f7f19dc4fda5585e73bff5265e0
7
- data.tar.gz: 7b4d057de6678ba97398f7c39d43844596b8f3e7abfe9006ae26c0f325758c7291b2eceb0a4c13f901e692d9d1bf69e230926c8658dbc4acb3357d3e2862ce4f
6
+ metadata.gz: a6439a0b6df00ef083253b2a53db339535b5283e5dc10936f525603f9fe7f3ef059fc6772063f263599fa7fd9ec5f56b274f9f7863eb83ee60a822cac87a45da
7
+ data.tar.gz: 81191ff4f86e7f7e2de613136791239d0c12cf01ec70b4e1b9fb66dcab360a04e49fca27f1456caca039adce936b10a25a9af9dca6bcbc3a264908b6cca7131f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.73.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230811
6
+
7
+ ### v0.72.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230804
10
+
3
11
  ### v0.71.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230721
@@ -257,6 +257,74 @@ module Google
257
257
  end
258
258
  end
259
259
 
260
+ #
261
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata
262
+ include Google::Apis::Core::Hashable
263
+
264
+ # The common metadata for long running operations.
265
+ # Corresponds to the JSON property `commonMetadata`
266
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
267
+ attr_accessor :common_metadata
268
+
269
+ # The list of response details of each document.
270
+ # Corresponds to the JSON property `individualBatchUpdateStatuses`
271
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus>]
272
+ attr_accessor :individual_batch_update_statuses
273
+
274
+ def initialize(**args)
275
+ update!(**args)
276
+ end
277
+
278
+ # Update properties of this object
279
+ def update!(**args)
280
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
281
+ @individual_batch_update_statuses = args[:individual_batch_update_statuses] if args.key?(:individual_batch_update_statuses)
282
+ end
283
+ end
284
+
285
+ # The status of each individual document in the batch update process.
286
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus
287
+ include Google::Apis::Core::Hashable
288
+
289
+ # Document Identifier.
290
+ # Corresponds to the JSON property `documentId`
291
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId]
292
+ attr_accessor :document_id
293
+
294
+ # The `Status` type defines a logical error model that is suitable for different
295
+ # programming environments, including REST APIs and RPC APIs. It is used by [
296
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
297
+ # data: error code, error message, and error details. You can find out more
298
+ # about this error model and how to work with it in the [API Design Guide](https:
299
+ # //cloud.google.com/apis/design/errors).
300
+ # Corresponds to the JSON property `status`
301
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
302
+ attr_accessor :status
303
+
304
+ def initialize(**args)
305
+ update!(**args)
306
+ end
307
+
308
+ # Update properties of this object
309
+ def update!(**args)
310
+ @document_id = args[:document_id] if args.key?(:document_id)
311
+ @status = args[:status] if args.key?(:status)
312
+ end
313
+ end
314
+
315
+ # Response of the batch update documents operation.
316
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse
317
+ include Google::Apis::Core::Hashable
318
+
319
+ def initialize(**args)
320
+ update!(**args)
321
+ end
322
+
323
+ # Update properties of this object
324
+ def update!(**args)
325
+ end
326
+ end
327
+
260
328
  # The common metadata for long running operations.
261
329
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
262
330
  include Google::Apis::Core::Hashable
@@ -4467,7 +4535,8 @@ module Google
4467
4535
  # @return [Array<String>]
4468
4536
  attr_accessor :advanced_ocr_options
4469
4537
 
4470
- # Turn on font id model and returns font style information.
4538
+ # Turn on font id model and returns font style information. Use PremiumFeatures.
4539
+ # compute_style_info instead.
4471
4540
  # Corresponds to the JSON property `computeStyleInfo`
4472
4541
  # @return [Boolean]
4473
4542
  attr_accessor :compute_style_info
@@ -10871,13 +10940,13 @@ module Google
10871
10940
  # @return [String]
10872
10941
  attr_accessor :name
10873
10942
 
10874
- # The normal response of the operation in case of success. If the original
10875
- # method returns no data on success, such as `Delete`, the response is `google.
10876
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
10877
- # the response should be the resource. For other methods, the response should
10878
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
10879
- # example, if the original method name is `TakeSnapshot()`, the inferred
10880
- # response type is `TakeSnapshotResponse`.
10943
+ # The normal, successful response of the operation. If the original method
10944
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
10945
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
10946
+ # response should be the resource. For other methods, the response should have
10947
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
10948
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
10949
+ # `TakeSnapshotResponse`.
10881
10950
  # Corresponds to the JSON property `response`
10882
10951
  # @return [Hash<String,Object>]
10883
10952
  attr_accessor :response
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230721"
25
+ REVISION = "20230811"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,24 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -2018,6 +2036,32 @@ module Google
2018
2036
  end
2019
2037
  end
2020
2038
 
2039
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata
2040
+ # @private
2041
+ class Representation < Google::Apis::Core::JsonRepresentation
2042
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
2043
+
2044
+ collection :individual_batch_update_statuses, as: 'individualBatchUpdateStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus::Representation
2045
+
2046
+ end
2047
+ end
2048
+
2049
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus
2050
+ # @private
2051
+ class Representation < Google::Apis::Core::JsonRepresentation
2052
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
2053
+
2054
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
2055
+
2056
+ end
2057
+ end
2058
+
2059
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse
2060
+ # @private
2061
+ class Representation < Google::Apis::Core::JsonRepresentation
2062
+ end
2063
+ end
2064
+
2021
2065
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
2022
2066
  # @private
2023
2067
  class Representation < Google::Apis::Core::JsonRepresentation
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.71.0
4
+ version: 0.73.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.73.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1