google-apis-documentai_v1beta2 0.40.0 → 0.43.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: 5a65c6ef70b7ed35cfd2ed2744d48aeea1f607dadecf92a837ae180096ca3c3a
4
- data.tar.gz: 2ad23ed0ca387bec96c3f20d900715cbef62a0931059dca06a08f7e19c1151f6
3
+ metadata.gz: a6ec0c9ab68bd0a8b7e773e130403f29a80f08bc83e57b932b20c0ce52dcb190
4
+ data.tar.gz: 21fb4713bf1a1677c5e7040c112c76a317dba014184f18b1e4b1122971524cfa
5
5
  SHA512:
6
- metadata.gz: 899ebf798e83c9515ba0fd167a03a608b20321cc555dd663b3dae9eae2ae68d236a880f1def2ea929c9853829098e35d22958d63d2f9954c2f7b9829f20d8689
7
- data.tar.gz: 45e94d6fcd1652ace25f8f40ecbafff177b42fb7b1416907474b039a4fbd99f8ec507d33335be8952ccf38b93f41c6833d79e1a330e50cb666cdc7f7492d2d93
6
+ metadata.gz: 4d9d7d1440974420194fe90386164e5b03f252c6ec01ff814ddde1dc81f001b4e7655252fc319043ad6fc8477f61546f316a50d98eab307b8600e1a8f1fee39a
7
+ data.tar.gz: a992138b572b22f25560f75b2b9c6901914d908597e5807a2e7a5aa346b705033372623c1071e259484ec6fa84ae95b1cc4722c3f0772d1a5ce3bbe2dd6527c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.43.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220720
6
+
7
+ ### v0.42.0 (2022-07-12)
8
+
9
+ * Regenerated from discovery document revision 20220711
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.41.0 (2022-06-30)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.40.0 (2022-06-20)
4
17
 
5
18
  * Regenerated using generator version 0.7.0
@@ -548,6 +548,11 @@ module Google
548
548
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
549
549
  attr_accessor :individual_import_statuses
550
550
 
551
+ # Total number of the documents that are qualified for importing.
552
+ # Corresponds to the JSON property `totalDocumentCount`
553
+ # @return [Fixnum]
554
+ attr_accessor :total_document_count
555
+
551
556
  def initialize(**args)
552
557
  update!(**args)
553
558
  end
@@ -556,6 +561,7 @@ module Google
556
561
  def update!(**args)
557
562
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
558
563
  @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
564
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
559
565
  end
560
566
  end
561
567
 
@@ -1432,6 +1438,46 @@ module Google
1432
1438
  end
1433
1439
  end
1434
1440
 
1441
+ # Encodes the detailed information of a barcode.
1442
+ class GoogleCloudDocumentaiV1beta1Barcode
1443
+ include Google::Apis::Core::Hashable
1444
+
1445
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
1446
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
1447
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
1448
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
1449
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
1450
+ # Corresponds to the JSON property `format`
1451
+ # @return [String]
1452
+ attr_accessor :format
1453
+
1454
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
1455
+ # www.google.com;;'.
1456
+ # Corresponds to the JSON property `rawValue`
1457
+ # @return [String]
1458
+ attr_accessor :raw_value
1459
+
1460
+ # Value format describes the format of the value that a barcode encodes. The
1461
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
1462
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
1463
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
1464
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
1465
+ # Corresponds to the JSON property `valueFormat`
1466
+ # @return [String]
1467
+ attr_accessor :value_format
1468
+
1469
+ def initialize(**args)
1470
+ update!(**args)
1471
+ end
1472
+
1473
+ # Update properties of this object
1474
+ def update!(**args)
1475
+ @format = args[:format] if args.key?(:format)
1476
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
1477
+ @value_format = args[:value_format] if args.key?(:value_format)
1478
+ end
1479
+ end
1480
+
1435
1481
  # Response to an batch document processing request. This is returned in the LRO
1436
1482
  # Operation after the operation is complete.
1437
1483
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -1689,11 +1735,11 @@ module Google
1689
1735
  # Box or similar. It is not intended to model geographical locations (roads,
1690
1736
  # towns, mountains). In typical usage an address would be created via user input
1691
1737
  # 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
1738
+ # address input / editing: - Use an internationalization-ready address widget
1739
+ # such as https://github.com/google/libaddressinput) - Users should not be
1740
+ # presented with UI elements for input or editing of fields outside countries
1741
+ # where that field is used. For more guidance on how to use this schema, please
1742
+ # see: https://support.google.com/business/answer/6397478
1697
1743
  # Corresponds to the JSON property `addressValue`
1698
1744
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress]
1699
1745
  attr_accessor :address_value
@@ -1722,9 +1768,9 @@ module Google
1722
1768
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
1723
1769
  # calendar day in a particular time zone. * When neither time_zone nor
1724
1770
  # utc_offset is set: a civil time on a calendar day in local time. The date is
1725
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
1726
- # considered not to have a specific year. month and day must have valid, non-
1727
- # zero values. This type may also be used to represent a physical time if all
1771
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
1772
+ # the DateTime is considered not to have a specific year, month, or day
1773
+ # respectively. This type may also be used to represent a physical time if all
1728
1774
  # the date and time fields are set and either case of the `time_offset` oneof is
1729
1775
  # set. Consider using `Timestamp` message for physical time instead. If your use
1730
1776
  # case also would like to store the user's timezone, that can be done in another
@@ -1820,6 +1866,11 @@ module Google
1820
1866
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock>]
1821
1867
  attr_accessor :blocks
1822
1868
 
1869
+ # A list of detected barcodes.
1870
+ # Corresponds to the JSON property `detectedBarcodes`
1871
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode>]
1872
+ attr_accessor :detected_barcodes
1873
+
1823
1874
  # A list of detected languages together with confidence.
1824
1875
  # Corresponds to the JSON property `detectedLanguages`
1825
1876
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
@@ -1903,6 +1954,7 @@ module Google
1903
1954
  # Update properties of this object
1904
1955
  def update!(**args)
1905
1956
  @blocks = args[:blocks] if args.key?(:blocks)
1957
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
1906
1958
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
1907
1959
  @dimension = args[:dimension] if args.key?(:dimension)
1908
1960
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -2020,6 +2072,31 @@ module Google
2020
2072
  end
2021
2073
  end
2022
2074
 
2075
+ # A detected barcode.
2076
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
2077
+ include Google::Apis::Core::Hashable
2078
+
2079
+ # Encodes the detailed information of a barcode.
2080
+ # Corresponds to the JSON property `barcode`
2081
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode]
2082
+ attr_accessor :barcode
2083
+
2084
+ # Visual element describing a layout unit on a page.
2085
+ # Corresponds to the JSON property `layout`
2086
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
2087
+ attr_accessor :layout
2088
+
2089
+ def initialize(**args)
2090
+ update!(**args)
2091
+ end
2092
+
2093
+ # Update properties of this object
2094
+ def update!(**args)
2095
+ @barcode = args[:barcode] if args.key?(:barcode)
2096
+ @layout = args[:layout] if args.key?(:layout)
2097
+ end
2098
+ end
2099
+
2023
2100
  # Detected language for a structural component.
2024
2101
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
2025
2102
  include Google::Apis::Core::Hashable
@@ -3214,6 +3291,46 @@ module Google
3214
3291
  end
3215
3292
  end
3216
3293
 
3294
+ # Encodes the detailed information of a barcode.
3295
+ class GoogleCloudDocumentaiV1beta2Barcode
3296
+ include Google::Apis::Core::Hashable
3297
+
3298
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
3299
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
3300
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
3301
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
3302
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
3303
+ # Corresponds to the JSON property `format`
3304
+ # @return [String]
3305
+ attr_accessor :format
3306
+
3307
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
3308
+ # www.google.com;;'.
3309
+ # Corresponds to the JSON property `rawValue`
3310
+ # @return [String]
3311
+ attr_accessor :raw_value
3312
+
3313
+ # Value format describes the format of the value that a barcode encodes. The
3314
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
3315
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
3316
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
3317
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
3318
+ # Corresponds to the JSON property `valueFormat`
3319
+ # @return [String]
3320
+ attr_accessor :value_format
3321
+
3322
+ def initialize(**args)
3323
+ update!(**args)
3324
+ end
3325
+
3326
+ # Update properties of this object
3327
+ def update!(**args)
3328
+ @format = args[:format] if args.key?(:format)
3329
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
3330
+ @value_format = args[:value_format] if args.key?(:value_format)
3331
+ end
3332
+ end
3333
+
3217
3334
  # Request to batch process documents as an asynchronous operation. The output is
3218
3335
  # written to Cloud Storage as JSON in the [Document] format.
3219
3336
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
@@ -3497,11 +3614,11 @@ module Google
3497
3614
  # Box or similar. It is not intended to model geographical locations (roads,
3498
3615
  # towns, mountains). In typical usage an address would be created via user input
3499
3616
  # 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
3617
+ # address input / editing: - Use an internationalization-ready address widget
3618
+ # such as https://github.com/google/libaddressinput) - Users should not be
3619
+ # presented with UI elements for input or editing of fields outside countries
3620
+ # where that field is used. For more guidance on how to use this schema, please
3621
+ # see: https://support.google.com/business/answer/6397478
3505
3622
  # Corresponds to the JSON property `addressValue`
3506
3623
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress]
3507
3624
  attr_accessor :address_value
@@ -3530,9 +3647,9 @@ module Google
3530
3647
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
3531
3648
  # calendar day in a particular time zone. * When neither time_zone nor
3532
3649
  # utc_offset is set: a civil time on a calendar day in local time. The date is
3533
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
3534
- # considered not to have a specific year. month and day must have valid, non-
3535
- # zero values. This type may also be used to represent a physical time if all
3650
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
3651
+ # the DateTime is considered not to have a specific year, month, or day
3652
+ # respectively. This type may also be used to represent a physical time if all
3536
3653
  # the date and time fields are set and either case of the `time_offset` oneof is
3537
3654
  # set. Consider using `Timestamp` message for physical time instead. If your use
3538
3655
  # case also would like to store the user's timezone, that can be done in another
@@ -3665,6 +3782,11 @@ module Google
3665
3782
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock>]
3666
3783
  attr_accessor :blocks
3667
3784
 
3785
+ # A list of detected barcodes.
3786
+ # Corresponds to the JSON property `detectedBarcodes`
3787
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode>]
3788
+ attr_accessor :detected_barcodes
3789
+
3668
3790
  # A list of detected languages together with confidence.
3669
3791
  # Corresponds to the JSON property `detectedLanguages`
3670
3792
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3748,6 +3870,7 @@ module Google
3748
3870
  # Update properties of this object
3749
3871
  def update!(**args)
3750
3872
  @blocks = args[:blocks] if args.key?(:blocks)
3873
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
3751
3874
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
3752
3875
  @dimension = args[:dimension] if args.key?(:dimension)
3753
3876
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -3865,6 +3988,31 @@ module Google
3865
3988
  end
3866
3989
  end
3867
3990
 
3991
+ # A detected barcode.
3992
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
3993
+ include Google::Apis::Core::Hashable
3994
+
3995
+ # Encodes the detailed information of a barcode.
3996
+ # Corresponds to the JSON property `barcode`
3997
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode]
3998
+ attr_accessor :barcode
3999
+
4000
+ # Visual element describing a layout unit on a page.
4001
+ # Corresponds to the JSON property `layout`
4002
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
4003
+ attr_accessor :layout
4004
+
4005
+ def initialize(**args)
4006
+ update!(**args)
4007
+ end
4008
+
4009
+ # Update properties of this object
4010
+ def update!(**args)
4011
+ @barcode = args[:barcode] if args.key?(:barcode)
4012
+ @layout = args[:layout] if args.key?(:layout)
4013
+ end
4014
+ end
4015
+
3868
4016
  # Detected language for a structural component.
3869
4017
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
3870
4018
  include Google::Apis::Core::Hashable
@@ -6025,9 +6173,9 @@ module Google
6025
6173
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6026
6174
  # calendar day in a particular time zone. * When neither time_zone nor
6027
6175
  # utc_offset is set: a civil time on a calendar day in local time. The date is
6028
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6029
- # considered not to have a specific year. month and day must have valid, non-
6030
- # zero values. This type may also be used to represent a physical time if all
6176
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
6177
+ # the DateTime is considered not to have a specific year, month, or day
6178
+ # respectively. This type may also be used to represent a physical time if all
6031
6179
  # the date and time fields are set and either case of the `time_offset` oneof is
6032
6180
  # set. Consider using `Timestamp` message for physical time instead. If your use
6033
6181
  # case also would like to store the user's timezone, that can be done in another
@@ -6036,34 +6184,38 @@ module Google
6036
6184
  class GoogleTypeDateTime
6037
6185
  include Google::Apis::Core::Hashable
6038
6186
 
6039
- # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
6187
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
6188
+ # or 0 if specifying a datetime without a day.
6040
6189
  # Corresponds to the JSON property `day`
6041
6190
  # @return [Fixnum]
6042
6191
  attr_accessor :day
6043
6192
 
6044
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
6045
- # choose to allow the value "24:00:00" for scenarios like business closing time.
6193
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
6194
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
6195
+ # like business closing time.
6046
6196
  # Corresponds to the JSON property `hours`
6047
6197
  # @return [Fixnum]
6048
6198
  attr_accessor :hours
6049
6199
 
6050
- # Required. Minutes of hour of day. Must be from 0 to 59.
6200
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
6051
6201
  # Corresponds to the JSON property `minutes`
