google-apis-documentai_v1beta3 0.40.0 → 0.43.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: 88e02f38a0e2fb9648af9a68101171266e89be4a6851a5d192f041340872662b
4
- data.tar.gz: 223cedc53a3260668308c52d0f3a8cd40bc2d4fc71752a0578065aa572f201c2
3
+ metadata.gz: 5ded7b3bf435ff17ce0900e56e1199e4ed3e7107fc34e3535ed8fe63c4201e5a
4
+ data.tar.gz: bba4a2235f1c4e7361a163ea8a7196b6784896cd97c29de69c31cfe6fa8d5110
5
5
  SHA512:
6
- metadata.gz: ff2707f6429988a1d1271ef5c028143e0464898524494f4ad5d2bf908785a74a7c48a19cb7905c09e449809ec41e05a4e7e8a090bf8c3bcd4b62582bee8dd4a6
7
- data.tar.gz: '099523d4793e317b941663c10e50e56c4be973c1afa4ba59db36db45419d6b510b25baaef34f4e6bfcafa7fbc7e787069bb36fe354538cd63390b65c44ffd821'
6
+ metadata.gz: a62448e746e22e32213ec4e054b36a8efd452a5c7963ee6979facf8d4de9ee61128e8b426c310edb27460dc1f37a6432c37e0758c410122a270a18018806c76d
7
+ data.tar.gz: b19c2d1a9c1ec5455f556c94b9e19fec492a7912be8093fda1858ba346c5c392f2e55e0b3b74a03d4030c7b7566f0f468ae7d1f860f081fbcbc4e06ff0b373c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.43.0 (2022-04-26)
4
+
5
+ * Regenerated from discovery document revision 20220421
6
+
7
+ ### v0.42.0 (2022-04-12)
8
+
9
+ * Regenerated from discovery document revision 20220409
10
+
11
+ ### v0.41.0 (2022-04-05)
12
+
13
+ * Regenerated from discovery document revision 20220401
14
+
3
15
  ### v0.40.0 (2022-03-29)
4
16
 
5
17
  * Regenerated from discovery document revision 20220326
@@ -31,6 +31,11 @@ module Google
31
31
  # @return [Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -7372,7 +7427,7 @@ module Google
7372
7427
  # have multiple versions, pre-trained by Google internally or up-trained by the
7373
7428
  # customer. At a time, a processor can only have one default version version. So
7374
7429
  # the processor's behavior (when processing documents) is defined by a default
7375
- # version.
7430
+ # version
7376
7431
  class GoogleCloudDocumentaiV1beta3ProcessorVersion
7377
7432
  include Google::Apis::Core::Hashable
7378
7433
 
@@ -7381,6 +7436,11 @@ module Google
7381
7436
  # @return [String]
7382
7437
  attr_accessor :create_time
7383
7438
 
7439
+ # Information about the upcoming deprecation of this processor version.
7440
+ # Corresponds to the JSON property `deprecationInfo`
7441
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo]
7442
+ attr_accessor :deprecation_info
7443
+
7384
7444
  # The display name of the processor version.
7385
7445
  # Corresponds to the JSON property `displayName`
7386
7446
  # @return [String]
@@ -7421,6 +7481,7 @@ module Google
7421
7481
  # Update properties of this object
7422
7482
  def update!(**args)
7423
7483
  @create_time = args[:create_time] if args.key?(:create_time)
7484
+ @deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
7424
7485
  @display_name = args[:display_name] if args.key?(:display_name)
7425
7486
  @google_managed = args[:google_managed] if args.key?(:google_managed)
7426
7487
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@@ -7430,6 +7491,31 @@ module Google
7430
7491
  end
7431
7492
  end
7432
7493
 
7494
+ # Information about the upcoming deprecation of this processor version.
7495
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
7496
+ include Google::Apis::Core::Hashable
7497
+
7498
+ # The time at which this processor version will be deprecated.
7499
+ # Corresponds to the JSON property `deprecationTime`
7500
+ # @return [String]
7501
+ attr_accessor :deprecation_time
7502
+
7503
+ # If set, the processor version that will be used as a replacement.
7504
+ # Corresponds to the JSON property `replacementProcessorVersion`
7505
+ # @return [String]
7506
+ attr_accessor :replacement_processor_version
7507
+
7508
+ def initialize(**args)
7509
+ update!(**args)
7510
+ end
7511
+
7512
+ # Update properties of this object
7513
+ def update!(**args)
7514
+ @deprecation_time = args[:deprecation_time] if args.key?(:deprecation_time)
7515
+ @replacement_processor_version = args[:replacement_processor_version] if args.key?(:replacement_processor_version)
7516
+ end
7517
+ end
7518
+
7433
7519
  # Payload message of raw document content (bytes).
7434
7520
  class GoogleCloudDocumentaiV1beta3RawDocument
7435
7521
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.43.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 = "20220326"
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
 
@@ -1318,6 +1330,12 @@ module Google
1318
1330
  include Google::Apis::Core::JsonObjectSupport
1319
1331
  end
1320
1332
 
1333
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1321
1339
  class GoogleCloudDocumentaiV1beta3RawDocument
1322
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1323
1341
 
@@ -1461,6 +1479,18 @@ module Google
1461
1479
  class Representation < Google::Apis::Core::JsonRepresentation
1462
1480
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1463
1481
 
1482
+ collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1483
+
1484
+ end
1485
+ end
1486
+
1487
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
1488
+ # @private
1489
+ class Representation < Google::Apis::Core::JsonRepresentation
1490
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1491
+
1492
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1493
+
1464
1494
  end
1465
1495
  end
1466
1496
 
@@ -1517,6 +1547,14 @@ module Google
1517
1547
  end
1518
1548
  end
1519
1549
 
1550
+ class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1551
+ # @private
1552
+ class Representation < Google::Apis::Core::JsonRepresentation
1553
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1554
+
1555
+ end
1556
+ end
1557
+
1520
1558
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1521
1559
  # @private
1522
1560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3686,6 +3724,8 @@ module Google
3686
3724
  # @private
3687
3725
  class Representation < Google::Apis::Core::JsonRepresentation
3688
3726
  property :create_time, as: 'createTime'
3727
+ property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo::Representation
3728
+
3689
3729
  property :display_name, as: 'displayName'
3690
3730
  property :google_managed, as: 'googleManaged'
3691
3731
  property :kms_key_name, as: 'kmsKeyName'
@@ -3695,6 +3735,14 @@ module Google
3695
3735
  end
3696
3736
  end
3697
3737
 
3738
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
3739
+ # @private
3740
+ class Representation < Google::Apis::Core::JsonRepresentation
3741
+ property :deprecation_time, as: 'deprecationTime'
3742
+ property :replacement_processor_version, as: 'replacementProcessorVersion'
3743
+ end
3744
+ end
3745
+
3698
3746
  class GoogleCloudDocumentaiV1beta3RawDocument
3699
3747
  # @private
3700
3748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -119,8 +119,8 @@ module Google
119
119
  # The resource that owns the locations collection, if applicable.
120
120
  # @param [String] filter
121
121
  # A filter to narrow down results to a preferred subset. The filtering language
122
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
123
- # AIP-160](https://google.aip.dev/160).
122
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
123
+ # in [AIP-160](https://google.aip.dev/160).
124
124
  # @param [Fixnum] page_size
125
125
  # The maximum number of results to return. If not set, the service selects a
126
126
  # default.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.43.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-04 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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []