google-apis-documentai_v1beta3 0.75.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 +4 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +85 -61
- 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
@@ -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
|
@@ -2319,7 +2319,7 @@ module Google
|
|
2319
2319
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
2320
2320
|
attr_accessor :image
|
2321
2321
|
|
2322
|
-
# Image
|
2322
|
+
# Image quality scores for the page image.
|
2323
2323
|
# Corresponds to the JSON property `imageQualityScores`
|
2324
2324
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
2325
2325
|
attr_accessor :image_quality_scores
|
@@ -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
|
|
@@ -2725,7 +2725,7 @@ module Google
|
|
2725
2725
|
include Google::Apis::Core::Hashable
|
2726
2726
|
|
2727
2727
|
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
2728
|
-
# confidence
|
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
|
@@ -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`, `px`, `pt
|
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
|
@@ -4468,7 +4468,7 @@ module Google
|
|
4468
4468
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
4469
4469
|
attr_accessor :image
|
4470
4470
|
|
4471
|
-
# Image
|
4471
|
+
# Image quality scores for the page image.
|
4472
4472
|
# Corresponds to the JSON property `imageQualityScores`
|
4473
4473
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
4474
4474
|
attr_accessor :image_quality_scores
|
@@ -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
|
|
@@ -4874,7 +4874,7 @@ module Google
|
|
4874
4874
|
include Google::Apis::Core::Hashable
|
4875
4875
|
|
4876
4876
|
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
4877
|
-
# confidence
|
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
|
@@ -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`, `px`, `pt
|
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
|
@@ -6492,12 +6491,12 @@ module Google
|
|
6492
6491
|
class GoogleCloudDocumentaiV1beta3Dataset
|
6493
6492
|
include Google::Apis::Core::Hashable
|
6494
6493
|
|
6495
|
-
#
|
6494
|
+
# Configuration specific to the Document AI Warehouse-based implementation.
|
6496
6495
|
# Corresponds to the JSON property `documentWarehouseConfig`
|
6497
6496
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig]
|
6498
6497
|
attr_accessor :document_warehouse_config
|
6499
6498
|
|
6500
|
-
#
|
6499
|
+
# Configuration specific to the Cloud Storage-based implementation.
|
6501
6500
|
# Corresponds to the JSON property `gcsManagedConfig`
|
6502
6501
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig]
|
6503
6502
|
attr_accessor :gcs_managed_config
|
@@ -6508,17 +6507,17 @@ module Google
|
|
6508
6507
|
# @return [String]
|
6509
6508
|
attr_accessor :name
|
6510
6509
|
|
6511
|
-
#
|
6510
|
+
# Configuration specific to spanner-based indexing.
|
6512
6511
|
# Corresponds to the JSON property `spannerIndexingConfig`
|
6513
6512
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
|
6514
6513
|
attr_accessor :spanner_indexing_config
|
6515
6514
|
|
6516
|
-
# Required. State of the dataset.
|
6515
|
+
# Required. State of the dataset. Ignored when updating dataset.
|
6517
6516
|
# Corresponds to the JSON property `state`
|
6518
6517
|
# @return [String]
|
6519
6518
|
attr_accessor :state
|
6520
6519
|
|
6521
|
-
#
|
6520
|
+
# Configuration specific to an unmanaged dataset.
|
6522
6521
|
# Corresponds to the JSON property `unmanagedDatasetConfig`
|
6523
6522
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig]
|
6524
6523
|
attr_accessor :unmanaged_dataset_config
|
@@ -6538,16 +6537,17 @@ module Google
|
|
6538
6537
|
end
|
6539
6538
|
end
|
6540
6539
|
|
6541
|
-
#
|
6540
|
+
# Configuration specific to the Document AI Warehouse-based implementation.
|
6542
6541
|
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
6543
6542
|
include Google::Apis::Core::Hashable
|
6544
6543
|
|
6545
|
-
# Output only. The collection in Document Warehouse associated with the
|
6544
|
+
# Output only. The collection in Document AI Warehouse associated with the
|
6545
|
+
# dataset.
|
6546
6546
|
# Corresponds to the JSON property `collection`
|
6547
6547
|
# @return [String]
|
6548
6548
|
attr_accessor :collection
|
6549
6549
|
|
6550
|
-
# Output only. The schema in Document Warehouse associated with the dataset.
|
6550
|
+
# Output only. The schema in Document AI Warehouse associated with the dataset.
|
6551
6551
|
# Corresponds to the JSON property `schema`
|
6552
6552
|
# @return [String]
|
6553
6553
|
attr_accessor :schema
|
@@ -6563,7 +6563,7 @@ module Google
|
|
6563
6563
|
end
|
6564
6564
|
end
|
6565
6565
|
|
6566
|
-
#
|
6566
|
+
# Configuration specific to the Cloud Storage-based implementation.
|
6567
6567
|
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
6568
6568
|
include Google::Apis::Core::Hashable
|
6569
6569
|
|
@@ -6608,7 +6608,7 @@ module Google
|
|
6608
6608
|
end
|
6609
6609
|
end
|
6610
6610
|
|
6611
|
-
#
|
6611
|
+
# Configuration specific to spanner-based indexing.
|
6612
6612
|
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
6613
6613
|
include Google::Apis::Core::Hashable
|
6614
6614
|
|
@@ -6621,7 +6621,7 @@ module Google
|
|
6621
6621
|
end
|
6622
6622
|
end
|
6623
6623
|
|
6624
|
-
#
|
6624
|
+
# Configuration specific to an unmanaged dataset.
|
6625
6625
|
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
6626
6626
|
include Google::Apis::Core::Hashable
|
6627
6627
|
|
@@ -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
|
@@ -7573,7 +7573,7 @@ module Google
|
|
7573
7573
|
end
|
7574
7574
|
end
|
7575
7575
|
|
7576
|
-
# Image
|
7576
|
+
# Image quality scores for the page image.
|
7577
7577
|
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
7578
7578
|
include Google::Apis::Core::Hashable
|
7579
7579
|
|
@@ -7603,7 +7603,7 @@ module Google
|
|
7603
7603
|
include Google::Apis::Core::Hashable
|
7604
7604
|
|
7605
7605
|
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
7606
|
-
# confidence
|
7606
|
+
# confidence that the defect exists.
|
7607
7607
|
# Corresponds to the JSON property `confidence`
|
7608
7608
|
# @return [Float]
|
7609
7609
|
attr_accessor :confidence
|
@@ -7971,7 +7971,7 @@ module Google
|
|
7971
7971
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
7972
7972
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
7973
7973
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
7974
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
7974
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
7975
7975
|
# information about the absolute color space that should be used to interpret
|
7976
7976
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
7977
7977
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8088,7 +8088,7 @@ module Google
|
|
8088
8088
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8089
8089
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8090
8090
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8091
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8091
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8092
8092
|
# information about the absolute color space that should be used to interpret
|
8093
8093
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8094
8094
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8416,11 +8416,11 @@ module Google
|
|
8416
8416
|
attr_accessor :enum_values
|
8417
8417
|
|
8418
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
|
-
# letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
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
8422
|
# compatibility internal infrastructure and tooling can handle any ascii
|
8423
|
-
# character) - The `/` is sometimes used to denote a property of a type. For
|
8423
|
+
# character.) - The `/` is sometimes used to denote a property of a type. For
|
8424
8424
|
# example `line_item/amount`. This convention is deprecated, but will still be
|
8425
8425
|
# honored for backward compatibility.
|
8426
8426
|
# Corresponds to the JSON property `name`
|
@@ -8594,7 +8594,7 @@ module Google
|
|
8594
8594
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8595
8595
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8596
8596
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8597
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8597
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8598
8598
|
# information about the absolute color space that should be used to interpret
|
8599
8599
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8600
8600
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8643,7 +8643,7 @@ module Google
|
|
8643
8643
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8644
8644
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8645
8645
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8646
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8646
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8647
8647
|
# information about the absolute color space that should be used to interpret
|
8648
8648
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8649
8649
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8746,7 +8746,7 @@ module Google
|
|
8746
8746
|
# @return [Float]
|
8747
8747
|
attr_accessor :size
|
8748
8748
|
|
8749
|
-
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt
|
8749
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
8750
8750
|
# Corresponds to the JSON property `unit`
|
8751
8751
|
# @return [String]
|
8752
8752
|
attr_accessor :unit
|
@@ -8896,7 +8896,7 @@ module Google
|
|
8896
8896
|
class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
|
8897
8897
|
include Google::Apis::Core::Hashable
|
8898
8898
|
|
8899
|
-
# Whether the entity type should be considered
|
8899
|
+
# Whether the entity type should be considered inactive.
|
8900
8900
|
# Corresponds to the JSON property `inactive`
|
8901
8901
|
# @return [Boolean]
|
8902
8902
|
attr_accessor :inactive
|
@@ -9711,8 +9711,7 @@ module Google
|
|
9711
9711
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument]
|
9712
9712
|
attr_accessor :raw_document
|
9713
9713
|
|
9714
|
-
# Whether
|
9715
|
-
# false.
|
9714
|
+
# Whether human review should be skipped for this request. Default to `false`.
|
9716
9715
|
# Corresponds to the JSON property `skipHumanReview`
|
9717
9716
|
# @return [Boolean]
|
9718
9717
|
attr_accessor :skip_human_review
|
@@ -9790,7 +9789,7 @@ module Google
|
|
9790
9789
|
attr_accessor :display_name
|
9791
9790
|
|
9792
9791
|
# The [KMS key](https://cloud.google.com/security-key-management) used for
|
9793
|
-
# encryption
|
9792
|
+
# encryption and decryption in CMEK scenarios.
|
9794
9793
|
# Corresponds to the JSON property `kmsKeyName`
|
9795
9794
|
# @return [String]
|
9796
9795
|
attr_accessor :kms_key_name
|
@@ -9898,8 +9897,8 @@ module Google
|
|
9898
9897
|
class GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo
|
9899
9898
|
include Google::Apis::Core::Hashable
|
9900
9899
|
|
9901
|
-
# The location
|
9902
|
-
# docs/regions)
|
9900
|
+
# The location ID. For supported locations, refer to [regional and multi-
|
9901
|
+
# regional support](/document-ai/docs/regions).
|
9903
9902
|
# Corresponds to the JSON property `locationId`
|
9904
9903
|
# @return [String]
|
9905
9904
|
attr_accessor :location_id
|
@@ -9915,10 +9914,9 @@ module Google
|
|
9915
9914
|
end
|
9916
9915
|
|
9917
9916
|
# A processor version is an implementation of a processor. Each processor can
|
9918
|
-
# have multiple versions,
|
9919
|
-
# customer.
|
9920
|
-
#
|
9921
|
-
# 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.
|
9922
9920
|
class GoogleCloudDocumentaiV1beta3ProcessorVersion
|
9923
9921
|
include Google::Apis::Core::Hashable
|
9924
9922
|
|
@@ -10335,6 +10333,12 @@ module Google
|
|
10335
10333
|
# @return [String]
|
10336
10334
|
attr_accessor :base_processor_version
|
10337
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
|
+
|
10338
10342
|
# The schema defines the output of the processed document by a processor.
|
10339
10343
|
# Corresponds to the JSON property `documentSchema`
|
10340
10344
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
|
@@ -10346,10 +10350,9 @@ module Google
|
|
10346
10350
|
attr_accessor :input_data
|
10347
10351
|
|
10348
10352
|
# A processor version is an implementation of a processor. Each processor can
|
10349
|
-
# have multiple versions,
|
10350
|
-
# customer.
|
10351
|
-
#
|
10352
|
-
# 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.
|
10353
10356
|
# Corresponds to the JSON property `processorVersion`
|
10354
10357
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion]
|
10355
10358
|
attr_accessor :processor_version
|
@@ -10361,12 +10364,33 @@ module Google
|
|
10361
10364
|
# Update properties of this object
|
10362
10365
|
def update!(**args)
|
10363
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)
|
10364
10368
|
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
10365
10369
|
@input_data = args[:input_data] if args.key?(:input_data)
|
10366
10370
|
@processor_version = args[:processor_version] if args.key?(:processor_version)
|
10367
10371
|
end
|
10368
10372
|
end
|
10369
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
|
+
|
10370
10394
|
# The input data used to train a new ProcessorVersion.
|
10371
10395
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
10372
10396
|
include Google::Apis::Core::Hashable
|
@@ -10702,7 +10726,7 @@ module Google
|
|
10702
10726
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
10703
10727
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
10704
10728
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
10705
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
10729
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
10706
10730
|
# information about the absolute color space that should be used to interpret
|
10707
10731
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
10708
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: []
|