google-apis-documentai_v1 0.48.0 → 0.50.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: c9914d08be79086d3146180e0dda743b27a28737fa027f000417a7b103221639
4
- data.tar.gz: 60329e2e0de7b6e2d433b879b687827dc4e0973843a83cc115c310d053ca9c97
3
+ metadata.gz: 8abf42cd659c2ea3beb9e171c7152a233063fdb965eb828aa1b40f7d8d053f66
4
+ data.tar.gz: 72cc1dee811f5947c642a4394e3dad3a8bbfd852e1cf428c00385506ee602ddb
5
5
  SHA512:
6
- metadata.gz: d3b66e70b67e24353a5105c6ac2489148f82ecf312f0d063a2704d97bd2716870ea9221c24757b3f4eef6c15bb49e593bd9c781178e89ceb0e75b197f75a5544
7
- data.tar.gz: e5d6cf09d5aabb1ed35254d0c3692997772541bf179b38233e7957b7a63eadfcfa3963471aaa5dbe6110073e78dbaf7b5a56a1878899cfd660b5571798879e94
6
+ metadata.gz: 10a0d1ef85b8c540f9b1f7e5c2a3c55245eb6c7019527629f9aec90d483cbb0c479e348adeac865c524ace4df9db1bb07d01cc2bf397ac85c7f935a67783acf7
7
+ data.tar.gz: 3385d2b035167083e0ab6c03ee2a214824636c7168f87324a98d9a5777fcf5a2d89f591d9a1161f71873188dc8ba1057906288876efabb5d74f8acf3d5bbede7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.50.0 (2022-09-30)
4
+
5
+ * Regenerated from discovery document revision 20220921
6
+
7
+ ### v0.49.0 (2022-09-21)
8
+
9
+ * Regenerated from discovery document revision 20220919
10
+ * Regenerated using generator version 0.10.0
11
+
3
12
  ### v0.48.0 (2022-09-14)
4
13
 
5
14
  * Regenerated from discovery document revision 20220912
@@ -1656,8 +1656,7 @@ module Google
1656
1656
  # @return [String]
1657
1657
  attr_accessor :mention_id
1658
1658
 
1659
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
1660
- # entity is not present in the document, this field will be empty.
1659
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
1661
1660
  # Corresponds to the JSON property `mentionText`
1662
1661
  # @return [String]
1663
1662
  attr_accessor :mention_text
@@ -1875,6 +1874,11 @@ module Google
1875
1874
  class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
1876
1875
  include Google::Apis::Core::Hashable
1877
1876
 
1877
+ # Specifies which fields to include in the output documents.
1878
+ # Corresponds to the JSON property `fieldMask`
1879
+ # @return [String]
1880
+ attr_accessor :field_mask
1881
+
1878
1882
  # The Cloud Storage uri (a directory) of the output.
1879
1883
  # Corresponds to the JSON property `gcsUri`
1880
1884
  # @return [String]
@@ -1886,6 +1890,7 @@ module Google
1886
1890
 
1887
1891
  # Update properties of this object
1888
1892
  def update!(**args)
1893
+ @field_mask = args[:field_mask] if args.key?(:field_mask)
1889
1894
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
1890
1895
  end
1891
1896
  end
@@ -1926,6 +1931,11 @@ module Google
1926
1931
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage]
1927
1932
  attr_accessor :image
1928
1933
 
1934
+ # Image Quality Scores for the page image
1935
+ # Corresponds to the JSON property `imageQualityScores`
1936
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
1937
+ attr_accessor :image_quality_scores
1938
+
1929
1939
  # Visual element describing a layout unit on a page.
1930
1940
  # Corresponds to the JSON property `layout`
1931
1941
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
@@ -1994,6 +2004,7 @@ module Google
1994
2004
  @dimension = args[:dimension] if args.key?(:dimension)
1995
2005
  @form_fields = args[:form_fields] if args.key?(:form_fields)
1996
2006
  @image = args[:image] if args.key?(:image)
2007
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
1997
2008
  @layout = args[:layout] if args.key?(:layout)
1998
2009
  @lines = args[:lines] if args.key?(:lines)
1999
2010
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -2295,6 +2306,60 @@ module Google
2295
2306
  end
2296
2307
  end
2297
2308
 
2309
+ # Image Quality Scores for the page image
2310
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
2311
+ include Google::Apis::Core::Hashable
2312
+
2313
+ # A list of detected defects.
2314
+ # Corresponds to the JSON property `detectedDefects`
2315
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
2316
+ attr_accessor :detected_defects
2317
+
2318
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
2319
+ # Corresponds to the JSON property `qualityScore`
2320
+ # @return [Float]
2321
+ attr_accessor :quality_score
2322
+
2323
+ def initialize(**args)
2324
+ update!(**args)
2325
+ end
2326
+
2327
+ # Update properties of this object
2328
+ def update!(**args)
2329
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
2330
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
2331
+ end
2332
+ end
2333
+
2334
+ # Image Quality Defects
2335
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
2336
+ include Google::Apis::Core::Hashable
2337
+
2338
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
2339
+ # confidence of that the defect exists.
2340
+ # Corresponds to the JSON property `confidence`
2341
+ # @return [Float]
2342
+ attr_accessor :confidence
2343
+
2344
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
2345
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
2346
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
2347
+ # defect_text_cutoff", "quality/defect_glare"
2348
+ # Corresponds to the JSON property `type`
2349
+ # @return [String]
2350
+ attr_accessor :type
2351
+
2352
+ def initialize(**args)
2353
+ update!(**args)
2354
+ end
2355
+
2356
+ # Update properties of this object
2357
+ def update!(**args)
2358
+ @confidence = args[:confidence] if args.key?(:confidence)
2359
+ @type = args[:type] if args.key?(:type)
2360
+ end
2361
+ end
2362
+
2298
2363
  # Visual element describing a layout unit on a page.
2299
2364
  class GoogleCloudDocumentaiV1DocumentPageLayout
2300
2365
  include Google::Apis::Core::Hashable
@@ -3365,12 +3430,6 @@ module Google
3365
3430
  attr_accessor :inactive
3366
3431
  alias_method :inactive?, :inactive
3367
3432
 
3368
- # If set, the properties of this entity type must be prefixed with the parents.
3369
- # Corresponds to the JSON property `prefixedNamingOnProperties`
3370
- # @return [Boolean]
3371
- attr_accessor :prefixed_naming_on_properties
3372
- alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
3373
-
3374
3433
  def initialize(**args)
3375
3434
  update!(**args)
3376
3435
  end
@@ -3380,7 +3439,6 @@ module Google
3380
3439
  @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3381
3440
  @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3382
3441
  @inactive = args[:inactive] if args.key?(:inactive)
3383
- @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
3384
3442
  end
3385
3443
  end
3386
3444
 
@@ -4502,8 +4560,7 @@ module Google
4502
4560
  # @return [String]
4503
4561
  attr_accessor :mention_id
4504
4562
 
4505
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
4506
- # entity is not present in the document, this field will be empty.
4563
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
4507
4564
  # Corresponds to the JSON property `mentionText`
4508
4565
  # @return [String]
4509
4566
  attr_accessor :mention_text
@@ -4733,6 +4790,11 @@ module Google
4733
4790
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage]
4734
4791
  attr_accessor :image
4735
4792
 
4793
+ # Image Quality Scores for the page image
4794
+ # Corresponds to the JSON property `imageQualityScores`
4795
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
4796
+ attr_accessor :image_quality_scores
4797
+
4736
4798
  # Visual element describing a layout unit on a page.
4737
4799
  # Corresponds to the JSON property `layout`
4738
4800
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -4801,6 +4863,7 @@ module Google
4801
4863
  @dimension = args[:dimension] if args.key?(:dimension)
4802
4864
  @form_fields = args[:form_fields] if args.key?(:form_fields)
4803
4865
  @image = args[:image] if args.key?(:image)
4866
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
4804
4867
  @layout = args[:layout] if args.key?(:layout)
4805
4868
  @lines = args[:lines] if args.key?(:lines)
4806
4869
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -5102,6 +5165,60 @@ module Google
5102
5165
  end
5103
5166
  end
5104
5167
 
5168
+ # Image Quality Scores for the page image
5169
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
5170
+ include Google::Apis::Core::Hashable
5171
+
5172
+ # A list of detected defects.
5173
+ # Corresponds to the JSON property `detectedDefects`
5174
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
5175
+ attr_accessor :detected_defects
5176
+
5177
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
5178
+ # Corresponds to the JSON property `qualityScore`
5179
+ # @return [Float]
5180
+ attr_accessor :quality_score
5181
+
5182
+ def initialize(**args)
5183
+ update!(**args)
5184
+ end
5185
+
5186
+ # Update properties of this object
5187
+ def update!(**args)
5188
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
5189
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
5190
+ end
5191
+ end
5192
+
5193
+ # Image Quality Defects
5194
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
5195
+ include Google::Apis::Core::Hashable
5196
+
5197
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
5198
+ # confidence of that the defect exists.
5199
+ # Corresponds to the JSON property `confidence`
5200
+ # @return [Float]
5201
+ attr_accessor :confidence
5202
+
5203
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
5204
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
5205
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
5206
+ # defect_text_cutoff", "quality/defect_glare"
5207
+ # Corresponds to the JSON property `type`
5208
+ # @return [String]
5209
+ attr_accessor :type
5210
+
5211
+ def initialize(**args)
5212
+ update!(**args)
5213
+ end
5214
+
5215
+ # Update properties of this object
5216
+ def update!(**args)
5217
+ @confidence = args[:confidence] if args.key?(:confidence)
5218
+ @type = args[:type] if args.key?(:type)
5219
+ end
5220
+ end
5221
+
5105
5222
  # Visual element describing a layout unit on a page.
5106
5223
  class GoogleCloudDocumentaiV1beta1DocumentPageLayout
5107
5224
  include Google::Apis::Core::Hashable
@@ -6338,8 +6455,7 @@ module Google
6338
6455
  # @return [String]
6339
6456
  attr_accessor :mention_id
6340
6457
 
6341
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
6342
- # entity is not present in the document, this field will be empty.
6458
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
6343
6459
  # Corresponds to the JSON property `mentionText`
6344
6460
  # @return [String]
6345
6461
  attr_accessor :mention_text
@@ -6606,6 +6722,11 @@ module Google
6606
6722
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage]
6607
6723
  attr_accessor :image
6608
6724
 
6725
+ # Image Quality Scores for the page image
6726
+ # Corresponds to the JSON property `imageQualityScores`
6727
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
6728
+ attr_accessor :image_quality_scores
6729
+
6609
6730
  # Visual element describing a layout unit on a page.
6610
6731
  # Corresponds to the JSON property `layout`
6611
6732
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -6674,6 +6795,7 @@ module Google
6674
6795
  @dimension = args[:dimension] if args.key?(:dimension)
6675
6796
  @form_fields = args[:form_fields] if args.key?(:form_fields)
6676
6797
  @image = args[:image] if args.key?(:image)
6798
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
6677
6799
  @layout = args[:layout] if args.key?(:layout)
6678
6800
  @lines = args[:lines] if args.key?(:lines)
6679
6801
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -6975,6 +7097,60 @@ module Google
6975
7097
  end
6976
7098
  end
6977
7099
 
7100
+ # Image Quality Scores for the page image
7101
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
7102
+ include Google::Apis::Core::Hashable
7103
+
7104
+ # A list of detected defects.
7105
+ # Corresponds to the JSON property `detectedDefects`
7106
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
7107
+ attr_accessor :detected_defects
7108
+
7109
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
7110
+ # Corresponds to the JSON property `qualityScore`
7111
+ # @return [Float]
7112
+ attr_accessor :quality_score
7113
+
7114
+ def initialize(**args)
7115
+ update!(**args)
7116
+ end
7117
+
7118
+ # Update properties of this object
7119
+ def update!(**args)
7120
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
7121
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
7122
+ end
7123
+ end
7124
+
7125
+ # Image Quality Defects
7126
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
7127
+ include Google::Apis::Core::Hashable
7128
+
7129
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
7130
+ # confidence of that the defect exists.
7131
+ # Corresponds to the JSON property `confidence`
7132
+ # @return [Float]
7133
+ attr_accessor :confidence
7134
+
7135
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
7136
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
7137
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
7138
+ # defect_text_cutoff", "quality/defect_glare"
7139
+ # Corresponds to the JSON property `type`
7140
+ # @return [String]
7141
+ attr_accessor :type
7142
+
7143
+ def initialize(**args)
7144
+ update!(**args)
7145
+ end
7146
+
7147
+ # Update properties of this object
7148
+ def update!(**args)
7149
+ @confidence = args[:confidence] if args.key?(:confidence)
7150
+ @type = args[:type] if args.key?(:type)
7151
+ end
7152
+ end
7153
+
6978
7154
  # Visual element describing a layout unit on a page.
6979
7155
  class GoogleCloudDocumentaiV1beta2DocumentPageLayout
6980
7156
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220912"
25
+ REVISION = "20220921"
26
26
  end
27
27
  end
28
28
  end
@@ -490,6 +490,18 @@ module Google
490
490
  include Google::Apis::Core::JsonObjectSupport
491
491
  end
492
492
 
493
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
493
505
  class GoogleCloudDocumentaiV1DocumentPageLayout
494
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
507
 
@@ -958,6 +970,18 @@ module Google
958
970
  include Google::Apis::Core::JsonObjectSupport
959
971
  end
960
972
 
973
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
979
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
961
985
  class GoogleCloudDocumentaiV1beta1DocumentPageLayout
962
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
987
 
@@ -1234,6 +1258,18 @@ module Google
1234
1258
  include Google::Apis::Core::JsonObjectSupport
1235
1259
  end
1236
1260
 
1261
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1267
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
1268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1269
+
1270
+ include Google::Apis::Core::JsonObjectSupport
1271
+ end
1272
+
1237
1273
  class GoogleCloudDocumentaiV1beta2DocumentPageLayout
1238
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1239
1275
 
@@ -2219,6 +2255,7 @@ module Google
2219
2255
  class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
2220
2256
  # @private
2221
2257
  class Representation < Google::Apis::Core::JsonRepresentation
2258
+ property :field_mask, as: 'fieldMask'
2222
2259
  property :gcs_uri, as: 'gcsUri'
2223
2260
  end
2224
2261
  end
@@ -2238,6 +2275,8 @@ module Google
2238
2275
 
2239
2276
  property :image, as: 'image', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage::Representation
2240
2277
 
2278
+ property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores::Representation
2279
+
2241
2280
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
2242
2281
 
2243
2282
  collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLine, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLine::Representation
@@ -2348,6 +2387,23 @@ module Google
2348
2387
  end
2349
2388
  end
2350
2389
 
2390
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
2391
+ # @private
2392
+ class Representation < Google::Apis::Core::JsonRepresentation
2393
+ collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect::Representation
2394
+
2395
+ property :quality_score, as: 'qualityScore'
2396
+ end
2397
+ end
2398
+
2399
+ class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
2400
+ # @private
2401
+ class Representation < Google::Apis::Core::JsonRepresentation
2402
+ property :confidence, as: 'confidence'
2403
+ property :type, as: 'type'
2404
+ end
2405
+ end
2406
+
2351
2407
  class GoogleCloudDocumentaiV1DocumentPageLayout
2352
2408
  # @private
2353
2409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2658,7 +2714,6 @@ module Google
2658
2714
  property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2659
2715
 
2660
2716
  property :inactive, as: 'inactive'
2661
- property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
2662
2717
  end
2663
2718
  end
2664
2719
 
@@ -3065,6 +3120,8 @@ module Google
3065
3120
 
3066
3121
  property :image, as: 'image', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage::Representation
3067
3122
 
3123
+ property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores::Representation
3124
+
3068
3125
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
3069
3126
 
3070
3127
  collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLine, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLine::Representation
@@ -3175,6 +3232,23 @@ module Google
3175
3232
  end
3176
3233
  end
3177
3234
 
3235
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
3236
+ # @private
3237
+ class Representation < Google::Apis::Core::JsonRepresentation
3238
+ collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect::Representation
3239
+
3240
+ property :quality_score, as: 'qualityScore'
3241
+ end
3242
+ end
3243
+
3244
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
3245
+ # @private
3246
+ class Representation < Google::Apis::Core::JsonRepresentation
3247
+ property :confidence, as: 'confidence'
3248
+ property :type, as: 'type'
3249
+ end
3250
+ end
3251
+
3178
3252
  class GoogleCloudDocumentaiV1beta1DocumentPageLayout
3179
3253
  # @private
3180
3254
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3598,6 +3672,8 @@ module Google
3598
3672
 
3599
3673
  property :image, as: 'image', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage::Representation
3600
3674
 
3675
+ property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores::Representation
3676
+
3601
3677
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
3602
3678
 
3603
3679
  collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLine, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLine::Representation
@@ -3708,6 +3784,23 @@ module Google
3708
3784
  end
3709
3785
  end
3710
3786
 
3787
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
3788
+ # @private
3789
+ class Representation < Google::Apis::Core::JsonRepresentation
3790
+ collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect::Representation
3791
+
3792
+ property :quality_score, as: 'qualityScore'
3793
+ end
3794
+ end
3795
+
3796
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
3797
+ # @private
3798
+ class Representation < Google::Apis::Core::JsonRepresentation
3799
+ property :confidence, as: 'confidence'
3800
+ property :type, as: 'type'
3801
+ end
3802
+ end
3803
+
3711
3804
  class GoogleCloudDocumentaiV1beta2DocumentPageLayout
3712
3805
  # @private
3713
3806
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.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-09-19 00:00:00.000000000 Z
11
+ date: 2022-10-03 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.7'
19
+ version: 0.9.0
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.7'
29
+ version: 0.9.0
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []