google-apis-documentai_v1beta3 0.49.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +304 -40
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +117 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +40 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c49f002e23375d817801cedaefd6f223b6e4fbe354f5e9866984874eaf359cd0
|
4
|
+
data.tar.gz: 9ded1252a499d4f7fa2ce88561d522c8f8fccf331d2f4adc4567a1afd3f0f6ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7445bdbf74e2619eae0bcab90e3b6138e19a51a58c0202d38b1c53ce22565d9f6ec27ef52c5010bf3d1c361b591df0de3765695e5d90b1762783363c0a8ffc78
|
7
|
+
data.tar.gz: d384828b313ea4276476085ace30279ffc13c8fc65086f5f56573276f3da41d913b9fd1fd1d30f61304a0fc278cd7865f185a4adde9e82c7f8d637d43a29a69d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.52.0 (2022-08-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220808
|
6
|
+
|
7
|
+
### v0.51.0 (2022-07-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220720
|
10
|
+
|
11
|
+
### v0.50.0 (2022-07-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220711
|
14
|
+
* Regenerated using generator version 0.9.0
|
15
|
+
|
3
16
|
### v0.49.0 (2022-07-02)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.8.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
|
1693
|
-
# github.com/google/libaddressinput) - Users should not be
|
1694
|
-
# elements for input or editing of fields outside countries
|
1695
|
-
# used. For more guidance on how to use this schema, please
|
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
|
1726
|
-
# considered not to have a specific year
|
1727
|
-
#
|
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
|
3461
|
-
# github.com/google/libaddressinput) - Users should not be
|
3462
|
-
# elements for input or editing of fields outside countries
|
3463
|
-
# used. For more guidance on how to use this schema, please
|
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
|
3494
|
-
# considered not to have a specific year
|
3495
|
-
#
|
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
|
5651
|
-
# github.com/google/libaddressinput) - Users should not be
|
5652
|
-
# elements for input or editing of fields outside countries
|
5653
|
-
# used. For more guidance on how to use this schema, please
|
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
|
5684
|
-
# considered not to have a specific year
|
5685
|
-
#
|
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,20 @@ 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
|
+
|
7077
|
+
# If set, we will skip the naming format validation in the schema. So the string
|
7078
|
+
# values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.
|
7079
|
+
# Property.name` will not be checked.
|
7080
|
+
# Corresponds to the JSON property `skipNamingValidation`
|
7081
|
+
# @return [Boolean]
|
7082
|
+
attr_accessor :skip_naming_validation
|
7083
|
+
alias_method :skip_naming_validation?, :skip_naming_validation
|
7084
|
+
|
6852
7085
|
def initialize(**args)
|
6853
7086
|
update!(**args)
|
6854
7087
|
end
|
@@ -6857,6 +7090,8 @@ module Google
|
|
6857
7090
|
def update!(**args)
|
6858
7091
|
@document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
|
6859
7092
|
@document_splitter = args[:document_splitter] if args.key?(:document_splitter)
|
7093
|
+
@prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
|
7094
|
+
@skip_naming_validation = args[:skip_naming_validation] if args.key?(:skip_naming_validation)
|
6860
7095
|
end
|
6861
7096
|
end
|
6862
7097
|
|
@@ -7311,6 +7546,31 @@ module Google
|
|
7311
7546
|
end
|
7312
7547
|
end
|
7313
7548
|
|
7549
|
+
# Response message for list processor types.
|
7550
|
+
class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
|
7551
|
+
include Google::Apis::Core::Hashable
|
7552
|
+
|
7553
|
+
# Points to the next page, otherwise empty.
|
7554
|
+
# Corresponds to the JSON property `nextPageToken`
|
7555
|
+
# @return [String]
|
7556
|
+
attr_accessor :next_page_token
|
7557
|
+
|
7558
|
+
# The processor types.
|
7559
|
+
# Corresponds to the JSON property `processorTypes`
|
7560
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType>]
|
7561
|
+
attr_accessor :processor_types
|
7562
|
+
|
7563
|
+
def initialize(**args)
|
7564
|
+
update!(**args)
|
7565
|
+
end
|
7566
|
+
|
7567
|
+
# Update properties of this object
|
7568
|
+
def update!(**args)
|
7569
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
7570
|
+
@processor_types = args[:processor_types] if args.key?(:processor_types)
|
7571
|
+
end
|
7572
|
+
end
|
7573
|
+
|
7314
7574
|
# Response message for list processors.
|
7315
7575
|
class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
|
7316
7576
|
include Google::Apis::Core::Hashable
|
@@ -8337,9 +8597,9 @@ module Google
|
|
8337
8597
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
8338
8598
|
# calendar day in a particular time zone. * When neither time_zone nor
|
8339
8599
|
# 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
|
8341
|
-
# considered not to have a specific year
|
8342
|
-
#
|
8600
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
8601
|
+
# the DateTime is considered not to have a specific year, month, or day
|
8602
|
+
# respectively. This type may also be used to represent a physical time if all
|
8343
8603
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
8344
8604
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
8345
8605
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -8348,34 +8608,38 @@ module Google
|
|
8348
8608
|
class GoogleTypeDateTime
|
8349
8609
|
include Google::Apis::Core::Hashable
|
8350
8610
|
|
8351
|
-
#
|
8611
|
+
# Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
|
8612
|
+
# or 0 if specifying a datetime without a day.
|
8352
8613
|
# Corresponds to the JSON property `day`
|
8353
8614
|
# @return [Fixnum]
|
8354
8615
|
attr_accessor :day
|
8355
8616
|
|
8356
|
-
#
|
8357
|
-
# choose to allow the value "24:00:00" for scenarios
|
8617
|
+
# Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
|
8618
|
+
# 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
|
8619
|
+
# like business closing time.
|
8358
8620
|
# Corresponds to the JSON property `hours`
|
8359
8621
|
# @return [Fixnum]
|
8360
8622
|
attr_accessor :hours
|
8361
8623
|
|
8362
|
-
#
|
8624
|
+
# Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
8363
8625
|
# Corresponds to the JSON property `minutes`
|
8364
8626
|
# @return [Fixnum]
|
8365
8627
|
attr_accessor :minutes
|
8366
8628
|
|
8367
|
-
#
|
8629
|
+
# Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
|
8630
|
+
# without a month.
|
8368
8631
|
# Corresponds to the JSON property `month`
|
8369
8632
|
# @return [Fixnum]
|
8370
8633
|
attr_accessor :month
|
8371
8634
|
|
8372
|
-
#
|
8635
|
+
# Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
|
8636
|
+
# defaults to 0.
|
8373
8637
|
# Corresponds to the JSON property `nanos`
|
8374
8638
|
# @return [Fixnum]
|
8375
8639
|
attr_accessor :nanos
|
8376
8640
|
|
8377
|
-
#
|
8378
|
-
# API may allow the value 60 if it allows leap-seconds.
|
8641
|
+
# Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
8642
|
+
# defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
8379
8643
|
# Corresponds to the JSON property `seconds`
|
8380
8644
|
# @return [Fixnum]
|
8381
8645
|
attr_accessor :seconds
|
@@ -8457,11 +8721,11 @@ module Google
|
|
8457
8721
|
# Box or similar. It is not intended to model geographical locations (roads,
|
8458
8722
|
# towns, mountains). In typical usage an address would be created via user input
|
8459
8723
|
# or from importing existing data, depending on the type of process. Advice on
|
8460
|
-
# address input / editing: - Use an
|
8461
|
-
# github.com/google/libaddressinput) - Users should not be
|
8462
|
-
# elements for input or editing of fields outside countries
|
8463
|
-
# used. For more guidance on how to use this schema, please
|
8464
|
-
# google.com/business/answer/6397478
|
8724
|
+
# address input / editing: - Use an internationalization-ready address widget
|
8725
|
+
# such as https://github.com/google/libaddressinput) - Users should not be
|
8726
|
+
# presented with UI elements for input or editing of fields outside countries
|
8727
|
+
# where that field is used. For more guidance on how to use this schema, please
|
8728
|
+
# see: https://support.google.com/business/answer/6397478
|
8465
8729
|
class GoogleTypePostalAddress
|
8466
8730
|
include Google::Apis::Core::Hashable
|
8467
8731
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220808"
|
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,8 @@ 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'
|
3702
|
+
property :skip_naming_validation, as: 'skipNamingValidation'
|
3595
3703
|
end
|
3596
3704
|
end
|
3597
3705
|
|
@@ -3717,6 +3825,15 @@ module Google
|
|
3717
3825
|
end
|
3718
3826
|
end
|
3719
3827
|
|
3828
|
+
class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
|
3829
|
+
# @private
|
3830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3831
|
+
property :next_page_token, as: 'nextPageToken'
|
3832
|
+
collection :processor_types, as: 'processorTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType::Representation
|
3833
|
+
|
3834
|
+
end
|
3835
|
+
end
|
3836
|
+
|
3720
3837
|
class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
|
3721
3838
|
# @private
|
3722
3839
|
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.
|
4
|
+
version: 0.52.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-
|
11
|
+
date: 2022-08-15 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.52.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: []
|