google-apis-documentai_v1beta3 0.56.0 → 0.58.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: 78ee69543e7534a27236cd45e7aff21c1f013a3c4142a3adc769ef75f8fd4183
4
- data.tar.gz: 6b53cd5ed8501f9dd90e63877ad413983a4d0de065336a9f483ffbde64d8ca4e
3
+ metadata.gz: a668825bcb6a8077d1a606598f4cdfacac4f637b1637782f39ce180448b40154
4
+ data.tar.gz: 9732cb0736821a4ba7b8729cd42f730ba883e0c1b500b1893c5c0989cc53a3e3
5
5
  SHA512:
6
- metadata.gz: 1ae2c394a708d58c4454a9e549fcc2199089709367d7eb11bad4f7f1782039812a72b9f899a6b74f017cdcf58451adb288809916dc2f808d1dbf58bb553fd75a
7
- data.tar.gz: 192008221dd4ce385536f957e146449d72584ed3b356ffd6dc87553c4b155dc88353b09e8f90e489e02c3e72e92bfcda3c35d78ddc3fd7a184c34765ffdd0de5
6
+ metadata.gz: f8fd69e014294188d5817caffad8988a119b4d0f87ab6c7a6afd52874352d08ae4f657cd6c401a15a2b1ed0042d500c6300ef3bd26236d2eeb96c0971b0ce408
7
+ data.tar.gz: ef605315a060d83126445b52b34949238e972f51e7973762eeaafe1dd5acd8eeaa0b39a58d042e2157250c1929ecdf6138a351a45374a611994abcfcf953d47c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.58.0 (2022-09-28)
4
+
5
+ * Regenerated from discovery document revision 20220921
6
+
7
+ ### v0.57.0 (2022-09-20)
8
+
9
+ * Regenerated from discovery document revision 20220919
10
+ * Regenerated using generator version 0.10.0
11
+
3
12
  ### v0.56.0 (2022-09-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20220912
@@ -1841,8 +1841,7 @@ module Google
1841
1841
  # @return [String]
1842
1842
  attr_accessor :mention_id
1843
1843
 
1844
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
1845
- # entity is not present in the document, this field will be empty.
1844
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
1846
1845
  # Corresponds to the JSON property `mentionText`
1847
1846
  # @return [String]
1848
1847
  attr_accessor :mention_text
@@ -2072,6 +2071,11 @@ module Google
2072
2071
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage]
2073
2072
  attr_accessor :image
2074
2073
 
2074
+ # Image Quality Scores for the page image
2075
+ # Corresponds to the JSON property `imageQualityScores`
2076
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
2077
+ attr_accessor :image_quality_scores
2078
+
2075
2079
  # Visual element describing a layout unit on a page.
2076
2080
  # Corresponds to the JSON property `layout`
2077
2081
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -2140,6 +2144,7 @@ module Google
2140
2144
  @dimension = args[:dimension] if args.key?(:dimension)
2141
2145
  @form_fields = args[:form_fields] if args.key?(:form_fields)
2142
2146
  @image = args[:image] if args.key?(:image)
2147
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
2143
2148
  @layout = args[:layout] if args.key?(:layout)
2144
2149
  @lines = args[:lines] if args.key?(:lines)
2145
2150
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -2441,6 +2446,60 @@ module Google
2441
2446
  end
2442
2447
  end
2443
2448
 
2449
+ # Image Quality Scores for the page image
2450
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
2451
+ include Google::Apis::Core::Hashable
2452
+
2453
+ # A list of detected defects.
2454
+ # Corresponds to the JSON property `detectedDefects`
2455
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
2456
+ attr_accessor :detected_defects
2457
+
2458
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
2459
+ # Corresponds to the JSON property `qualityScore`
2460
+ # @return [Float]
2461
+ attr_accessor :quality_score
2462
+
2463
+ def initialize(**args)
2464
+ update!(**args)
2465
+ end
2466
+
2467
+ # Update properties of this object
2468
+ def update!(**args)
2469
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
2470
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
2471
+ end
2472
+ end
2473
+
2474
+ # Image Quality Defects
2475
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
2476
+ include Google::Apis::Core::Hashable
2477
+
2478
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
2479
+ # confidence of that the defect exists.
2480
+ # Corresponds to the JSON property `confidence`
2481
+ # @return [Float]
2482
+ attr_accessor :confidence
2483
+
2484
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
2485
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
2486
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
2487
+ # defect_text_cutoff", "quality/defect_glare"
2488
+ # Corresponds to the JSON property `type`
2489
+ # @return [String]
2490
+ attr_accessor :type
2491
+
2492
+ def initialize(**args)
2493
+ update!(**args)
2494
+ end
2495
+
2496
+ # Update properties of this object
2497
+ def update!(**args)
2498
+ @confidence = args[:confidence] if args.key?(:confidence)
2499
+ @type = args[:type] if args.key?(:type)
2500
+ end
2501
+ end
2502
+
2444
2503
  # Visual element describing a layout unit on a page.
2445
2504
  class GoogleCloudDocumentaiV1beta1DocumentPageLayout
2446
2505
  include Google::Apis::Core::Hashable
@@ -3677,8 +3736,7 @@ module Google
3677
3736
  # @return [String]
3678
3737
  attr_accessor :mention_id
3679
3738
 
3680
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
3681
- # entity is not present in the document, this field will be empty.
3739
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
3682
3740
  # Corresponds to the JSON property `mentionText`
3683
3741
  # @return [String]
3684
3742
  attr_accessor :mention_text
@@ -3945,6 +4003,11 @@ module Google
3945
4003
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage]
3946
4004
  attr_accessor :image
3947
4005
 
4006
+ # Image Quality Scores for the page image
4007
+ # Corresponds to the JSON property `imageQualityScores`
4008
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
4009
+ attr_accessor :image_quality_scores
4010
+
3948
4011
  # Visual element describing a layout unit on a page.
3949
4012
  # Corresponds to the JSON property `layout`
3950
4013
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -4013,6 +4076,7 @@ module Google
4013
4076
  @dimension = args[:dimension] if args.key?(:dimension)
4014
4077
  @form_fields = args[:form_fields] if args.key?(:form_fields)
4015
4078
  @image = args[:image] if args.key?(:image)
4079
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
4016
4080
  @layout = args[:layout] if args.key?(:layout)
4017
4081
  @lines = args[:lines] if args.key?(:lines)
4018
4082
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -4314,6 +4378,60 @@ module Google
4314
4378
  end
4315
4379
  end
4316
4380
 
4381
+ # Image Quality Scores for the page image
4382
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
4383
+ include Google::Apis::Core::Hashable
4384
+
4385
+ # A list of detected defects.
4386
+ # Corresponds to the JSON property `detectedDefects`
4387
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
4388
+ attr_accessor :detected_defects
4389
+
4390
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
4391
+ # Corresponds to the JSON property `qualityScore`
4392
+ # @return [Float]
4393
+ attr_accessor :quality_score
4394
+
4395
+ def initialize(**args)
4396
+ update!(**args)
4397
+ end
4398
+
4399
+ # Update properties of this object
4400
+ def update!(**args)
4401
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
4402
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
4403
+ end
4404
+ end
4405
+
4406
+ # Image Quality Defects
4407
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
4408
+ include Google::Apis::Core::Hashable
4409
+
4410
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
4411
+ # confidence of that the defect exists.
4412
+ # Corresponds to the JSON property `confidence`
4413
+ # @return [Float]
4414
+ attr_accessor :confidence
4415
+
4416
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
4417
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
4418
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
4419
+ # defect_text_cutoff", "quality/defect_glare"
4420
+ # Corresponds to the JSON property `type`
4421
+ # @return [String]
4422
+ attr_accessor :type
4423
+
4424
+ def initialize(**args)
4425
+ update!(**args)
4426
+ end
4427
+
4428
+ # Update properties of this object
4429
+ def update!(**args)
4430
+ @confidence = args[:confidence] if args.key?(:confidence)
4431
+ @type = args[:type] if args.key?(:type)
4432
+ end
4433
+ end
4434
+
4317
4435
  # Visual element describing a layout unit on a page.
4318
4436
  class GoogleCloudDocumentaiV1beta2DocumentPageLayout
4319
4437
  include Google::Apis::Core::Hashable
@@ -5935,8 +6053,7 @@ module Google
5935
6053
  # @return [String]
5936
6054
  attr_accessor :mention_id
5937
6055
 
5938
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
5939
- # entity is not present in the document, this field will be empty.
6056
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
5940
6057
  # Corresponds to the JSON property `mentionText`
5941
6058
  # @return [String]
5942
6059
  attr_accessor :mention_text
@@ -6154,6 +6271,11 @@ module Google
6154
6271
  class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
6155
6272
  include Google::Apis::Core::Hashable
6156
6273
 
6274
+ # Specifies which fields to include in the output documents.
6275
+ # Corresponds to the JSON property `fieldMask`
6276
+ # @return [String]
6277
+ attr_accessor :field_mask
6278
+
6157
6279
  # The Cloud Storage uri (a directory) of the output.
6158
6280
  # Corresponds to the JSON property `gcsUri`
6159
6281
  # @return [String]
@@ -6165,6 +6287,7 @@ module Google
6165
6287
 
6166
6288
  # Update properties of this object
6167
6289
  def update!(**args)
6290
+ @field_mask = args[:field_mask] if args.key?(:field_mask)
6168
6291
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
6169
6292
  end
6170
6293
  end
@@ -6205,6 +6328,11 @@ module Google
6205
6328
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage]
6206
6329
  attr_accessor :image
6207
6330
 
6331
+ # Image Quality Scores for the page image
6332
+ # Corresponds to the JSON property `imageQualityScores`
6333
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores]
6334
+ attr_accessor :image_quality_scores
6335
+
6208
6336
  # Visual element describing a layout unit on a page.
6209
6337
  # Corresponds to the JSON property `layout`
6210
6338
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
@@ -6273,6 +6401,7 @@ module Google
6273
6401
  @dimension = args[:dimension] if args.key?(:dimension)
6274
6402
  @form_fields = args[:form_fields] if args.key?(:form_fields)
6275
6403
  @image = args[:image] if args.key?(:image)
6404
+ @image_quality_scores = args[:image_quality_scores] if args.key?(:image_quality_scores)
6276
6405
  @layout = args[:layout] if args.key?(:layout)
6277
6406
  @lines = args[:lines] if args.key?(:lines)
6278
6407
  @page_number = args[:page_number] if args.key?(:page_number)
@@ -6574,6 +6703,60 @@ module Google
6574
6703
  end
6575
6704
  end
6576
6705
 
6706
+ # Image Quality Scores for the page image
6707
+ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
6708
+ include Google::Apis::Core::Hashable
6709
+
6710
+ # A list of detected defects.
6711
+ # Corresponds to the JSON property `detectedDefects`
6712
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect>]
6713
+ attr_accessor :detected_defects
6714
+
6715
+ # The overall quality score. Range [0, 1] where 1 is perfect quality.
6716
+ # Corresponds to the JSON property `qualityScore`
6717
+ # @return [Float]
6718
+ attr_accessor :quality_score
6719
+
6720
+ def initialize(**args)
6721
+ update!(**args)
6722
+ end
6723
+
6724
+ # Update properties of this object
6725
+ def update!(**args)
6726
+ @detected_defects = args[:detected_defects] if args.key?(:detected_defects)
6727
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
6728
+ end
6729
+ end
6730
+
6731
+ # Image Quality Defects
6732
+ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
6733
+ include Google::Apis::Core::Hashable
6734
+
6735
+ # Confidence of detected defect. Range [0, 1] where 1 indicates strong
6736
+ # confidence of that the defect exists.
6737
+ # Corresponds to the JSON property `confidence`
6738
+ # @return [Float]
6739
+ attr_accessor :confidence
6740
+
6741
+ # Name of the defect type. Supported values are "quality/defect_blurry", "
6742
+ # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
6743
+ # defect_text_too_small", "quality/defect_document_cutoff", "quality/
6744
+ # defect_text_cutoff", "quality/defect_glare"
6745
+ # Corresponds to the JSON property `type`
6746
+ # @return [String]
6747
+ attr_accessor :type
6748
+
6749
+ def initialize(**args)
6750
+ update!(**args)
6751
+ end
6752
+
6753
+ # Update properties of this object
6754
+ def update!(**args)
6755
+ @confidence = args[:confidence] if args.key?(:confidence)
6756
+ @type = args[:type] if args.key?(:type)
6757
+ end
6758
+ end
6759
+
6577
6760
  # Visual element describing a layout unit on a page.
6578
6761
  class GoogleCloudDocumentaiV1beta3DocumentPageLayout
6579
6762
  include Google::Apis::Core::Hashable
@@ -7644,12 +7827,6 @@ module Google
7644
7827
  attr_accessor :inactive
7645
7828
  alias_method :inactive?, :inactive
7646
7829
 
7647
- # If set, the properties of this entity type must be prefixed with the parents.
7648
- # Corresponds to the JSON property `prefixedNamingOnProperties`
7649
- # @return [Boolean]
7650
- attr_accessor :prefixed_naming_on_properties
7651
- alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
7652
-
7653
7830
  def initialize(**args)
7654
7831
  update!(**args)
7655
7832
  end
@@ -7659,7 +7836,6 @@ module Google
7659
7836
  @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
7660
7837
  @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
7661
7838
  @inactive = args[:inactive] if args.key?(:inactive)
7662
- @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
7663
7839
  end
7664
7840
  end
7665
7841
 
@@ -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.56.0"
19
+ GEM_VERSION = "0.58.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
@@ -526,6 +526,18 @@ module Google
526
526
  include Google::Apis::Core::JsonObjectSupport
527
527
  end
528
528
 
529
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
529
541
  class GoogleCloudDocumentaiV1beta1DocumentPageLayout
530
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
543
 
@@ -802,6 +814,18 @@ module Google
802
814
  include Google::Apis::Core::JsonObjectSupport
803
815
  end
804
816
 
817
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
805
829
  class GoogleCloudDocumentaiV1beta2DocumentPageLayout
806
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
831
 
@@ -1174,6 +1198,18 @@ module Google
1174
1198
  include Google::Apis::Core::JsonObjectSupport
1175
1199
  end
1176
1200
 
1201
+ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1207
+ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1177
1213
  class GoogleCloudDocumentaiV1beta3DocumentPageLayout
1178
1214
  class Representation < Google::Apis::Core::JsonRepresentation; end
1179
1215
 
@@ -2298,6 +2334,8 @@ module Google
2298
2334
 
2299
2335
  property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage::Representation
2300
2336
 
2337
+ property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores::Representation
2338
+
2301
2339
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2302
2340
 
2303
2341
  collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLine::Representation
@@ -2408,6 +2446,23 @@ module Google
2408
2446
  end
2409
2447
  end
2410
2448
 
2449
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
2450
+ # @private
2451
+ class Representation < Google::Apis::Core::JsonRepresentation
2452
+ collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect::Representation
2453
+
2454
+ property :quality_score, as: 'qualityScore'
2455
+ end
2456
+ end
2457
+
2458
+ class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
2459
+ # @private
2460
+ class Representation < Google::Apis::Core::JsonRepresentation
2461
+ property :confidence, as: 'confidence'
2462
+ property :type, as: 'type'
2463
+ end
2464
+ end
2465
+
2411
2466
  class GoogleCloudDocumentaiV1beta1DocumentPageLayout
2412
2467
  # @private
2413
2468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2831,6 +2886,8 @@ module Google
2831
2886
 
2832
2887
  property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage::Representation
2833
2888
 
2889
+ property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores::Representation
2890
+
2834
2891
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2835
2892
 
2836
2893
  collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLine::Representation
@@ -2941,6 +2998,23 @@ module Google
2941
2998
  end
2942
2999
  end
2943
3000
 
3001
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
3002
+ # @private
3003
+ class Representation < Google::Apis::Core::JsonRepresentation
3004
+ collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect::Representation
3005
+
3006
+ property :quality_score, as: 'qualityScore'
3007
+ end
3008
+ end
3009
+
3010
+ class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
3011
+ # @private
3012
+ class Representation < Google::Apis::Core::JsonRepresentation
3013
+ property :confidence, as: 'confidence'
3014
+ property :type, as: 'type'
3015
+ end
3016
+ end
3017
+
2944
3018
  class GoogleCloudDocumentaiV1beta2DocumentPageLayout
2945
3019
  # @private
2946
3020
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3480,6 +3554,7 @@ module Google
3480
3554
  class GoogleCloudDocumentaiV1beta3DocumentOutputConfigGcsOutputConfig
3481
3555
  # @private
3482
3556
  class Representation < Google::Apis::Core::JsonRepresentation
3557
+ property :field_mask, as: 'fieldMask'
3483
3558
  property :gcs_uri, as: 'gcsUri'
3484
3559
  end
3485
3560
  end
@@ -3499,6 +3574,8 @@ module Google
3499
3574
 
3500
3575
  property :image, as: 'image', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage::Representation
3501
3576
 
3577
+ property :image_quality_scores, as: 'imageQualityScores', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores::Representation
3578
+
3502
3579
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
3503
3580
 
3504
3581
  collection :lines, as: 'lines', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLine, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLine::Representation
@@ -3609,6 +3686,23 @@ module Google
3609
3686
  end
3610
3687
  end
3611
3688
 
3689
+ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
3690
+ # @private
3691
+ class Representation < Google::Apis::Core::JsonRepresentation
3692
+ collection :detected_defects, as: 'detectedDefects', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect::Representation
3693
+
3694
+ property :quality_score, as: 'qualityScore'
3695
+ end
3696
+ end
3697
+
3698
+ class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
3699
+ # @private
3700
+ class Representation < Google::Apis::Core::JsonRepresentation
3701
+ property :confidence, as: 'confidence'
3702
+ property :type, as: 'type'
3703
+ end
3704
+ end
3705
+
3612
3706
  class GoogleCloudDocumentaiV1beta3DocumentPageLayout
3613
3707
  # @private
3614
3708
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3919,7 +4013,6 @@ module Google
3919
4013
  property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata::Representation
3920
4014
 
3921
4015
  property :inactive, as: 'inactive'
3922
- property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
3923
4016
  end
3924
4017
  end
3925
4018
 
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.56.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: 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.2
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.2
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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.58.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: []