google-apis-documentai_v1beta2 0.35.0 → 0.38.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: 2dc146df10f1af92a2e983c11b3298d57deb81fdac3c3986f8d41c3f4dfd2946
4
- data.tar.gz: a2d00151044a2a2d846a43d0ca1602096fac45f25b5856d6246eb519ac691113
3
+ metadata.gz: 0deccfbfe7acd1ea8721183c9f9b14a21901a41662c11a97718a3daf5a10402b
4
+ data.tar.gz: d352bd48c499a26e91d5eb2e35ecb8b468ac2f3804bc99ad6f3c8f217af422f5
5
5
  SHA512:
6
- metadata.gz: e8f7da0a4725c1999bf6177d8f2e42f6269804d26ba518e9cd565a2b79c6de6d36ad16a8f41f67e283098cfc83d82847055ed9f10bc7b42533d22b04e3da4acb
7
- data.tar.gz: 16a000c274306e21f6a56642340ab8f6e680452b3c22fb8e57e6fde64b261a58cf40e6a0eb0ee1eb5e4660f8acc3eb999b6553146f5da9c37d96c3530e0c8ce3
6
+ metadata.gz: 8d496ba1f3972ad75993b8090373bed7d5ae4313540d0eca7c07d2d2681ee911305ddf40ddd94336464df9989a25cf6c6f93807e4e77aab40e9fa99a306b3f92
7
+ data.tar.gz: 1d7ffce2aff7c1c2c66cc4022793c95585c89d4de9d71b4f13d1d0b76e0496d0fe2515b7256598533ea668fc6d884fa4e9dec37736035e3850ebe5da0817d9ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.38.0 (2022-06-08)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.37.0 (2022-05-10)
9
+
10
+ * Regenerated from discovery document revision 20220505
11
+
12
+ ### v0.36.0 (2022-04-26)
13
+
14
+ * Regenerated from discovery document revision 20220421
15
+
3
16
  ### v0.35.0 (2022-04-12)
4
17
 
5
18
  * Regenerated from discovery document revision 20220409
@@ -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
 
@@ -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.35.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220409"
25
+ REVISION = "20220602"
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
 
@@ -1137,6 +1143,18 @@ module Google
1137
1143
  class Representation < Google::Apis::Core::JsonRepresentation
1138
1144
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1139
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
+
1140
1158
  end
1141
1159
  end
1142
1160
 
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.35.0
4
+ version: 0.38.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.38.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.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta2