google-apis-documentai_v1beta2 0.50.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: fa83bae2c5e23ace6319bb65df438f2e10cdf48d7280cbd759978a70df42a0fb
4
- data.tar.gz: 4f11206c94eeaedf63d2f0393c3aeee352620af54d31e22d31eb7490d77d8c6b
3
+ metadata.gz: 4aad9e9f0eb4b3b772c4b16d94d68203458f0c24eac2183a8daeec1a49d9553d
4
+ data.tar.gz: 7fe5ffd9b3dfa9d23b0cc88638c080311f205f5f566e47bcceb6a01a37de7b52
5
5
  SHA512:
6
- metadata.gz: 2721fb6c654b037cd26ece1aa5d1072b8bee9635f547aad87259dc04428288e1e19bc0e2485731959bad7d3ddecc9bab8f0760a0009ca617e58ecb41b41d94bc
7
- data.tar.gz: 97036e75abf5624a79f4eb2e19400805448929afa0f90598f5457565075fde0cf1ce3ce87e070238eab88292cdd13362130d7bc7d47b9fa89eccac480007554a
6
+ metadata.gz: d2c8540483634b10a92d40023375eb2b52f5e6bfd82d57426fc37238d9c0b782085a2e8d98ef283ac2584b1cd52ab481da05478a2098bc70b520dc0b9023921f
7
+ data.tar.gz: 720d8ea2e19e303309313208c7bfe3c22a19c2044ac7d13acfffc58f3791fce5bbeaae36c0888baf18c73648c693624cb7137773cef1b2778e945f70117cdb32
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.51.0 (2022-12-07)
4
+
5
+ * Regenerated from discovery document revision 20221201
6
+
3
7
  ### v0.50.0 (2022-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20221017
@@ -1633,26 +1633,28 @@ module Google
1633
1633
  class GoogleCloudDocumentaiV1beta1Barcode
1634
1634
  include Google::Apis::Core::Hashable
1635
1635
 
1636
- # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
1637
- # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
1638
- # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
1639
- # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
1640
- # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
1636
+ # Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. -
1637
+ # `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type.
1638
+ # - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13
1639
+ # type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A
1640
+ # type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code
1641
+ # type. - `DATABAR`: GS1 DataBar code type.
1641
1642
  # Corresponds to the JSON property `format`
1642
1643
  # @return [String]
1643
1644
  attr_accessor :format
1644
1645
 
1645
- # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
1646
- # www.google.com;;'.
1646
+ # Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https:/
1647
+ # /www.google.com;;'`.
1647
1648
  # Corresponds to the JSON property `rawValue`
1648
1649
  # @return [String]
1649
1650
  attr_accessor :raw_value
1650
1651
 
1651
1652
  # Value format describes the format of the value that a barcode encodes. The
1652
- # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
1653
- # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
1654
- # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
1655
- # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
1653
+ # supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email
1654
+ # address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`:
1655
+ # Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `
1656
+ # WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`:
1657
+ # Calendar event. - `DRIVER_LICENSE`: Driver's license.
1656
1658
  # Corresponds to the JSON property `valueFormat`
1657
1659
  # @return [String]
1658
1660
  attr_accessor :value_format
@@ -1778,14 +1780,14 @@ module Google
1778
1780
  # @return [String]
1779
1781
  attr_accessor :text
1780
1782
 
1781
- # Placeholder. A list of text corrections made to [Document.text]. This is
1782
- # usually used for annotating corrections to OCR mistakes. Text changes for a
1783
- # given revision may not overlap with each other.
1783
+ # Placeholder. A list of text corrections made to Document.text. This is usually
1784
+ # used for annotating corrections to OCR mistakes. Text changes for a given
1785
+ # revision may not overlap with each other.
1784
1786
  # Corresponds to the JSON property `textChanges`
1785
1787
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentTextChange>]
1786
1788
  attr_accessor :text_changes
1787
1789
 
1788
- # Placeholder. Styles for the Document.text.
1790
+ # Styles for the Document.text.
1789
1791
  # Corresponds to the JSON property `textStyles`
1790
1792
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyle>]
1791
1793
  attr_accessor :text_styles
@@ -1825,7 +1827,7 @@ module Google
1825
1827
  class GoogleCloudDocumentaiV1beta1DocumentEntity
1826
1828
  include Google::Apis::Core::Hashable
1827
1829
 
1828
- # Optional. Confidence of detected Schema entity. Range [0, 1].
1830
+ # Optional. Confidence of detected Schema entity. Range `[0, 1]`.
1829
1831
  # Corresponds to the JSON property `confidence`
1830
1832
  # @return [Float]
1831
1833
  attr_accessor :confidence
@@ -1978,8 +1980,8 @@ module Google
1978
1980
  # Optional. An optional field to store a normalized string. For some entity
1979
1981
  # types, one of respective `structured_value` fields may also be populated. Also
1980
1982
  # not all the types of `structured_value` will be normalized. For example, some
1981
- # processors may not generate float or int normalized text by default. Below are
1982
- # sample formats mapped to structured values. - Money/Currency type (`
1983
+ # processors may not generate `float` or `integer` normalized text by default.
1984
+ # Below are sample formats mapped to structured values. - Money/Currency type (`
1983
1985
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
1984
1986
  # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
1985
1987
  # 8601 text format.
@@ -2188,7 +2190,7 @@ module Google
2188
2190
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly]
2189
2191
  attr_accessor :bounding_poly
2190
2192
 
2191
- # Optional. Confidence of detected page element, if applicable. Range [0, 1].
2193
+ # Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
2192
2194
  # Corresponds to the JSON property `confidence`
2193
2195
  # @return [Float]
2194
2196
  attr_accessor :confidence
@@ -2203,10 +2205,10 @@ module Google
2203
2205
  # @return [String]
2204
2206
  attr_accessor :layout_type
2205
2207
 
2206
- # Required. Index into the Document.pages element, for example using Document.
2207
- # pages to locate the related page element. This field is skipped when its value
2208
- # is the default 0. See https://developers.google.com/protocol-buffers/docs/
2209
- # proto3#json.
2208
+ # Required. Index into the Document.pages element, for example using `Document.
2209
+ # pages` to locate the related page element. This field is skipped when its
2210
+ # value is the default `0`. See https://developers.google.com/protocol-buffers/
2211
+ # docs/proto3#json.
2210
2212
  # Corresponds to the JSON property `page`
2211
2213
  # @return [Fixnum]
2212
2214
  attr_accessor :page
@@ -2287,12 +2289,12 @@ module Google
2287
2289
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
2288
2290
  include Google::Apis::Core::Hashable
2289
2291
 
2290
- # Confidence of detected language. Range [0, 1].
2292
+ # Confidence of detected language. Range `[0, 1]`.
2291
2293
  # Corresponds to the JSON property `confidence`
2292
2294
  # @return [Float]
2293
2295
  attr_accessor :confidence
2294
2296
 
2295
- # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
2297
+ # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information,
2296
2298
  # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
2297
2299
  # Corresponds to the JSON property `languageCode`
2298
2300
  # @return [String]
@@ -2385,8 +2387,8 @@ module Google
2385
2387
  attr_accessor :value_detected_languages
2386
2388
 
2387
2389
  # If the value is non-textual, this field represents the type. Current valid
2388
- # values are: - blank (this indicates the field_value is normal text) - "
2389
- # unfilled_checkbox" - "filled_checkbox"
2390
+ # values are: - blank (this indicates the `field_value` is normal text) - `
2391
+ # unfilled_checkbox` - `filled_checkbox`
2390
2392
  # Corresponds to the JSON property `valueType`
2391
2393
  # @return [String]
2392
2394
  attr_accessor :value_type
@@ -2455,7 +2457,7 @@ module Google
2455
2457
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
2456
2458
  attr_accessor :detected_defects
2457
2459
 
2458
- # The overall quality score. Range [0, 1] where 1 is perfect quality.
2460
+ # The overall quality score. Range `[0, 1]` where 1 is perfect quality.
2459
2461
  # Corresponds to the JSON property `qualityScore`
2460
2462
  # @return [Float]
2461
2463
  attr_accessor :quality_score
@@ -2475,16 +2477,16 @@ module Google
2475
2477
  class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
2476
2478
  include Google::Apis::Core::Hashable
2477
2479
 
2478
- # Confidence of detected defect. Range [0, 1] where 1 indicates strong
2480
+ # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
2479
2481
  # confidence of that the defect exists.
2480
2482
  # Corresponds to the JSON property `confidence`
2481
2483
  # @return [Float]
2482
2484
  attr_accessor :confidence
2483
2485
 