6052
6202
  # @return [Fixnum]
6053
6203
  attr_accessor :minutes
6054
6204
 
6055
- # Required. Month of year. Must be from 1 to 12.
6205
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
6206
+ # without a month.
6056
6207
  # Corresponds to the JSON property `month`
6057
6208
  # @return [Fixnum]
6058
6209
  attr_accessor :month
6059
6210
 
6060
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6211
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
6212
+ # defaults to 0.
6061
6213
  # Corresponds to the JSON property `nanos`
6062
6214
  # @return [Fixnum]
6063
6215
  attr_accessor :nanos
6064
6216
 
6065
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
6066
- # API may allow the value 60 if it allows leap-seconds.
6217
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
6218
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
6067
6219
  # Corresponds to the JSON property `seconds`
6068
6220
  # @return [Fixnum]
6069
6221
  attr_accessor :seconds
@@ -6145,11 +6297,11 @@ module Google
6145
6297
  # Box or similar. It is not intended to model geographical locations (roads,
6146
6298
  # towns, mountains). In typical usage an address would be created via user input
6147
6299
  # 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
6300
+ # address input / editing: - Use an internationalization-ready address widget
6301
+ # such as https://github.com/google/libaddressinput) - Users should not be
6302
+ # presented with UI elements for input or editing of fields outside countries
6303
+ # where that field is used. For more guidance on how to use this schema, please
6304
+ # see: https://support.google.com/business/answer/6397478
6153
6305
  class GoogleTypePostalAddress
6154
6306
  include Google::Apis::Core::Hashable
6155
6307
 
@@ -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.40.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.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 = "20220720"
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
 
@@ -1340,6 +1364,7 @@ module Google
1340
1364
 
1341
1365
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1342
1366
 
1367
+ property :total_document_count, as: 'totalDocumentCount'
1343
1368
  end
1344
1369
  end
1345
1370
 
@@ -1650,6 +1675,15 @@ module Google
1650
1675
  end
1651
1676
  end
1652
1677
 
1678
+ class GoogleCloudDocumentaiV1beta1Barcode
1679
+ # @private
1680
+ class Representation < Google::Apis::Core::JsonRepresentation
1681
+ property :format, as: 'format'
1682
+ property :raw_value, as: 'rawValue'
1683
+ property :value_format, as: 'valueFormat'
1684
+ end
1685
+ end
1686
+
1653
1687
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1654
1688
  # @private
1655
1689
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1749,6 +1783,8 @@ module Google
1749
1783
  class Representation < Google::Apis::Core::JsonRepresentation
1750
1784
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
1751
1785
 
1786
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode::Representation
1787
+
1752
1788
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1753
1789
 
1754
1790
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
@@ -1811,6 +1847,16 @@ module Google
1811
1847
  end
1812
1848
  end
1813
1849
 
1850
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
1851
+ # @private
1852
+ class Representation < Google::Apis::Core::JsonRepresentation
1853
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode::Representation
1854
+
1855
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1856
+
1857
+ end
1858
+ end
1859
+
1814
1860
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
1815
1861
  # @private
1816
1862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2158,6 +2204,15 @@ module Google
2158
2204
  end
2159
2205
  end
2160
2206
 
2207
+ class GoogleCloudDocumentaiV1beta2Barcode
2208
+ # @private
2209
+ class Representation < Google::Apis::Core::JsonRepresentation
2210
+ property :format, as: 'format'
2211
+ property :raw_value, as: 'rawValue'
2212
+ property :value_format, as: 'valueFormat'
2213
+ end
2214
+ end
2215
+
2161
2216
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
2162
2217
  # @private
2163
2218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2276,6 +2331,8 @@ module Google
2276
2331
  class Representation < Google::Apis::Core::JsonRepresentation
2277
2332
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
2278
2333
 
2334
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode::Representation
2335
+
2279
2336
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2280
2337
 
2281
2338
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
@@ -2338,6 +2395,16 @@ module Google
2338
2395
  end
2339
2396
  end
2340
2397
 
2398
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
2399
+ # @private
2400
+ class Representation < Google::Apis::Core::JsonRepresentation
2401
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode::Representation
2402
+
2403
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2404
+
2405
+ end
2406
+ end
2407
+
2341
2408
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
2342
2409
  # @private
2343
2410
  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.40.0
4
+ version: 0.43.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-06-27 00:00:00.000000000 Z
11
+ date: 2022-08-01 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.6'
19
+ version: '0.7'
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.6'
29
+ version: '0.7'
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.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.43.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: []