google-apis-documentai_v1beta3 0.3.0 → 0.8.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 +21 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +175 -150
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +89 -49
- data/lib/google/apis/documentai_v1beta3/service.rb +13 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cebc5b2a930caf22126e1cd4f80188f82c5458b49da07ccab402e2611d2008d
|
4
|
+
data.tar.gz: dae720ed2bf556cce29af34557eabdc41f9aced868cdf5900075bac0122c0992
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab3a8d136a06d532ee72b38b4e7af5f34e3d70d16cbede11a2a55b79e1d71c6f67dacb6802a98c8656294b7d706b38693385db12d00968d8d5f055b38d8002dc
|
7
|
+
data.tar.gz: f719f84fa0bf62c5637e67a1824081071cc785769c09dd7d188839867760ced6a7f1d223a85d72d546fef63f265b79ac0359a8001180c64ad1826a35e71c0bea
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.8.0 (2021-03-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210320
|
6
|
+
|
7
|
+
### v0.7.0 (2021-03-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210312
|
10
|
+
|
11
|
+
### v0.6.0 (2021-03-09)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210308
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.5.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210226
|
19
|
+
|
20
|
+
### v0.4.0 (2021-02-24)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210222
|
23
|
+
|
3
24
|
### v0.3.0 (2021-02-12)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210211
|
@@ -271,6 +271,57 @@ module Google
|
|
271
271
|
end
|
272
272
|
end
|
273
273
|
|
274
|
+
# The long running operation metadata for SampleDataset.
|
275
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
276
|
+
include Google::Apis::Core::Hashable
|
277
|
+
|
278
|
+
# The common metadata for long running operations.
|
279
|
+
# Corresponds to the JSON property `commonMetadata`
|
280
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
281
|
+
attr_accessor :common_metadata
|
282
|
+
|
283
|
+
def initialize(**args)
|
284
|
+
update!(**args)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Update properties of this object
|
288
|
+
def update!(**args)
|
289
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# The long running operation metadata for set default processor version method.
|
294
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
295
|
+
include Google::Apis::Core::Hashable
|
296
|
+
|
297
|
+
# The common metadata for long running operations.
|
298
|
+
# Corresponds to the JSON property `commonMetadata`
|
299
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
300
|
+
attr_accessor :common_metadata
|
301
|
+
|
302
|
+
def initialize(**args)
|
303
|
+
update!(**args)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Update properties of this object
|
307
|
+
def update!(**args)
|
308
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# Response message for set default processor version method.
|
313
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
314
|
+
include Google::Apis::Core::Hashable
|
315
|
+
|
316
|
+
def initialize(**args)
|
317
|
+
update!(**args)
|
318
|
+
end
|
319
|
+
|
320
|
+
# Update properties of this object
|
321
|
+
def update!(**args)
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
274
325
|
# The metadata that represents a processor version being created.
|
275
326
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
276
327
|
include Google::Apis::Core::Hashable
|
@@ -687,9 +738,9 @@ module Google
|
|
687
738
|
class GoogleCloudDocumentaiV1beta1Document
|
688
739
|
include Google::Apis::Core::Hashable
|
689
740
|
|
690
|
-
# Inline document content, represented as a stream of bytes. Note: As
|
691
|
-
# bytes` fields, protobuffers use a pure binary representation,
|
692
|
-
# representations use base64.
|
741
|
+
# Optional. Inline document content, represented as a stream of bytes. Note: As
|
742
|
+
# with all `bytes` fields, protobuffers use a pure binary representation,
|
743
|
+
# whereas JSON representations use base64.
|
693
744
|
# Corresponds to the JSON property `content`
|
694
745
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
695
746
|
# @return [String]
|
@@ -739,7 +790,7 @@ module Google
|
|
739
790
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentShardInfo]
|
740
791
|
attr_accessor :shard_info
|
741
792
|
|
742
|
-
# UTF-8 encoded text in reading order from the document.
|
793
|
+
# Optional. UTF-8 encoded text in reading order from the document.
|
743
794
|
# Corresponds to the JSON property `text`
|
744
795
|
# @return [String]
|
745
796
|
attr_accessor :text
|
@@ -756,16 +807,10 @@ module Google
|
|
756
807
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle>]
|
757
808
|
attr_accessor :text_styles
|
758
809
|
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
attr_accessor :translations
|
764
|
-
|
765
|
-
# Currently supports Google Cloud Storage URI of the form `gs://bucket_name/
|
766
|
-
# object_name`. Object versioning is not supported. See [Google Cloud Storage
|
767
|
-
# Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
768
|
-
# info.
|
810
|
+
# Optional. Currently supports Google Cloud Storage URI of the form `gs://
|
811
|
+
# bucket_name/object_name`. Object versioning is not supported. See [Google
|
812
|
+
# Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
|
813
|
+
# uris) for more info.
|
769
814
|
# Corresponds to the JSON property `uri`
|
770
815
|
# @return [String]
|
771
816
|
attr_accessor :uri
|
@@ -787,7 +832,6 @@ module Google
|
|
787
832
|
@text = args[:text] if args.key?(:text)
|
788
833
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
789
834
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
790
|
-
@translations = args[:translations] if args.key?(:translations)
|
791
835
|
@uri = args[:uri] if args.key?(:uri)
|
792
836
|
end
|
793
837
|
end
|
@@ -808,12 +852,12 @@ module Google
|
|
808
852
|
# @return [String]
|
809
853
|
attr_accessor :id
|
810
854
|
|
811
|
-
# Deprecated. Use `id` field instead.
|
855
|
+
# Optional. Deprecated. Use `id` field instead.
|
812
856
|
# Corresponds to the JSON property `mentionId`
|
813
857
|
# @return [String]
|
814
858
|
attr_accessor :mention_id
|
815
859
|
|
816
|
-
# Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
860
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
817
861
|
# Corresponds to the JSON property `mentionText`
|
818
862
|
# @return [String]
|
819
863
|
attr_accessor :mention_text
|
@@ -896,6 +940,12 @@ module Google
|
|
896
940
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
|
897
941
|
attr_accessor :address_value
|
898
942
|
|
943
|
+
# Boolean value. Can be used for entities with binary values, or for checkboxes.
|
944
|
+
# Corresponds to the JSON property `booleanValue`
|
945
|
+
# @return [Boolean]
|
946
|
+
attr_accessor :boolean_value
|
947
|
+
alias_method :boolean_value?, :boolean_value
|
948
|
+
|
899
949
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
900
950
|
# day and time zone are either specified elsewhere or are insignificant. The
|
901
951
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -948,6 +998,7 @@ module Google
|
|
948
998
|
# Update properties of this object
|
949
999
|
def update!(**args)
|
950
1000
|
@address_value = args[:address_value] if args.key?(:address_value)
|
1001
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
951
1002
|
@date_value = args[:date_value] if args.key?(:date_value)
|
952
1003
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
953
1004
|
@money_value = args[:money_value] if args.key?(:money_value)
|
@@ -2074,44 +2125,6 @@ module Google
|
|
2074
2125
|
end
|
2075
2126
|
end
|
2076
2127
|
|
2077
|
-
# A translation of the text segment.
|
2078
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
2079
|
-
include Google::Apis::Core::Hashable
|
2080
|
-
|
2081
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
|
2082
|
-
# see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
2083
|
-
# Corresponds to the JSON property `languageCode`
|
2084
|
-
# @return [String]
|
2085
|
-
attr_accessor :language_code
|
2086
|
-
|
2087
|
-
# The history of this annotation.
|
2088
|
-
# Corresponds to the JSON property `provenance`
|
2089
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance>]
|
2090
|
-
attr_accessor :provenance
|
2091
|
-
|
2092
|
-
# Text reference indexing into the Document.text.
|
2093
|
-
# Corresponds to the JSON property `textAnchor`
|
2094
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
2095
|
-
attr_accessor :text_anchor
|
2096
|
-
|
2097
|
-
# Text translated into the target language.
|
2098
|
-
# Corresponds to the JSON property `translatedText`
|
2099
|
-
# @return [String]
|
2100
|
-
attr_accessor :translated_text
|
2101
|
-
|
2102
|
-
def initialize(**args)
|
2103
|
-
update!(**args)
|
2104
|
-
end
|
2105
|
-
|
2106
|
-
# Update properties of this object
|
2107
|
-
def update!(**args)
|
2108
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
2109
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
2110
|
-
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
|
2111
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
2112
|
-
end
|
2113
|
-
end
|
2114
|
-
|
2115
2128
|
# The Google Cloud Storage location where the output file will be written to.
|
2116
2129
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
2117
2130
|
include Google::Apis::Core::Hashable
|
@@ -2377,9 +2390,9 @@ module Google
|
|
2377
2390
|
class GoogleCloudDocumentaiV1beta2Document
|
2378
2391
|
include Google::Apis::Core::Hashable
|
2379
2392
|
|
2380
|
-
# Inline document content, represented as a stream of bytes. Note: As
|
2381
|
-
# bytes` fields, protobuffers use a pure binary representation,
|
2382
|
-
# representations use base64.
|
2393
|
+
# Optional. Inline document content, represented as a stream of bytes. Note: As
|
2394
|
+
# with all `bytes` fields, protobuffers use a pure binary representation,
|
2395
|
+
# whereas JSON representations use base64.
|
2383
2396
|
# Corresponds to the JSON property `content`
|
2384
2397
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2385
2398
|
# @return [String]
|
@@ -2434,7 +2447,7 @@ module Google
|
|
2434
2447
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentShardInfo]
|
2435
2448
|
attr_accessor :shard_info
|
2436
2449
|
|
2437
|
-
# UTF-8 encoded text in reading order from the document.
|
2450
|
+
# Optional. UTF-8 encoded text in reading order from the document.
|
2438
2451
|
# Corresponds to the JSON property `text`
|
2439
2452
|
# @return [String]
|
2440
2453
|
attr_accessor :text
|
@@ -2451,16 +2464,10 @@ module Google
|
|
2451
2464
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle>]
|
2452
2465
|
attr_accessor :text_styles
|
2453
2466
|
|
2454
|
-
#
|
2455
|
-
#
|
2456
|
-
#
|
2457
|
-
#
|
2458
|
-
attr_accessor :translations
|
2459
|
-
|
2460
|
-
# Currently supports Google Cloud Storage URI of the form `gs://bucket_name/
|
2461
|
-
# object_name`. Object versioning is not supported. See [Google Cloud Storage
|
2462
|
-
# Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
2463
|
-
# info.
|
2467
|
+
# Optional. Currently supports Google Cloud Storage URI of the form `gs://
|
2468
|
+
# bucket_name/object_name`. Object versioning is not supported. See [Google
|
2469
|
+
# Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
|
2470
|
+
# uris) for more info.
|
2464
2471
|
# Corresponds to the JSON property `uri`
|
2465
2472
|
# @return [String]
|
2466
2473
|
attr_accessor :uri
|
@@ -2483,7 +2490,6 @@ module Google
|
|
2483
2490
|
@text = args[:text] if args.key?(:text)
|
2484
2491
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
2485
2492
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
2486
|
-
@translations = args[:translations] if args.key?(:translations)
|
2487
2493
|
@uri = args[:uri] if args.key?(:uri)
|
2488
2494
|
end
|
2489
2495
|
end
|
@@ -2504,12 +2510,12 @@ module Google
|
|
2504
2510
|
# @return [String]
|
2505
2511
|
attr_accessor :id
|
2506
2512
|
|
2507
|
-
# Deprecated. Use `id` field instead.
|
2513
|
+
# Optional. Deprecated. Use `id` field instead.
|
2508
2514
|
# Corresponds to the JSON property `mentionId`
|
2509
2515
|
# @return [String]
|
2510
2516
|
attr_accessor :mention_id
|
2511
2517
|
|
2512
|
-
# Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
2518
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
2513
2519
|
# Corresponds to the JSON property `mentionText`
|
2514
2520
|
# @return [String]
|
2515
2521
|
attr_accessor :mention_text
|
@@ -2592,6 +2598,12 @@ module Google
|
|
2592
2598
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
|
2593
2599
|
attr_accessor :address_value
|
2594
2600
|
|
2601
|
+
# Boolean value. Can be used for entities with binary values, or for checkboxes.
|
2602
|
+
# Corresponds to the JSON property `booleanValue`
|
2603
|
+
# @return [Boolean]
|
2604
|
+
attr_accessor :boolean_value
|
2605
|
+
alias_method :boolean_value?, :boolean_value
|
2606
|
+
|
2595
2607
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
2596
2608
|
# day and time zone are either specified elsewhere or are insignificant. The
|
2597
2609
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -2644,6 +2656,7 @@ module Google
|
|
2644
2656
|
# Update properties of this object
|
2645
2657
|
def update!(**args)
|
2646
2658
|
@address_value = args[:address_value] if args.key?(:address_value)
|
2659
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
2647
2660
|
@date_value = args[:date_value] if args.key?(:date_value)
|
2648
2661
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
2649
2662
|
@money_value = args[:money_value] if args.key?(:money_value)
|
@@ -3807,44 +3820,6 @@ module Google
|
|
3807
3820
|
end
|
3808
3821
|
end
|
3809
3822
|
|
3810
|
-
# A translation of the text segment.
|
3811
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
3812
|
-
include Google::Apis::Core::Hashable
|
3813
|
-
|
3814
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
|
3815
|
-
# see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
3816
|
-
# Corresponds to the JSON property `languageCode`
|
3817
|
-
# @return [String]
|
3818
|
-
attr_accessor :language_code
|
3819
|
-
|
3820
|
-
# The history of this annotation.
|
3821
|
-
# Corresponds to the JSON property `provenance`
|
3822
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance>]
|
3823
|
-
attr_accessor :provenance
|
3824
|
-
|
3825
|
-
# Text reference indexing into the Document.text.
|
3826
|
-
# Corresponds to the JSON property `textAnchor`
|
3827
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
3828
|
-
attr_accessor :text_anchor
|
3829
|
-
|
3830
|
-
# Text translated into the target language.
|
3831
|
-
# Corresponds to the JSON property `translatedText`
|
3832
|
-
# @return [String]
|
3833
|
-
attr_accessor :translated_text
|
3834
|
-
|
3835
|
-
def initialize(**args)
|
3836
|
-
update!(**args)
|
3837
|
-
end
|
3838
|
-
|
3839
|
-
# Update properties of this object
|
3840
|
-
def update!(**args)
|
3841
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
3842
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
3843
|
-
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
|
3844
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
3845
|
-
end
|
3846
|
-
end
|
3847
|
-
|
3848
3823
|
# The Google Cloud Storage location where the output file will be written to.
|
3849
3824
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
3850
3825
|
include Google::Apis::Core::Hashable
|
@@ -4068,6 +4043,31 @@ module Google
|
|
4068
4043
|
end
|
4069
4044
|
end
|
4070
4045
|
|
4046
|
+
# The common config to specify a set of documents used as input.
|
4047
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
4048
|
+
include Google::Apis::Core::Hashable
|
4049
|
+
|
4050
|
+
# Specifies a set of documents on Cloud Storage.
|
4051
|
+
# Corresponds to the JSON property `gcsDocuments`
|
4052
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments]
|
4053
|
+
attr_accessor :gcs_documents
|
4054
|
+
|
4055
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
4056
|
+
# Corresponds to the JSON property `gcsPrefix`
|
4057
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix]
|
4058
|
+
attr_accessor :gcs_prefix
|
4059
|
+
|
4060
|
+
def initialize(**args)
|
4061
|
+
update!(**args)
|
4062
|
+
end
|
4063
|
+
|
4064
|
+
# Update properties of this object
|
4065
|
+
def update!(**args)
|
4066
|
+
@gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents)
|
4067
|
+
@gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
|
4068
|
+
end
|
4069
|
+
end
|
4070
|
+
|
4071
4071
|
# The long running operation metadata for batch process method.
|
4072
4072
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
4073
4073
|
include Google::Apis::Core::Hashable
|
@@ -4182,9 +4182,9 @@ module Google
|
|
4182
4182
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig>]
|
4183
4183
|
attr_accessor :input_configs
|
4184
4184
|
|
4185
|
-
# The
|
4185
|
+
# The common config to specify a set of documents used as input.
|
4186
4186
|
# Corresponds to the JSON property `inputDocuments`
|
4187
|
-
# @return [Google::Apis::DocumentaiV1beta3::
|
4187
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig]
|
4188
4188
|
attr_accessor :input_documents
|
4189
4189
|
|
4190
4190
|
# The message for output config in batch process.
|
@@ -4341,9 +4341,9 @@ module Google
|
|
4341
4341
|
class GoogleCloudDocumentaiV1beta3Document
|
4342
4342
|
include Google::Apis::Core::Hashable
|
4343
4343
|
|
4344
|
-
# Inline document content, represented as a stream of bytes. Note: As
|
4345
|
-
# bytes` fields, protobuffers use a pure binary representation,
|
4346
|
-
# representations use base64.
|
4344
|
+
# Optional. Inline document content, represented as a stream of bytes. Note: As
|
4345
|
+
# with all `bytes` fields, protobuffers use a pure binary representation,
|
4346
|
+
# whereas JSON representations use base64.
|
4347
4347
|
# Corresponds to the JSON property `content`
|
4348
4348
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4349
4349
|
# @return [String]
|
@@ -4393,7 +4393,7 @@ module Google
|
|
4393
4393
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentShardInfo]
|
4394
4394
|
attr_accessor :shard_info
|
4395
4395
|
|
4396
|
-
# UTF-8 encoded text in reading order from the document.
|
4396
|
+
# Optional. UTF-8 encoded text in reading order from the document.
|
4397
4397
|
# Corresponds to the JSON property `text`
|
4398
4398
|
# @return [String]
|
4399
4399
|
attr_accessor :text
|
@@ -4410,16 +4410,10 @@ module Google
|
|
4410
4410
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle>]
|
4411
4411
|
attr_accessor :text_styles
|
4412
4412
|
|
4413
|
-
#
|
4414
|
-
#
|
4415
|
-
#
|
4416
|
-
#
|
4417
|
-
attr_accessor :translations
|
4418
|
-
|
4419
|
-
# Currently supports Google Cloud Storage URI of the form `gs://bucket_name/
|
4420
|
-
# object_name`. Object versioning is not supported. See [Google Cloud Storage
|
4421
|
-
# Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
4422
|
-
# info.
|
4413
|
+
# Optional. Currently supports Google Cloud Storage URI of the form `gs://
|
4414
|
+
# bucket_name/object_name`. Object versioning is not supported. See [Google
|
4415
|
+
# Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
|
4416
|
+
# uris) for more info.
|
4423
4417
|
# Corresponds to the JSON property `uri`
|
4424
4418
|
# @return [String]
|
4425
4419
|
attr_accessor :uri
|
@@ -4441,7 +4435,6 @@ module Google
|
|
4441
4435
|
@text = args[:text] if args.key?(:text)
|
4442
4436
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
4443
4437
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
4444
|
-
@translations = args[:translations] if args.key?(:translations)
|
4445
4438
|
@uri = args[:uri] if args.key?(:uri)
|
4446
4439
|
end
|
4447
4440
|
end
|
@@ -4462,12 +4455,12 @@ module Google
|
|
4462
4455
|
# @return [String]
|
4463
4456
|
attr_accessor :id
|
4464
4457
|
|
4465
|
-
# Deprecated. Use `id` field instead.
|
4458
|
+
# Optional. Deprecated. Use `id` field instead.
|
4466
4459
|
# Corresponds to the JSON property `mentionId`
|
4467
4460
|
# @return [String]
|
4468
4461
|
attr_accessor :mention_id
|
4469
4462
|
|
4470
|
-
# Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
4463
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
4471
4464
|
# Corresponds to the JSON property `mentionText`
|
4472
4465
|
# @return [String]
|
4473
4466
|
attr_accessor :mention_text
|
@@ -4550,6 +4543,12 @@ module Google
|
|
4550
4543
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
|
4551
4544
|
attr_accessor :address_value
|
4552
4545
|
|
4546
|
+
# Boolean value. Can be used for entities with binary values, or for checkboxes.
|
4547
|
+
# Corresponds to the JSON property `booleanValue`
|
4548
|
+
# @return [Boolean]
|
4549
|
+
attr_accessor :boolean_value
|
4550
|
+
alias_method :boolean_value?, :boolean_value
|
4551
|
+
|
4553
4552
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4554
4553
|
# day and time zone are either specified elsewhere or are insignificant. The
|
4555
4554
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -4602,6 +4601,7 @@ module Google
|
|
4602
4601
|
# Update properties of this object
|
4603
4602
|
def update!(**args)
|
4604
4603
|
@address_value = args[:address_value] if args.key?(:address_value)
|
4604
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
4605
4605
|
@date_value = args[:date_value] if args.key?(:date_value)
|
4606
4606
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
4607
4607
|
@money_value = args[:money_value] if args.key?(:money_value)
|
@@ -5767,30 +5767,58 @@ module Google
|
|
5767
5767
|
end
|
5768
5768
|
end
|
5769
5769
|
|
5770
|
-
#
|
5771
|
-
class
|
5770
|
+
# Specifies a document stored on Cloud Storage.
|
5771
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
5772
5772
|
include Google::Apis::Core::Hashable
|
5773
5773
|
|
5774
|
-
# The
|
5775
|
-
#
|
5776
|
-
# Corresponds to the JSON property `languageCode`
|
5774
|
+
# The Cloud Storage object uri.
|
5775
|
+
# Corresponds to the JSON property `gcsUri`
|
5777
5776
|
# @return [String]
|
5778
|
-
attr_accessor :
|
5777
|
+
attr_accessor :gcs_uri
|
5779
5778
|
|
5780
|
-
#
|
5781
|
-
# Corresponds to the JSON property `
|
5782
|
-
# @return [
|
5783
|
-
attr_accessor :
|
5779
|
+
# An IANA MIME type (RFC6838) of the content.
|
5780
|
+
# Corresponds to the JSON property `mimeType`
|
5781
|
+
# @return [String]
|
5782
|
+
attr_accessor :mime_type
|
5784
5783
|
|
5785
|
-
|
5786
|
-
|
5787
|
-
|
5788
|
-
attr_accessor :text_anchor
|
5784
|
+
def initialize(**args)
|
5785
|
+
update!(**args)
|
5786
|
+
end
|
5789
5787
|
|
5790
|
-
#
|
5791
|
-
|
5788
|
+
# Update properties of this object
|
5789
|
+
def update!(**args)
|
5790
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
5791
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
5792
|
+
end
|
5793
|
+
end
|
5794
|
+
|
5795
|
+
# Specifies a set of documents on Cloud Storage.
|
5796
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
5797
|
+
include Google::Apis::Core::Hashable
|
5798
|
+
|
5799
|
+
# The list of documents.
|
5800
|
+
# Corresponds to the JSON property `documents`
|
5801
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument>]
|
5802
|
+
attr_accessor :documents
|
5803
|
+
|
5804
|
+
def initialize(**args)
|
5805
|
+
update!(**args)
|
5806
|
+
end
|
5807
|
+
|
5808
|
+
# Update properties of this object
|
5809
|
+
def update!(**args)
|
5810
|
+
@documents = args[:documents] if args.key?(:documents)
|
5811
|
+
end
|
5812
|
+
end
|
5813
|
+
|
5814
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
5815
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
5816
|
+
include Google::Apis::Core::Hashable
|
5817
|
+
|
5818
|
+
# The URI prefix.
|
5819
|
+
# Corresponds to the JSON property `gcsUriPrefix`
|
5792
5820
|
# @return [String]
|
5793
|
-
attr_accessor :
|
5821
|
+
attr_accessor :gcs_uri_prefix
|
5794
5822
|
|
5795
5823
|
def initialize(**args)
|
5796
5824
|
update!(**args)
|
@@ -5798,10 +5826,7 @@ module Google
|
|
5798
5826
|
|
5799
5827
|
# Update properties of this object
|
5800
5828
|
def update!(**args)
|
5801
|
-
@
|
5802
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
5803
|
-
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
|
5804
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
5829
|
+
@gcs_uri_prefix = args[:gcs_uri_prefix] if args.key?(:gcs_uri_prefix)
|
5805
5830
|
end
|
5806
5831
|
end
|
5807
5832
|
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,24 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
103
121
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
104
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
123
|
|
@@ -388,12 +406,6 @@ module Google
|
|
388
406
|
include Google::Apis::Core::JsonObjectSupport
|
389
407
|
end
|
390
408
|
|
391
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
392
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
-
|
394
|
-
include Google::Apis::Core::JsonObjectSupport
|
395
|
-
end
|
396
|
-
|
397
409
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
398
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
411
|
|
@@ -652,12 +664,6 @@ module Google
|
|
652
664
|
include Google::Apis::Core::JsonObjectSupport
|
653
665
|
end
|
654
666
|
|
655
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
656
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
-
|
658
|
-
include Google::Apis::Core::JsonObjectSupport
|
659
|
-
end
|
660
|
-
|
661
667
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
662
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
669
|
|
@@ -706,6 +712,12 @@ module Google
|
|
706
712
|
include Google::Apis::Core::JsonObjectSupport
|
707
713
|
end
|
708
714
|
|
715
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
709
721
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
710
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
723
|
|
@@ -958,7 +970,19 @@ module Google
|
|
958
970
|
include Google::Apis::Core::JsonObjectSupport
|
959
971
|
end
|
960
972
|
|
961
|
-
class
|
973
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
979
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
985
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
962
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
987
|
|
964
988
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1183,6 +1207,28 @@ module Google
|
|
1183
1207
|
end
|
1184
1208
|
end
|
1185
1209
|
|
1210
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDatasetMetadata
|
1211
|
+
# @private
|
1212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1213
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1214
|
+
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1219
|
+
# @private
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1221
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1222
|
+
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
|
1227
|
+
# @private
|
1228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1229
|
+
end
|
1230
|
+
end
|
1231
|
+
|
1186
1232
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata
|
1187
1233
|
# @private
|
1188
1234
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1346,8 +1392,6 @@ module Google
|
|
1346
1392
|
|
1347
1393
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle::Representation
|
1348
1394
|
|
1349
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation::Representation
|
1350
|
-
|
1351
1395
|
property :uri, as: 'uri'
|
1352
1396
|
end
|
1353
1397
|
end
|
@@ -1379,6 +1423,7 @@ module Google
|
|
1379
1423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1380
1424
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
1381
1425
|
|
1426
|
+
property :boolean_value, as: 'booleanValue'
|
1382
1427
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
1383
1428
|
|
1384
1429
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -1716,18 +1761,6 @@ module Google
|
|
1716
1761
|
end
|
1717
1762
|
end
|
1718
1763
|
|
1719
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
1720
|
-
# @private
|
1721
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1722
|
-
property :language_code, as: 'languageCode'
|
1723
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1724
|
-
|
1725
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
|
1726
|
-
|
1727
|
-
property :translated_text, as: 'translatedText'
|
1728
|
-
end
|
1729
|
-
end
|
1730
|
-
|
1731
1764
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
1732
1765
|
# @private
|
1733
1766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1838,8 +1871,6 @@ module Google
|
|
1838
1871
|
|
1839
1872
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle::Representation
|
1840
1873
|
|
1841
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation::Representation
|
1842
|
-
|
1843
1874
|
property :uri, as: 'uri'
|
1844
1875
|
end
|
1845
1876
|
end
|
@@ -1871,6 +1902,7 @@ module Google
|
|
1871
1902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1872
1903
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
1873
1904
|
|
1905
|
+
property :boolean_value, as: 'booleanValue'
|
1874
1906
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
1875
1907
|
|
1876
1908
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -2217,18 +2249,6 @@ module Google
|
|
2217
2249
|
end
|
2218
2250
|
end
|
2219
2251
|
|
2220
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
2221
|
-
# @private
|
2222
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2223
|
-
property :language_code, as: 'languageCode'
|
2224
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2225
|
-
|
2226
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
|
2227
|
-
|
2228
|
-
property :translated_text, as: 'translatedText'
|
2229
|
-
end
|
2230
|
-
end
|
2231
|
-
|
2232
2252
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
2233
2253
|
# @private
|
2234
2254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2298,6 +2318,16 @@ module Google
|
|
2298
2318
|
end
|
2299
2319
|
end
|
2300
2320
|
|
2321
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
2322
|
+
# @private
|
2323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2324
|
+
property :gcs_documents, as: 'gcsDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments::Representation
|
2325
|
+
|
2326
|
+
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
|
2327
|
+
|
2328
|
+
end
|
2329
|
+
end
|
2330
|
+
|
2301
2331
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
2302
2332
|
# @private
|
2303
2333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2330,7 +2360,7 @@ module Google
|
|
2330
2360
|
|
2331
2361
|
collection :input_configs, as: 'inputConfigs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig::Representation
|
2332
2362
|
|
2333
|
-
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::
|
2363
|
+
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
2334
2364
|
|
2335
2365
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
2336
2366
|
|
@@ -2401,8 +2431,6 @@ module Google
|
|
2401
2431
|
|
2402
2432
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
2403
2433
|
|
2404
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation::Representation
|
2405
|
-
|
2406
2434
|
property :uri, as: 'uri'
|
2407
2435
|
end
|
2408
2436
|
end
|
@@ -2434,6 +2462,7 @@ module Google
|
|
2434
2462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2435
2463
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
2436
2464
|
|
2465
|
+
property :boolean_value, as: 'booleanValue'
|
2437
2466
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
2438
2467
|
|
2439
2468
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -2786,15 +2815,26 @@ module Google
|
|
2786
2815
|
end
|
2787
2816
|
end
|
2788
2817
|
|
2789
|
-
class
|
2818
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
2790
2819
|
# @private
|
2791
2820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2792
|
-
property :
|
2793
|
-
|
2821
|
+
property :gcs_uri, as: 'gcsUri'
|
2822
|
+
property :mime_type, as: 'mimeType'
|
2823
|
+
end
|
2824
|
+
end
|
2794
2825
|
|
2795
|
-
|
2826
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
2827
|
+
# @private
|
2828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2829
|
+
collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument::Representation
|
2830
|
+
|
2831
|
+
end
|
2832
|
+
end
|
2796
2833
|
|
2797
|
-
|
2834
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
2835
|
+
# @private
|
2836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2837
|
+
property :gcs_uri_prefix, as: 'gcsUriPrefix'
|
2798
2838
|
end
|
2799
2839
|
end
|
2800
2840
|
|
@@ -85,11 +85,15 @@ module Google
|
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
87
|
# @param [String] filter
|
88
|
-
#
|
88
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
89
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
90
|
+
# AIP-160](https://google.aip.dev/160).
|
89
91
|
# @param [Fixnum] page_size
|
90
|
-
# The
|
92
|
+
# The maximum number of results to return. If not set, the service will select a
|
93
|
+
# default.
|
91
94
|
# @param [String] page_token
|
92
|
-
#
|
95
|
+
# A page token received from the `next_page_token` field in the response. Send
|
96
|
+
# that page token to receive the subsequent page.
|
93
97
|
# @param [String] fields
|
94
98
|
# Selector specifying which fields to include in a partial response.
|
95
99
|
# @param [String] quota_user
|
@@ -156,7 +160,8 @@ module Google
|
|
156
160
|
# @param [String] name
|
157
161
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
158
162
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
159
|
-
# locations/`location`/processors/`processor`/
|
163
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
164
|
+
# processorVersion`
|
160
165
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
161
166
|
# @param [String] fields
|
162
167
|
# Selector specifying which fields to include in a partial response.
|
@@ -193,7 +198,7 @@ module Google
|
|
193
198
|
# processing. If a Processor is specified, the server will use its default
|
194
199
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
195
200
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
196
|
-
#
|
201
|
+
# processorVersions/`processorVersion`
|
197
202
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
198
203
|
# @param [String] fields
|
199
204
|
# Selector specifying which fields to include in a partial response.
|
@@ -264,7 +269,8 @@ module Google
|
|
264
269
|
# @param [String] name
|
265
270
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
266
271
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
267
|
-
# locations/`location`/processors/`processor`/
|
272
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
273
|
+
# processorVersion`
|
268
274
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
269
275
|
# @param [String] fields
|
270
276
|
# Selector specifying which fields to include in a partial response.
|
@@ -301,7 +307,7 @@ module Google
|
|
301
307
|
# processing. If a Processor is specified, the server will use its default
|
302
308
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
303
309
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
304
|
-
#
|
310
|
+
# processorVersions/`processorVersion`
|
305
311
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
306
312
|
# @param [String] fields
|
307
313
|
# Selector specifying which fields to include in a partial response.
|
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.8.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: 2021-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Document AI API V1beta3
|