2484
- # Name of the defect type. Supported values are "quality/defect_blurry", "
2485
- # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
2486
- # defect_text_too_small", "quality/defect_document_cutoff", "quality/
2487
- # defect_text_cutoff", "quality/defect_glare"
2486
+ # Name of the defect type. Supported values are: - `quality/defect_blurry` - `
2487
+ # quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `
2488
+ # quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/
2489
+ # defect_text_cutoff` - `quality/defect_glare`
2488
2490
  # Corresponds to the JSON property `type`
2489
2491
  # @return [String]
2490
2492
  attr_accessor :type
@@ -2511,7 +2513,7 @@ module Google
2511
2513
 
2512
2514
  # Confidence of the current Layout within context of the object this layout is
2513
2515
  # for. e.g. confidence can be for a single token, a table, a visual element, etc.
2514
- # depending on context. Range [0, 1].
2516
+ # depending on context. Range `[0, 1]`.
2515
2517
  # Corresponds to the JSON property `confidence`
2516
2518
  # @return [Float]
2517
2519
  attr_accessor :confidence
@@ -3152,7 +3154,7 @@ module Google
3152
3154
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeColor]
3153
3155
  attr_accessor :color
3154
3156
 
3155
- # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
3157
+ # Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/
3156
3158
  # cssref/pr_font_font-family.asp
3157
3159
  # Corresponds to the JSON property `fontFamily`
3158
3160
  # @return [String]
@@ -3549,26 +3551,28 @@ module Google
3549
3551
  class GoogleCloudDocumentaiV1beta2Barcode
3550
3552
  include Google::Apis::Core::Hashable
3551
3553
 
3552
- # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
3553
- # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
3554
- # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
3555
- # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
3556
- # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
3554
+ # Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. -
3555
+ # `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type.
3556
+ # - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13
3557
+ # type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A
3558
+ # type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code
3559
+ # type. - `DATABAR`: GS1 DataBar code type.
3557
3560
  # Corresponds to the JSON property `format`
3558
3561
  # @return [String]
3559
3562
  attr_accessor :format
3560
3563
 
3561
- # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
3562
- # www.google.com;;'.
3564
+ # Raw value encoded in the barcode. For example: `'MEBKM:TITLE:Google;URL:https:/
3565
+ # /www.google.com;;'`.
3563
3566
  # Corresponds to the JSON property `rawValue`
3564
3567
  # @return [String]
3565
3568
  attr_accessor :raw_value
3566
3569
 
3567
3570
  # Value format describes the format of the value that a barcode encodes. The
3568
- # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
3569
- # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
3570
- # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
3571
- # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
3571
+ # supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`: Email
3572
+ # address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. - `PRODUCT`:
3573
+ # Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`: URL address. - `
3574
+ # WIFI`: Wifi information. - `GEO`: Geo-localization. - `CALENDAR_EVENT`:
3575
+ # Calendar event. - `DRIVER_LICENSE`: Driver's license.
3572
3576
  # Corresponds to the JSON property `valueFormat`
3573
3577
  # @return [String]
3574
3578
  attr_accessor :value_format
@@ -3719,14 +3723,14 @@ module Google
3719
3723
  # @return [String]
3720
3724
  attr_accessor :text
3721
3725
 
3722
- # Placeholder. A list of text corrections made to [Document.text]. This is
3723
- # usually used for annotating corrections to OCR mistakes. Text changes for a
3724
- # given revision may not overlap with each other.
3726
+ # Placeholder. A list of text corrections made to Document.text. This is usually
3727
+ # used for annotating corrections to OCR mistakes. Text changes for a given
3728
+ # revision may not overlap with each other.
3725
3729
  # Corresponds to the JSON property `textChanges`
3726
3730
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
3727
3731
  attr_accessor :text_changes
3728
3732
 
3729
- # Placeholder. Styles for the Document.text.
3733
+ # Styles for the Document.text.
3730
3734
  # Corresponds to the JSON property `textStyles`
3731
3735
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyle>]
3732
3736
  attr_accessor :text_styles
@@ -3767,7 +3771,7 @@ module Google
3767
3771
  class GoogleCloudDocumentaiV1beta2DocumentEntity
3768
3772
  include Google::Apis::Core::Hashable
3769
3773
 
3770
- # Optional. Confidence of detected Schema entity. Range [0, 1].
3774
+ # Optional. Confidence of detected Schema entity. Range `[0, 1]`.
3771
3775
  # Corresponds to the JSON property `confidence`
3772
3776
  # @return [Float]
3773
3777
  attr_accessor :confidence
@@ -3920,8 +3924,8 @@ module Google
3920
3924
  # Optional. An optional field to store a normalized string. For some entity
3921
3925
  # types, one of respective `structured_value` fields may also be populated. Also
3922
3926
  # not all the types of `structured_value` will be normalized. For example, some
3923
- # processors may not generate float or int normalized text by default. Below are
3924
- # sample formats mapped to structured values. - Money/Currency type (`
3927
+ # processors may not generate `float` or `integer` normalized text by default.
3928
+ # Below are sample formats mapped to structured values. - Money/Currency type (`
3925
3929
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
3926
3930
  # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
3927
3931
  # 8601 text format.
@@ -4167,7 +4171,7 @@ module Google
4167
4171
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly]
4168
4172
  attr_accessor :bounding_poly
4169
4173
 
4170
- # Optional. Confidence of detected page element, if applicable. Range [0, 1].
4174
+ # Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
4171
4175
  # Corresponds to the JSON property `confidence`
4172
4176
  # @return [Float]
4173
4177
  attr_accessor :confidence
@@ -4182,10 +4186,10 @@ module Google
4182
4186
  # @return [String]
4183
4187
  attr_accessor :layout_type
4184
4188
 
4185
- # Required. Index into the Document.pages element, for example using Document.
4186
- # pages to locate the related page element. This field is skipped when its value
4187
- # is the default 0. See https://developers.google.com/protocol-buffers/docs/
4188
- # proto3#json.
4189
+ # Required. Index into the Document.pages element, for example using `Document.
4190
+ # pages` to locate the related page element. This field is skipped when its
4191
+ # value is the default `0`. See https://developers.google.com/protocol-buffers/
4192
+ # docs/proto3#json.
4189
4193
  # Corresponds to the JSON property `page`
4190
4194
  # @return [Fixnum]
4191
4195
  attr_accessor :page
@@ -4266,12 +4270,12 @@ module Google
4266
4270
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
4267
4271
  include Google::Apis::Core::Hashable
4268
4272
 
4269
- # Confidence of detected language. Range [0, 1].
4273
+ # Confidence of detected language. Range `[0, 1]`.
4270
4274
  # Corresponds to the JSON property `confidence`
4271
4275
  # @return [Float]
4272
4276
  attr_accessor :confidence
4273
4277
 
4274
- # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
4278
+ # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information,
4275
4279
  # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
4276
4280
  # Corresponds to the JSON property `languageCode`
4277
4281
  # @return [String]
@@ -4364,8 +4368,8 @@ module Google
4364
4368
  attr_accessor :value_detected_languages
4365
4369
 
4366
4370
  # If the value is non-textual, this field represents the type. Current valid
4367
- # values are: - blank (this indicates the field_value is normal text) - "
4368
- # unfilled_checkbox" - "filled_checkbox"
4371
+ # values are: - blank (this indicates the `field_value` is normal text) - `
4372
+ # unfilled_checkbox` - `filled_checkbox`
4369
4373
  # Corresponds to the JSON property `valueType`
4370
4374
  # @return [String]
4371
4375
  attr_accessor :value_type
@@ -4434,7 +4438,7 @@ module Google
4434
4438
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
4435
4439
  attr_accessor :detected_defects
4436
4440
 
4437
- # The overall quality score. Range [0, 1] where 1 is perfect quality.
4441
+ # The overall quality score. Range `[0, 1]` where 1 is perfect quality.
4438
4442
  # Corresponds to the JSON property `qualityScore`
4439
4443
  # @return [Float]
4440
4444
  attr_accessor :quality_score
@@ -4454,16 +4458,16 @@ module Google
4454
4458
  class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
4455
4459
  include Google::Apis::Core::Hashable
4456
4460
 
4457
- # Confidence of detected defect. Range [0, 1] where 1 indicates strong
4461
+ # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
4458
4462
  # confidence of that the defect exists.
4459
4463
  # Corresponds to the JSON property `confidence`
4460
4464
  # @return [Float]
4461
4465
  attr_accessor :confidence
4462
4466
 
4463
- # Name of the defect type. Supported values are "quality/defect_blurry", "
4464
- # quality/defect_noisy", "quality/defect_dark", "quality/defect_faint", "quality/
4465
- # defect_text_too_small", "quality/defect_document_cutoff", "quality/
4466
- # defect_text_cutoff", "quality/defect_glare"
4467
+ # Name of the defect type. Supported values are: - `quality/defect_blurry` - `
4468
+ # quality/defect_noisy` - `quality/defect_dark` - `quality/defect_faint` - `
4469
+ # quality/defect_text_too_small` - `quality/defect_document_cutoff` - `quality/
4470
+ # defect_text_cutoff` - `quality/defect_glare`
4467
4471
  # Corresponds to the JSON property `type`
