google-apis-documentai_v1beta2 0.41.0 → 0.42.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: 90a0afc7930bf2a1f2fd2f7089c32b6abea4176caa2f102e1d477a8c34b1b4ff
4
- data.tar.gz: a3fc9b6dadfd3f3566394e5199f0edc89ee315823e69647627ce147cbb9f707f
3
+ metadata.gz: 9e3ffdbceb5b0f31ad4b46834e93238e88a8ef82e3f4ded681cf62198f3a953d
4
+ data.tar.gz: 2dd5056be8e318247b443183476d1ee7ff16fd8a80dfc5f24decaa86dc278f10
5
5
  SHA512:
6
- metadata.gz: '08886cb3d135d4dbfc2ac177e463b3ec379ffe05e8b03515404204096c753460ea5774aa3d2611b4923d856d02a98e07b7f15de3f53fb15f03ad4c4db66f21b4'
7
- data.tar.gz: be6ce4931361e2e8fc970d75984b7f86d21018167330f30bca286a2ae7d3aa641f8be516fb8477871fd9c7040258f8d8cae3ab59610962a1b32b7ba99f4a35bd
6
+ metadata.gz: bec01f6470e586b460379f360d1601d365ea485e96a0923f588146b1ec15cea2cbe98304d1aeb9cd20ecfe34f69bbf30648a033957a6fa3aa11b11654a626c0a
7
+ data.tar.gz: d78bee712327a252b1e5573a403efb0a6229c25839d0cdad5ade0580a7648f2e6a692cdbc3938508616de016d8dda430b6dc6489358f304ab962b4235154c5a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.42.0 (2022-07-12)
4
+
5
+ * Regenerated from discovery document revision 20220711
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.41.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -1432,6 +1432,46 @@ module Google
1432
1432
  end
1433
1433
  end
1434
1434
 
1435
+ # Encodes the detailed information of a barcode.
1436
+ class GoogleCloudDocumentaiV1beta1Barcode
1437
+ include Google::Apis::Core::Hashable
1438
+
1439
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
1440
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
1441
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
1442
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
1443
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
1444
+ # Corresponds to the JSON property `format`
1445
+ # @return [String]
1446
+ attr_accessor :format
1447
+
1448
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
1449
+ # www.google.com;;'.
1450
+ # Corresponds to the JSON property `rawValue`
1451
+ # @return [String]
1452
+ attr_accessor :raw_value
1453
+
1454
+ # Value format describes the format of the value that a barcode encodes. The
1455
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
1456
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
1457
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
1458
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
1459
+ # Corresponds to the JSON property `valueFormat`
1460
+ # @return [String]
1461
+ attr_accessor :value_format
1462
+
1463
+ def initialize(**args)
1464
+ update!(**args)
1465
+ end
1466
+
1467
+ # Update properties of this object
1468
+ def update!(**args)
1469
+ @format = args[:format] if args.key?(:format)
1470
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
1471
+ @value_format = args[:value_format] if args.key?(:value_format)
1472
+ end
1473
+ end
1474
+
1435
1475
  # Response to an batch document processing request. This is returned in the LRO
1436
1476
  # Operation after the operation is complete.
1437
1477
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -1689,11 +1729,11 @@ module Google
1689
1729
  # Box or similar. It is not intended to model geographical locations (roads,
1690
1730
  # towns, mountains). In typical usage an address would be created via user input
1691
1731
  # or from importing existing data, depending on the type of process. Advice on
1692
- # address input / editing: - Use an i18n-ready address widget such as https://
1693
- # github.com/google/libaddressinput) - Users should not be presented with UI
1694
- # elements for input or editing of fields outside countries where that field is
1695
- # used. For more guidance on how to use this schema, please see: https://support.
1696
- # google.com/business/answer/6397478
1732
+ # address input / editing: - Use an internationalization-ready address widget
1733
+ # such as https://github.com/google/libaddressinput) - Users should not be
1734
+ # presented with UI elements for input or editing of fields outside countries
1735
+ # where that field is used. For more guidance on how to use this schema, please
1736
+ # see: https://support.google.com/business/answer/6397478
1697
1737
  # Corresponds to the JSON property `addressValue`
1698
1738
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress]
1699
1739
  attr_accessor :address_value
@@ -1820,6 +1860,11 @@ module Google
1820
1860
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock>]
1821
1861
  attr_accessor :blocks
1822
1862
 
1863
+ # A list of detected barcodes.
1864
+ # Corresponds to the JSON property `detectedBarcodes`
1865
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode>]
1866
+ attr_accessor :detected_barcodes
1867
+
1823
1868
  # A list of detected languages together with confidence.
1824
1869
  # Corresponds to the JSON property `detectedLanguages`
1825
1870
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
@@ -1903,6 +1948,7 @@ module Google
1903
1948
  # Update properties of this object
1904
1949
  def update!(**args)
1905
1950
  @blocks = args[:blocks] if args.key?(:blocks)
1951
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
1906
1952
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
1907
1953
  @dimension = args[:dimension] if args.key?(:dimension)
1908
1954
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -2020,6 +2066,31 @@ module Google
2020
2066
  end
2021
2067
  end
2022
2068
 
2069
+ # A detected barcode.
2070
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
2071
+ include Google::Apis::Core::Hashable
2072
+
2073
+ # Encodes the detailed information of a barcode.
2074
+ # Corresponds to the JSON property `barcode`
2075
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode]
2076
+ attr_accessor :barcode
2077
+
2078
+ # Visual element describing a layout unit on a page.
2079
+ # Corresponds to the JSON property `layout`
2080
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
2081
+ attr_accessor :layout
2082
+
2083
+ def initialize(**args)
2084
+ update!(**args)
2085
+ end
2086
+
2087
+ # Update properties of this object
2088
+ def update!(**args)
2089
+ @barcode = args[:barcode] if args.key?(:barcode)
2090
+ @layout = args[:layout] if args.key?(:layout)
2091
+ end
2092
+ end
2093
+
2023
2094
  # Detected language for a structural component.
2024
2095
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
2025
2096
  include Google::Apis::Core::Hashable
@@ -3214,6 +3285,46 @@ module Google
3214
3285
  end
3215
3286
  end
3216
3287
 
3288
+ # Encodes the detailed information of a barcode.
3289
+ class GoogleCloudDocumentaiV1beta2Barcode
3290
+ include Google::Apis::Core::Hashable
3291
+
3292
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
3293
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
3294
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
3295
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
3296
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
3297
+ # Corresponds to the JSON property `format`
3298
+ # @return [String]
3299
+ attr_accessor :format
3300
+
3301
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
3302
+ # www.google.com;;'.
3303
+ # Corresponds to the JSON property `rawValue`
3304
+ # @return [String]
3305
+ attr_accessor :raw_value
3306
+
3307
+ # Value format describes the format of the value that a barcode encodes. The
3308
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
3309
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
3310
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
3311
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
3312
+ # Corresponds to the JSON property `valueFormat`
3313
+ # @return [String]
3314
+ attr_accessor :value_format
3315
+
3316
+ def initialize(**args)
3317
+ update!(**args)
3318
+ end
3319
+
3320
+ # Update properties of this object
3321
+ def update!(**args)
3322
+ @format = args[:format] if args.key?(:format)
3323
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
3324
+ @value_format = args[:value_format] if args.key?(:value_format)
3325
+ end
3326
+ end
3327
+
3217
3328
  # Request to batch process documents as an asynchronous operation. The output is
3218
3329
  # written to Cloud Storage as JSON in the [Document] format.
3219
3330
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
@@ -3497,11 +3608,11 @@ module Google
3497
3608
  # Box or similar. It is not intended to model geographical locations (roads,
3498
3609
  # towns, mountains). In typical usage an address would be created via user input
3499
3610
  # or from importing existing data, depending on the type of process. Advice on
3500
- # address input / editing: - Use an i18n-ready address widget such as https://
3501
- # github.com/google/libaddressinput) - Users should not be presented with UI
3502
- # elements for input or editing of fields outside countries where that field is
3503
- # used. For more guidance on how to use this schema, please see: https://support.
3504
- # google.com/business/answer/6397478
3611
+ # address input / editing: - Use an internationalization-ready address widget
3612
+ # such as https://github.com/google/libaddressinput) - Users should not be
3613
+ # presented with UI elements for input or editing of fields outside countries
3614
+ # where that field is used. For more guidance on how to use this schema, please
3615
+ # see: https://support.google.com/business/answer/6397478
3505
3616
  # Corresponds to the JSON property `addressValue`
3506
3617
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress]
3507
3618
  attr_accessor :address_value
@@ -3665,6 +3776,11 @@ module Google
3665
3776
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock>]
3666
3777
  attr_accessor :blocks
3667
3778
 
3779
+ # A list of detected barcodes.
3780
+ # Corresponds to the JSON property `detectedBarcodes`
3781
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode>]
3782
+ attr_accessor :detected_barcodes
3783
+
3668
3784
  # A list of detected languages together with confidence.
3669
3785
  # Corresponds to the JSON property `detectedLanguages`
3670
3786
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3748,6 +3864,7 @@ module Google
3748
3864
  # Update properties of this object
3749
3865
  def update!(**args)
3750
3866
  @blocks = args[:blocks] if args.key?(:blocks)
3867
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
3751
3868
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
3752
3869
  @dimension = args[:dimension] if args.key?(:dimension)
3753
3870
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -3865,6 +3982,31 @@ module Google
3865
3982
  end
3866
3983
  end
3867
3984
 
3985
+ # A detected barcode.
3986
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
3987
+ include Google::Apis::Core::Hashable
3988
+
3989
+ # Encodes the detailed information of a barcode.
3990
+ # Corresponds to the JSON property `barcode`
3991
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode]
3992
+ attr_accessor :barcode
3993
+
3994
+ # Visual element describing a layout unit on a page.
3995
+ # Corresponds to the JSON property `layout`
3996
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
3997
+ attr_accessor :layout
3998
+
3999
+ def initialize(**args)
4000
+ update!(**args)
4001
+ end
4002
+
4003
+ # Update properties of this object
4004
+ def update!(**args)
4005
+ @barcode = args[:barcode] if args.key?(:barcode)
4006
+ @layout = args[:layout] if args.key?(:layout)
4007
+ end
4008
+ end
4009
+
3868
4010
  # Detected language for a structural component.
3869
4011
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
3870
4012
  include Google::Apis::Core::Hashable
@@ -6145,11 +6287,11 @@ module Google
6145
6287
  # Box or similar. It is not intended to model geographical locations (roads,
6146
6288
  # towns, mountains). In typical usage an address would be created via user input
6147
6289
  # or from importing existing data, depending on the type of process. Advice on
6148
- # address input / editing: - Use an i18n-ready address widget such as https://
6149
- # github.com/google/libaddressinput) - Users should not be presented with UI
6150
- # elements for input or editing of fields outside countries where that field is
6151
- # used. For more guidance on how to use this schema, please see: https://support.
6152
- # google.com/business/answer/6397478
6290
+ # address input / editing: - Use an internationalization-ready address widget
6291
+ # such as https://github.com/google/libaddressinput) - Users should not be
6292
+ # presented with UI elements for input or editing of fields outside countries
6293
+ # where that field is used. For more guidance on how to use this schema, please
6294
+ # see: https://support.google.com/business/answer/6397478
6153
6295
  class GoogleTypePostalAddress
6154
6296
  include Google::Apis::Core::Hashable
6155
6297
 
@@ -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.41.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220610"
25
+ REVISION = "20220711"
26
26
  end
27
27
  end
28
28
  end
@@ -394,6 +394,12 @@ module Google
394
394
  include Google::Apis::Core::JsonObjectSupport
395
395
  end
396
396
 
397
+ class GoogleCloudDocumentaiV1beta1Barcode
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
397
403
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
398
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
405
 
@@ -454,6 +460,12 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
@@ -658,6 +670,12 @@ module Google
658
670
  include Google::Apis::Core::JsonObjectSupport
659
671
  end
660
672
 
673
+ class GoogleCloudDocumentaiV1beta2Barcode
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
661
679
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
662
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
681
 
@@ -730,6 +748,12 @@ module Google
730
748
  include Google::Apis::Core::JsonObjectSupport
731
749
  end
732
750
 
751
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
733
757
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
734
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
759
 
@@ -1650,6 +1674,15 @@ module Google
1650
1674
  end
1651
1675
  end
1652
1676
 
1677
+ class GoogleCloudDocumentaiV1beta1Barcode
1678
+ # @private
1679
+ class Representation < Google::Apis::Core::JsonRepresentation
1680
+ property :format, as: 'format'
1681
+ property :raw_value, as: 'rawValue'
1682
+ property :value_format, as: 'valueFormat'
1683
+ end
1684
+ end
1685
+
1653
1686
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1654
1687
  # @private
1655
1688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1749,6 +1782,8 @@ module Google
1749
1782
  class Representation < Google::Apis::Core::JsonRepresentation
1750
1783
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
1751
1784
 
1785
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode::Representation
1786
+
1752
1787
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1753
1788
 
1754
1789
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
@@ -1811,6 +1846,16 @@ module Google
1811
1846
  end
1812
1847
  end
1813
1848
 
1849
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
1850
+ # @private
1851
+ class Representation < Google::Apis::Core::JsonRepresentation
1852
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode::Representation
1853
+
1854
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1855
+
1856
+ end
1857
+ end
1858
+
1814
1859
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
1815
1860
  # @private
1816
1861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2158,6 +2203,15 @@ module Google
2158
2203
  end
2159
2204
  end
2160
2205
 
2206
+ class GoogleCloudDocumentaiV1beta2Barcode
2207
+ # @private
2208
+ class Representation < Google::Apis::Core::JsonRepresentation
2209
+ property :format, as: 'format'
2210
+ property :raw_value, as: 'rawValue'
2211
+ property :value_format, as: 'valueFormat'
2212
+ end
2213
+ end
2214
+
2161
2215
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
2162
2216
  # @private
2163
2217
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2276,6 +2330,8 @@ module Google
2276
2330
  class Representation < Google::Apis::Core::JsonRepresentation
2277
2331
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
2278
2332
 
2333
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode::Representation
2334
+
2279
2335
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2280
2336
 
2281
2337
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
@@ -2338,6 +2394,16 @@ module Google
2338
2394
  end
2339
2395
  end
2340
2396
 
2397
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
2398
+ # @private
2399
+ class Representation < Google::Apis::Core::JsonRepresentation
2400
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode::Representation
2401
+
2402
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2403
+
2404
+ end
2405
+ end
2406
+
2341
2407
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
2342
2408
  # @private
2343
2409
  class Representation < Google::Apis::Core::JsonRepresentation
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.41.0
4
+ version: 0.42.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.42.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: []