google-apis-documentai_v1 0.72.0 → 0.74.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ede15db11897461ab95039c95a5d430d1e0719800c57820eb02b979a1ac872b7
4
- data.tar.gz: '09704d62aec5dd6f1601a4205c326ea854dce4c6f376490e0c2fea4c9c00b18d'
3
+ metadata.gz: 73b0978c913a47c5aece311b86b984a2b6b57a03c27c39815e12806be167911b
4
+ data.tar.gz: 2ad08099b52d7ecfcacead38172c9fc6c9772f4222de904d5f06f82aa4fe55cc
5
5
  SHA512:
6
- metadata.gz: 0f7537027fbc6a79befc05a26e7a6f3a86529c4715ebb082c158fba46e8f553bb494b8279962f31861c27d57dfc6cf793d92b5fe3521b4b9c3e6e9a327873725
7
- data.tar.gz: 673c26e3bab4fdd69fa3284dd92d2e50494a5873ca316971b232292c3d1e1cc4bc8a18c61cbe4cc4f5a799d2c6a2ec876cc798a31eb3f1bf3204b29eb0a6d695
6
+ metadata.gz: '09ca6829d77353e16e2fd250fb9c17c5a101362cd89e2eb0bb88c09837905c18b75fbfb5278757a1f82b6db0538257999c153dd813a6ee22456fa0a5b6b1e7de'
7
+ data.tar.gz: 8a62ad11d3af71491b8d2a46a5949c25cff7b5452d9b3e8e9e866ccac163edac7a70f9aa44ac80f5a95ee4ed23f4603ace4a4f538c57d27ca060742645daf7ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.74.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230908
6
+
7
+ ### v0.73.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230811
10
+
3
11
  ### v0.72.0 (2023-08-13)
4
12
 
5
13
  * 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::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,8 +4535,7 @@ 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. Use PremiumFeatures.
4471
- # compute_style_info instead.
4538
+ # Turn on font identification model and return font style information.
4472
4539
  # Corresponds to the JSON property `computeStyleInfo`
4473
4540
  # @return [Boolean]
4474
4541
  attr_accessor :compute_style_info
@@ -4933,7 +5000,7 @@ module Google
4933
5000
 
4934
5001
  # The display name of the document, it supports all Unicode characters except
4935
5002
  # the following: `*`, `?`, `[`, `]`, `%`, ```, ```,`'`, `\"`, `,` `~`, `=` and `:
4936
- # ` are reserved. If not specified, a default ID will be generated.
5003
+ # ` are reserved. If not specified, a default ID is generated.
4937
5004
  # Corresponds to the JSON property `displayName`
4938
5005
  # @return [String]
4939
5006
  attr_accessor :display_name
@@ -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.72.0"
19
+ GEM_VERSION = "0.74.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 = "20230908"
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.72.0
4
+ version: 0.74.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-20 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.74.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