google-apis-documentai_v1 0.65.0 → 0.67.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_v1/classes.rb +94 -97
- 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: 5455449f01f9d866dd32137255115cf4489a9751cb6c8863992d5f3c525d2926
|
4
|
+
data.tar.gz: a53f5675060d8801b6b7a2ea33d9752883a1b50a50ac710d9929190e31f6f3f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be9277dcb23cdcd52cee80ef63436dd3b6e59e7040ede830661db4b7783105f2c177c37cc845c614660f1a5311cde137042db84867d935de4009fbb21ffb0992
|
7
|
+
data.tar.gz: c0b4b049fa3d3684630f15485d56d050c5eaf74beeda82c10ed046263c5360607f9e75edfa1034707adc3287c9f9f38b956cd63f2d5230b57d3d110f3c3767c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.67.0 (2023-06-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230609
|
6
|
+
|
7
|
+
### v0.66.0 (2023-06-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230605
|
10
|
+
|
3
11
|
### v0.65.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230519
|
@@ -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::DocumentaiV1::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
|
@@ -1480,8 +1480,7 @@ module Google
|
|
1480
1480
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
|
1481
1481
|
attr_accessor :input_documents
|
1482
1482
|
|
1483
|
-
# Whether
|
1484
|
-
# false.
|
1483
|
+
# Whether human review should be skipped for this request. Default to `false`.
|
1485
1484
|
# Corresponds to the JSON property `skipHumanReview`
|
1486
1485
|
# @return [Boolean]
|
1487
1486
|
attr_accessor :skip_human_review
|
@@ -1745,9 +1744,8 @@ module Google
|
|
1745
1744
|
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
1746
1745
|
attr_accessor :error
|
1747
1746
|
|
1748
|
-
# An IANA published
|
1749
|
-
#
|
1750
|
-
# xhtml.
|
1747
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
1748
|
+
# media-types/media-types.xhtml).
|
1751
1749
|
# Corresponds to the JSON property `mimeType`
|
1752
1750
|
# @return [String]
|
1753
1751
|
attr_accessor :mime_type
|
@@ -2144,7 +2142,7 @@ module Google
|
|
2144
2142
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage]
|
2145
2143
|
attr_accessor :image
|
2146
2144
|
|
2147
|
-
# Image
|
2145
|
+
# Image quality scores for the page image.
|
2148
2146
|
# Corresponds to the JSON property `imageQualityScores`
|
2149
2147
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
|
2150
2148
|
attr_accessor :image_quality_scores
|
@@ -2365,8 +2363,8 @@ module Google
|
|
2365
2363
|
# @return [Float]
|
2366
2364
|
attr_accessor :confidence
|
2367
2365
|
|
2368
|
-
# The BCP-47 language code
|
2369
|
-
#
|
2366
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
2367
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
2370
2368
|
# Corresponds to the JSON property `languageCode`
|
2371
2369
|
# @return [String]
|
2372
2370
|
attr_accessor :language_code
|
@@ -2496,7 +2494,8 @@ module Google
|
|
2496
2494
|
# @return [Fixnum]
|
2497
2495
|
attr_accessor :height
|
2498
2496
|
|
2499
|
-
# Encoding
|
2497
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
2498
|
+
# media-types.xhtml) for the image.
|
2500
2499
|
# Corresponds to the JSON property `mimeType`
|
2501
2500
|
# @return [String]
|
2502
2501
|
attr_accessor :mime_type
|
@@ -2519,7 +2518,7 @@ module Google
|
|
2519
2518
|
end
|
2520
2519
|
end
|
2521
2520
|
|
2522
|
-
# Image
|
2521
|
+
# Image quality scores for the page image.
|
2523
2522
|
class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
|
2524
2523
|
include Google::Apis::Core::Hashable
|
2525
2524
|
|
@@ -2528,7 +2527,7 @@ module Google
|
|
2528
2527
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
|
2529
2528
|
attr_accessor :detected_defects
|
2530
2529
|
|
2531
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
2530
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
2532
2531
|
# Corresponds to the JSON property `qualityScore`
|
2533
2532
|
# @return [Float]
|
2534
2533
|
attr_accessor :quality_score
|
@@ -2548,8 +2547,8 @@ module Google
|
|
2548
2547
|
class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
|
2549
2548
|
include Google::Apis::Core::Hashable
|
2550
2549
|
|
2551
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
2552
|
-
# confidence
|
2550
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
2551
|
+
# confidence that the defect exists.
|
2553
2552
|
# Corresponds to the JSON property `confidence`
|
2554
2553
|
# @return [Float]
|
2555
2554
|
attr_accessor :confidence
|
@@ -2917,7 +2916,7 @@ module Google
|
|
2917
2916
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
2918
2917
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
2919
2918
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
2920
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
2919
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
2921
2920
|
# information about the absolute color space that should be used to interpret
|
2922
2921
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
2923
2922
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3034,7 +3033,7 @@ module Google
|
|
3034
3033
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3035
3034
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3036
3035
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3037
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3036
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3038
3037
|
# information about the absolute color space that should be used to interpret
|
3039
3038
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3040
3039
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3356,14 +3355,14 @@ module Google
|
|
3356
3355
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues]
|
3357
3356
|
attr_accessor :enum_values
|
3358
3357
|
|
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
|
-
#
|
3358
|
+
# Name of the type. It must be unique within the schema file and cannot be a "
|
3359
|
+
# Common Type". The following naming conventions are used: - Use `snake_casing`.
|
3360
|
+
# - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
|
3361
|
+
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
3362
|
+
# compatibility internal infrastructure and tooling can handle any ascii
|
3363
|
+
# character.) - The `/` is sometimes used to denote a property of a type. For
|
3364
|
+
# example `line_item/amount`. This convention is deprecated, but will still be
|
3365
|
+
# honored for backward compatibility.
|
3367
3366
|
# Corresponds to the JSON property `name`
|
3368
3367
|
# @return [String]
|
3369
3368
|
attr_accessor :name
|
@@ -3450,7 +3449,7 @@ module Google
|
|
3450
3449
|
attr_accessor :document_allow_multiple_labels
|
3451
3450
|
alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
|
3452
3451
|
|
3453
|
-
# If true, a `document` entity type can be applied to subdocument (
|
3452
|
+
# If true, a `document` entity type can be applied to subdocument (splitting).
|
3454
3453
|
# Otherwise, it can only be applied to the entire document (classification).
|
3455
3454
|
# Corresponds to the JSON property `documentSplitter`
|
3456
3455
|
# @return [Boolean]
|
@@ -3528,7 +3527,7 @@ module Google
|
|
3528
3527
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3529
3528
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3530
3529
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3531
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3530
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3532
3531
|
# information about the absolute color space that should be used to interpret
|
3533
3532
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3534
3533
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3577,7 +3576,7 @@ module Google
|
|
3577
3576
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3578
3577
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3579
3578
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3580
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3579
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
3581
3580
|
# information about the absolute color space that should be used to interpret
|
3582
3581
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3583
3582
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -3631,8 +3630,8 @@ module Google
|
|
3631
3630
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize]
|
3632
3631
|
attr_accessor :font_size
|
3633
3632
|
|
3634
|
-
# Font weight. Possible
|
3635
|
-
#
|
3633
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
3634
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
3636
3635
|
# Corresponds to the JSON property `fontWeight`
|
3637
3636
|
# @return [String]
|
3638
3637
|
attr_accessor :font_weight
|
@@ -3642,14 +3641,14 @@ module Google
|
|
3642
3641
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
|
3643
3642
|
attr_accessor :text_anchor
|
3644
3643
|
|
3645
|
-
# Text decoration
|
3646
|
-
#
|
3644
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
3645
|
+
# . Follows CSS standard.
|
3647
3646
|
# Corresponds to the JSON property `textDecoration`
|
3648
3647
|
# @return [String]
|
3649
3648
|
attr_accessor :text_decoration
|
3650
3649
|
|
3651
|
-
# Text style
|
3652
|
-
#
|
3650
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
3651
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
3653
3652
|
# Corresponds to the JSON property `textStyle`
|
3654
3653
|
# @return [String]
|
3655
3654
|
attr_accessor :text_style
|
@@ -3680,7 +3679,7 @@ module Google
|
|
3680
3679
|
# @return [Float]
|
3681
3680
|
attr_accessor :size
|
3682
3681
|
|
3683
|
-
# Unit for the font size. Follows CSS naming (in
|
3682
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
3684
3683
|
# Corresponds to the JSON property `unit`
|
3685
3684
|
# @return [String]
|
3686
3685
|
attr_accessor :unit
|
@@ -4445,8 +4444,7 @@ module Google
|
|
4445
4444
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument]
|
4446
4445
|
attr_accessor :raw_document
|
4447
4446
|
|
4448
|
-
# Whether
|
4449
|
-
# false.
|
4447
|
+
# Whether human review should be skipped for this request. Default to `false`.
|
4450
4448
|
# Corresponds to the JSON property `skipHumanReview`
|
4451
4449
|
# @return [Boolean]
|
4452
4450
|
attr_accessor :skip_human_review
|
@@ -4513,8 +4511,8 @@ module Google
|
|
4513
4511
|
# @return [String]
|
4514
4512
|
attr_accessor :display_name
|
4515
4513
|
|
4516
|
-
# The KMS key used for
|
4517
|
-
#
|
4514
|
+
# The [KMS key](https://cloud.google.com/security-key-management) used for
|
4515
|
+
# encryption and decryption in CMEK scenarios.
|
4518
4516
|
# Corresponds to the JSON property `kmsKeyName`
|
4519
4517
|
# @return [String]
|
4520
4518
|
attr_accessor :kms_key_name
|
@@ -4622,7 +4620,8 @@ module Google
|
|
4622
4620
|
class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo
|
4623
4621
|
include Google::Apis::Core::Hashable
|
4624
4622
|
|
4625
|
-
# The location
|
4623
|
+
# The location ID. For supported locations, refer to [regional and multi-
|
4624
|
+
# regional support](/document-ai/docs/regions).
|
4626
4625
|
# Corresponds to the JSON property `locationId`
|
4627
4626
|
# @return [String]
|
4628
4627
|
attr_accessor :location_id
|
@@ -4638,10 +4637,9 @@ module Google
|
|
4638
4637
|
end
|
4639
4638
|
|
4640
4639
|
# A processor version is an implementation of a processor. Each processor can
|
4641
|
-
# have multiple versions,
|
4642
|
-
# customer.
|
4643
|
-
#
|
4644
|
-
# version
|
4640
|
+
# have multiple versions, pretrained by Google internally or uptrained by the
|
4641
|
+
# customer. A processor can only have one default version at a time. Its
|
4642
|
+
# document-processing behavior is defined by that version.
|
4645
4643
|
class GoogleCloudDocumentaiV1ProcessorVersion
|
4646
4644
|
include Google::Apis::Core::Hashable
|
4647
4645
|
|
@@ -4665,7 +4663,7 @@ module Google
|
|
4665
4663
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
4666
4664
|
attr_accessor :document_schema
|
4667
4665
|
|
4668
|
-
# Denotes that this ProcessorVersion is managed by
|
4666
|
+
# Denotes that this `ProcessorVersion` is managed by Google.
|
4669
4667
|
# Corresponds to the JSON property `googleManaged`
|
4670
4668
|
# @return [Boolean]
|
4671
4669
|
attr_accessor :google_managed
|
@@ -5015,10 +5013,9 @@ module Google
|
|
5015
5013
|
attr_accessor :input_data
|
5016
5014
|
|
5017
5015
|
# A processor version is an implementation of a processor. Each processor can
|
5018
|
-
# have multiple versions,
|
5019
|
-
# customer.
|
5020
|
-
#
|
5021
|
-
# version
|
5016
|
+
# have multiple versions, pretrained by Google internally or uptrained by the
|
5017
|
+
# customer. A processor can only have one default version at a time. Its
|
5018
|
+
# document-processing behavior is defined by that version.
|
5022
5019
|
# Corresponds to the JSON property `processorVersion`
|
5023
5020
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersion]
|
5024
5021
|
attr_accessor :processor_version
|
@@ -5274,9 +5271,8 @@ module Google
|
|
5274
5271
|
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
5275
5272
|
attr_accessor :error
|
5276
5273
|
|
5277
|
-
# An IANA published
|
5278
|
-
#
|
5279
|
-
# xhtml.
|
5274
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
5275
|
+
# media-types/media-types.xhtml).
|
5280
5276
|
# Corresponds to the JSON property `mimeType`
|
5281
5277
|
# @return [String]
|
5282
5278
|
attr_accessor :mime_type
|
@@ -5595,7 +5591,7 @@ module Google
|
|
5595
5591
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
5596
5592
|
attr_accessor :image
|
5597
5593
|
|
5598
|
-
# Image
|
5594
|
+
# Image quality scores for the page image.
|
5599
5595
|
# Corresponds to the JSON property `imageQualityScores`
|
5600
5596
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
5601
5597
|
attr_accessor :image_quality_scores
|
@@ -5816,8 +5812,8 @@ module Google
|
|
5816
5812
|
# @return [Float]
|
5817
5813
|
attr_accessor :confidence
|
5818
5814
|
|
5819
|
-
# The BCP-47 language code
|
5820
|
-
#
|
5815
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
5816
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
5821
5817
|
# Corresponds to the JSON property `languageCode`
|
5822
5818
|
# @return [String]
|
5823
5819
|
attr_accessor :language_code
|
@@ -5947,7 +5943,8 @@ module Google
|
|
5947
5943
|
# @return [Fixnum]
|
5948
5944
|
attr_accessor :height
|
5949
5945
|
|
5950
|
-
# Encoding
|
5946
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
5947
|
+
# media-types.xhtml) for the image.
|
5951
5948
|
# Corresponds to the JSON property `mimeType`
|
5952
5949
|
# @return [String]
|
5953
5950
|
attr_accessor :mime_type
|
@@ -5970,7 +5967,7 @@ module Google
|
|
5970
5967
|
end
|
5971
5968
|
end
|
5972
5969
|
|
5973
|
-
# Image
|
5970
|
+
# Image quality scores for the page image.
|
5974
5971
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
5975
5972
|
include Google::Apis::Core::Hashable
|
5976
5973
|
|
@@ -5979,7 +5976,7 @@ module Google
|
|
5979
5976
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
|
5980
5977
|
attr_accessor :detected_defects
|
5981
5978
|
|
5982
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
5979
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
5983
5980
|
# Corresponds to the JSON property `qualityScore`
|
5984
5981
|
# @return [Float]
|
5985
5982
|
attr_accessor :quality_score
|
@@ -5999,8 +5996,8 @@ module Google
|
|
5999
5996
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
6000
5997
|
include Google::Apis::Core::Hashable
|
6001
5998
|
|
6002
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
6003
|
-
# confidence
|
5999
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
6000
|
+
# confidence that the defect exists.
|
6004
6001
|
# Corresponds to the JSON property `confidence`
|
6005
6002
|
# @return [Float]
|
6006
6003
|
attr_accessor :confidence
|
@@ -6368,7 +6365,7 @@ module Google
|
|
6368
6365
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6369
6366
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6370
6367
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6371
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6368
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
6372
6369
|
# information about the absolute color space that should be used to interpret
|
6373
6370
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6374
6371
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -6485,7 +6482,7 @@ module Google
|
|
6485
6482
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6486
6483
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6487
6484
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6488
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6485
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
6489
6486
|
# information about the absolute color space that should be used to interpret
|
6490
6487
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6491
6488
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -6792,7 +6789,7 @@ module Google
|
|
6792
6789
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6793
6790
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6794
6791
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6795
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6792
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
6796
6793
|
# information about the absolute color space that should be used to interpret
|
6797
6794
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6798
6795
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -6841,7 +6838,7 @@ module Google
|
|
6841
6838
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6842
6839
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6843
6840
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6844
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6841
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
6845
6842
|
# information about the absolute color space that should be used to interpret
|
6846
6843
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6847
6844
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -6895,8 +6892,8 @@ module Google
|
|
6895
6892
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
|
6896
6893
|
attr_accessor :font_size
|
6897
6894
|
|
6898
|
-
# Font weight. Possible
|
6899
|
-
#
|
6895
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
6896
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
6900
6897
|
# Corresponds to the JSON property `fontWeight`
|
6901
6898
|
# @return [String]
|
6902
6899
|
attr_accessor :font_weight
|
@@ -6906,14 +6903,14 @@ module Google
|
|
6906
6903
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
6907
6904
|
attr_accessor :text_anchor
|
6908
6905
|
|
6909
|
-
# Text decoration
|
6910
|
-
#
|
6906
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
6907
|
+
# . Follows CSS standard.
|
6911
6908
|
# Corresponds to the JSON property `textDecoration`
|
6912
6909
|
# @return [String]
|
6913
6910
|
attr_accessor :text_decoration
|
6914
6911
|
|
6915
|
-
# Text style
|
6916
|
-
#
|
6912
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
6913
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
6917
6914
|
# Corresponds to the JSON property `textStyle`
|
6918
6915
|
# @return [String]
|
6919
6916
|
attr_accessor :text_style
|
@@ -6944,7 +6941,7 @@ module Google
|
|
6944
6941
|
# @return [Float]
|
6945
6942
|
attr_accessor :size
|
6946
6943
|
|
6947
|
-
# Unit for the font size. Follows CSS naming (in
|
6944
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
6948
6945
|
# Corresponds to the JSON property `unit`
|
6949
6946
|
# @return [String]
|
6950
6947
|
attr_accessor :unit
|
@@ -7385,9 +7382,8 @@ module Google
|
|
7385
7382
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentLabel>]
|
7386
7383
|
attr_accessor :labels
|
7387
7384
|
|
7388
|
-
# An IANA published
|
7389
|
-
#
|
7390
|
-
# xhtml.
|
7385
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
7386
|
+
# media-types/media-types.xhtml).
|
7391
7387
|
# Corresponds to the JSON property `mimeType`
|
7392
7388
|
# @return [String]
|
7393
7389
|
attr_accessor :mime_type
|
@@ -7744,7 +7740,7 @@ module Google
|
|
7744
7740
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
7745
7741
|
attr_accessor :image
|
7746
7742
|
|
7747
|
-
# Image
|
7743
|
+
# Image quality scores for the page image.
|
7748
7744
|
# Corresponds to the JSON property `imageQualityScores`
|
7749
7745
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
7750
7746
|
attr_accessor :image_quality_scores
|
@@ -7965,8 +7961,8 @@ module Google
|
|
7965
7961
|
# @return [Float]
|
7966
7962
|
attr_accessor :confidence
|
7967
7963
|
|
7968
|
-
# The BCP-47 language code
|
7969
|
-
#
|
7964
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
7965
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
7970
7966
|
# Corresponds to the JSON property `languageCode`
|
7971
7967
|
# @return [String]
|
7972
7968
|
attr_accessor :language_code
|
@@ -8096,7 +8092,8 @@ module Google
|
|
8096
8092
|
# @return [Fixnum]
|
8097
8093
|
attr_accessor :height
|
8098
8094
|
|
8099
|
-
# Encoding
|
8095
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
8096
|
+
# media-types.xhtml) for the image.
|
8100
8097
|
# Corresponds to the JSON property `mimeType`
|
8101
8098
|
# @return [String]
|
8102
8099
|
attr_accessor :mime_type
|
@@ -8119,7 +8116,7 @@ module Google
|
|
8119
8116
|
end
|
8120
8117
|
end
|
8121
8118
|
|
8122
|
-
# Image
|
8119
|
+
# Image quality scores for the page image.
|
8123
8120
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
8124
8121
|
include Google::Apis::Core::Hashable
|
8125
8122
|
|
@@ -8128,7 +8125,7 @@ module Google
|
|
8128
8125
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
|
8129
8126
|
attr_accessor :detected_defects
|
8130
8127
|
|
8131
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
8128
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
8132
8129
|
# Corresponds to the JSON property `qualityScore`
|
8133
8130
|
# @return [Float]
|
8134
8131
|
attr_accessor :quality_score
|
@@ -8148,8 +8145,8 @@ module Google
|
|
8148
8145
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
8149
8146
|
include Google::Apis::Core::Hashable
|
8150
8147
|
|
8151
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
8152
|
-
# confidence
|
8148
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
8149
|
+
# confidence that the defect exists.
|
8153
8150
|
# Corresponds to the JSON property `confidence`
|
8154
8151
|
# @return [Float]
|
8155
8152
|
attr_accessor :confidence
|
@@ -8517,7 +8514,7 @@ module Google
|
|
8517
8514
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8518
8515
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8519
8516
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8520
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8517
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8521
8518
|
# information about the absolute color space that should be used to interpret
|
8522
8519
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8523
8520
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8634,7 +8631,7 @@ module Google
|
|
8634
8631
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8635
8632
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8636
8633
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8637
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8634
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8638
8635
|
# information about the absolute color space that should be used to interpret
|
8639
8636
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8640
8637
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8941,7 +8938,7 @@ module Google
|
|
8941
8938
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8942
8939
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8943
8940
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8944
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8941
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8945
8942
|
# information about the absolute color space that should be used to interpret
|
8946
8943
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8947
8944
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -8990,7 +8987,7 @@ module Google
|
|
8990
8987
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8991
8988
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8992
8989
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8993
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8990
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
8994
8991
|
# information about the absolute color space that should be used to interpret
|
8995
8992
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8996
8993
|
# applications should assume the sRGB color space. When color equality needs to
|
@@ -9044,8 +9041,8 @@ module Google
|
|
9044
9041
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
|
9045
9042
|
attr_accessor :font_size
|
9046
9043
|
|
9047
|
-
# Font weight. Possible
|
9048
|
-
#
|
9044
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
9045
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
9049
9046
|
# Corresponds to the JSON property `fontWeight`
|
9050
9047
|
# @return [String]
|
9051
9048
|
attr_accessor :font_weight
|
@@ -9055,14 +9052,14 @@ module Google
|
|
9055
9052
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
9056
9053
|
attr_accessor :text_anchor
|
9057
9054
|
|
9058
|
-
# Text decoration
|
9059
|
-
#
|
9055
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
9056
|
+
# . Follows CSS standard.
|
9060
9057
|
# Corresponds to the JSON property `textDecoration`
|
9061
9058
|
# @return [String]
|
9062
9059
|
attr_accessor :text_decoration
|
9063
9060
|
|
9064
|
-
# Text style
|
9065
|
-
#
|
9061
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
9062
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
9066
9063
|
# Corresponds to the JSON property `textStyle`
|
9067
9064
|
# @return [String]
|
9068
9065
|
attr_accessor :text_style
|
@@ -9093,7 +9090,7 @@ module Google
|
|
9093
9090
|
# @return [Float]
|
9094
9091
|
attr_accessor :size
|
9095
9092
|
|
9096
|
-
# Unit for the font size. Follows CSS naming (in
|
9093
|
+
# Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
|
9097
9094
|
# Corresponds to the JSON property `unit`
|
9098
9095
|
# @return [String]
|
9099
9096
|
attr_accessor :unit
|
@@ -10275,7 +10272,7 @@ module Google
|
|
10275
10272
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
10276
10273
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
10277
10274
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
10278
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
10275
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't have
|
10279
10276
|
# information about the absolute color space that should be used to interpret
|
10280
10277
|
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
10281
10278
|
# 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 DocumentaiV1
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.67.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 = "20230609"
|
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.67.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-18 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.67.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: []
|