4468
4472
  # @return [String]
4469
4473
  attr_accessor :type
@@ -4490,7 +4494,7 @@ module Google
4490
4494
 
4491
4495
  # Confidence of the current Layout within context of the object this layout is
4492
4496
  # for. e.g. confidence can be for a single token, a table, a visual element, etc.
4493
- # depending on context. Range [0, 1].
4497
+ # depending on context. Range `[0, 1]`.
4494
4498
  # Corresponds to the JSON property `confidence`
4495
4499
  # @return [Float]
4496
4500
  attr_accessor :confidence
@@ -5131,7 +5135,7 @@ module Google
5131
5135
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeColor]
5132
5136
  attr_accessor :color
5133
5137
 
5134
- # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
5138
+ # Font family such as `Arial`, `Times New Roman`. https://www.w3schools.com/
5135
5139
  # cssref/pr_font_font-family.asp
5136
5140
  # Corresponds to the JSON property `fontFamily`
5137
5141
  # @return [String]
@@ -6058,6 +6062,44 @@ module Google
6058
6062
  end
6059
6063
  end
6060
6064
 
6065
+ # Metadata of the EvaluateProcessorVersion method.
6066
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
6067
+ include Google::Apis::Core::Hashable
6068
+
6069
+ # The common metadata for long running operations.
6070
+ # Corresponds to the JSON property `commonMetadata`
6071
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
6072
+ attr_accessor :common_metadata
6073
+
6074
+ def initialize(**args)
6075
+ update!(**args)
6076
+ end
6077
+
6078
+ # Update properties of this object
6079
+ def update!(**args)
6080
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
6081
+ end
6082
+ end
6083
+
6084
+ # Metadata of the EvaluateProcessorVersion method.
6085
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
6086
+ include Google::Apis::Core::Hashable
6087
+
6088
+ # The resource name of the created evaluation.
6089
+ # Corresponds to the JSON property `evaluation`
6090
+ # @return [String]
6091
+ attr_accessor :evaluation
6092
+
6093
+ def initialize(**args)
6094
+ update!(**args)
6095
+ end
6096
+
6097
+ # Update properties of this object
6098
+ def update!(**args)
6099
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
6100
+ end
6101
+ end
6102
+
6061
6103
  # The status of human review on a processed document.
6062
6104
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
6063
6105
  include Google::Apis::Core::Hashable
@@ -6206,6 +6248,99 @@ module Google
6206
6248
  end
6207
6249
  end
6208
6250
 
6251
+ # The metadata that represents a processor version being created.
6252
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
6253
+ include Google::Apis::Core::Hashable
6254
+
6255
+ # The common metadata for long running operations.
6256
+ # Corresponds to the JSON property `commonMetadata`
6257
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
6258
+ attr_accessor :common_metadata
6259
+
6260
+ # The dataset validation information. This includes any and all errors with
6261
+ # documents and the dataset.
6262
+ # Corresponds to the JSON property `testDatasetValidation`
6263
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation]
6264
+ attr_accessor :test_dataset_validation
6265
+
6266
+ # The dataset validation information. This includes any and all errors with
6267
+ # documents and the dataset.
6268
+ # Corresponds to the JSON property `trainingDatasetValidation`
6269
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation]
6270
+ attr_accessor :training_dataset_validation
6271
+
6272
+ def initialize(**args)
6273
+ update!(**args)
6274
+ end
6275
+
6276
+ # Update properties of this object
6277
+ def update!(**args)
6278
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
6279
+ @test_dataset_validation = args[:test_dataset_validation] if args.key?(:test_dataset_validation)
6280
+ @training_dataset_validation = args[:training_dataset_validation] if args.key?(:training_dataset_validation)
6281
+ end
6282
+ end
6283
+
6284
+ # The dataset validation information. This includes any and all errors with
6285
+ # documents and the dataset.
6286
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
6287
+ include Google::Apis::Core::Hashable
6288
+
6289
+ # The total number of dataset errors.
6290
+ # Corresponds to the JSON property `datasetErrorCount`
6291
+ # @return [Fixnum]
6292
+ attr_accessor :dataset_error_count
6293
+
6294
+ # Error information for the dataset as a whole. A maximum of 10 dataset errors
6295
+ # will be returned. A single dataset error is terminal for training.
6296
+ # Corresponds to the JSON property `datasetErrors`
6297
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>]
6298
+ attr_accessor :dataset_errors
6299
+
6300
+ # The total number of document errors.
6301
+ # Corresponds to the JSON property `documentErrorCount`
6302
+ # @return [Fixnum]
6303
+ attr_accessor :document_error_count
6304
+
6305
+ # Error information pertaining to specific documents. A maximum of 10 document
6306
+ # errors will be returned. Any document with errors will not be used throughout
6307
+ # training.
6308
+ # Corresponds to the JSON property `documentErrors`
6309
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleRpcStatus>]
6310
+ attr_accessor :document_errors
6311
+
6312
+ def initialize(**args)
6313
+ update!(**args)
6314
+ end
6315
+
6316
+ # Update properties of this object
6317
+ def update!(**args)
6318
+ @dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
6319
+ @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
6320
+ @document_error_count = args[:document_error_count] if args.key?(:document_error_count)
6321
+ @document_errors = args[:document_errors] if args.key?(:document_errors)
6322
+ end
6323
+ end
6324
+
6325
+ # The response for the TrainProcessorVersion method.
6326
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
6327
+ include Google::Apis::Core::Hashable
6328
+
6329
+ # The resource name of the processor version produced by training.
6330
+ # Corresponds to the JSON property `processorVersion`
6331
+ # @return [String]
6332
+ attr_accessor :processor_version
6333
+
6334
+ def initialize(**args)
6335
+ update!(**args)
6336
+ end
6337
+
6338
+ # Update properties of this object
6339
+ def update!(**args)
6340
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
6341
+ end
6342
+ end
6343
+
6209
6344
  # The long running operation metadata for the undeploy processor version method.
6210
6345
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
6211
6346
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221017"
25
+ REVISION = "20221201"
26
26
  end
27
27
  end
28
28
  end
@@ -1126,6 +1126,18 @@ module Google
1126
1126
  include Google::Apis::Core::JsonObjectSupport
1127
1127
  end
1128
1128
 
1129
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
1135
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1129
1141
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
1130
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1143
 
@@ -1156,6 +1168,24 @@ module Google
1156
1168
  include Google::Apis::Core::JsonObjectSupport
1157
1169
  end
1158
1170
 
1171
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1177
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
1178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1183
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
1184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1185
+
1186
+ include Google::Apis::Core::JsonObjectSupport
1187
+ end
1188
+
1159
1189
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
1160
1190
  class Representation < Google::Apis::Core::JsonRepresentation; end
1161
1191
 
@@ -3085,6 +3115,21 @@ module Google
3085
3115
  end
3086
3116
  end
3087
3117
 
3118
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
3119
+ # @private
3120
+ class Representation < Google::Apis::Core::JsonRepresentation
3121
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3122
+
3123
+ end
3124
+ end
3125
+
3126
+ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse
3127
+ # @private
3128
+ class Representation < Google::Apis::Core::JsonRepresentation
3129
+ property :evaluation, as: 'evaluation'
3130
+ end
3131
+ end
3132
+
3088
3133
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
3089
3134
  # @private
3090
3135
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3130,6 +3175,37 @@ module Google
3130
3175
  end
3131
3176
  end
3132
3177
 
3178
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata
3179
+ # @private
3180
+ class Representation < Google::Apis::Core::JsonRepresentation
3181
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3182
+
3183
+ property :test_dataset_validation, as: 'testDatasetValidation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
3184
+
3185
+ property :training_dataset_validation, as: 'trainingDatasetValidation', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation::Representation
3186
+
3187
+ end
3188
+ end
3189
+
3190
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadataDatasetValidation
3191
+ # @private
3192
+ class Representation < Google::Apis::Core::JsonRepresentation
3193
+ property :dataset_error_count, as: 'datasetErrorCount'
3194
+ collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
3195
+
3196
+ property :document_error_count, as: 'documentErrorCount'
3197
+ collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
3198
+
3199
+ end
3200
+ end
3201
+
3202
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionResponse
3203
+ # @private
3204
+ class Representation < Google::Apis::Core::JsonRepresentation
3205
+ property :processor_version, as: 'processorVersion'
3206
+ end
3207
+ end
3208
+
3133
3209
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
3134
3210
  # @private
3135
3211
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []