google-apis-documentai_v1beta3 0.48.0 → 0.51.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: ac0d7d819286c11302b2225d60eef4403baec5f965bd1a490c6da0acb45d19ff
4
- data.tar.gz: 840278a47fb25d0902ec10ae7cd31898e95ed4b93d827aa13f3b1b14ce2c2ac2
3
+ metadata.gz: f068b33e52840fe38988bb3a915d6cfae968da95b54a128a058bb956b374c942
4
+ data.tar.gz: 735910b119b61f50f2d603725bfdbcf2c84ad42df85c4192eacf3c5a0549d7d2
5
5
  SHA512:
6
- metadata.gz: 052621bd35727b0b2e0b56272b7cad3a393d2729aabca5bb854eb4d3e65b822d8959e6e1030a80141244223b797c8adc0232ac0d2271753a29b0c426ec33077a
7
- data.tar.gz: 0ec955793a69c08ffea281fe61330d872490bb2497be4c23f57a4164f3eae144a9557937b52ae5a92c5b2fe96be2b80ad279f0921c23f1d3ab86c28d115ef12f
6
+ metadata.gz: 5eec68ad30d2b958c1dafee1c9891798fb59d20478a95031427bf3adf59d2950b4497593af60a32151bf8590f1c7b0362ce6082260c4b9eff0109a54ea12179f
7
+ data.tar.gz: fc624326535ceda7204941ec0b9ecbdd991fe50f0cb81639a936adbef4bdbead433b7a75ce84ca4a638e6b9515ce3ce35b8e533bac7782a5a1552caf327ff7e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.51.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220720
6
+
7
+ ### v0.50.0 (2022-07-12)
8
+
9
+ * Regenerated from discovery document revision 20220711
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.49.0 (2022-07-02)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.48.0 (2022-06-21)
4
17
 
5
18
  * Regenerated using generator version 0.7.0
@@ -548,6 +548,11 @@ module Google
548
548
  # @return [Array<Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -3194,6 +3271,46 @@ module Google
3194
3271
  end
3195
3272
  end
3196
3273
 
3274
+ # Encodes the detailed information of a barcode.
3275
+ class GoogleCloudDocumentaiV1beta2Barcode
3276
+ include Google::Apis::Core::Hashable
3277
+
3278
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
3279
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
3280
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
3281
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
3282
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
3283
+ # Corresponds to the JSON property `format`
3284
+ # @return [String]
3285
+ attr_accessor :format
3286
+
3287
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
3288
+ # www.google.com;;'.
3289
+ # Corresponds to the JSON property `rawValue`
3290
+ # @return [String]
3291
+ attr_accessor :raw_value
3292
+
3293
+ # Value format describes the format of the value that a barcode encodes. The
3294
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
3295
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
3296
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
3297
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
3298
+ # Corresponds to the JSON property `valueFormat`
3299
+ # @return [String]
3300
+ attr_accessor :value_format
3301
+
3302
+ def initialize(**args)
3303
+ update!(**args)
3304
+ end
3305
+
3306
+ # Update properties of this object
3307
+ def update!(**args)
3308
+ @format = args[:format] if args.key?(:format)
3309
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
3310
+ @value_format = args[:value_format] if args.key?(:value_format)
3311
+ end
3312
+ end
3313
+
3197
3314
  # Response to an batch document processing request. This is returned in the LRO
3198
3315
  # Operation after the operation is complete.
3199
3316
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
@@ -3457,11 +3574,11 @@ module Google
3457
3574
  # Box or similar. It is not intended to model geographical locations (roads,
3458
3575
  # towns, mountains). In typical usage an address would be created via user input
3459
3576
  # or from importing existing data, depending on the type of process. Advice on
3460
- # address input / editing: - Use an i18n-ready address widget such as https://
3461
- # github.com/google/libaddressinput) - Users should not be presented with UI
3462
- # elements for input or editing of fields outside countries where that field is
3463
- # used. For more guidance on how to use this schema, please see: https://support.
3464
- # google.com/business/answer/6397478
3577
+ # address input / editing: - Use an internationalization-ready address widget
3578
+ # such as https://github.com/google/libaddressinput) - Users should not be
3579
+ # presented with UI elements for input or editing of fields outside countries
3580
+ # where that field is used. For more guidance on how to use this schema, please
3581
+ # see: https://support.google.com/business/answer/6397478
3465
3582
  # Corresponds to the JSON property `addressValue`
3466
3583
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
3467
3584
  attr_accessor :address_value
@@ -3490,9 +3607,9 @@ module Google
3490
3607
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
3491
3608
  # calendar day in a particular time zone. * When neither time_zone nor
3492
3609
  # utc_offset is set: a civil time on a calendar day in local time. The date is
3493
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
3494
- # considered not to have a specific year. month and day must have valid, non-
3495
- # zero values. This type may also be used to represent a physical time if all
3610
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
3611
+ # the DateTime is considered not to have a specific year, month, or day
3612
+ # respectively. This type may also be used to represent a physical time if all
3496
3613
  # the date and time fields are set and either case of the `time_offset` oneof is
3497
3614
  # set. Consider using `Timestamp` message for physical time instead. If your use
3498
3615
  # case also would like to store the user's timezone, that can be done in another
@@ -3625,6 +3742,11 @@ module Google
3625
3742
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageBlock>]
3626
3743
  attr_accessor :blocks
3627
3744
 
3745
+ # A list of detected barcodes.
3746
+ # Corresponds to the JSON property `detectedBarcodes`
3747
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode>]
3748
+ attr_accessor :detected_barcodes
3749
+
3628
3750
  # A list of detected languages together with confidence.
3629
3751
  # Corresponds to the JSON property `detectedLanguages`
3630
3752
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3708,6 +3830,7 @@ module Google
3708
3830
  # Update properties of this object
3709
3831
  def update!(**args)
3710
3832
  @blocks = args[:blocks] if args.key?(:blocks)
3833
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
3711
3834
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
3712
3835
  @dimension = args[:dimension] if args.key?(:dimension)
3713
3836
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -3825,6 +3948,31 @@ module Google
3825
3948
  end
3826
3949
  end
3827
3950
 
3951
+ # A detected barcode.
3952
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
3953
+ include Google::Apis::Core::Hashable
3954
+
3955
+ # Encodes the detailed information of a barcode.
3956
+ # Corresponds to the JSON property `barcode`
3957
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2Barcode]
3958
+ attr_accessor :barcode
3959
+
3960
+ # Visual element describing a layout unit on a page.
3961
+ # Corresponds to the JSON property `layout`
3962
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
3963
+ attr_accessor :layout
3964
+
3965
+ def initialize(**args)
3966
+ update!(**args)
3967
+ end
3968
+
3969
+ # Update properties of this object
3970
+ def update!(**args)
3971
+ @barcode = args[:barcode] if args.key?(:barcode)
3972
+ @layout = args[:layout] if args.key?(:layout)
3973
+ end
3974
+ end
3975
+
3828
3976
  # Detected language for a structural component.
3829
3977
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
3830
3978
  include Google::Apis::Core::Hashable
@@ -5009,6 +5157,46 @@ module Google
5009
5157
  end
5010
5158
  end
5011
5159
 
5160
+ # Encodes the detailed information of a barcode.
5161
+ class GoogleCloudDocumentaiV1beta3Barcode
5162
+ include Google::Apis::Core::Hashable
5163
+
5164
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
5165
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
5166
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
5167
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
5168
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
5169
+ # Corresponds to the JSON property `format`
5170
+ # @return [String]
5171
+ attr_accessor :format
5172
+
5173
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
5174
+ # www.google.com;;'.
5175
+ # Corresponds to the JSON property `rawValue`
5176
+ # @return [String]
5177
+ attr_accessor :raw_value
5178
+
5179
+ # Value format describes the format of the value that a barcode encodes. The
5180
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
5181
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
5182
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
5183
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
5184
+ # Corresponds to the JSON property `valueFormat`
5185
+ # @return [String]
5186
+ attr_accessor :value_format
5187
+
5188
+ def initialize(**args)
5189
+ update!(**args)
5190
+ end
5191
+
5192
+ # Update properties of this object
5193
+ def update!(**args)
5194
+ @format = args[:format] if args.key?(:format)
5195
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
5196
+ @value_format = args[:value_format] if args.key?(:value_format)
5197
+ end
5198
+ end
5199
+
5012
5200
  # The common config to specify a set of documents used as input.
5013
5201
  class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
5014
5202
  include Google::Apis::Core::Hashable
@@ -5647,11 +5835,11 @@ module Google
5647
5835
  # Box or similar. It is not intended to model geographical locations (roads,
5648
5836
  # towns, mountains). In typical usage an address would be created via user input
5649
5837
  # or from importing existing data, depending on the type of process. Advice on
5650
- # address input / editing: - Use an i18n-ready address widget such as https://
5651
- # github.com/google/libaddressinput) - Users should not be presented with UI
5652
- # elements for input or editing of fields outside countries where that field is
5653
- # used. For more guidance on how to use this schema, please see: https://support.
5654
- # google.com/business/answer/6397478
5838
+ # address input / editing: - Use an internationalization-ready address widget
5839
+ # such as https://github.com/google/libaddressinput) - Users should not be
5840
+ # presented with UI elements for input or editing of fields outside countries
5841
+ # where that field is used. For more guidance on how to use this schema, please
5842
+ # see: https://support.google.com/business/answer/6397478
5655
5843
  # Corresponds to the JSON property `addressValue`
5656
5844
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
5657
5845
  attr_accessor :address_value
@@ -5680,9 +5868,9 @@ module Google
5680
5868
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5681
5869
  # calendar day in a particular time zone. * When neither time_zone nor
5682
5870
  # utc_offset is set: a civil time on a calendar day in local time. The date is
5683
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5684
- # considered not to have a specific year. month and day must have valid, non-
5685
- # zero values. This type may also be used to represent a physical time if all
5871
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
5872
+ # the DateTime is considered not to have a specific year, month, or day
5873
+ # respectively. This type may also be used to represent a physical time if all
5686
5874
  # the date and time fields are set and either case of the `time_offset` oneof is
5687
5875
  # set. Consider using `Timestamp` message for physical time instead. If your use
5688
5876
  # case also would like to store the user's timezone, that can be done in another
@@ -5817,6 +6005,11 @@ module Google
5817
6005
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageBlock>]
5818
6006
  attr_accessor :blocks
5819
6007
 
6008
+ # A list of detected barcodes.
6009
+ # Corresponds to the JSON property `detectedBarcodes`
6010
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode>]
6011
+ attr_accessor :detected_barcodes
6012
+
5820
6013
  # A list of detected languages together with confidence.
5821
6014
  # Corresponds to the JSON property `detectedLanguages`
5822
6015
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
@@ -5900,6 +6093,7 @@ module Google
5900
6093
  # Update properties of this object
5901
6094
  def update!(**args)
5902
6095
  @blocks = args[:blocks] if args.key?(:blocks)
6096
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
5903
6097
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
5904
6098
  @dimension = args[:dimension] if args.key?(:dimension)
5905
6099
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -6017,6 +6211,31 @@ module Google
6017
6211
  end
6018
6212
  end
6019
6213
 
6214
+ # A detected barcode.
6215
+ class GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode
6216
+ include Google::Apis::Core::Hashable
6217
+
6218
+ # Encodes the detailed information of a barcode.
6219
+ # Corresponds to the JSON property `barcode`
6220
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Barcode]
6221
+ attr_accessor :barcode
6222
+
6223
+ # Visual element describing a layout unit on a page.
6224
+ # Corresponds to the JSON property `layout`
6225
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
6226
+ attr_accessor :layout
6227
+
6228
+ def initialize(**args)
6229
+ update!(**args)
6230
+ end
6231
+
6232
+ # Update properties of this object
6233
+ def update!(**args)
6234
+ @barcode = args[:barcode] if args.key?(:barcode)
6235
+ @layout = args[:layout] if args.key?(:layout)
6236
+ end
6237
+ end
6238
+
6020
6239
  # Detected language for a structural component.
6021
6240
  class GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
6022
6241
  include Google::Apis::Core::Hashable
@@ -6849,6 +7068,12 @@ module Google
6849
7068
  attr_accessor :document_splitter
6850
7069
  alias_method :document_splitter?, :document_splitter
6851
7070
 
7071
+ # If set, all the nested entities must be prefixed with the parents.
7072
+ # Corresponds to the JSON property `prefixedNamingOnProperties`
7073
+ # @return [Boolean]
7074
+ attr_accessor :prefixed_naming_on_properties
7075
+ alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
7076
+
6852
7077
  def initialize(**args)
6853
7078
  update!(**args)
6854
7079
  end
@@ -6857,6 +7082,7 @@ module Google
6857
7082
  def update!(**args)
6858
7083
  @document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
6859
7084
  @document_splitter = args[:document_splitter] if args.key?(:document_splitter)
7085
+ @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
6860
7086
  end
6861
7087
  end
6862
7088
 
@@ -7311,6 +7537,31 @@ module Google
7311
7537
  end
7312
7538
  end
7313
7539
 
7540
+ # Response message for list processor types.
7541
+ class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
7542
+ include Google::Apis::Core::Hashable
7543
+
7544
+ # Points to the next page, otherwise empty.
7545
+ # Corresponds to the JSON property `nextPageToken`
7546
+ # @return [String]
7547
+ attr_accessor :next_page_token
7548
+
7549
+ # The processor types.
7550
+ # Corresponds to the JSON property `processorTypes`
7551
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType>]
7552
+ attr_accessor :processor_types
7553
+
7554
+ def initialize(**args)
7555
+ update!(**args)
7556
+ end
7557
+
7558
+ # Update properties of this object
7559
+ def update!(**args)
7560
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7561
+ @processor_types = args[:processor_types] if args.key?(:processor_types)
7562
+ end
7563
+ end
7564
+
7314
7565
  # Response message for list processors.
7315
7566
  class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
7316
7567
  include Google::Apis::Core::Hashable
@@ -8337,9 +8588,9 @@ module Google
8337
8588
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
8338
8589
  # calendar day in a particular time zone. * When neither time_zone nor
8339
8590
  # utc_offset is set: a civil time on a calendar day in local time. The date is
8340
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
8341
- # considered not to have a specific year. month and day must have valid, non-
8342
- # zero values. This type may also be used to represent a physical time if all
8591
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
8592
+ # the DateTime is considered not to have a specific year, month, or day
8593
+ # respectively. This type may also be used to represent a physical time if all
8343
8594
  # the date and time fields are set and either case of the `time_offset` oneof is
8344
8595
  # set. Consider using `Timestamp` message for physical time instead. If your use
8345
8596
  # case also would like to store the user's timezone, that can be done in another
@@ -8348,34 +8599,38 @@ module Google
8348
8599
  class GoogleTypeDateTime
8349
8600
  include Google::Apis::Core::Hashable
8350
8601
 
8351
- # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
8602
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
8603
+ # or 0 if specifying a datetime without a day.
8352
8604
  # Corresponds to the JSON property `day`
8353
8605
  # @return [Fixnum]
8354
8606
  attr_accessor :day
8355
8607
 
8356
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
8357
- # choose to allow the value "24:00:00" for scenarios like business closing time.
8608
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
8609
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
8610
+ # like business closing time.
8358
8611
  # Corresponds to the JSON property `hours`
8359
8612
  # @return [Fixnum]
8360
8613
  attr_accessor :hours
8361
8614
 
8362
- # Required. Minutes of hour of day. Must be from 0 to 59.
8615
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
8363
8616
  # Corresponds to the JSON property `minutes`
8364
8617
  # @return [Fixnum]
8365
8618
  attr_accessor :minutes
8366
8619
 
8367
- # Required. Month of year. Must be from 1 to 12.
8620
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
8621
+ # without a month.
8368
8622
  # Corresponds to the JSON property `month`
8369
8623
  # @return [Fixnum]
8370
8624
  attr_accessor :month
8371
8625
 
8372
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
8626
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
8627
+ # defaults to 0.
8373
8628
  # Corresponds to the JSON property `nanos`
8374
8629
  # @return [Fixnum]
8375
8630
  attr_accessor :nanos
8376
8631
 
8377
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
8378
- # API may allow the value 60 if it allows leap-seconds.
8632
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
8633
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
8379
8634
  # Corresponds to the JSON property `seconds`
8380
8635
  # @return [Fixnum]
8381
8636
  attr_accessor :seconds
@@ -8457,11 +8712,11 @@ module Google
8457
8712
  # Box or similar. It is not intended to model geographical locations (roads,
8458
8713
  # towns, mountains). In typical usage an address would be created via user input
8459
8714
  # or from importing existing data, depending on the type of process. Advice on
8460
- # address input / editing: - Use an i18n-ready address widget such as https://
8461
- # github.com/google/libaddressinput) - Users should not be presented with UI
8462
- # elements for input or editing of fields outside countries where that field is
8463
- # used. For more guidance on how to use this schema, please see: https://support.
8464
- # google.com/business/answer/6397478
8715
+ # address input / editing: - Use an internationalization-ready address widget
8716
+ # such as https://github.com/google/libaddressinput) - Users should not be
8717
+ # presented with UI elements for input or editing of fields outside countries
8718
+ # where that field is used. For more guidance on how to use this schema, please
8719
+ # see: https://support.google.com/business/answer/6397478
8465
8720
  class GoogleTypePostalAddress
8466
8721
  include Google::Apis::Core::Hashable
8467
8722
 
@@ -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.48.0"
19
+ GEM_VERSION = "0.51.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
 
@@ -652,6 +664,12 @@ module Google
652
664
  include Google::Apis::Core::JsonObjectSupport
653
665
  end
654
666
 
667
+ class GoogleCloudDocumentaiV1beta2Barcode
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
655
673
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
656
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
675
 
@@ -718,6 +736,12 @@ module Google
718
736
  include Google::Apis::Core::JsonObjectSupport
719
737
  end
720
738
 
739
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
721
745
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
722
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
747
 
@@ -916,6 +940,12 @@ module Google
916
940
  include Google::Apis::Core::JsonObjectSupport
917
941
  end
918
942
 
943
+ class GoogleCloudDocumentaiV1beta3Barcode
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
919
949
  class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
920
950
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
951
 
@@ -1078,6 +1108,12 @@ module Google
1078
1108
  include Google::Apis::Core::JsonObjectSupport
1079
1109
  end
1080
1110
 
1111
+ class GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1081
1117
  class GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
1082
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1119
 
@@ -1306,6 +1342,12 @@ module Google
1306
1342
  include Google::Apis::Core::JsonObjectSupport
1307
1343
  end
1308
1344
 
1345
+ class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1309
1351
  class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
1310
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1311
1353
 
@@ -1706,6 +1748,7 @@ module Google
1706
1748
 
1707
1749
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1708
1750
 
1751
+ property :total_document_count, as: 'totalDocumentCount'
1709
1752
  end
1710
1753
  end
1711
1754
 
@@ -2016,6 +2059,15 @@ module Google
2016
2059
  end
2017
2060
  end
2018
2061
 
2062
+ class GoogleCloudDocumentaiV1beta1Barcode
2063
+ # @private
2064
+ class Representation < Google::Apis::Core::JsonRepresentation
2065
+ property :format, as: 'format'
2066
+ property :raw_value, as: 'rawValue'
2067
+ property :value_format, as: 'valueFormat'
2068
+ end
2069
+ end
2070
+
2019
2071
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
2020
2072
  # @private
2021
2073
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2115,6 +2167,8 @@ module Google
2115
2167
  class Representation < Google::Apis::Core::JsonRepresentation
2116
2168
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
2117
2169
 
2170
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode::Representation
2171
+
2118
2172
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2119
2173
 
2120
2174
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
@@ -2177,6 +2231,16 @@ module Google
2177
2231
  end
2178
2232
  end
2179
2233
 
2234
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
2235
+ # @private
2236
+ class Representation < Google::Apis::Core::JsonRepresentation
2237
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1Barcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1Barcode::Representation
2238
+
2239
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2240
+
2241
+ end
2242
+ end
2243
+
2180
2244
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
2181
2245
  # @private
2182
2246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2517,6 +2581,15 @@ module Google
2517
2581
  end
2518
2582
  end
2519
2583
 
2584
+ class GoogleCloudDocumentaiV1beta2Barcode
2585
+ # @private
2586
+ class Representation < Google::Apis::Core::JsonRepresentation
2587
+ property :format, as: 'format'
2588
+ property :raw_value, as: 'rawValue'
2589
+ property :value_format, as: 'valueFormat'
2590
+ end
2591
+ end
2592
+
2520
2593
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
2521
2594
  # @private
2522
2595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2627,6 +2700,8 @@ module Google
2627
2700
  class Representation < Google::Apis::Core::JsonRepresentation
2628
2701
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
2629
2702
 
2703
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode::Representation
2704
+
2630
2705
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2631
2706
 
2632
2707
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
@@ -2689,6 +2764,16 @@ module Google
2689
2764
  end
2690
2765
  end
2691
2766
 
