google-apis-documentai_v1beta2 0.33.0 → 0.36.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: 424be90530028cbaa2a65aa2df672a7070acc7fe6ad298c2f375510aca561a57
4
- data.tar.gz: 540fb3353235f8fe203c3bf415a3f6701c664723fdce6c70653225a714b20592
3
+ metadata.gz: '06802cedc312bd311dc0e24a92ea004b8bf30b9f249f43833987436958d46c98'
4
+ data.tar.gz: 04415fe88dc0e5f6227bedd3c9d675f5d9c22e4f903f1c0a8cfb33c7d27e19f0
5
5
  SHA512:
6
- metadata.gz: d74ab0426c6c5dc12ce6756f8d1a5c7868bcb5d2d07cd029b226fe8ad4a993a9cc3a235211844e9f97085ec5c23949071b3ace93ee0438aa85043666aadbfe83
7
- data.tar.gz: 0c962722b64bf5ccec12436988a7fa741a55bb29d9ca43c7309e521815b3c4b897179594fe951ea7a92a60e76f190f93fe214f8b8bcbfba2327dfa964c274925
6
+ metadata.gz: 8588ed69b42030111a47a7878b4f42609348c0a39e15f911a501f99298c00c63ba6badd1363c1c2d63a00ce89d5188d24a5c9c9039c61c78af989ee70ce319ff
7
+ data.tar.gz: 27fecdde4107452c92a973a8a6f4306df97ae9f072a9ba694771171fb082dd0a7aef694a86567f2eb34f53ec7ad2129ba162f27f457fd7a2d9ddc30ae84b070f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta2
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-03-29)
12
+
13
+ * Regenerated from discovery document revision 20220326
14
+
3
15
  ### v0.33.0 (2022-03-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220321
@@ -31,6 +31,11 @@ module Google
31
31
  # @return [Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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
@@ -1586,7 +1641,7 @@ module Google
1586
1641
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
1587
1642
  attr_accessor :text_anchor
1588
1643
 
1589
- # Entity type from a schema e.g. `Address`.
1644
+ # Required. Entity type from a schema e.g. `Address`.
1590
1645
  # Corresponds to the JSON property `type`
1591
1646
  # @return [String]
1592
1647
  attr_accessor :type
@@ -3394,7 +3449,7 @@ module Google
3394
3449
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
3395
3450
  attr_accessor :text_anchor
3396
3451
 
3397
- # Entity type from a schema e.g. `Address`.
3452
+ # Required. Entity type from a schema e.g. `Address`.
3398
3453
  # Corresponds to the JSON property `type`
3399
3454
  # @return [String]
3400
3455
  attr_accessor :type
@@ -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.33.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 = "20220321"
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
 
@@ -1131,6 +1143,18 @@ module Google
1131
1143
  class Representation < Google::Apis::Core::JsonRepresentation
1132
1144
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1133
1145
 
1146
+ collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1147
+
1148
+ end
1149
+ end
1150
+
1151
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
1152
+ # @private
1153
+ class Representation < Google::Apis::Core::JsonRepresentation
1154
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1155
+
1156
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1157
+
1134
1158
  end
1135
1159
  end
1136
1160
 
@@ -1187,6 +1211,14 @@ module Google
1187
1211
  end
1188
1212
  end
1189
1213
 
1214
+ class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1218
+
1219
+ end
1220
+ end
1221
+
1190
1222
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1191
1223
  # @private
1192
1224
  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.33.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-03-28 00:00:00.000000000 Z
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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.36.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: []