google-apis-documentai_v1beta2 0.37.0 → 0.40.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: 1a79a6d5f97a2933cf2bb022a79d56c3e5248143fb527ee2bda50152814d3efa
4
- data.tar.gz: 3e116270a90bf1130438460fd68a8b56cbdc6e7719ffce0c8b160362c1112644
3
+ metadata.gz: 5a65c6ef70b7ed35cfd2ed2744d48aeea1f607dadecf92a837ae180096ca3c3a
4
+ data.tar.gz: 2ad23ed0ca387bec96c3f20d900715cbef62a0931059dca06a08f7e19c1151f6
5
5
  SHA512:
6
- metadata.gz: 7bfd770c015f9372f5f7563373455d9594b10de9effc8b41309eff5834ed848ea061cef20a47f32742b0654effbfddf8b237d08db2db39fc0d064b58ede2a365
7
- data.tar.gz: 2dcbf1163eebc9be3f42dd6af143421175e51b5c68b1d3fdfbed10142bc6d11f667d7bba403f18cab310be4cbd88f8bbad1344bd00061b6b74b81cf1a7798f5f
6
+ metadata.gz: 899ebf798e83c9515ba0fd167a03a608b20321cc555dd663b3dae9eae2ae68d236a880f1def2ea929c9853829098e35d22958d63d2f9954c2f7b9829f20d8689
7
+ data.tar.gz: 45e94d6fcd1652ace25f8f40ecbafff177b42fb7b1416907474b039a4fbd99f8ec507d33335be8952ccf38b93f41c6833d79e1a330e50cb666cdc7f7492d2d93
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.40.0 (2022-06-20)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.39.0 (2022-06-14)
8
+
9
+ * Regenerated from discovery document revision 20220610
10
+ * Regenerated using generator version 0.6.0
11
+
12
+ ### v0.38.0 (2022-06-08)
13
+
14
+ * Regenerated from discovery document revision 20220602
15
+ * Regenerated using generator version 0.5.0
16
+
3
17
  ### v0.37.0 (2022-05-10)
4
18
 
5
19
  * Regenerated from discovery document revision 20220505
@@ -1278,11 +1278,22 @@ module Google
1278
1278
  class GoogleCloudDocumentaiV1ReviewDocumentResponse
1279
1279
  include Google::Apis::Core::Hashable
1280
1280
 
1281
- # The Cloud Storage uri for the human reviewed document.
1281
+ # The Cloud Storage uri for the human reviewed document if the review is
1282
+ # succeeded.
1282
1283
  # Corresponds to the JSON property `gcsDestination`
1283
1284
  # @return [String]
1284
1285
  attr_accessor :gcs_destination
1285
1286
 
1287
+ # The reason why the review is rejected by reviewer.
1288
+ # Corresponds to the JSON property `rejectionReason`
1289
+ # @return [String]
1290
+ attr_accessor :rejection_reason
1291
+
1292
+ # The state of the review operation.
1293
+ # Corresponds to the JSON property `state`
1294
+ # @return [String]
1295
+ attr_accessor :state
1296
+
1286
1297
  def initialize(**args)
1287
1298
  update!(**args)
1288
1299
  end
@@ -1290,6 +1301,8 @@ module Google
1290
1301
  # Update properties of this object
1291
1302
  def update!(**args)
1292
1303
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1304
+ @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
1305
+ @state = args[:state] if args.key?(:state)
1293
1306
  end
1294
1307
  end
1295
1308
 
@@ -1871,8 +1884,8 @@ module Google
1871
1884
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
1872
1885
  attr_accessor :tokens
1873
1886
 
1874
- # Transformation matrices (both already applied and not) to the original
1875
- # document image to produce Page.image.
1887
+ # Transformation matrices that were applied to the original document image to
1888
+ # produce Page.image.
1876
1889
  # Corresponds to the JSON property `transforms`
1877
1890
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
1878
1891
  attr_accessor :transforms
@@ -2247,14 +2260,6 @@ module Google
2247
2260
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2248
2261
  include Google::Apis::Core::Hashable
2249
2262
 
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
-
2258
2263
  # Number of columns in the matrix.
2259
2264
  # Corresponds to the JSON property `cols`
2260
2265
  # @return [Fixnum]
@@ -2285,7 +2290,6 @@ module Google
2285
2290
 
2286
2291
  # Update properties of this object
2287
2292
  def update!(**args)
2288
- @applied = args[:applied] if args.key?(:applied)
2289
2293
  @cols = args[:cols] if args.key?(:cols)
2290
2294
  @data = args[:data] if args.key?(:data)
2291
2295
  @rows = args[:rows] if args.key?(:rows)
