google-apis-documentai_v1 0.65.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/documentai_v1/classes.rb +69 -68
- data/lib/google/apis/documentai_v1/gem_version.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: 4df5a3ef0f1ca3e58a9e7d258223632bb763a42c3ac760982d5429d8d6c8a939
|
|
4
|
+
data.tar.gz: 8a9a0e1ee4ac484294cc81e84c87ce328f96ea9399074d7007654e8da20287b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5be00f974fc7eec1cf57781823239788f7a6de59af402143124959c6b1519e055b6f21a115cda1061f57cacdc81274278c6fe44f9605f3e6d8948b15c81d9235
|
|
7
|
+
data.tar.gz: e934943f6b3522a09212c452cdc7e64392c28c2dab9876fc778e5e84bfeac51e786be925d2cee1e6598be4a04d2fb21c15a4e9750fd26598fbbb659713af42ae
|
data/CHANGELOG.md
CHANGED
|
@@ -1480,8 +1480,8 @@ module Google
|
|
|
1480
1480
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
|
|
1481
1481
|
attr_accessor :input_documents
|
|
1482
1482
|
|
|
1483
|
-
# Whether Human Review feature should be skipped for this request. Default to
|
|
1484
|
-
# false
|
|
1483
|
+
# Whether Human Review feature should be skipped for this request. Default to `
|
|
1484
|
+
# false`.
|
|
1485
1485
|
# Corresponds to the JSON property `skipHumanReview`
|
|
1486
1486
|
# @return [Boolean]
|
|
1487
1487
|
attr_accessor :skip_human_review
|
|
@@ -1745,9 +1745,8 @@ module Google
|
|
|
1745
1745
|
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
|
1746
1746
|
attr_accessor :error
|
|
1747
1747
|
|
|
1748
|
-
# An IANA published
|
|
1749
|
-
#
|
|
1750
|
-
# xhtml.
|
|
1748
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
|
1749
|
+
# media-types/media-types.xhtml).
|
|
1751
1750
|
# Corresponds to the JSON property `mimeType`
|
|
1752
1751
|
# @return [String]
|
|
1753
1752
|
attr_accessor :mime_type
|
|
@@ -2144,7 +2143,7 @@ module Google
|
|
|
2144
2143
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage]
|
|
2145
2144
|
attr_accessor :image
|
|
2146
2145
|
|
|
2147
|
-
# Image Quality Scores for the page image
|
|
2146
|
+
# Image Quality Scores for the page image.
|
|
2148
2147
|
# Corresponds to the JSON property `imageQualityScores`
|
|
2149
2148
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
|
|
2150
2149
|
attr_accessor :image_quality_scores
|
|
@@ -2365,8 +2364,8 @@ module Google
|
|
|
2365
2364
|
# @return [Float]
|
|
2366
2365
|
attr_accessor :confidence
|
|
2367
2366
|
|
|
2368
|
-
# The BCP-47 language code
|
|
2369
|
-
#
|
|
2367
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
|
2368
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
|
2370
2369
|
# Corresponds to the JSON property `languageCode`
|
|
2371
2370
|
# @return [String]
|
|
2372
2371
|
attr_accessor :language_code
|
|
@@ -2496,7 +2495,8 @@ module Google
|
|
|
2496
2495
|
# @return [Fixnum]
|
|
2497
2496
|
attr_accessor :height
|
|
2498
2497
|
|
|
2499
|
-
# Encoding
|
|
2498
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
|
2499
|
+
# media-types.xhtml) for the image.
|
|
2500
2500
|
# Corresponds to the JSON property `mimeType`
|
|
2501
2501
|
# @return [String]
|
|
2502
2502
|
attr_accessor :mime_type
|
|
@@ -2519,7 +2519,7 @@ module Google
|
|
|
2519
2519
|
end
|
|
2520
2520
|
end
|
|
2521
2521
|
|
|
2522
|
-
# Image Quality Scores for the page image
|
|
2522
|
+
# Image Quality Scores for the page image.
|
|
2523
2523
|
class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
|
|
2524
2524
|
include Google::Apis::Core::Hashable
|
|
2525
2525
|
|
|
@@ -2528,7 +2528,7 @@ module Google
|
|
|
2528
2528
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
|
|
2529
2529
|
attr_accessor :detected_defects
|
|
2530
2530
|
|
|
2531
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
|
2531
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
|
2532
2532
|
# Corresponds to the JSON property `qualityScore`
|
|
2533
2533
|
# @return [Float]
|
|
2534
2534
|
attr_accessor :quality_score
|
|
@@ -2548,7 +2548,7 @@ module Google
|
|
|
2548
2548
|
class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
|
|
2549
2549
|
include Google::Apis::Core::Hashable
|
|
2550
2550
|
|
|
2551
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
|
2551
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
|
2552
2552
|
# confidence of that the defect exists.
|
|
2553
2553
|
# Corresponds to the JSON property `confidence`
|
|
2554
2554
|
# @return [Float]
|
|
@@ -3356,14 +3356,14 @@ module Google
|
|
|
3356
3356
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues]
|
|
3357
3357
|
attr_accessor :enum_values
|
|
3358
3358
|
|
|
3359
|
-
# Name of the type. It must be unique within the schema file and cannot be a
|
|
3360
|
-
# Common Type
|
|
3361
|
-
#
|
|
3362
|
-
#
|
|
3363
|
-
#
|
|
3364
|
-
#
|
|
3365
|
-
#
|
|
3366
|
-
#
|
|
3359
|
+
# Name of the type. It must be unique within the schema file and cannot be a "
|
|
3360
|
+
# Common Type". The following naming conventions are used: - Use `snake_casing` -
|
|
3361
|
+
# Name matching is case-sensitive - Maximum 64 characters. - Must start with a
|
|
3362
|
+
# letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
|
3363
|
+
# compatibility internal infrastructure and tooling can handle any ascii
|
|
3364
|
+
# character) - The `/` is sometimes used to denote a property of a type. For
|
|
3365
|
+
# example `line_item/amount`. This convention is deprecated, but will still be
|
|
3366
|
+
# honored for backward compatibility.
|
|
3367
3367
|
# Corresponds to the JSON property `name`
|
|
3368
3368
|
# @return [String]
|
|
3369
3369
|
attr_accessor :name
|
|
@@ -3450,7 +3450,7 @@ module Google
|
|
|
3450
3450
|
attr_accessor :document_allow_multiple_labels
|
|
3451
3451
|
alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
|
|
3452
3452
|
|
|
3453
|
-
# If true, a `document` entity type can be applied to subdocument (
|
|
3453
|
+
# If true, a `document` entity type can be applied to subdocument (splitting).
|
|
3454
3454
|
# Otherwise, it can only be applied to the entire document (classification).
|
|
3455
3455
|
# Corresponds to the JSON property `documentSplitter`
|
|
3456
3456
|
# @return [Boolean]
|
|
@@ -3631,8 +3631,8 @@ module Google
|
|
|
3631
3631
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize]
|
|
3632
3632
|
attr_accessor :font_size
|
|
3633
3633
|
|
|
3634
|
-
# Font weight. Possible
|
|
3635
|
-
#
|
|
3634
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
|
3635
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
|
3636
3636
|
# Corresponds to the JSON property `fontWeight`
|
|
3637
3637
|
# @return [String]
|
|
3638
3638
|
attr_accessor :font_weight
|
|
@@ -3642,14 +3642,14 @@ module Google
|
|
|
3642
3642
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
|
|
3643
3643
|
attr_accessor :text_anchor
|
|
3644
3644
|
|
|
3645
|
-
# Text decoration
|
|
3646
|
-
#
|
|
3645
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
|
3646
|
+
# . Follows CSS standard.
|
|
3647
3647
|
# Corresponds to the JSON property `textDecoration`
|
|
3648
3648
|
# @return [String]
|
|
3649
3649
|
attr_accessor :text_decoration
|
|
3650
3650
|
|
|
3651
|
-
# Text style
|
|
3652
|
-
#
|
|
3651
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
|
3652
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
|
3653
3653
|
# Corresponds to the JSON property `textStyle`
|
|
3654
3654
|
# @return [String]
|
|
3655
3655
|
attr_accessor :text_style
|
|
@@ -3680,7 +3680,7 @@ module Google
|
|
|
3680
3680
|
# @return [Float]
|
|
3681
3681
|
attr_accessor :size
|
|
3682
3682
|
|
|
3683
|
-
# Unit for the font size. Follows CSS naming (in
|
|
3683
|
+
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
|
|
3684
3684
|
# Corresponds to the JSON property `unit`
|
|
3685
3685
|
# @return [String]
|
|
3686
3686
|
attr_accessor :unit
|
|
@@ -4513,8 +4513,8 @@ module Google
|
|
|
4513
4513
|
# @return [String]
|
|
4514
4514
|
attr_accessor :display_name
|
|
4515
4515
|
|
|
4516
|
-
# The KMS key used for
|
|
4517
|
-
#
|
|
4516
|
+
# The [KMS key](https://cloud.google.com/security-key-management) used for
|
|
4517
|
+
# encryption/decryption in CMEK scenarios.
|
|
4518
4518
|
# Corresponds to the JSON property `kmsKeyName`
|
|
4519
4519
|
# @return [String]
|
|
4520
4520
|
attr_accessor :kms_key_name
|
|
@@ -4622,7 +4622,8 @@ module Google
|
|
|
4622
4622
|
class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo
|
|
4623
4623
|
include Google::Apis::Core::Hashable
|
|
4624
4624
|
|
|
4625
|
-
# The location id,
|
|
4625
|
+
# The location id, refer to [regional and multi-regional support](/document-ai/
|
|
4626
|
+
# docs/regions) for supported locations.
|
|
4626
4627
|
# Corresponds to the JSON property `locationId`
|
|
4627
4628
|
# @return [String]
|
|
4628
4629
|
attr_accessor :location_id
|
|
@@ -4638,7 +4639,7 @@ module Google
|
|
|
4638
4639
|
end
|
|
4639
4640
|
|
|
4640
4641
|
# A processor version is an implementation of a processor. Each processor can
|
|
4641
|
-
# have multiple versions, pre-trained by Google internally or
|
|
4642
|
+
# have multiple versions, pre-trained by Google internally or uptrained by the
|
|
4642
4643
|
# customer. At a time, a processor can only have one default version version. So
|
|
4643
4644
|
# the processor's behavior (when processing documents) is defined by a default
|
|
4644
4645
|
# version
|
|
@@ -4665,7 +4666,7 @@ module Google
|
|
|
4665
4666
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
|
4666
4667
|
attr_accessor :document_schema
|
|
4667
4668
|
|
|
4668
|
-
# Denotes that this ProcessorVersion is managed by
|
|
4669
|
+
# Denotes that this `ProcessorVersion` is managed by Google.
|
|
4669
4670
|
# Corresponds to the JSON property `googleManaged`
|
|
4670
4671
|
# @return [Boolean]
|
|
4671
4672
|
attr_accessor :google_managed
|
|
@@ -5015,7 +5016,7 @@ module Google
|
|
|
5015
5016
|
attr_accessor :input_data
|
|
5016
5017
|
|
|
5017
5018
|
# A processor version is an implementation of a processor. Each processor can
|
|
5018
|
-
# have multiple versions, pre-trained by Google internally or
|
|
5019
|
+
# have multiple versions, pre-trained by Google internally or uptrained by the
|
|
5019
5020
|
# customer. At a time, a processor can only have one default version version. So
|
|
5020
5021
|
# the processor's behavior (when processing documents) is defined by a default
|
|
5021
5022
|
# version
|
|
@@ -5274,9 +5275,8 @@ module Google
|
|
|
5274
5275
|
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
|
5275
5276
|
attr_accessor :error
|
|
5276
5277
|
|
|
5277
|
-
# An IANA published
|
|
5278
|
-
#
|
|
5279
|
-
# xhtml.
|
|
5278
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
|
5279
|
+
# media-types/media-types.xhtml).
|
|
5280
5280
|
# Corresponds to the JSON property `mimeType`
|
|
5281
5281
|
# @return [String]
|
|
5282
5282
|
attr_accessor :mime_type
|
|
@@ -5595,7 +5595,7 @@ module Google
|
|
|
5595
5595
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
|
5596
5596
|
attr_accessor :image
|
|
5597
5597
|
|
|
5598
|
-
# Image Quality Scores for the page image
|
|
5598
|
+
# Image Quality Scores for the page image.
|
|
5599
5599
|
# Corresponds to the JSON property `imageQualityScores`
|
|
5600
5600
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
|
5601
5601
|
attr_accessor :image_quality_scores
|
|
@@ -5816,8 +5816,8 @@ module Google
|
|
|
5816
5816
|
# @return [Float]
|
|
5817
5817
|
attr_accessor :confidence
|
|
5818
5818
|
|
|
5819
|
-
# The BCP-47 language code
|
|
5820
|
-
#
|
|
5819
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
|
5820
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
|
5821
5821
|
# Corresponds to the JSON property `languageCode`
|
|
5822
5822
|
# @return [String]
|
|
5823
5823
|
attr_accessor :language_code
|
|
@@ -5947,7 +5947,8 @@ module Google
|
|
|
5947
5947
|
# @return [Fixnum]
|
|
5948
5948
|
attr_accessor :height
|
|
5949
5949
|
|
|
5950
|
-
# Encoding
|
|
5950
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
|
5951
|
+
# media-types.xhtml) for the image.
|
|
5951
5952
|
# Corresponds to the JSON property `mimeType`
|
|
5952
5953
|
# @return [String]
|
|
5953
5954
|
attr_accessor :mime_type
|
|
@@ -5970,7 +5971,7 @@ module Google
|
|
|
5970
5971
|
end
|
|
5971
5972
|
end
|
|
5972
5973
|
|
|
5973
|
-
# Image Quality Scores for the page image
|
|
5974
|
+
# Image Quality Scores for the page image.
|
|
5974
5975
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
|
5975
5976
|
include Google::Apis::Core::Hashable
|
|
5976
5977
|
|
|
@@ -5979,7 +5980,7 @@ module Google
|
|
|
5979
5980
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
|
|
5980
5981
|
attr_accessor :detected_defects
|
|
5981
5982
|
|
|
5982
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
|
5983
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
|
5983
5984
|
# Corresponds to the JSON property `qualityScore`
|
|
5984
5985
|
# @return [Float]
|
|
5985
5986
|
attr_accessor :quality_score
|
|
@@ -5999,7 +6000,7 @@ module Google
|
|
|
5999
6000
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
|
6000
6001
|
include Google::Apis::Core::Hashable
|
|
6001
6002
|
|
|
6002
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
|
6003
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
|
6003
6004
|
# confidence of that the defect exists.
|
|
6004
6005
|
# Corresponds to the JSON property `confidence`
|
|
6005
6006
|
# @return [Float]
|
|
@@ -6895,8 +6896,8 @@ module Google
|
|
|
6895
6896
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
|
|
6896
6897
|
attr_accessor :font_size
|
|
6897
6898
|
|
|
6898
|
-
# Font weight. Possible
|
|
6899
|
-
#
|
|
6899
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
|
6900
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
|
6900
6901
|
# Corresponds to the JSON property `fontWeight`
|
|
6901
6902
|
# @return [String]
|
|
6902
6903
|
attr_accessor :font_weight
|
|
@@ -6906,14 +6907,14 @@ module Google
|
|
|
6906
6907
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
|
6907
6908
|
attr_accessor :text_anchor
|
|
6908
6909
|
|
|
6909
|
-
# Text decoration
|
|
6910
|
-
#
|
|
6910
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
|
6911
|
+
# . Follows CSS standard.
|
|
6911
6912
|
# Corresponds to the JSON property `textDecoration`
|
|
6912
6913
|
# @return [String]
|
|
6913
6914
|
attr_accessor :text_decoration
|
|
6914
6915
|
|
|
6915
|
-
# Text style
|
|
6916
|
-
#
|
|
6916
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
|
6917
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
|
6917
6918
|
# Corresponds to the JSON property `textStyle`
|
|
6918
6919
|
# @return [String]
|
|
6919
6920
|
attr_accessor :text_style
|
|
@@ -6944,7 +6945,7 @@ module Google
|
|
|
6944
6945
|
# @return [Float]
|
|
6945
6946
|
attr_accessor :size
|
|
6946
6947
|
|
|
6947
|
-
# Unit for the font size. Follows CSS naming (in
|
|
6948
|
+
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
|
|
6948
6949
|
# Corresponds to the JSON property `unit`
|
|
6949
6950
|
# @return [String]
|
|
6950
6951
|
attr_accessor :unit
|
|
@@ -7385,9 +7386,8 @@ module Google
|
|
|
7385
7386
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentLabel>]
|
|
7386
7387
|
attr_accessor :labels
|
|
7387
7388
|
|
|
7388
|
-
# An IANA published
|
|
7389
|
-
#
|
|
7390
|
-
# xhtml.
|
|
7389
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
|
7390
|
+
# media-types/media-types.xhtml).
|
|
7391
7391
|
# Corresponds to the JSON property `mimeType`
|
|
7392
7392
|
# @return [String]
|
|
7393
7393
|
attr_accessor :mime_type
|
|
@@ -7744,7 +7744,7 @@ module Google
|
|
|
7744
7744
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
|
7745
7745
|
attr_accessor :image
|
|
7746
7746
|
|
|
7747
|
-
# Image Quality Scores for the page image
|
|
7747
|
+
# Image Quality Scores for the page image.
|
|
7748
7748
|
# Corresponds to the JSON property `imageQualityScores`
|
|
7749
7749
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
|
7750
7750
|
attr_accessor :image_quality_scores
|
|
@@ -7965,8 +7965,8 @@ module Google
|
|
|
7965
7965
|
# @return [Float]
|
|
7966
7966
|
attr_accessor :confidence
|
|
7967
7967
|
|
|
7968
|
-
# The BCP-47 language code
|
|
7969
|
-
#
|
|
7968
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
|
7969
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
|
7970
7970
|
# Corresponds to the JSON property `languageCode`
|
|
7971
7971
|
# @return [String]
|
|
7972
7972
|
attr_accessor :language_code
|
|
@@ -8096,7 +8096,8 @@ module Google
|
|
|
8096
8096
|
# @return [Fixnum]
|
|
8097
8097
|
attr_accessor :height
|
|
8098
8098
|
|
|
8099
|
-
# Encoding
|
|
8099
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
|
8100
|
+
# media-types.xhtml) for the image.
|
|
8100
8101
|
# Corresponds to the JSON property `mimeType`
|
|
8101
8102
|
# @return [String]
|
|
8102
8103
|
attr_accessor :mime_type
|
|
@@ -8119,7 +8120,7 @@ module Google
|
|
|
8119
8120
|
end
|
|
8120
8121
|
end
|
|
8121
8122
|
|
|
8122
|
-
# Image Quality Scores for the page image
|
|
8123
|
+
# Image Quality Scores for the page image.
|
|
8123
8124
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
|
8124
8125
|
include Google::Apis::Core::Hashable
|
|
8125
8126
|
|
|
@@ -8128,7 +8129,7 @@ module Google
|
|
|
8128
8129
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
|
|
8129
8130
|
attr_accessor :detected_defects
|
|
8130
8131
|
|
|
8131
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
|
8132
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
|
8132
8133
|
# Corresponds to the JSON property `qualityScore`
|
|
8133
8134
|
# @return [Float]
|
|
8134
8135
|
attr_accessor :quality_score
|
|
@@ -8148,7 +8149,7 @@ module Google
|
|
|
8148
8149
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
|
8149
8150
|
include Google::Apis::Core::Hashable
|
|
8150
8151
|
|
|
8151
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
|
8152
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
|
8152
8153
|
# confidence of that the defect exists.
|
|
8153
8154
|
# Corresponds to the JSON property `confidence`
|
|
8154
8155
|
# @return [Float]
|
|
@@ -9044,8 +9045,8 @@ module Google
|
|
|
9044
9045
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
|
|
9045
9046
|
attr_accessor :font_size
|
|
9046
9047
|
|
|
9047
|
-
# Font weight. Possible
|
|
9048
|
-
#
|
|
9048
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
|
9049
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
|
9049
9050
|
# Corresponds to the JSON property `fontWeight`
|
|
9050
9051
|
# @return [String]
|
|
9051
9052
|
attr_accessor :font_weight
|
|
@@ -9055,14 +9056,14 @@ module Google
|
|
|
9055
9056
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
|
9056
9057
|
attr_accessor :text_anchor
|
|
9057
9058
|
|
|
9058
|
-
# Text decoration
|
|
9059
|
-
#
|
|
9059
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
|
9060
|
+
# . Follows CSS standard.
|
|
9060
9061
|
# Corresponds to the JSON property `textDecoration`
|
|
9061
9062
|
# @return [String]
|
|
9062
9063
|
attr_accessor :text_decoration
|
|
9063
9064
|
|
|
9064
|
-
# Text style
|
|
9065
|
-
#
|
|
9065
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
|
9066
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
|
9066
9067
|
# Corresponds to the JSON property `textStyle`
|
|
9067
9068
|
# @return [String]
|
|
9068
9069
|
attr_accessor :text_style
|
|
@@ -9093,7 +9094,7 @@ module Google
|
|
|
9093
9094
|
# @return [Float]
|
|
9094
9095
|
attr_accessor :size
|
|
9095
9096
|
|
|
9096
|
-
# Unit for the font size. Follows CSS naming (in
|
|
9097
|
+
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
|
|
9097
9098
|
# Corresponds to the JSON property `unit`
|
|
9098
9099
|
# @return [String]
|
|
9099
9100
|
attr_accessor :unit
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DocumentaiV1
|
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.66.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 = "20230605"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-documentai_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.66.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-
|
|
11
|
+
date: 2023-06-11 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_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.66.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|