google-apis-documentai_v1beta3 0.70.0 → 0.71.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 +691 -67
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +94 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +5 -4
- metadata +3 -3
@@ -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.71.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 = "20230420"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -640,6 +640,12 @@ module Google
|
|
640
640
|
include Google::Apis::Core::JsonObjectSupport
|
641
641
|
end
|
642
642
|
|
643
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
643
649
|
class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
|
644
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
651
|
|
@@ -928,6 +934,12 @@ module Google
|
|
928
934
|
include Google::Apis::Core::JsonObjectSupport
|
929
935
|
end
|
930
936
|
|
937
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
|
938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
|
+
|
940
|
+
include Google::Apis::Core::JsonObjectSupport
|
941
|
+
end
|
942
|
+
|
931
943
|
class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
|
932
944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
945
|
|
@@ -1318,6 +1330,12 @@ module Google
|
|
1318
1330
|
include Google::Apis::Core::JsonObjectSupport
|
1319
1331
|
end
|
1320
1332
|
|
1333
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
|
+
|
1336
|
+
include Google::Apis::Core::JsonObjectSupport
|
1337
|
+
end
|
1338
|
+
|
1321
1339
|
class GoogleCloudDocumentaiV1beta3DocumentPageVisualElement
|
1322
1340
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1323
1341
|
|
@@ -2776,6 +2794,8 @@ module Google
|
|
2776
2794
|
|
2777
2795
|
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
2778
2796
|
|
2797
|
+
property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo::Representation
|
2798
|
+
|
2779
2799
|
end
|
2780
2800
|
end
|
2781
2801
|
|
@@ -2786,6 +2806,29 @@ module Google
|
|
2786
2806
|
end
|
2787
2807
|
end
|
2788
2808
|
|
2809
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
|
2810
|
+
# @private
|
2811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2812
|
+
property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
|
2813
|
+
|
2814
|
+
property :bold, as: 'bold'
|
2815
|
+
property :font_size, as: 'fontSize'
|
2816
|
+
property :font_type, as: 'fontType'
|
2817
|
+
property :font_weight, as: 'fontWeight'
|
2818
|
+
property :handwritten, as: 'handwritten'
|
2819
|
+
property :italic, as: 'italic'
|
2820
|
+
property :letter_spacing, as: 'letterSpacing'
|
2821
|
+
property :pixel_font_size, as: 'pixelFontSize'
|
2822
|
+
property :smallcaps, as: 'smallcaps'
|
2823
|
+
property :strikeout, as: 'strikeout'
|
2824
|
+
property :subscript, as: 'subscript'
|
2825
|
+
property :superscript, as: 'superscript'
|
2826
|
+
property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
|
2827
|
+
|
2828
|
+
property :underlined, as: 'underlined'
|
2829
|
+
end
|
2830
|
+
end
|
2831
|
+
|
2789
2832
|
class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
|
2790
2833
|
# @private
|
2791
2834
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3330,6 +3373,8 @@ module Google
|
|
3330
3373
|
|
3331
3374
|
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
3332
3375
|
|
3376
|
+
property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo::Representation
|
3377
|
+
|
3333
3378
|
end
|
3334
3379
|
end
|
3335
3380
|
|
@@ -3340,6 +3385,29 @@ module Google
|
|
3340
3385
|
end
|
3341
3386
|
end
|
3342
3387
|
|
3388
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
|
3389
|
+
# @private
|
3390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3391
|
+
property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
|
3392
|
+
|
3393
|
+
property :bold, as: 'bold'
|
3394
|
+
property :font_size, as: 'fontSize'
|
3395
|
+
property :font_type, as: 'fontType'
|
3396
|
+
property :font_weight, as: 'fontWeight'
|
3397
|
+
property :handwritten, as: 'handwritten'
|
3398
|
+
property :italic, as: 'italic'
|
3399
|
+
property :letter_spacing, as: 'letterSpacing'
|
3400
|
+
property :pixel_font_size, as: 'pixelFontSize'
|
3401
|
+
property :smallcaps, as: 'smallcaps'
|
3402
|
+
property :strikeout, as: 'strikeout'
|
3403
|
+
property :subscript, as: 'subscript'
|
3404
|
+
property :superscript, as: 'superscript'
|
3405
|
+
property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
|
3406
|
+
|
3407
|
+
property :underlined, as: 'underlined'
|
3408
|
+
end
|
3409
|
+
end
|
3410
|
+
|
3343
3411
|
class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
|
3344
3412
|
# @private
|
3345
3413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4032,6 +4100,8 @@ module Google
|
|
4032
4100
|
|
4033
4101
|
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
4034
4102
|
|
4103
|
+
property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo::Representation
|
4104
|
+
|
4035
4105
|
end
|
4036
4106
|
end
|
4037
4107
|
|
@@ -4042,6 +4112,29 @@ module Google
|
|
4042
4112
|
end
|
4043
4113
|
end
|
4044
4114
|
|
4115
|
+
class GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo
|
4116
|
+
# @private
|
4117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4118
|
+
property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
|
4119
|
+
|
4120
|
+
property :bold, as: 'bold'
|
4121
|
+
property :font_size, as: 'fontSize'
|
4122
|
+
property :font_type, as: 'fontType'
|
4123
|
+
property :font_weight, as: 'fontWeight'
|
4124
|
+
property :handwritten, as: 'handwritten'
|
4125
|
+
property :italic, as: 'italic'
|
4126
|
+
property :letter_spacing, as: 'letterSpacing'
|
4127
|
+
property :pixel_font_size, as: 'pixelFontSize'
|
4128
|
+
property :smallcaps, as: 'smallcaps'
|
4129
|
+
property :strikeout, as: 'strikeout'
|
4130
|
+
property :subscript, as: 'subscript'
|
4131
|
+
property :superscript, as: 'superscript'
|
4132
|
+
property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
|
4133
|
+
|
4134
|
+
property :underlined, as: 'underlined'
|
4135
|
+
end
|
4136
|
+
end
|
4137
|
+
|
4045
4138
|
class GoogleCloudDocumentaiV1beta3DocumentPageVisualElement
|
4046
4139
|
# @private
|
4047
4140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4441,6 +4534,7 @@ module Google
|
|
4441
4534
|
# @private
|
4442
4535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4443
4536
|
collection :advanced_ocr_options, as: 'advancedOcrOptions'
|
4537
|
+
property :compute_style_info, as: 'computeStyleInfo'
|
4444
4538
|
property :enable_image_quality_scores, as: 'enableImageQualityScores'
|
4445
4539
|
property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
|
4446
4540
|
property :enable_symbol, as: 'enableSymbol'
|
@@ -51,8 +51,8 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Fetches processor types. Note that we
|
55
|
-
# because it
|
54
|
+
# Fetches processor types. Note that we don't use ListProcessorTypes here,
|
55
|
+
# because it isn't paginated.
|
56
56
|
# @param [String] parent
|
57
57
|
# Required. The project of processor type to list. The available processor types
|
58
58
|
# may depend on the allow-listing on projects. Format: `projects/`project`/
|
@@ -1065,8 +1065,9 @@ module Google
|
|
1065
1065
|
# projects/`project`/locations/`location`/processors/`processor`/
|
1066
1066
|
# processorVersions/`processorVersion``
|
1067
1067
|
# @param [Fixnum] page_size
|
1068
|
-
# The standard list page size. If unspecified, at most 5 evaluations will be
|
1069
|
-
# returned. The maximum value is 100
|
1068
|
+
# The standard list page size. If unspecified, at most `5` evaluations will be
|
1069
|
+
# returned. The maximum value is `100`; values above `100` will be coerced to `
|
1070
|
+
# 100`.
|
1070
1071
|
# @param [String] page_token
|
1071
1072
|
# A page token, received from a previous `ListEvaluations` call. Provide this to
|
1072
1073
|
# retrieve the subsequent page.
|
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.71.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-04-
|
11
|
+
date: 2023-04-30 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.71.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: []
|