google-apis-documentai_v1beta2 0.67.0 → 0.69.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: a237bc9dd2fbacfae77ad9b484da6b59f345104e5a7fe7b18b0a6c1a279d94b7
4
+ data.tar.gz: b7f1bf4d503d4ccd9d1717ea1c94210b8a12ff6403730ecf6fef9f95fd9b4ab6
5
5
  SHA512:
6
- metadata.gz: 790dc5ef4868702a0b4ee9ede333200ccb1c37ab259e2df0cb3a0a36675eb140ea715c4efa4717afdba249179326be4c953330d669fd8dbdc976a35079b70eee
7
- data.tar.gz: 7e20263219d97e2de55283f93254eb298e8d47a1ea0c715676fb77b71c68dc89feb8d7ef862d658ff9e095b046f67d86604189ca3cc408d529c5336ba6b77300
6
+ metadata.gz: 23269a4ea85c453a17ebce6bb7c239e3a04e455dac248281be83727aa38102c04b2ee91dbcd8017f93b1f60c37732ca7fcf5d92f20ea1ae1dfdbb34627f66f74
7
+ data.tar.gz: 40e924cc5127c6d3d1db0b5101e48c86275f06dd39c203baa12716abe8c1e7c935ed7be1488dbd9f96ab0220bd13f080accd079d1f8840bda1f5472b11137662
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.69.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230914
6
+
7
+ ### v0.68.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230811
10
+
3
11
  ### v0.67.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230804
@@ -57,6 +57,11 @@ module Google
57
57
  class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
58
58
  include Google::Apis::Core::Hashable
59
59
 
60
+ # Document Identifier.
61
+ # Corresponds to the JSON property `documentId`
62
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId]
63
+ attr_accessor :document_id
64
+
60
65
  # The gcs_uri of the auto-labeling document, which uniquely identifies a dataset
61
66
  # document.
62
67
  # Corresponds to the JSON property `gcsUri`
@@ -79,6 +84,7 @@ module Google
79
84
 
80
85
  # Update properties of this object
81
86
  def update!(**args)
87
+ @document_id = args[:document_id] if args.key?(:document_id)
82
88
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
83
89
  @status = args[:status] if args.key?(:status)
84
90
  end
@@ -257,6 +263,74 @@ module Google
257
263
  end
258
264
  end
259
265
 
266
+ #
267
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata
268
+ include Google::Apis::Core::Hashable
269
+
270
+ # The common metadata for long running operations.
271
+ # Corresponds to the JSON property `commonMetadata`
272
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
273
+ attr_accessor :common_metadata
274
+
275
+ # The list of response details of each document.
276
+ # Corresponds to the JSON property `individualBatchUpdateStatuses`
277
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus>]
278
+ attr_accessor :individual_batch_update_statuses
279
+
280
+ def initialize(**args)
281
+ update!(**args)
282
+ end
283
+
284
+ # Update properties of this object
285
+ def update!(**args)
286
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
287
+ @individual_batch_update_statuses = args[:individual_batch_update_statuses] if args.key?(:individual_batch_update_statuses)
288
+ end
289
+ end
290
+
291
+ # The status of each individual document in the batch update process.
292
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus
293
+ include Google::Apis::Core::Hashable
294
+
295
+ # Document Identifier.
296
+ # Corresponds to the JSON property `documentId`
297
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId]
298
+ attr_accessor :document_id
299
+
300
+ # The `Status` type defines a logical error model that is suitable for different
301
+ # programming environments, including REST APIs and RPC APIs. It is used by [
302
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
303
+ # data: error code, error message, and error details. You can find out more
304
+ # about this error model and how to work with it in the [API Design Guide](https:
305
+ # //cloud.google.com/apis/design/errors).
306
+ # Corresponds to the JSON property `status`
307
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
308
+ attr_accessor :status
309
+
310
+ def initialize(**args)
311
+ update!(**args)
312
+ end
313
+
314
+ # Update properties of this object
315
+ def update!(**args)
316
+ @document_id = args[:document_id] if args.key?(:document_id)
317
+ @status = args[:status] if args.key?(:status)
318
+ end
319
+ end
320
+
321
+ # Response of the batch update documents operation.
322
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse
323
+ include Google::Apis::Core::Hashable
324
+
325
+ def initialize(**args)
326
+ update!(**args)
327
+ end
328
+
329
+ # Update properties of this object
330
+ def update!(**args)
331
+ end
332
+ end
333
+
260
334
  # The common metadata for long running operations.
261
335
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
262
336
  include Google::Apis::Core::Hashable
@@ -6697,7 +6771,7 @@ module Google
6697
6771
  end
6698
6772
 
6699
6773
  # A singleton resource under a Processor which configures a collection of
6700
- # documents.
6774
+ # documents. Next Id: 8.
6701
6775
  class GoogleCloudDocumentaiV1beta3Dataset
6702
6776
  include Google::Apis::Core::Hashable
6703
6777
 
@@ -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.69.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 = "20230914"
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
 
@@ -1464,6 +1482,8 @@ module Google
1464
1482
  class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
1465
1483
  # @private
1466
1484
  class Representation < Google::Apis::Core::JsonRepresentation
1485
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1486
+
1467
1487
  property :gcs_uri, as: 'gcsUri'
1468
1488
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1469
1489
 
@@ -1532,6 +1552,32 @@ module Google
1532
1552
  end
1533
1553
  end
1534
1554
 
1555
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1559
+
1560
+ collection :individual_batch_update_statuses, as: 'individualBatchUpdateStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus::Representation
1561
+
1562
+ end
1563
+ end
1564
+
1565
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1569
+
1570
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1571
+
1572
+ end
1573
+ end
1574
+
1575
+ class GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse
1576
+ # @private
1577
+ class Representation < Google::Apis::Core::JsonRepresentation
1578
+ end
1579
+ end
1580
+
1535
1581
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
1536
1582
  # @private
1537
1583
  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.69.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-09-24 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.69.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