2767
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
2768
+ # @private
2769
+ class Representation < Google::Apis::Core::JsonRepresentation
2770
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2Barcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2Barcode::Representation
2771
+
2772
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2773
+
2774
+ end
2775
+ end
2776
+
2692
2777
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
2693
2778
  # @private
2694
2779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3030,6 +3115,15 @@ module Google
3030
3115
  end
3031
3116
  end
3032
3117
 
3118
+ class GoogleCloudDocumentaiV1beta3Barcode
3119
+ # @private
3120
+ class Representation < Google::Apis::Core::JsonRepresentation
3121
+ property :format, as: 'format'
3122
+ property :raw_value, as: 'rawValue'
3123
+ property :value_format, as: 'valueFormat'
3124
+ end
3125
+ end
3126
+
3033
3127
  class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
3034
3128
  # @private
3035
3129
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3274,6 +3368,8 @@ module Google
3274
3368
  class Representation < Google::Apis::Core::JsonRepresentation
3275
3369
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageBlock::Representation
3276
3370
 
3371
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode::Representation
3372
+
3277
3373
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
3278
3374
 
3279
3375
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDimension::Representation
@@ -3336,6 +3432,16 @@ module Google
3336
3432
  end
3337
3433
  end
3338
3434
 
3435
+ class GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode
3436
+ # @private
3437
+ class Representation < Google::Apis::Core::JsonRepresentation
3438
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Barcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Barcode::Representation
3439
+
3440
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
3441
+
3442
+ end
3443
+ end
3444
+
3339
3445
  class GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
3340
3446
  # @private
3341
3447
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3592,6 +3698,7 @@ module Google
3592
3698
  class Representation < Google::Apis::Core::JsonRepresentation
3593
3699
  property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
3594
3700
  property :document_splitter, as: 'documentSplitter'
3701
+ property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
3595
3702
  end
3596
3703
  end
3597
3704
 
@@ -3717,6 +3824,15 @@ module Google
3717
3824
  end
3718
3825
  end
3719
3826
 
3827
+ class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
3828
+ # @private
3829
+ class Representation < Google::Apis::Core::JsonRepresentation
3830
+ property :next_page_token, as: 'nextPageToken'
3831
+ collection :processor_types, as: 'processorTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType::Representation
3832
+
3833
+ end
3834
+ end
3835
+
3720
3836
  class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
3721
3837
  # @private
3722
3838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,6 +271,46 @@ module Google
271
271
  execute_or_queue_command(command, &block)
272
272
  end
273
273
 
274
+ # Lists the processor types that exist.
275
+ # @param [String] parent
276
+ # Required. The location of processor type to list. The available processor
277
+ # types may depend on the allow-listing on projects. Format: `projects/`project`/
278
+ # locations/`location``
279
+ # @param [Fixnum] page_size
280
+ # The maximum number of processor types to return. If unspecified, at most 100
281
+ # processor types will be returned. The maximum value is 500; values above 500
282
+ # will be coerced to 500.
283
+ # @param [String] page_token
284
+ # Used to retrieve the next page of results, empty if at the end of the list.
285
+ # @param [String] fields
286
+ # Selector specifying which fields to include in a partial response.
287
+ # @param [String] quota_user
288
+ # Available to use for quota purposes for server-side applications. Can be any
289
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
290
+ # @param [Google::Apis::RequestOptions] options
291
+ # Request-specific options
292
+ #
293
+ # @yield [result, err] Result & error if block supplied
294
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse] parsed result object
295
+ # @yieldparam err [StandardError] error object if request failed
296
+ #
297
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse]
298
+ #
299
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
300
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
301
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
302
+ def list_project_location_processor_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
303
+ command = make_simple_command(:get, 'v1beta3/{+parent}/processorTypes', options)
304
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse::Representation
305
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
306
+ command.params['parent'] = parent unless parent.nil?
307
+ command.query['pageSize'] = page_size unless page_size.nil?
308
+ command.query['pageToken'] = page_token unless page_token.nil?
309
+ command.query['fields'] = fields unless fields.nil?
310
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
311
+ execute_or_queue_command(command, &block)
312
+ end
313
+
274
314
  # LRO endpoint to batch process many documents. The output is written to Cloud
275
315
  # Storage as JSON in the [Document] format.
276
316
  # @param [String] name
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.48.0
4
+ version: 0.51.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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.51.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: []