google-apis-documentai_v1beta3 0.41.0 → 0.44.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: 2b47142a5515eefb6795a7d4b9e7d07e91d8e3e566af847db9f16165840f347c
4
- data.tar.gz: 80d3839d3062adef83fb7a5e1ffd6d16003c2d7f554b6677028cfadb91e8fe3d
3
+ metadata.gz: ab4b201e5c72cd115d89f323ef8f32053ed464924c66d2c2980b74dc4a8f87c2
4
+ data.tar.gz: efeae32b898eac8534b1aede9d86794d1555dd575731a83121e19dd227973b7a
5
5
  SHA512:
6
- metadata.gz: 262e98500ccc8211dce292b7674c10223ff10abf88671fcaef504e62c94aef82a4c1b14590712c93280e798d632e4e34a183b7e02887312ed22a58b0f2a04b47
7
- data.tar.gz: 2c68c26e685cc25fa25e5fb62fed568ca918b4b4ea5d22478530f0706b72c346ca362d39b628719c28101fd69bf9d4796229441d437ac507f340f8a480a95a4d
6
+ metadata.gz: c8b78696de8b2b51ac61a101dd7c6320941e6b30c01af21d37ad0add596d05f68ac93826f98cdc712e4cbfcff6c30c650c2cc06870de275c42d5d63547d5082a
7
+ data.tar.gz: 87bdc319c89456118765398dab6a5ea085bee358799c51b61fb74fb25378482a2284734b29da613fe6a9adcd987b9e57d3b696868b6035f1c89ef4364b676d07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.44.0 (2022-05-10)
4
+
5
+ * Regenerated from discovery document revision 20220505
6
+
7
+ ### v0.43.0 (2022-04-26)
8
+
9
+ * Regenerated from discovery document revision 20220421
10
+
11
+ ### v0.42.0 (2022-04-12)
12
+
13
+ * Regenerated from discovery document revision 20220409
14
+
3
15
  ### v0.41.0 (2022-04-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220401
@@ -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
@@ -1816,8 +1871,8 @@ module Google
1816
1871
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
1817
1872
  attr_accessor :tokens
1818
1873
 
1819
- # Transformation matrices that were applied to the original document image to
1820
- # produce Page.image.
1874
+ # Transformation matrices (both already applied and not) to the original
1875
+ # document image to produce Page.image.
1821
1876
  # Corresponds to the JSON property `transforms`
1822
1877
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
1823
1878
  attr_accessor :transforms
@@ -2192,6 +2247,14 @@ module Google
2192
2247
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2193
2248
  include Google::Apis::Core::Hashable
2194
2249
 
2250
+ # Has the transformation already been applied to the current Document? Needed to
2251
+ # disambiguate pre-processing transformations already applied vs transformations
2252
+ # added at annotation time by HITL operators.
2253
+ # Corresponds to the JSON property `applied`
2254
+ # @return [Boolean]
2255
+ attr_accessor :applied
2256
+ alias_method :applied?, :applied
2257
+
2195
2258
  # Number of columns in the matrix.
2196
2259
  # Corresponds to the JSON property `cols`
2197
2260
  # @return [Fixnum]
@@ -2222,6 +2285,7 @@ module Google
2222
2285
 
2223
2286
  # Update properties of this object
2224
2287
  def update!(**args)
2288
+ @applied = args[:applied] if args.key?(:applied)
2225
2289
  @cols = args[:cols] if args.key?(:cols)
2226
2290
  @data = args[:data] if args.key?(:data)
2227
2291
  @rows = args[:rows] if args.key?(:rows)
@@ -3621,8 +3685,8 @@ module Google
3621
3685
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
3622
3686
  attr_accessor :tokens
3623
3687
 
3624
- # Transformation matrices that were applied to the original document image to
3625
- # produce Page.image.
3688
+ # Transformation matrices (both already applied and not) to the original
3689
+ # document image to produce Page.image.
3626
3690
  # Corresponds to the JSON property `transforms`