@@ -3725,8 +3729,8 @@ module Google
3725
3729
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
3726
3730
  attr_accessor :tokens
3727
3731
 
3728
- # Transformation matrices (both already applied and not) to the original
3729
- # document image to produce Page.image.
3732
+ # Transformation matrices that were applied to the original document image to
3733
+ # produce Page.image.
3730
3734
  # Corresponds to the JSON property `transforms`
3731
3735
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
3732
3736
  attr_accessor :transforms
@@ -4101,14 +4105,6 @@ module Google
4101
4105
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
4102
4106
  include Google::Apis::Core::Hashable
4103
4107
 
4104
- # Has the transformation already been applied to the current Document? Needed to
4105
- # disambiguate pre-processing transformations already applied vs transformations
4106
- # added at annotation time by HITL operators.
4107
- # Corresponds to the JSON property `applied`
4108
- # @return [Boolean]
4109
- attr_accessor :applied
4110
- alias_method :applied?, :applied
4111
-
4112
4108
  # Number of columns in the matrix.
4113
4109
  # Corresponds to the JSON property `cols`
4114
4110
  # @return [Fixnum]
@@ -4139,7 +4135,6 @@ module Google
4139
4135
 
4140
4136
  # Update properties of this object
4141
4137
  def update!(**args)
4142
- @applied = args[:applied] if args.key?(:applied)
4143
4138
  @cols = args[:cols] if args.key?(:cols)
4144
4139
  @data = args[:data] if args.key?(:data)
4145
4140
  @rows = args[:rows] if args.key?(:rows)
@@ -5686,11 +5681,22 @@ module Google
5686
5681
  class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
5687
5682
  include Google::Apis::Core::Hashable
5688
5683
 
5689
- # The Cloud Storage uri for the human reviewed document.
5684
+ # The Cloud Storage uri for the human reviewed document if the review is
5685
+ # succeeded.
5690
5686
  # Corresponds to the JSON property `gcsDestination`
5691
5687
  # @return [String]
5692
5688
  attr_accessor :gcs_destination
5693
5689
 
5690
+ # The reason why the review is rejected by reviewer.
5691
+ # Corresponds to the JSON property `rejectionReason`
5692
+ # @return [String]
5693
+ attr_accessor :rejection_reason
5694
+
5695
+ # The state of the review operation.
5696
+ # Corresponds to the JSON property `state`
5697
+ # @return [String]
5698
+ attr_accessor :state
5699
+
5694
5700
  def initialize(**args)
5695
5701
  update!(**args)
5696
5702
  end
@@ -5698,6 +5704,8 @@ module Google
5698
5704
  # Update properties of this object
5699
5705
  def update!(**args)
5700
5706
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
5707
+ @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
5708
+ @state = args[:state] if args.key?(:state)
5701
5709
  end
5702
5710
  end
5703
5711
 
@@ -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.37.0"
19
+ GEM_VERSION = "0.40.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.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220505"
25
+ REVISION = "20220610"
26
26
  end
27
27
  end
28
28
  end
@@ -1598,6 +1598,8 @@ module Google
1598
1598
  # @private
1599
1599
  class Representation < Google::Apis::Core::JsonRepresentation
1600
1600
  property :gcs_destination, as: 'gcsDestination'
1601
+ property :rejection_reason, as: 'rejectionReason'
1602
+ property :state, as: 'state'
1601
1603
  end
1602
1604
  end
1603
1605
 
@@ -1882,7 +1884,6 @@ module Google
1882
1884
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
1883
1885
  # @private
1884
1886
  class Representation < Google::Apis::Core::JsonRepresentation
1885
- property :applied, as: 'applied'
1886
1887
  property :cols, as: 'cols'
1887
1888
  property :data, :base64 => true, as: 'data'
1888
1889
  property :rows, as: 'rows'
@@ -2410,7 +2411,6 @@ module Google
2410
2411
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
2411
2412
  # @private
2412
2413
  class Representation < Google::Apis::Core::JsonRepresentation
2413
- property :applied, as: 'applied'
2414
2414
  property :cols, as: 'cols'
2415
2415
  property :data, :base64 => true, as: 'data'
2416
2416
  property :rows, as: 'rows'
@@ -2880,6 +2880,8 @@ module Google
2880
2880
  # @private
2881
2881
  class Representation < Google::Apis::Core::JsonRepresentation
2882
2882
  property :gcs_destination, as: 'gcsDestination'
2883
+ property :rejection_reason, as: 'rejectionReason'
2884
+ property :state, as: 'state'
2883
2885
  end
2884
2886
  end
2885
2887
 
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.37.0
4
+ version: 0.40.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.6'
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.6'
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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.40.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