google-apis-documentai_v1beta2 0.57.0 → 0.58.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: c02dcb78a58e7720c104f48d747982c6e5f84aba86885f65e5be89de01bd2362
4
- data.tar.gz: 86e04aff3880763f21e13bbc37a688174fa0b6407048cd1d566e3ab116308f9d
3
+ metadata.gz: be3d76a71a34006912a06b0d84249ff1d4fa51ab337ef9fc4bb93336354e7f31
4
+ data.tar.gz: dea05aaa44b01b55d5bbbe0d9f91e0e7b1d04b98de7f61a6d6abdeeff89c1777
5
5
  SHA512:
6
- metadata.gz: 7f73339ea3a54cde7d080e20b8743e55ec383b36a95ec4ed91edcf482a250020e60b2166aa66a1cf53eaeaad62f68c7dd533f66a74f709e38d1f6fc3ec02516b
7
- data.tar.gz: 7959927ab1c6b70294d229d718f73353975ddf66c2a8fdb09096af8a69e7fd3abc074326148936590856957f8af86b566d4e5d52786102badcbc996abc9f5216
6
+ metadata.gz: 0c8d50ee7bfa2a2831cb47d7246950857f458408d2d4e57539484344df1e52c8bee31572ed36462aaee903c5cfff501e5aa5b119febe8f5d922b47a94ce7c89b
7
+ data.tar.gz: 2c39eb77932ccc5b91dc9c8560b444a41e91cfd4ce331983b9467dd7c11c1f24b07e2b18752fbf8dbf5fc6e529abece144b6b6317a4d193ebd6a23b044ee726d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.58.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230302
6
+
3
7
  ### v0.57.0 (2023-02-15)
4
8
 
5
9
  * Regenerated using generator version 0.12.0
@@ -22,6 +22,81 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta2
24
24
 
25
+ # Metadata of the auto-labeling documents operation.
26
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The common metadata for long running operations.
30
+ # Corresponds to the JSON property `commonMetadata`
31
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
+ attr_accessor :common_metadata
33
+
34
+ # The list of individual auto-labeling statuses of the dataset documents.
35
+ # Corresponds to the JSON property `individualAutoLabelStatuses`
36
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus>]
37
+ attr_accessor :individual_auto_label_statuses
38
+
39
+ # Total number of the auto-labeling documents.
40
+ # Corresponds to the JSON property `totalDocumentCount`
41
+ # @return [Fixnum]
42
+ attr_accessor :total_document_count
43
+
44
+ def initialize(**args)
45
+ update!(**args)
46
+ end
47
+
48
+ # Update properties of this object
49
+ def update!(**args)
50
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
51
+ @individual_auto_label_statuses = args[:individual_auto_label_statuses] if args.key?(:individual_auto_label_statuses)
52
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
53
+ end
54
+ end
55
+
56
+ # The status of individual documents in the auto-labeling process.
57
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
58
+ include Google::Apis::Core::Hashable
59
+
60
+ # The gcs_uri of the auto-labeling document, which uniquely identifies a dataset
61
+ # document.
62
+ # Corresponds to the JSON property `gcsUri`
63
+ # @return [String]
64
+ attr_accessor :gcs_uri
65
+
66
+ # The `Status` type defines a logical error model that is suitable for different
67
+ # programming environments, including REST APIs and RPC APIs. It is used by [
68
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
69
+ # data: error code, error message, and error details. You can find out more
70
+ # about this error model and how to work with it in the [API Design Guide](https:
71
+ # //cloud.google.com/apis/design/errors).
72
+ # Corresponds to the JSON property `status`
73
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
74
+ attr_accessor :status
75
+
76
+ def initialize(**args)
77
+ update!(**args)
78
+ end
79
+
80
+ # Update properties of this object
81
+ def update!(**args)
82
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
83
+ @status = args[:status] if args.key?(:status)
84
+ end
85
+ end
86
+
87
+ # The response proto of AutoLabelDocuments method.
88
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
89
+ include Google::Apis::Core::Hashable
90
+
91
+ def initialize(**args)
92
+ update!(**args)
93
+ end
94
+
95
+ # Update properties of this object
96
+ def update!(**args)
97
+ end
98
+ end
99
+
25
100
  #
26
101
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
27
102
  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.57.0"
19
+ GEM_VERSION = "0.58.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 = "20230202"
25
+ REVISION = "20230302"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1beta2
24
24
 
25
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -1276,6 +1294,32 @@ module Google
1276
1294
  include Google::Apis::Core::JsonObjectSupport
1277
1295
  end
1278
1296
 
1297
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
1298
+ # @private
1299
+ class Representation < Google::Apis::Core::JsonRepresentation
1300
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1301
+
1302
+ collection :individual_auto_label_statuses, as: 'individualAutoLabelStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus::Representation
1303
+
1304
+ property :total_document_count, as: 'totalDocumentCount'
1305
+ end
1306
+ end
1307
+
1308
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
1309
+ # @private
1310
+ class Representation < Google::Apis::Core::JsonRepresentation
1311
+ property :gcs_uri, as: 'gcsUri'
1312
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1313
+
1314
+ end
1315
+ end
1316
+
1317
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
1318
+ # @private
1319
+ class Representation < Google::Apis::Core::JsonRepresentation
1320
+ end
1321
+ end
1322
+
1279
1323
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
1280
1324
  # @private
1281
1325
  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.57.0
4
+ version: 0.58.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-12 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.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.58.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: []