3627
3691
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
3628
3692
  attr_accessor :transforms
@@ -3997,6 +4061,14 @@ module Google
3997
4061
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
3998
4062
  include Google::Apis::Core::Hashable
3999
4063
 
4064
+ # Has the transformation already been applied to the current Document? Needed to
4065
+ # disambiguate pre-processing transformations already applied vs transformations
4066
+ # added at annotation time by HITL operators.
4067
+ # Corresponds to the JSON property `applied`
4068
+ # @return [Boolean]
4069
+ attr_accessor :applied
4070
+ alias_method :applied?, :applied
4071
+
4000
4072
  # Number of columns in the matrix.
4001
4073
  # Corresponds to the JSON property `cols`
4002
4074
  # @return [Fixnum]
@@ -4027,6 +4099,7 @@ module Google
4027
4099
 
4028
4100
  # Update properties of this object
4029
4101
  def update!(**args)
4102
+ @applied = args[:applied] if args.key?(:applied)
4030
4103
  @cols = args[:cols] if args.key?(:cols)
4031
4104
  @data = args[:data] if args.key?(:data)
4032
4105
  @rows = args[:rows] if args.key?(:rows)
@@ -5813,8 +5886,8 @@ module Google
5813
5886
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken>]
5814
5887
  attr_accessor :tokens
5815
5888
 
5816
- # Transformation matrices that were applied to the original document image to
5817
- # produce Page.image.
5889
+ # Transformation matrices (both already applied and not) to the original
5890
+ # document image to produce Page.image.
5818
5891
  # Corresponds to the JSON property `transforms`
5819
5892
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageMatrix>]
5820
5893
  attr_accessor :transforms
@@ -6189,6 +6262,14 @@ module Google
6189
6262
  class GoogleCloudDocumentaiV1beta3DocumentPageMatrix
6190
6263
  include Google::Apis::Core::Hashable
6191
6264
 
6265
+ # Has the transformation already been applied to the current Document? Needed to
6266
+ # disambiguate pre-processing transformations already applied vs transformations
6267
+ # added at annotation time by HITL operators.
6268
+ # Corresponds to the JSON property `applied`
6269
+ # @return [Boolean]
6270
+ attr_accessor :applied
6271
+ alias_method :applied?, :applied
6272
+
6192
6273
  # Number of columns in the matrix.
6193
6274
  # Corresponds to the JSON property `cols`
6194
6275
  # @return [Fixnum]
@@ -6219,6 +6300,7 @@ module Google
6219
6300
 
6220
6301
  # Update properties of this object
6221
6302
  def update!(**args)
6303
+ @applied = args[:applied] if args.key?(:applied)
6222
6304
  @cols = args[:cols] if args.key?(:cols)
6223
6305
  @data = args[:data] if args.key?(:data)
6224
6306
  @rows = args[:rows] if args.key?(:rows)
@@ -7381,6 +7463,11 @@ module Google
7381
7463
  # @return [String]
7382
7464
  attr_accessor :create_time
7383
7465
 
7466
+ # Information about the upcoming deprecation of this processor version.
7467
+ # Corresponds to the JSON property `deprecationInfo`
7468
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo]
7469
+ attr_accessor :deprecation_info
7470
+
7384
7471
  # The display name of the processor version.
7385
7472
  # Corresponds to the JSON property `displayName`
7386
7473
  # @return [String]
@@ -7421,6 +7508,7 @@ module Google
7421
7508
  # Update properties of this object
7422
7509
  def update!(**args)
7423
7510
  @create_time = args[:create_time] if args.key?(:create_time)
7511
+ @deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
7424
7512
  @display_name = args[:display_name] if args.key?(:display_name)
7425
7513
  @google_managed = args[:google_managed] if args.key?(:google_managed)
7426
7514
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@@ -7430,6 +7518,31 @@ module Google
7430
7518
  end
7431
7519
  end
7432
7520
 
7521
+ # Information about the upcoming deprecation of this processor version.
7522
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
7523
+ include Google::Apis::Core::Hashable
7524
+
7525
+ # The time at which this processor version will be deprecated.
7526
+ # Corresponds to the JSON property `deprecationTime`
7527
+ # @return [String]
7528
+ attr_accessor :deprecation_time
7529
+
7530
+ # If set, the processor version that will be used as a replacement.
7531
+ # Corresponds to the JSON property `replacementProcessorVersion`
7532
+ # @return [String]
7533
+ attr_accessor :replacement_processor_version
7534
+
7535
+ def initialize(**args)
7536
+ update!(**args)
7537
+ end
7538
+
7539
+ # Update properties of this object
7540
+ def update!(**args)
7541
+ @deprecation_time = args[:deprecation_time] if args.key?(:deprecation_time)
7542
+ @replacement_processor_version = args[:replacement_processor_version] if args.key?(:replacement_processor_version)
7543
+ end
7544
+ end
7545
+
7433
7546
  # Payload message of raw document content (bytes).
7434
7547
  class GoogleCloudDocumentaiV1beta3RawDocument
7435
7548
  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.41.0"
19
+ GEM_VERSION = "0.44.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 = "20220401"
25
+ REVISION = "20220505"
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
@@ -2180,6 +2218,7 @@ module Google
2180
2218
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2181
2219
  # @private
2182
2220
  class Representation < Google::Apis::Core::JsonRepresentation
2221
+ property :applied, as: 'applied'
2183
2222
  property :cols, as: 'cols'
2184
2223
  property :data, :base64 => true, as: 'data'
2185
2224
  property :rows, as: 'rows'
@@ -2692,6 +2731,7 @@ module Google
2692
2731
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
2693
2732
  # @private
2694
2733
  class Representation < Google::Apis::Core::JsonRepresentation
2734
+ property :applied, as: 'applied'
2695
2735
  property :cols, as: 'cols'
2696
2736
  property :data, :base64 => true, as: 'data'
2697
2737
  property :rows, as: 'rows'
@@ -3339,6 +3379,7 @@ module Google
3339
3379
  class GoogleCloudDocumentaiV1beta3DocumentPageMatrix
3340
3380
  # @private
3341
3381
  class Representation < Google::Apis::Core::JsonRepresentation
3382
+ property :applied, as: 'applied'
3342
3383
  property :cols, as: 'cols'
3343
3384
  property :data, :base64 => true, as: 'data'
3344
3385
  property :rows, as: 'rows'
@@ -3686,6 +3727,8 @@ module Google
3686
3727
  # @private
3687
3728
  class Representation < Google::Apis::Core::JsonRepresentation
3688
3729
  property :create_time, as: 'createTime'
3730
+ property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo::Representation
3731
+
3689
3732
  property :display_name, as: 'displayName'
3690
3733
  property :google_managed, as: 'googleManaged'
3691
3734
  property :kms_key_name, as: 'kmsKeyName'
@@ -3695,6 +3738,14 @@ module Google
3695
3738
  end
3696
3739
  end
3697
3740
 
3741
+ class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
3742
+ # @private
3743
+ class Representation < Google::Apis::Core::JsonRepresentation
3744
+ property :deprecation_time, as: 'deprecationTime'
3745
+ property :replacement_processor_version, as: 'replacementProcessorVersion'
3746
+ end
3747
+ end
3748
+
3698
3749
  class GoogleCloudDocumentaiV1beta3RawDocument
3699
3750
  # @private
3700
3751
  class Representation < Google::Apis::Core::JsonRepresentation
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.41.0
4
+ version: 0.44.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-11 00:00:00.000000000 Z
11
+ date: 2022-05-16 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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.44.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: []