google-apis-documentai_v1beta2 0.67.0 → 0.68.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: 17a5549fe7d07efd56f1f77e228d410fb7f9a81141305a3677965e53b6a7b4d2
4
- data.tar.gz: ce9d96d8dcca42ed7b31d04bf86b68bffb7984b3a5b7eaa9ad9c7779233aed98
3
+ metadata.gz: 3c5fbe8d8be4518cad399dddf38662f29eb049f6e4714743b49914772e3b9b89
4
+ data.tar.gz: 498b52dadb564d56248b2ef729f9ba66c14f49571f0866ed4bb2334822339237
5
5
  SHA512:
6
- metadata.gz: 790dc5ef4868702a0b4ee9ede333200ccb1c37ab259e2df0cb3a0a36675eb140ea715c4efa4717afdba249179326be4c953330d669fd8dbdc976a35079b70eee
7
- data.tar.gz: 7e20263219d97e2de55283f93254eb298e8d47a1ea0c715676fb77b71c68dc89feb8d7ef862d658ff9e095b046f67d86604189ca3cc408d529c5336ba6b77300
6
+ metadata.gz: ed4cd22342f49c8a6ca20c2825b747dd003a91659b232eb204dbd1260f6cb8619c9dcba24d0d6c5f83e3eca81ede472f434db69974190815a2f26287321d4041
7
+ data.tar.gz: 6c0d051025ce505238fecdcf79b0f700683824a11edd94f0b8e05f11944e65a16ebfc39db3990b59e6a10c4c390e9e0cff510c1db2fa00f36d7ae830c1a66771
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.68.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230811
6
+
3
7
  ### v0.67.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230804
@@ -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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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
@@ -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.67.0"
19
+ GEM_VERSION = "0.68.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 = "20230804"
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
 
@@ -1532,6 +1550,32 @@ module Google
1532
1550
  end
1533
1551
  end
1534
1552
 
1553
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata
1554
+ # @private
1555
+ class Representation < Google::Apis::Core::JsonRepresentation
1556
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1557
+
1558
+ collection :individual_batch_update_statuses, as: 'individualBatchUpdateStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus::Representation
1559
+
1560
+ end
1561
+ end
1562
+
1563
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus
1564
+ # @private
1565
+ class Representation < Google::Apis::Core::JsonRepresentation
1566
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1567
+
1568
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1569
+
1570
+ end
1571
+ end
1572
+
1573
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse
1574
+ # @private
1575
+ class Representation < Google::Apis::Core::JsonRepresentation
1576
+ end
1577
+ end
1578
+
1535
1579
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
1536
1580
  # @private
1537
1581
  class Representation < Google::Apis::Core::JsonRepresentation
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.67.0
4
+ version: 0.68.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-13 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.68.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: []
@@ -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 V1beta2