google-apis-documentai_v1beta3 0.49.0 → 0.50.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: a5a26339b4f7cf5ac01a3a8d52933f4b416135aca2160331e24ce3081af54fbe
4
- data.tar.gz: a0419e67e619ad79dfb702bd234382e4fd3fb263905c0f2e6da77403d48f48ba
3
+ metadata.gz: 737e995cad5e4b0394749fa9e07b2d7ee29888ebd0be7920ffd223010fb3771a
4
+ data.tar.gz: 12801566c2b29153a2b705fe90735308d8b6e975d2d7f20c6da67a60f5bc6e60
5
5
  SHA512:
6
- metadata.gz: 8f50264bb652460b8c6cf8cad518d494147dea5095ccb03701ef0ce0e0948d66913162ba74031bb6a235bbd4e4ed960575bce5eec0d44be2630fe62c335a1b5b
7
- data.tar.gz: 0a32b794c27526daf4bc3f9f368438e3d0141b04d6f14f7bd745bada93eb5f39af58cfedbe07eb5c2de56c345600a7681e4a7ff9b046711e49024d0c08f29b78
6
+ metadata.gz: 8a16d49bcc286caf856ef3807ccd90d1239a8358c59123a657ae7f13e122dc9371efded27e6fc253c0fe3b0adda6e4e297e17e536211e74119ee6ec87ea8a446
7
+ data.tar.gz: c80e945de5ef1ae53123aa41bfcc631ce027fe596395c0d5b6b0c6a29d5c8666c669d50f256a5b19973abb02ca4df8f45da7b8bc848bd262a6ec8bc8ad4206c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.50.0 (2022-07-12)
4
+
5
+ * Regenerated from discovery document revision 20220711
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.49.0 (2022-07-02)
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::DocumentaiV1beta3::GoogleTypePostalAddress]
1699
1739
  attr_accessor :address_value
@@ -1820,6 +1860,11 @@ module Google
1820
1860
  # @return [Array<Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -3194,6 +3265,46 @@ module Google
3194
3265
  end
3195
3266
  end
3196
3267
 
3268
+ # Encodes the detailed information of a barcode.
3269
+ class GoogleCloudDocumentaiV1beta2Barcode
3270
+ include Google::Apis::Core::Hashable
3271
+
3272
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
3273
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
3274
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
3275
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
3276
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
3277
+ # Corresponds to the JSON property `format`
3278
+ # @return [String]
3279
+ attr_accessor :format
3280
+
3281
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
3282
+ # www.google.com;;'.
3283
+ # Corresponds to the JSON property `rawValue`
3284
+ # @return [String]
3285
+ attr_accessor :raw_value
3286
+
3287
+ # Value format describes the format of the value that a barcode encodes. The
3288
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
3289
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
3290
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
3291
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
3292
+ # Corresponds to the JSON property `valueFormat`
3293
+ # @return [String]
3294
+ attr_accessor :value_format
3295
+
3296
+ def initialize(**args)
3297
+ update!(**args)
3298
+ end
3299
+
3300
+ # Update properties of this object
3301
+ def update!(**args)
3302
+ @format = args[:format] if args.key?(:format)
3303
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
3304
+ @value_format = args[:value_format] if args.key?(:value_format)
3305
+ end
3306
+ end
3307
+
3197
3308
  # Response to an batch document processing request. This is returned in the LRO
3198
3309
  # Operation after the operation is complete.
3199
3310
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
@@ -3457,11 +3568,11 @@ module Google
3457
3568
  # Box or similar. It is not intended to model geographical locations (roads,
3458
3569
  # towns, mountains). In typical usage an address would be created via user input
3459
3570
  # 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
3571
+ # address input / editing: - Use an internationalization-ready address widget
3572
+ # such as https://github.com/google/libaddressinput) - Users should not be
3573
+ # presented with UI elements for input or editing of fields outside countries
3574
+ # where that field is used. For more guidance on how to use this schema, please
3575
+ # see: https://support.google.com/business/answer/6397478
3465
3576
  # Corresponds to the JSON property `addressValue`
3466
3577
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
3467
3578
  attr_accessor :address_value
@@ -3625,6 +3736,11 @@ module Google
3625
3736
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageBlock>]
3626
3737
  attr_accessor :blocks
3627
3738
 
3739
+ # A list of detected barcodes.
3740
+ # Corresponds to the JSON property `detectedBarcodes`
3741
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode>]
3742
+ attr_accessor :detected_barcodes
3743
+
3628
3744
  # A list of detected languages together with confidence.
3629
3745
  # Corresponds to the JSON property `detectedLanguages`
3630
3746
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3708,6 +3824,7 @@ module Google
3708
3824
  # Update properties of this object
3709
3825
  def update!(**args)
3710
3826
  @blocks = args[:blocks] if args.key?(:blocks)
3827
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
3711
3828
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
3712
3829
  @dimension = args[:dimension] if args.key?(:dimension)
3713
3830
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -3825,6 +3942,31 @@ module Google
3825
3942
  end
3826
3943
  end
3827
3944
 
3945
+ # A detected barcode.
3946
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
3947
+ include Google::Apis::Core::Hashable
3948
+
3949
+ # Encodes the detailed information of a barcode.
3950
+ # Corresponds to the JSON property `barcode`
3951
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2Barcode]
3952
+ attr_accessor :barcode
3953
+
3954
+ # Visual element describing a layout unit on a page.
3955
+ # Corresponds to the JSON property `layout`
3956
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
3957
+ attr_accessor :layout
3958
+
3959
+ def initialize(**args)
3960
+ update!(**args)
3961
+ end
3962
+
3963
+ # Update properties of this object
3964
+ def update!(**args)
3965
+ @barcode = args[:barcode] if args.key?(:barcode)
3966
+ @layout = args[:layout] if args.key?(:layout)
3967
+ end
3968
+ end
3969
+
3828
3970
  # Detected language for a structural component.
3829
3971
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
3830
3972
  include Google::Apis::Core::Hashable
@@ -5009,6 +5151,46 @@ module Google
5009
5151
  end
5010
5152
  end
5011
5153
 
5154
+ # Encodes the detailed information of a barcode.
5155
+ class GoogleCloudDocumentaiV1beta3Barcode
5156
+ include Google::Apis::Core::Hashable
5157
+
5158
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
5159
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
5160
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
5161
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
5162
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
5163
+ # Corresponds to the JSON property `format`
5164
+ # @return [String]
5165
+ attr_accessor :format
5166
+
5167
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
5168
+ # www.google.com;;'.
5169
+ # Corresponds to the JSON property `rawValue`
5170
+ # @return [String]
5171
+ attr_accessor :raw_value
5172
+
5173
+ # Value format describes the format of the value that a barcode encodes. The
5174
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
5175
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
5176
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
5177
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
5178
+ # Corresponds to the JSON property `valueFormat`
5179
+ # @return [String]
5180
+ attr_accessor :value_format
5181
+
5182
+ def initialize(**args)
5183
+ update!(**args)
5184
+ end
5185
+
5186
+ # Update properties of this object
5187
+ def update!(**args)
5188
+ @format = args[:format] if args.key?(:format)
5189
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
5190
+ @value_format = args[:value_format] if args.key?(:value_format)
5191
+ end
5192
+ end
5193
+
5012
5194
  # The common config to specify a set of documents used as input.
5013
5195
  class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
5014
5196
  include Google::Apis::Core::Hashable
@@ -5647,11 +5829,11 @@ module Google
5647
5829
  # Box or similar. It is not intended to model geographical locations (roads,
5648
5830
  # towns, mountains). In typical usage an address would be created via user input
5649
5831
  # 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
5832
+ # address input / editing: - Use an internationalization-ready address widget
5833
+ # such as https://github.com/google/libaddressinput) - Users should not be
5834
+ # presented with UI elements for input or editing of fields outside countries
5835
+ # where that field is used. For more guidance on how to use this schema, please
5836
+ # see: https://support.google.com/business/answer/6397478
5655
5837
  # Corresponds to the JSON property `addressValue`
5656
5838
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
5657
5839
  attr_accessor :address_value
@@ -5817,6 +5999,11 @@ module Google
5817
5999
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageBlock>]
5818
6000
  attr_accessor :blocks
5819
6001
 
6002
+ # A list of detected barcodes.
6003
+ # Corresponds to the JSON property `detectedBarcodes`
6004
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode>]
6005
+ attr_accessor :detected_barcodes
6006
+
5820
6007
  # A list of detected languages together with confidence.
5821
6008
  # Corresponds to the JSON property `detectedLanguages`
5822
6009
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
@@ -5900,6 +6087,7 @@ module Google
5900
6087
  # Update properties of this object
5901
6088
  def update!(**args)
5902
6089
  @blocks = args[:blocks] if args.key?(:blocks)
6090
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
5903
6091
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
5904
6092
  @dimension = args[:dimension] if args.key?(:dimension)
5905
6093
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -6017,6 +6205,31 @@ module Google
6017
6205
  end
6018
6206
  end
6019
6207
 
6208
+ # A detected barcode.
6209
+ class GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode
6210
+ include Google::Apis::Core::Hashable
6211
+
6212
+ # Encodes the detailed information of a barcode.
6213
+ # Corresponds to the JSON property `barcode`
6214
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Barcode]
6215
+ attr_accessor :barcode
6216
+
6217
+ # Visual element describing a layout unit on a page.
6218
+ # Corresponds to the JSON property `layout`
6219
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
6220
+ attr_accessor :layout
6221
+
6222
+ def initialize(**args)
6223
+ update!(**args)
6224
+ end
6225
+
6226
+ # Update properties of this object
6227
+ def update!(**args)
6228
+ @barcode = args[:barcode] if args.key?(:barcode)
6229
+ @layout = args[:layout] if args.key?(:layout)
6230
+ end
6231
+ end
6232
+
6020
6233
  # Detected language for a structural component.
6021
6234
  class GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
6022
6235
  include Google::Apis::Core::Hashable
@@ -6849,6 +7062,12 @@ module Google
6849
7062
  attr_accessor :document_splitter
6850
7063
  alias_method :document_splitter?, :document_splitter
6851
7064
 
7065
+ # If set, all the nested entities must be prefixed with the parents.
7066
+ # Corresponds to the JSON property `prefixedNamingOnProperties`
7067
+ # @return [Boolean]
7068
+ attr_accessor :prefixed_naming_on_properties
7069
+ alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
7070
+
6852
7071
  def initialize(**args)
6853
7072
  update!(**args)
6854
7073
  end
@@ -6857,6 +7076,7 @@ module Google
6857
7076
  def update!(**args)
6858
7077
  @document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
6859
7078
  @document_splitter = args[:document_splitter] if args.key?(:document_splitter)
7079
+ @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
6860
7080
  end
6861
7081
  end
6862
7082
 
@@ -7311,6 +7531,31 @@ module Google
7311
7531
  end
7312
7532
  end
7313
7533
 
7534
+ # Response message for list processor types.
7535
+ class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
7536
+ include Google::Apis::Core::Hashable
7537
+
7538
+ # Points to the next page, otherwise empty.
7539
+ # Corresponds to the JSON property `nextPageToken`
7540
+ # @return [String]
7541
+ attr_accessor :next_page_token
7542
+
7543
+ # The processor types.
7544
+ # Corresponds to the JSON property `processorTypes`
7545
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType>]
7546
+ attr_accessor :processor_types
7547
+
7548
+ def initialize(**args)
7549
+ update!(**args)
7550
+ end
7551
+
7552
+ # Update properties of this object
7553
+ def update!(**args)
7554
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7555
+ @processor_types = args[:processor_types] if args.key?(:processor_types)
7556
+ end
7557
+ end
7558
+
7314
7559
  # Response message for list processors.
7315
7560
  class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
7316
7561
  include Google::Apis::Core::Hashable
@@ -8457,11 +8702,11 @@ module Google
8457
8702
  # Box or similar. It is not intended to model geographical locations (roads,
8458
8703
  # towns, mountains). In typical usage an address would be created via user input
8459
8704
  # 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
8705
+ # address input / editing: - Use an internationalization-ready address widget
8706
+ # such as https://github.com/google/libaddressinput) - Users should not be
8707
+ # presented with UI elements for input or editing of fields outside countries
8708
+ # where that field is used. For more guidance on how to use this schema, please
8709
+ # see: https://support.google.com/business/answer/6397478
8465
8710
  class GoogleTypePostalAddress
8466
8711
  include Google::Apis::Core::Hashable
8467
8712
 
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.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
 
@@ -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
 
@@ -2016,6 +2058,15 @@ module Google
2016
2058
  end
2017
2059
  end
2018
2060
 
2061
+ class GoogleCloudDocumentaiV1beta1Barcode
2062
+ # @private
2063
+ class Representation < Google::Apis::Core::JsonRepresentation
2064
+ property :format, as: 'format'
2065
+ property :raw_value, as: 'rawValue'
2066
+ property :value_format, as: 'valueFormat'
2067
+ end
2068
+ end
2069
+
2019
2070
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
2020
2071
  # @private
2021
2072
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2115,6 +2166,8 @@ module Google
2115
2166
  class Representation < Google::Apis::Core::JsonRepresentation
2116
2167
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
2117
2168
 
2169
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode::Representation
2170
+
2118
2171
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2119
2172
 
2120
2173
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
@@ -2177,6 +2230,16 @@ module Google
2177
2230
  end
2178
2231
  end
2179
2232
 
2233
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
2234
+ # @private
2235
+ class Representation < Google::Apis::Core::JsonRepresentation
2236
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1Barcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1Barcode::Representation
2237
+
2238
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2239
+
2240
+ end
2241
+ end
2242
+
2180
2243
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
2181
2244
  # @private
2182
2245
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2517,6 +2580,15 @@ module Google
2517
2580
  end
2518
2581
  end
2519
2582
 
2583
+ class GoogleCloudDocumentaiV1beta2Barcode
2584
+ # @private
2585
+ class Representation < Google::Apis::Core::JsonRepresentation
2586
+ property :format, as: 'format'
2587
+ property :raw_value, as: 'rawValue'
2588
+ property :value_format, as: 'valueFormat'
2589
+ end
2590
+ end
2591
+
2520
2592
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
2521
2593
  # @private
2522
2594
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2627,6 +2699,8 @@ module Google
2627
2699
  class Representation < Google::Apis::Core::JsonRepresentation
2628
2700
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
2629
2701
 
2702
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode::Representation
2703
+
2630
2704
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2631
2705
 
2632
2706
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
@@ -2689,6 +2763,16 @@ module Google
2689
2763
  end
2690
2764
  end
2691
2765
 
2766
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
2767
+ # @private
2768
+ class Representation < Google::Apis::Core::JsonRepresentation
2769
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2Barcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2Barcode::Representation
2770
+
2771
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2772
+
2773
+ end
2774
+ end
2775
+
2692
2776
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
2693
2777
  # @private
2694
2778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3030,6 +3114,15 @@ module Google
3030
3114
  end
3031
3115
  end
3032
3116
 
3117
+ class GoogleCloudDocumentaiV1beta3Barcode
3118
+ # @private
3119
+ class Representation < Google::Apis::Core::JsonRepresentation
3120
+ property :format, as: 'format'
3121
+ property :raw_value, as: 'rawValue'
3122
+ property :value_format, as: 'valueFormat'
3123
+ end
3124
+ end
3125
+
3033
3126
  class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
3034
3127
  # @private
3035
3128
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3274,6 +3367,8 @@ module Google
3274
3367
  class Representation < Google::Apis::Core::JsonRepresentation
3275
3368
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageBlock::Representation
3276
3369
 
3370
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode::Representation
3371
+
3277
3372
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
3278
3373
 
3279
3374
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDimension::Representation
@@ -3336,6 +3431,16 @@ module Google
3336
3431
  end
3337
3432
  end
3338
3433
 
3434
+ class GoogleCloudDocumentaiV1beta3DocumentPageDetectedBarcode
3435
+ # @private
3436
+ class Representation < Google::Apis::Core::JsonRepresentation
3437
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Barcode, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Barcode::Representation
3438
+
3439
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
3440
+
3441
+ end
3442
+ end
3443
+
3339
3444
  class GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage
3340
3445
  # @private
3341
3446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3592,6 +3697,7 @@ module Google
3592
3697
  class Representation < Google::Apis::Core::JsonRepresentation
3593
3698
  property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
3594
3699
  property :document_splitter, as: 'documentSplitter'
3700
+ property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
3595
3701
  end
3596
3702
  end
3597
3703
 
@@ -3717,6 +3823,15 @@ module Google
3717
3823
  end
3718
3824
  end
3719
3825
 
3826
+ class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
3827
+ # @private
3828
+ class Representation < Google::Apis::Core::JsonRepresentation
3829
+ property :next_page_token, as: 'nextPageToken'
3830
+ collection :processor_types, as: 'processorTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType::Representation
3831
+
3832
+ end
3833
+ end
3834
+
3720
3835
  class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
3721
3836
  # @private
3722
3837
  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.49.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.50.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: []