google-apis-documentai_v1beta3 0.74.0 → 0.76.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 +8 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +140 -114
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +15 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +2 -2
- 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: 7462b42eb6d9add6819fe9d149417ee783cbe27fdcd9ad6e798b53ff6e6795b3
|
4
|
+
data.tar.gz: b70b46b072f2232fe2a80b90b010fa032e4ef2028241472c331cc4c28bf27b76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cb6bdf776cdf7854c315973679c1e09d2bd69cd0aeaabe925d84d59726a7795a95e9ce3fe05cfc906984f79a62311ce00a9d1e3b7b05f0edc7107082a8929a3
|
7
|
+
data.tar.gz: 9b7b07f82d71fbd5ab489a77a824bcbb34d37fe7c020da242a593b4e4644c0ec3dba34d48d331c98cf3aa17f66f2027e598d1cd9cf7de36e9bb62c642093def2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.76.0 (2023-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230619
|
6
|
+
|
7
|
+
### v0.75.0 (2023-06-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230605
|
10
|
+
|
3
11
|
### v0.74.0 (2023-06-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230526
|
@@ -445,8 +445,8 @@ module Google
|
|
445
445
|
class GoogleCloudDocumentaiUiv1beta3DocumentId
|
446
446
|
include Google::Apis::Core::Hashable
|
447
447
|
|
448
|
-
# Identifies a document uniquely within the scope of a dataset in user
|
449
|
-
# Cloud Storage option.
|
448
|
+
# Identifies a document uniquely within the scope of a dataset in the user-
|
449
|
+
# managed Cloud Storage option.
|
450
450
|
# Corresponds to the JSON property `gcsManagedDocId`
|
451
451
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
|
452
452
|
attr_accessor :gcs_managed_doc_id
|
@@ -474,8 +474,8 @@ module Google
|
|
474
474
|
end
|
475
475
|
end
|
476
476
|
|
477
|
-
# Identifies a document uniquely within the scope of a dataset in user
|
478
|
-
# Cloud Storage option.
|
477
|
+
# Identifies a document uniquely within the scope of a dataset in the user-
|
478
|
+
# managed Cloud Storage option.
|
479
479
|
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
480
480
|
include Google::Apis::Core::Hashable
|
481
481
|
|
@@ -484,7 +484,7 @@ module Google
|
|
484
484
|
# @return [String]
|
485
485
|
attr_accessor :cw_doc_id
|
486
486
|
|
487
|
-
# Required. The Cloud Storage
|
487
|
+
# Required. The Cloud Storage URI where the actual document is stored.
|
488
488
|
# Corresponds to the JSON property `gcsUri`
|
489
489
|
# @return [String]
|
490
490
|
attr_accessor :gcs_uri
|
@@ -1999,9 +1999,8 @@ module Google
|
|
1999
1999
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
2000
2000
|
attr_accessor :error
|
2001
2001
|
|
2002
|
-
# An IANA published
|
2003
|
-
#
|
2004
|
-
# xhtml.
|
2002
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
2003
|
+
# media-types/media-types.xhtml).
|
2005
2004
|
# Corresponds to the JSON property `mimeType`
|
2006
2005
|
# @return [String]
|
2007
2006
|
attr_accessor :mime_type
|
@@ -2320,7 +2319,7 @@ module Google
|
|
2320
2319
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
2321
2320
|
attr_accessor :image
|
2322
2321
|
|
2323
|
-
# Image
|
2322
|
+
# Image quality scores for the page image.
|
2324
2323
|
# Corresponds to the JSON property `imageQualityScores`
|
2325
2324
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
2326
2325
|
attr_accessor :image_quality_scores
|
@@ -2541,8 +2540,8 @@ module Google
|
|
2541
2540
|
# @return [Float]
|
2542
2541
|
attr_accessor :confidence
|
2543
2542
|
|
2544
|
-
# The BCP-47 language code
|
2545
|
-
#
|
2543
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
2544
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
2546
2545
|
# Corresponds to the JSON property `languageCode`
|
2547
2546
|
# @return [String]
|
2548
2547
|
attr_accessor :language_code
|
@@ -2672,7 +2671,8 @@ module Google
|
|
2672
2671
|
# @return [Fixnum]
|
2673
2672
|
attr_accessor :height
|
2674
2673
|
|
2675
|
-
# Encoding
|
2674
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
2675
|
+
# media-types.xhtml) for the image.
|
2676
2676
|
# Corresponds to the JSON property `mimeType`
|
2677
2677
|
# @return [String]
|
2678
2678
|
attr_accessor :mime_type
|
@@ -2695,7 +2695,7 @@ module Google
|
|
2695
2695
|
end
|
2696
2696
|
end
|
2697
2697
|
|
2698
|
-
# Image
|
2698
|
+
# Image quality scores for the page image.
|
2699
2699
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
2700
2700
|
include Google::Apis::Core::Hashable
|
2701
2701
|
|
@@ -2704,7 +2704,7 @@ module Google
|
|
2704
2704
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
|
2705
2705
|
attr_accessor :detected_defects
|
2706
2706
|
|
2707
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
2707
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
2708
2708
|
# Corresponds to the JSON property `qualityScore`
|
2709
2709
|
# @return [Float]
|
2710
2710
|
attr_accessor :quality_score
|
@@ -2724,8 +2724,8 @@ module Google
|
|
2724
2724
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
2725
2725
|
include Google::Apis::Core::Hashable
|
2726
2726
|
|
2727
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
2728
|
-
# confidence
|
2727
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
2728
|
+
# confidence that the defect exists.
|
2729
2729
|
# Corresponds to the JSON property `confidence`
|
2730
2730
|
# @return [Float]
|
2731
2731
|
attr_accessor :confidence
|
@@ -3093,7 +3093,7 @@ module Google
|
|
3093
3093
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3094
3094
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3095
3095
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3096
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3096
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3097
3097
|
# information about the absolute color space that should be used to interpret
|
3098
3098
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3099
3099
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3210,7 +3210,7 @@ module Google
|
|
3210
3210
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3211
3211
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3212
3212
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3213
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3213
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3214
3214
|
# information about the absolute color space that should be used to interpret
|
3215
3215
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3216
3216
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3517,7 +3517,7 @@ module Google
|
|
3517
3517
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3518
3518
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3519
3519
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3520
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3520
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3521
3521
|
# information about the absolute color space that should be used to interpret
|
3522
3522
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3523
3523
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3566,7 +3566,7 @@ module Google
|
|
3566
3566
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3567
3567
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3568
3568
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3569
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3569
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3570
3570
|
# information about the absolute color space that should be used to interpret
|
3571
3571
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3572
3572
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3620,8 +3620,8 @@ module Google
|
|
3620
3620
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
|
3621
3621
|
attr_accessor :font_size
|
3622
3622
|
|
3623
|
-
# Font weight. Possible
|
3624
|
-
#
|
3623
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
3624
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
3625
3625
|
# Corresponds to the JSON property `fontWeight`
|
3626
3626
|
# @return [String]
|
3627
3627
|
attr_accessor :font_weight
|
@@ -3631,14 +3631,14 @@ module Google
|
|
3631
3631
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
3632
3632
|
attr_accessor :text_anchor
|
3633
3633
|
|
3634
|
-
# Text decoration
|
3635
|
-
#
|
3634
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
3635
|
+
# . Follows CSS standard.
|
3636
3636
|
# Corresponds to the JSON property `textDecoration`
|
3637
3637
|
# @return [String]
|
3638
3638
|
attr_accessor :text_decoration
|
3639
3639
|
|
3640
|
-
# Text style
|
3641
|
-
#
|
3640
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
3641
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
3642
3642
|
# Corresponds to the JSON property `textStyle`
|
3643
3643
|
# @return [String]
|
3644
3644
|
attr_accessor :text_style
|
@@ -3669,7 +3669,7 @@ module Google
|
|
3669
3669
|
# @return [Float]
|
3670
3670
|
attr_accessor :size
|
3671
3671
|
|
3672
|
-
# Unit for the font size. Follows CSS naming (in
|
3672
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
3673
3673
|
# Corresponds to the JSON property `unit`
|
3674
3674
|
# @return [String]
|
3675
3675
|
attr_accessor :unit
|
@@ -4110,9 +4110,8 @@ module Google
|
|
4110
4110
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentLabel>]
|
4111
4111
|
attr_accessor :labels
|
4112
4112
|
|
4113
|
-
# An IANA published
|
4114
|
-
#
|
4115
|
-
# xhtml.
|
4113
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
4114
|
+
# media-types/media-types.xhtml).
|
4116
4115
|
# Corresponds to the JSON property `mimeType`
|
4117
4116
|
# @return [String]
|
4118
4117
|
attr_accessor :mime_type
|
@@ -4469,7 +4468,7 @@ module Google
|
|
4469
4468
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
4470
4469
|
attr_accessor :image
|
4471
4470
|
|
4472
|
-
# Image
|
4471
|
+
# Image quality scores for the page image.
|
4473
4472
|
# Corresponds to the JSON property `imageQualityScores`
|
4474
4473
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
4475
4474
|
attr_accessor :image_quality_scores
|
@@ -4690,8 +4689,8 @@ module Google
|
|
4690
4689
|
# @return [Float]
|
4691
4690
|
attr_accessor :confidence
|
4692
4691
|
|
4693
|
-
# The BCP-47 language code
|
4694
|
-
#
|
4692
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
4693
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
4695
4694
|
# Corresponds to the JSON property `languageCode`
|
4696
4695
|
# @return [String]
|
4697
4696
|
attr_accessor :language_code
|
@@ -4821,7 +4820,8 @@ module Google
|
|
4821
4820
|
# @return [Fixnum]
|
4822
4821
|
attr_accessor :height
|
4823
4822
|
|
4824
|
-
# Encoding
|
4823
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
4824
|
+
# media-types.xhtml) for the image.
|
4825
4825
|
# Corresponds to the JSON property `mimeType`
|
4826
4826
|
# @return [String]
|
4827
4827
|
attr_accessor :mime_type
|
@@ -4844,7 +4844,7 @@ module Google
|
|
4844
4844
|
end
|
4845
4845
|
end
|
4846
4846
|
|
4847
|
-
# Image
|
4847
|
+
# Image quality scores for the page image.
|
4848
4848
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
4849
4849
|
include Google::Apis::Core::Hashable
|
4850
4850
|
|
@@ -4853,7 +4853,7 @@ module Google
|
|
4853
4853
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
|
4854
4854
|
attr_accessor :detected_defects
|
4855
4855
|
|
4856
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
4856
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
4857
4857
|
# Corresponds to the JSON property `qualityScore`
|
4858
4858
|
# @return [Float]
|
4859
4859
|
attr_accessor :quality_score
|
@@ -4873,8 +4873,8 @@ module Google
|
|
4873
4873
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
4874
4874
|
include Google::Apis::Core::Hashable
|
4875
4875
|
|
4876
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
4877
|
-
# confidence
|
4876
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
4877
|
+
# confidence that the defect exists.
|
4878
4878
|
# Corresponds to the JSON property `confidence`
|
4879
4879
|
# @return [Float]
|
4880
4880
|
attr_accessor :confidence
|
@@ -5242,7 +5242,7 @@ module Google
|
|
5242
5242
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
5243
5243
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
5244
5244
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5245
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
5245
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
5246
5246
|
# information about the absolute color space that should be used to interpret
|
5247
5247
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
5248
5248
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -5359,7 +5359,7 @@ module Google
|
|
5359
5359
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
5360
5360
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
5361
5361
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5362
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
5362
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
5363
5363
|
# information about the absolute color space that should be used to interpret
|
5364
5364
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
5365
5365
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -5666,7 +5666,7 @@ module Google
|
|
5666
5666
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
5667
5667
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
5668
5668
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5669
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
5669
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
5670
5670
|
# information about the absolute color space that should be used to interpret
|
5671
5671
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
5672
5672
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -5715,7 +5715,7 @@ module Google
|
|
5715
5715
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
5716
5716
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
5717
5717
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
5718
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
5718
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
5719
5719
|
# information about the absolute color space that should be used to interpret
|
5720
5720
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
5721
5721
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -5769,8 +5769,8 @@ module Google
|
|
5769
5769
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
|
5770
5770
|
attr_accessor :font_size
|
5771
5771
|
|
5772
|
-
# Font weight. Possible
|
5773
|
-
#
|
5772
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
5773
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
5774
5774
|
# Corresponds to the JSON property `fontWeight`
|
5775
5775
|
# @return [String]
|
5776
5776
|
attr_accessor :font_weight
|
@@ -5780,14 +5780,14 @@ module Google
|
|
5780
5780
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
5781
5781
|
attr_accessor :text_anchor
|
5782
5782
|
|
5783
|
-
# Text decoration
|
5784
|
-
#
|
5783
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
5784
|
+
# . Follows CSS standard.
|
5785
5785
|
# Corresponds to the JSON property `textDecoration`
|
5786
5786
|
# @return [String]
|
5787
5787
|
attr_accessor :text_decoration
|
5788
5788
|
|
5789
|
-
# Text style
|
5790
|
-
#
|
5789
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
5790
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
5791
5791
|
# Corresponds to the JSON property `textStyle`
|
5792
5792
|
# @return [String]
|
5793
5793
|
attr_accessor :text_style
|
@@ -5818,7 +5818,7 @@ module Google
|
|
5818
5818
|
# @return [Float]
|
5819
5819
|
attr_accessor :size
|
5820
5820
|
|
5821
|
-
# Unit for the font size. Follows CSS naming (in
|
5821
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
5822
5822
|
# Corresponds to the JSON property `unit`
|
5823
5823
|
# @return [String]
|
5824
5824
|
attr_accessor :unit
|
@@ -6336,8 +6336,7 @@ module Google
|
|
6336
6336
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions]
|
6337
6337
|
attr_accessor :process_options
|
6338
6338
|
|
6339
|
-
# Whether
|
6340
|
-
# false.
|
6339
|
+
# Whether human review should be skipped for this request. Default to `false`.
|
6341
6340
|
# Corresponds to the JSON property `skipHumanReview`
|
6342
6341
|
# @return [Boolean]
|
6343
6342
|
attr_accessor :skip_human_review
|
@@ -6367,10 +6366,11 @@ module Google
|
|
6367
6366
|
# @return [String]
|
6368
6367
|
attr_accessor :gcs_source
|
6369
6368
|
|
6370
|
-
#
|
6371
|
-
#
|
6372
|
-
#
|
6373
|
-
#
|
6369
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
6370
|
+
# media-types/media-types.xhtml) of the input. If the input is a raw document,
|
6371
|
+
# refer to [supported file types](https://cloud.google.com/document-ai/docs/file-
|
6372
|
+
# types) for the list of media types. If the input is a Document, the type
|
6373
|
+
# should be `application/json`.
|
6374
6374
|
# Corresponds to the JSON property `mimeType`
|
6375
6375
|
# @return [String]
|
6376
6376
|
attr_accessor :mime_type
|
@@ -6486,17 +6486,17 @@ module Google
|
|
6486
6486
|
end
|
6487
6487
|
end
|
6488
6488
|
|
6489
|
-
# A singleton resource under a
|
6489
|
+
# A singleton resource under a Processor which configures a collection of
|
6490
6490
|
# documents.
|
6491
6491
|
class GoogleCloudDocumentaiV1beta3Dataset
|
6492
6492
|
include Google::Apis::Core::Hashable
|
6493
6493
|
|
6494
|
-
#
|
6494
|
+
# Configuration specific to the Document AI Warehouse-based implementation.
|
6495
6495
|
# Corresponds to the JSON property `documentWarehouseConfig`
|
6496
6496
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig]
|
6497
6497
|
attr_accessor :document_warehouse_config
|
6498
6498
|
|
6499
|
-
#
|
6499
|
+
# Configuration specific to the Cloud Storage-based implementation.
|
6500
6500
|
# Corresponds to the JSON property `gcsManagedConfig`
|
6501
6501
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig]
|
6502
6502
|
attr_accessor :gcs_managed_config
|
@@ -6507,17 +6507,17 @@ module Google
|
|
6507
6507
|
# @return [String]
|
6508
6508
|
attr_accessor :name
|
6509
6509
|
|
6510
|
-
#
|
6510
|
+
# Configuration specific to spanner-based indexing.
|
6511
6511
|
# Corresponds to the JSON property `spannerIndexingConfig`
|
6512
6512
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
|
6513
6513
|
attr_accessor :spanner_indexing_config
|
6514
6514
|
|
6515
|
-
# Required. State of the dataset.
|
6515
|
+
# Required. State of the dataset. Ignored when updating dataset.
|
6516
6516
|
# Corresponds to the JSON property `state`
|
6517
6517
|
# @return [String]
|
6518
6518
|
attr_accessor :state
|
6519
6519
|
|
6520
|
-
#
|
6520
|
+
# Configuration specific to an unmanaged dataset.
|
6521
6521
|
# Corresponds to the JSON property `unmanagedDatasetConfig`
|
6522
6522
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig]
|
6523
6523
|
attr_accessor :unmanaged_dataset_config
|
@@ -6537,16 +6537,17 @@ module Google
|
|
6537
6537
|
end
|
6538
6538
|
end
|
6539
6539
|
|
6540
|
-
#
|
6540
|
+
# Configuration specific to the Document AI Warehouse-based implementation.
|
6541
6541
|
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
6542
6542
|
include Google::Apis::Core::Hashable
|
6543
6543
|
|
6544
|
-
# Output only. The collection in Document Warehouse associated with the
|
6544
|
+
# Output only. The collection in Document AI Warehouse associated with the
|
6545
|
+
# dataset.
|
6545
6546
|
# Corresponds to the JSON property `collection`
|
6546
6547
|
# @return [String]
|
6547
6548
|
attr_accessor :collection
|
6548
6549
|
|
6549
|
-
# Output only. The schema in Document Warehouse associated with the dataset.
|
6550
|
+
# Output only. The schema in Document AI Warehouse associated with the dataset.
|
6550
6551
|
# Corresponds to the JSON property `schema`
|
6551
6552
|
# @return [String]
|
6552
6553
|
attr_accessor :schema
|
@@ -6562,7 +6563,7 @@ module Google
|
|
6562
6563
|
end
|
6563
6564
|
end
|
6564
6565
|
|
6565
|
-
#
|
6566
|
+
# Configuration specific to the Cloud Storage-based implementation.
|
6566
6567
|
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
6567
6568
|
include Google::Apis::Core::Hashable
|
6568
6569
|
|
@@ -6607,7 +6608,7 @@ module Google
|
|
6607
6608
|
end
|
6608
6609
|
end
|
6609
6610
|
|
6610
|
-
#
|
6611
|
+
# Configuration specific to spanner-based indexing.
|
6611
6612
|
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
6612
6613
|
include Google::Apis::Core::Hashable
|
6613
6614
|
|
@@ -6620,7 +6621,7 @@ module Google
|
|
6620
6621
|
end
|
6621
6622
|
end
|
6622
6623
|
|
6623
|
-
#
|
6624
|
+
# Configuration specific to an unmanaged dataset.
|
6624
6625
|
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
6625
6626
|
include Google::Apis::Core::Hashable
|
6626
6627
|
|
@@ -6798,9 +6799,8 @@ module Google
|
|
6798
6799
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
6799
6800
|
attr_accessor :error
|
6800
6801
|
|
6801
|
-
# An IANA published
|
6802
|
-
#
|
6803
|
-
# xhtml.
|
6802
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
6803
|
+
# media-types/media-types.xhtml).
|
6804
6804
|
# Corresponds to the JSON property `mimeType`
|
6805
6805
|
# @return [String]
|
6806
6806
|
attr_accessor :mime_type
|
@@ -7197,7 +7197,7 @@ module Google
|
|
7197
7197
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage]
|
7198
7198
|
attr_accessor :image
|
7199
7199
|
|
7200
|
-
# Image
|
7200
|
+
# Image quality scores for the page image.
|
7201
7201
|
# Corresponds to the JSON property `imageQualityScores`
|
7202
7202
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores]
|
7203
7203
|
attr_accessor :image_quality_scores
|
@@ -7418,8 +7418,8 @@ module Google
|
|
7418
7418
|
# @return [Float]
|
7419
7419
|
attr_accessor :confidence
|
7420
7420
|
|
7421
|
-
# The BCP-47 language code
|
7422
|
-
#
|
7421
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
7422
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
7423
7423
|
# Corresponds to the JSON property `languageCode`
|
7424
7424
|
# @return [String]
|
7425
7425
|
attr_accessor :language_code
|
@@ -7549,7 +7549,8 @@ module Google
|
|
7549
7549
|
# @return [Fixnum]
|
7550
7550
|
attr_accessor :height
|
7551
7551
|
|
7552
|
-
# Encoding
|
7552
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
7553
|
+
# media-types.xhtml) for the image.
|
7553
7554
|
# Corresponds to the JSON property `mimeType`
|
7554
7555
|
# @return [String]
|
7555
7556
|
attr_accessor :mime_type
|
@@ -7572,7 +7573,7 @@ module Google
|
|
7572
7573
|
end
|
7573
7574
|
end
|
7574
7575
|
|
7575
|
-
# Image
|
7576
|
+
# Image quality scores for the page image.
|
7576
7577
|
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
7577
7578
|
include Google::Apis::Core::Hashable
|
7578
7579
|
|
@@ -7581,7 +7582,7 @@ module Google
|
|
7581
7582
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect>]
|
7582
7583
|
attr_accessor :detected_defects
|
7583
7584
|
|
7584
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
7585
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
7585
7586
|
# Corresponds to the JSON property `qualityScore`
|
7586
7587
|
# @return [Float]
|
7587
7588
|
attr_accessor :quality_score
|
@@ -7601,8 +7602,8 @@ module Google
|
|
7601
7602
|
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
7602
7603
|
include Google::Apis::Core::Hashable
|
7603
7604
|
|
7604
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
7605
|
-
# confidence
|
7605
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
7606
|
+
# confidence that the defect exists.
|
7606
7607
|
# Corresponds to the JSON property `confidence`
|
7607
7608
|
# @return [Float]
|
7608
7609
|
attr_accessor :confidence
|
@@ -7970,7 +7971,7 @@ module Google
|
|
7970
7971
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
7971
7972
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
7972
7973
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
7973
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
7974
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
7974
7975
|
# information about the absolute color space that should be used to interpret
|
7975
7976
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
7976
7977
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8087,7 +8088,7 @@ module Google
|
|
8087
8088
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8088
8089
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8089
8090
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8090
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8091
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8091
8092
|
# information about the absolute color space that should be used to interpret
|
8092
8093
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8093
8094
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8414,14 +8415,14 @@ module Google
|
|
8414
8415
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues]
|
8415
8416
|
attr_accessor :enum_values
|
8416
8417
|
|
8417
|
-
# Name of the type. It must be unique within the schema file and cannot be a
|
8418
|
-
# Common Type
|
8419
|
-
#
|
8420
|
-
#
|
8421
|
-
#
|
8422
|
-
#
|
8423
|
-
#
|
8424
|
-
#
|
8418
|
+
# Name of the type. It must be unique within the schema file and cannot be a "
|
8419
|
+
# Common Type". The following naming conventions are used: - Use `snake_casing`.
|
8420
|
+
# - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
|
8421
|
+
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
8422
|
+
# compatibility internal infrastructure and tooling can handle any ascii
|
8423
|
+
# character.) - The `/` is sometimes used to denote a property of a type. For
|
8424
|
+
# example `line_item/amount`. This convention is deprecated, but will still be
|
8425
|
+
# honored for backward compatibility.
|
8425
8426
|
# Corresponds to the JSON property `name`
|
8426
8427
|
# @return [String]
|
8427
8428
|
attr_accessor :name
|
@@ -8515,7 +8516,7 @@ module Google
|
|
8515
8516
|
attr_accessor :document_allow_multiple_labels
|
8516
8517
|
alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
|
8517
8518
|
|
8518
|
-
# If true, a `document` entity type can be applied to subdocument (
|
8519
|
+
# If true, a `document` entity type can be applied to subdocument (splitting).
|
8519
8520
|
# Otherwise, it can only be applied to the entire document (classification).
|
8520
8521
|
# Corresponds to the JSON property `documentSplitter`
|
8521
8522
|
# @return [Boolean]
|
@@ -8593,7 +8594,7 @@ module Google
|
|
8593
8594
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8594
8595
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8595
8596
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8596
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8597
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8597
8598
|
# information about the absolute color space that should be used to interpret
|
8598
8599
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8599
8600
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8642,7 +8643,7 @@ module Google
|
|
8642
8643
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8643
8644
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8644
8645
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8645
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8646
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8646
8647
|
# information about the absolute color space that should be used to interpret
|
8647
8648
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8648
8649
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8696,8 +8697,8 @@ module Google
|
|
8696
8697
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyleFontSize]
|
8697
8698
|
attr_accessor :font_size
|
8698
8699
|
|
8699
|
-
# Font weight. Possible
|
8700
|
-
#
|
8700
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
8701
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
8701
8702
|
# Corresponds to the JSON property `fontWeight`
|
8702
8703
|
# @return [String]
|
8703
8704
|
attr_accessor :font_weight
|
@@ -8707,14 +8708,14 @@ module Google
|
|
8707
8708
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
|
8708
8709
|
attr_accessor :text_anchor
|
8709
8710
|
|
8710
|
-
# Text decoration
|
8711
|
-
#
|
8711
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
8712
|
+
# . Follows CSS standard.
|
8712
8713
|
# Corresponds to the JSON property `textDecoration`
|
8713
8714
|
# @return [String]
|
8714
8715
|
attr_accessor :text_decoration
|
8715
8716
|
|
8716
|
-
# Text style
|
8717
|
-
#
|
8717
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
8718
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
8718
8719
|
# Corresponds to the JSON property `textStyle`
|
8719
8720
|
# @return [String]
|
8720
8721
|
attr_accessor :text_style
|
@@ -8745,7 +8746,7 @@ module Google
|
|
8745
8746
|
# @return [Float]
|
8746
8747
|
attr_accessor :size
|
8747
8748
|
|
8748
|
-
# Unit for the font size. Follows CSS naming (in
|
8749
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
8749
8750
|
# Corresponds to the JSON property `unit`
|
8750
8751
|
# @return [String]
|
8751
8752
|
attr_accessor :unit
|
@@ -8895,7 +8896,7 @@ module Google
|
|
8895
8896
|
class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
|
8896
8897
|
include Google::Apis::Core::Hashable
|
8897
8898
|
|
8898
|
-
# Whether the entity type should be considered
|
8899
|
+
# Whether the entity type should be considered inactive.
|
8899
8900
|
# Corresponds to the JSON property `inactive`
|
8900
8901
|
# @return [Boolean]
|
8901
8902
|
attr_accessor :inactive
|
@@ -9710,8 +9711,7 @@ module Google
|
|
9710
9711
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument]
|
9711
9712
|
attr_accessor :raw_document
|
9712
9713
|
|
9713
|
-
# Whether
|
9714
|
-
# false.
|
9714
|
+
# Whether human review should be skipped for this request. Default to `false`.
|
9715
9715
|
# Corresponds to the JSON property `skipHumanReview`
|
9716
9716
|
# @return [Boolean]
|
9717
9717
|
attr_accessor :skip_human_review
|
@@ -9788,8 +9788,8 @@ module Google
|
|
9788
9788
|
# @return [String]
|
9789
9789
|
attr_accessor :display_name
|
9790
9790
|
|
9791
|
-
# The KMS key used for
|
9792
|
-
#
|
9791
|
+
# The [KMS key](https://cloud.google.com/security-key-management) used for
|
9792
|
+
# encryption and decryption in CMEK scenarios.
|
9793
9793
|
# Corresponds to the JSON property `kmsKeyName`
|
9794
9794
|
# @return [String]
|
9795
9795
|
attr_accessor :kms_key_name
|
@@ -9897,7 +9897,8 @@ module Google
|
|
9897
9897
|
class GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo
|
9898
9898
|
include Google::Apis::Core::Hashable
|
9899
9899
|
|
9900
|
-
# The location
|
9900
|
+
# The location ID. For supported locations, refer to [regional and multi-
|
9901
|
+
# regional support](/document-ai/docs/regions).
|
9901
9902
|
# Corresponds to the JSON property `locationId`
|
9902
9903
|
# @return [String]
|
9903
9904
|
attr_accessor :location_id
|
@@ -9913,10 +9914,9 @@ module Google
|
|
9913
9914
|
end
|
9914
9915
|
|
9915
9916
|
# A processor version is an implementation of a processor. Each processor can
|
9916
|
-
# have multiple versions,
|
9917
|
-
# customer.
|
9918
|
-
#
|
9919
|
-
# version
|
9917
|
+
# have multiple versions, pretrained by Google internally or uptrained by the
|
9918
|
+
# customer. A processor can only have one default version at a time. Its
|
9919
|
+
# document-processing behavior is defined by that version.
|
9920
9920
|
class GoogleCloudDocumentaiV1beta3ProcessorVersion
|
9921
9921
|
include Google::Apis::Core::Hashable
|
9922
9922
|
|
@@ -9940,7 +9940,7 @@ module Google
|
|
9940
9940
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
|
9941
9941
|
attr_accessor :document_schema
|
9942
9942
|
|
9943
|
-
# Denotes that this ProcessorVersion is managed by
|
9943
|
+
# Denotes that this `ProcessorVersion` is managed by Google.
|
9944
9944
|
# Corresponds to the JSON property `googleManaged`
|
9945
9945
|
# @return [Boolean]
|
9946
9946
|
attr_accessor :google_managed
|
@@ -10333,6 +10333,12 @@ module Google
|
|
10333
10333
|
# @return [String]
|
10334
10334
|
attr_accessor :base_processor_version
|
10335
10335
|
|
10336
|
+
# Options to control the training of the Custom Document Extraction (CDE)
|
10337
|
+
# Processor.
|
10338
|
+
# Corresponds to the JSON property `customDocumentExtractionOptions`
|
10339
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions]
|
10340
|
+
attr_accessor :custom_document_extraction_options
|
10341
|
+
|
10336
10342
|
# The schema defines the output of the processed document by a processor.
|
10337
10343
|
# Corresponds to the JSON property `documentSchema`
|
10338
10344
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
|
@@ -10344,10 +10350,9 @@ module Google
|
|
10344
10350
|
attr_accessor :input_data
|
10345
10351
|
|
10346
10352
|
# A processor version is an implementation of a processor. Each processor can
|
10347
|
-
# have multiple versions,
|
10348
|
-
# customer.
|
10349
|
-
#
|
10350
|
-
# version
|
10353
|
+
# have multiple versions, pretrained by Google internally or uptrained by the
|
10354
|
+
# customer. A processor can only have one default version at a time. Its
|
10355
|
+
# document-processing behavior is defined by that version.
|
10351
10356
|
# Corresponds to the JSON property `processorVersion`
|
10352
10357
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion]
|
10353
10358
|
attr_accessor :processor_version
|
@@ -10359,12 +10364,33 @@ module Google
|
|
10359
10364
|
# Update properties of this object
|
10360
10365
|
def update!(**args)
|
10361
10366
|
@base_processor_version = args[:base_processor_version] if args.key?(:base_processor_version)
|
10367
|
+
@custom_document_extraction_options = args[:custom_document_extraction_options] if args.key?(:custom_document_extraction_options)
|
10362
10368
|
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
10363
10369
|
@input_data = args[:input_data] if args.key?(:input_data)
|
10364
10370
|
@processor_version = args[:processor_version] if args.key?(:processor_version)
|
10365
10371
|
end
|
10366
10372
|
end
|
10367
10373
|
|
10374
|
+
# Options to control the training of the Custom Document Extraction (CDE)
|
10375
|
+
# Processor.
|
10376
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
|
10377
|
+
include Google::Apis::Core::Hashable
|
10378
|
+
|
10379
|
+
# Training method to use for CDE training.
|
10380
|
+
# Corresponds to the JSON property `trainingMethod`
|
10381
|
+
# @return [String]
|
10382
|
+
attr_accessor :training_method
|
10383
|
+
|
10384
|
+
def initialize(**args)
|
10385
|
+
update!(**args)
|
10386
|
+
end
|
10387
|
+
|
10388
|
+
# Update properties of this object
|
10389
|
+
def update!(**args)
|
10390
|
+
@training_method = args[:training_method] if args.key?(:training_method)
|
10391
|
+
end
|
10392
|
+
end
|
10393
|
+
|
10368
10394
|
# The input data used to train a new ProcessorVersion.
|
10369
10395
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
10370
10396
|
include Google::Apis::Core::Hashable
|
@@ -10700,7 +10726,7 @@ module Google
|
|
10700
10726
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
10701
10727
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
10702
10728
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
10703
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
10729
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
10704
10730
|
# information about the absolute color space that should be used to interpret
|
10705
10731
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
10706
10732
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -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.76.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230619"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1774,6 +1774,12 @@ module Google
|
|
1774
1774
|
include Google::Apis::Core::JsonObjectSupport
|
1775
1775
|
end
|
1776
1776
|
|
1777
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
|
1778
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1779
|
+
|
1780
|
+
include Google::Apis::Core::JsonObjectSupport
|
1781
|
+
end
|
1782
|
+
|
1777
1783
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
1778
1784
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1779
1785
|
|
@@ -4915,6 +4921,8 @@ module Google
|
|
4915
4921
|
# @private
|
4916
4922
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4917
4923
|
property :base_processor_version, as: 'baseProcessorVersion'
|
4924
|
+
property :custom_document_extraction_options, as: 'customDocumentExtractionOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions::Representation
|
4925
|
+
|
4918
4926
|
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
4919
4927
|
|
4920
4928
|
property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData::Representation
|
@@ -4924,6 +4932,13 @@ module Google
|
|
4924
4932
|
end
|
4925
4933
|
end
|
4926
4934
|
|
4935
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
|
4936
|
+
# @private
|
4937
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4938
|
+
property :training_method, as: 'trainingMethod'
|
4939
|
+
end
|
4940
|
+
end
|
4941
|
+
|
4927
4942
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
4928
4943
|
# @private
|
4929
4944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -680,7 +680,7 @@ module Google
|
|
680
680
|
execute_or_queue_command(command, &block)
|
681
681
|
end
|
682
682
|
|
683
|
-
# Gets the DatasetSchema of a Dataset
|
683
|
+
# Gets the `DatasetSchema` of a `Dataset`.
|
684
684
|
# @param [String] name
|
685
685
|
# Required. The dataset schema resource name. Format: projects/`project`/
|
686
686
|
# locations/`location`/processors/`processor`/dataset/datasetSchema
|
@@ -714,7 +714,7 @@ module Google
|
|
714
714
|
execute_or_queue_command(command, &block)
|
715
715
|
end
|
716
716
|
|
717
|
-
# Updates a DatasetSchema
|
717
|
+
# Updates a `DatasetSchema`.
|
718
718
|
# @param [String] name
|
719
719
|
# Dataset schema resource name. Format: `projects/`project`/locations/`location`/
|
720
720
|
# processors/`processor`/dataset/datasetSchema`
|
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.76.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: 2023-06-
|
11
|
+
date: 2023-06-25 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.76.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: []
|