google-apis-documentai_v1beta3 0.5.0 → 0.6.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 +5 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +49 -165
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +14 -60
- data/lib/google/apis/documentai_v1beta3/service.rb +6 -4
- 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: 5991972d74d9567b87ac2a60a2b51eba46c2e3944fb3c1854cde9c745b77c1e4
|
4
|
+
data.tar.gz: 2a00766961cdf9998d7bcdb79eae5f376422f0a5207abcbb02b04129fe8b62ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4022e2a723fc9659dd61c48414d92633a2184af7ffdaef561d9f6821fd4eb709b6997f6fadc5a8b7b18af86a0f42572d63c0f64fc4cd06153b4488b31cd1db92
|
7
|
+
data.tar.gz: 1707b1a4947e1f9c50611bc1bae3168050df8ab7ccfb96d183f1e1690dc17dd4f0bd35fc58b25d8d5e31b9ca21532a83b41481469e77c3b5785f127b1dee656a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.6.0 (2021-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210308
|
6
|
+
* Regenerated using generator version 0.2.0
|
7
|
+
|
3
8
|
### v0.5.0 (2021-03-04)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210226
|
@@ -271,6 +271,25 @@ 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
|
+
|
274
293
|
# The long running operation metadata for set default processor version method.
|
275
294
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
276
295
|
include Google::Apis::Core::Hashable
|
@@ -719,9 +738,9 @@ module Google
|
|
719
738
|
class GoogleCloudDocumentaiV1beta1Document
|
720
739
|
include Google::Apis::Core::Hashable
|
721
740
|
|
722
|
-
# Inline document content, represented as a stream of bytes. Note: As
|
723
|
-
# bytes` fields, protobuffers use a pure binary representation,
|
724
|
-
# 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.
|
725
744
|
# Corresponds to the JSON property `content`
|
726
745
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
727
746
|
# @return [String]
|
@@ -771,7 +790,7 @@ module Google
|
|
771
790
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentShardInfo]
|
772
791
|
attr_accessor :shard_info
|
773
792
|
|
774
|
-
# UTF-8 encoded text in reading order from the document.
|
793
|
+
# Optional. UTF-8 encoded text in reading order from the document.
|
775
794
|
# Corresponds to the JSON property `text`
|
776
795
|
# @return [String]
|
777
796
|
attr_accessor :text
|
@@ -788,16 +807,10 @@ module Google
|
|
788
807
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle>]
|
789
808
|
attr_accessor :text_styles
|
790
809
|
|
791
|
-
#
|
792
|
-
#
|
793
|
-
#
|
794
|
-
#
|
795
|
-
attr_accessor :translations
|
796
|
-
|
797
|
-
# Currently supports Google Cloud Storage URI of the form `gs://bucket_name/
|
798
|
-
# object_name`. Object versioning is not supported. See [Google Cloud Storage
|
799
|
-
# Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
800
|
-
# 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.
|
801
814
|
# Corresponds to the JSON property `uri`
|
802
815
|
# @return [String]
|
803
816
|
attr_accessor :uri
|
@@ -819,7 +832,6 @@ module Google
|
|
819
832
|
@text = args[:text] if args.key?(:text)
|
820
833
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
821
834
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
822
|
-
@translations = args[:translations] if args.key?(:translations)
|
823
835
|
@uri = args[:uri] if args.key?(:uri)
|
824
836
|
end
|
825
837
|
end
|
@@ -840,12 +852,12 @@ module Google
|
|
840
852
|
# @return [String]
|
841
853
|
attr_accessor :id
|
842
854
|
|
843
|
-
# Deprecated. Use `id` field instead.
|
855
|
+
# Optional. Deprecated. Use `id` field instead.
|
844
856
|
# Corresponds to the JSON property `mentionId`
|
845
857
|
# @return [String]
|
846
858
|
attr_accessor :mention_id
|
847
859
|
|
848
|
-
# Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
860
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
849
861
|
# Corresponds to the JSON property `mentionText`
|
850
862
|
# @return [String]
|
851
863
|
attr_accessor :mention_text
|
@@ -2113,44 +2125,6 @@ module Google
|
|
2113
2125
|
end
|
2114
2126
|
end
|
2115
2127
|
|
2116
|
-
# A translation of the text segment.
|
2117
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
2118
|
-
include Google::Apis::Core::Hashable
|
2119
|
-
|
2120
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
|
2121
|
-
# see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
2122
|
-
# Corresponds to the JSON property `languageCode`
|
2123
|
-
# @return [String]
|
2124
|
-
attr_accessor :language_code
|
2125
|
-
|
2126
|
-
# The history of this annotation.
|
2127
|
-
# Corresponds to the JSON property `provenance`
|
2128
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance>]
|
2129
|
-
attr_accessor :provenance
|
2130
|
-
|
2131
|
-
# Text reference indexing into the Document.text.
|
2132
|
-
# Corresponds to the JSON property `textAnchor`
|
2133
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
2134
|
-
attr_accessor :text_anchor
|
2135
|
-
|
2136
|
-
# Text translated into the target language.
|
2137
|
-
# Corresponds to the JSON property `translatedText`
|
2138
|
-
# @return [String]
|
2139
|
-
attr_accessor :translated_text
|
2140
|
-
|
2141
|
-
def initialize(**args)
|
2142
|
-
update!(**args)
|
2143
|
-
end
|
2144
|
-
|
2145
|
-
# Update properties of this object
|
2146
|
-
def update!(**args)
|
2147
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
2148
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
2149
|
-
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
|
2150
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
2151
|
-
end
|
2152
|
-
end
|
2153
|
-
|
2154
2128
|
# The Google Cloud Storage location where the output file will be written to.
|
2155
2129
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
2156
2130
|
include Google::Apis::Core::Hashable
|
@@ -2416,9 +2390,9 @@ module Google
|
|
2416
2390
|
class GoogleCloudDocumentaiV1beta2Document
|
2417
2391
|
include Google::Apis::Core::Hashable
|
2418
2392
|
|
2419
|
-
# Inline document content, represented as a stream of bytes. Note: As
|
2420
|
-
# bytes` fields, protobuffers use a pure binary representation,
|
2421
|
-
# 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.
|
2422
2396
|
# Corresponds to the JSON property `content`
|
2423
2397
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2424
2398
|
# @return [String]
|
@@ -2473,7 +2447,7 @@ module Google
|
|
2473
2447
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentShardInfo]
|
2474
2448
|
attr_accessor :shard_info
|
2475
2449
|
|
2476
|
-
# UTF-8 encoded text in reading order from the document.
|
2450
|
+
# Optional. UTF-8 encoded text in reading order from the document.
|
2477
2451
|
# Corresponds to the JSON property `text`
|
2478
2452
|
# @return [String]
|
2479
2453
|
attr_accessor :text
|
@@ -2490,16 +2464,10 @@ module Google
|
|
2490
2464
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle>]
|
2491
2465
|
attr_accessor :text_styles
|
2492
2466
|
|
2493
|
-
#
|
2494
|
-
#
|
2495
|
-
#
|
2496
|
-
#
|
2497
|
-
attr_accessor :translations
|
2498
|
-
|
2499
|
-
# Currently supports Google Cloud Storage URI of the form `gs://bucket_name/
|
2500
|
-
# object_name`. Object versioning is not supported. See [Google Cloud Storage
|
2501
|
-
# Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
2502
|
-
# 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.
|
2503
2471
|
# Corresponds to the JSON property `uri`
|
2504
2472
|
# @return [String]
|
2505
2473
|
attr_accessor :uri
|
@@ -2522,7 +2490,6 @@ module Google
|
|
2522
2490
|
@text = args[:text] if args.key?(:text)
|
2523
2491
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
2524
2492
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
2525
|
-
@translations = args[:translations] if args.key?(:translations)
|
2526
2493
|
@uri = args[:uri] if args.key?(:uri)
|
2527
2494
|
end
|
2528
2495
|
end
|
@@ -2543,12 +2510,12 @@ module Google
|
|
2543
2510
|
# @return [String]
|
2544
2511
|
attr_accessor :id
|
2545
2512
|
|
2546
|
-
# Deprecated. Use `id` field instead.
|
2513
|
+
# Optional. Deprecated. Use `id` field instead.
|
2547
2514
|
# Corresponds to the JSON property `mentionId`
|
2548
2515
|
# @return [String]
|
2549
2516
|
attr_accessor :mention_id
|
2550
2517
|
|
2551
|
-
# Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
2518
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
2552
2519
|
# Corresponds to the JSON property `mentionText`
|
2553
2520
|
# @return [String]
|
2554
2521
|
attr_accessor :mention_text
|
@@ -3853,44 +3820,6 @@ module Google
|
|
3853
3820
|
end
|
3854
3821
|
end
|
3855
3822
|
|
3856
|
-
# A translation of the text segment.
|
3857
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
3858
|
-
include Google::Apis::Core::Hashable
|
3859
|
-
|
3860
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
|
3861
|
-
# see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
3862
|
-
# Corresponds to the JSON property `languageCode`
|
3863
|
-
# @return [String]
|
3864
|
-
attr_accessor :language_code
|
3865
|
-
|
3866
|
-
# The history of this annotation.
|
3867
|
-
# Corresponds to the JSON property `provenance`
|
3868
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance>]
|
3869
|
-
attr_accessor :provenance
|
3870
|
-
|
3871
|
-
# Text reference indexing into the Document.text.
|
3872
|
-
# Corresponds to the JSON property `textAnchor`
|
3873
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
3874
|
-
attr_accessor :text_anchor
|
3875
|
-
|
3876
|
-
# Text translated into the target language.
|
3877
|
-
# Corresponds to the JSON property `translatedText`
|
3878
|
-
# @return [String]
|
3879
|
-
attr_accessor :translated_text
|
3880
|
-
|
3881
|
-
def initialize(**args)
|
3882
|
-
update!(**args)
|
3883
|
-
end
|
3884
|
-
|
3885
|
-
# Update properties of this object
|
3886
|
-
def update!(**args)
|
3887
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
3888
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
3889
|
-
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
|
3890
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
3891
|
-
end
|
3892
|
-
end
|
3893
|
-
|
3894
3823
|
# The Google Cloud Storage location where the output file will be written to.
|
3895
3824
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
3896
3825
|
include Google::Apis::Core::Hashable
|
@@ -4412,9 +4341,9 @@ module Google
|
|
4412
4341
|
class GoogleCloudDocumentaiV1beta3Document
|
4413
4342
|
include Google::Apis::Core::Hashable
|
4414
4343
|
|
4415
|
-
# Inline document content, represented as a stream of bytes. Note: As
|
4416
|
-
# bytes` fields, protobuffers use a pure binary representation,
|
4417
|
-
# 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.
|
4418
4347
|
# Corresponds to the JSON property `content`
|
4419
4348
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4420
4349
|
# @return [String]
|
@@ -4464,7 +4393,7 @@ module Google
|
|
4464
4393
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentShardInfo]
|
4465
4394
|
attr_accessor :shard_info
|
4466
4395
|
|
4467
|
-
# UTF-8 encoded text in reading order from the document.
|
4396
|
+
# Optional. UTF-8 encoded text in reading order from the document.
|
4468
4397
|
# Corresponds to the JSON property `text`
|
4469
4398
|
# @return [String]
|
4470
4399
|
attr_accessor :text
|
@@ -4481,16 +4410,10 @@ module Google
|
|
4481
4410
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle>]
|
4482
4411
|
attr_accessor :text_styles
|
4483
4412
|
|
4484
|
-
#
|
4485
|
-
#
|
4486
|
-
#
|
4487
|
-
#
|
4488
|
-
attr_accessor :translations
|
4489
|
-
|
4490
|
-
# Currently supports Google Cloud Storage URI of the form `gs://bucket_name/
|
4491
|
-
# object_name`. Object versioning is not supported. See [Google Cloud Storage
|
4492
|
-
# Request URIs](https://cloud.google.com/storage/docs/reference-uris) for more
|
4493
|
-
# 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.
|
4494
4417
|
# Corresponds to the JSON property `uri`
|
4495
4418
|
# @return [String]
|
4496
4419
|
attr_accessor :uri
|
@@ -4512,7 +4435,6 @@ module Google
|
|
4512
4435
|
@text = args[:text] if args.key?(:text)
|
4513
4436
|
@text_changes = args[:text_changes] if args.key?(:text_changes)
|
4514
4437
|
@text_styles = args[:text_styles] if args.key?(:text_styles)
|
4515
|
-
@translations = args[:translations] if args.key?(:translations)
|
4516
4438
|
@uri = args[:uri] if args.key?(:uri)
|
4517
4439
|
end
|
4518
4440
|
end
|
@@ -4533,12 +4455,12 @@ module Google
|
|
4533
4455
|
# @return [String]
|
4534
4456
|
attr_accessor :id
|
4535
4457
|
|
4536
|
-
# Deprecated. Use `id` field instead.
|
4458
|
+
# Optional. Deprecated. Use `id` field instead.
|
4537
4459
|
# Corresponds to the JSON property `mentionId`
|
4538
4460
|
# @return [String]
|
4539
4461
|
attr_accessor :mention_id
|
4540
4462
|
|
4541
|
-
# Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
4463
|
+
# Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
|
4542
4464
|
# Corresponds to the JSON property `mentionText`
|
4543
4465
|
# @return [String]
|
4544
4466
|
attr_accessor :mention_text
|
@@ -5845,44 +5767,6 @@ module Google
|
|
5845
5767
|
end
|
5846
5768
|
end
|
5847
5769
|
|
5848
|
-
# A translation of the text segment.
|
5849
|
-
class GoogleCloudDocumentaiV1beta3DocumentTranslation
|
5850
|
-
include Google::Apis::Core::Hashable
|
5851
|
-
|
5852
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
|
5853
|
-
# see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
5854
|
-
# Corresponds to the JSON property `languageCode`
|
5855
|
-
# @return [String]
|
5856
|
-
attr_accessor :language_code
|
5857
|
-
|
5858
|
-
# The history of this annotation.
|
5859
|
-
# Corresponds to the JSON property `provenance`
|
5860
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance>]
|
5861
|
-
attr_accessor :provenance
|
5862
|
-
|
5863
|
-
# Text reference indexing into the Document.text.
|
5864
|
-
# Corresponds to the JSON property `textAnchor`
|
5865
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
|
5866
|
-
attr_accessor :text_anchor
|
5867
|
-
|
5868
|
-
# Text translated into the target language.
|
5869
|
-
# Corresponds to the JSON property `translatedText`
|
5870
|
-
# @return [String]
|
5871
|
-
attr_accessor :translated_text
|
5872
|
-
|
5873
|
-
def initialize(**args)
|
5874
|
-
update!(**args)
|
5875
|
-
end
|
5876
|
-
|
5877
|
-
# Update properties of this object
|
5878
|
-
def update!(**args)
|
5879
|
-
@language_code = args[:language_code] if args.key?(:language_code)
|
5880
|
-
@provenance = args[:provenance] if args.key?(:provenance)
|
5881
|
-
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
|
5882
|
-
@translated_text = args[:translated_text] if args.key?(:translated_text)
|
5883
|
-
end
|
5884
|
-
end
|
5885
|
-
|
5886
5770
|
# Specifies a document stored on Cloud Storage.
|
5887
5771
|
class GoogleCloudDocumentaiV1beta3GcsDocument
|
5888
5772
|
include Google::Apis::Core::Hashable
|
@@ -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.6.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 = "20210308"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ 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
|
+
|
103
109
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -400,12 +406,6 @@ module Google
|
|
400
406
|
include Google::Apis::Core::JsonObjectSupport
|
401
407
|
end
|
402
408
|
|
403
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
404
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
-
|
406
|
-
include Google::Apis::Core::JsonObjectSupport
|
407
|
-
end
|
408
|
-
|
409
409
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
410
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
411
|
|
@@ -664,12 +664,6 @@ module Google
|
|
664
664
|
include Google::Apis::Core::JsonObjectSupport
|
665
665
|
end
|
666
666
|
|
667
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
668
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
|
-
|
670
|
-
include Google::Apis::Core::JsonObjectSupport
|
671
|
-
end
|
672
|
-
|
673
667
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
674
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
669
|
|
@@ -976,12 +970,6 @@ module Google
|
|
976
970
|
include Google::Apis::Core::JsonObjectSupport
|
977
971
|
end
|
978
972
|
|
979
|
-
class GoogleCloudDocumentaiV1beta3DocumentTranslation
|
980
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
-
|
982
|
-
include Google::Apis::Core::JsonObjectSupport
|
983
|
-
end
|
984
|
-
|
985
973
|
class GoogleCloudDocumentaiV1beta3GcsDocument
|
986
974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
975
|
|
@@ -1219,6 +1207,14 @@ module Google
|
|
1219
1207
|
end
|
1220
1208
|
end
|
1221
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
|
+
|
1222
1218
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
1223
1219
|
# @private
|
1224
1220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1396,8 +1392,6 @@ module Google
|
|
1396
1392
|
|
1397
1393
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle::Representation
|
1398
1394
|
|
1399
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTranslation::Representation
|
1400
|
-
|
1401
1395
|
property :uri, as: 'uri'
|
1402
1396
|
end
|
1403
1397
|
end
|
@@ -1767,18 +1761,6 @@ module Google
|
|
1767
1761
|
end
|
1768
1762
|
end
|
1769
1763
|
|
1770
|
-
class GoogleCloudDocumentaiV1beta1DocumentTranslation
|
1771
|
-
# @private
|
1772
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1773
|
-
property :language_code, as: 'languageCode'
|
1774
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1775
|
-
|
1776
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor::Representation
|
1777
|
-
|
1778
|
-
property :translated_text, as: 'translatedText'
|
1779
|
-
end
|
1780
|
-
end
|
1781
|
-
|
1782
1764
|
class GoogleCloudDocumentaiV1beta1GcsDestination
|
1783
1765
|
# @private
|
1784
1766
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1889,8 +1871,6 @@ module Google
|
|
1889
1871
|
|
1890
1872
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle::Representation
|
1891
1873
|
|
1892
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTranslation::Representation
|
1893
|
-
|
1894
1874
|
property :uri, as: 'uri'
|
1895
1875
|
end
|
1896
1876
|
end
|
@@ -2269,18 +2249,6 @@ module Google
|
|
2269
2249
|
end
|
2270
2250
|
end
|
2271
2251
|
|
2272
|
-
class GoogleCloudDocumentaiV1beta2DocumentTranslation
|
2273
|
-
# @private
|
2274
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2275
|
-
property :language_code, as: 'languageCode'
|
2276
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2277
|
-
|
2278
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor::Representation
|
2279
|
-
|
2280
|
-
property :translated_text, as: 'translatedText'
|
2281
|
-
end
|
2282
|
-
end
|
2283
|
-
|
2284
2252
|
class GoogleCloudDocumentaiV1beta2GcsDestination
|
2285
2253
|
# @private
|
2286
2254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2463,8 +2431,6 @@ module Google
|
|
2463
2431
|
|
2464
2432
|
collection :text_styles, as: 'textStyles', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle::Representation
|
2465
2433
|
|
2466
|
-
collection :translations, as: 'translations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTranslation::Representation
|
2467
|
-
|
2468
2434
|
property :uri, as: 'uri'
|
2469
2435
|
end
|
2470
2436
|
end
|
@@ -2849,18 +2815,6 @@ module Google
|
|
2849
2815
|
end
|
2850
2816
|
end
|
2851
2817
|
|
2852
|
-
class GoogleCloudDocumentaiV1beta3DocumentTranslation
|
2853
|
-
# @private
|
2854
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2855
|
-
property :language_code, as: 'languageCode'
|
2856
|
-
collection :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
2857
|
-
|
2858
|
-
property :text_anchor, as: 'textAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor::Representation
|
2859
|
-
|
2860
|
-
property :translated_text, as: 'translatedText'
|
2861
|
-
end
|
2862
|
-
end
|
2863
|
-
|
2864
2818
|
class GoogleCloudDocumentaiV1beta3GcsDocument
|
2865
2819
|
# @private
|
2866
2820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -156,7 +156,8 @@ module Google
|
|
156
156
|
# @param [String] name
|
157
157
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
158
158
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
159
|
-
# locations/`location`/processors/`processor`/
|
159
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
160
|
+
# processorVersion`
|
160
161
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
161
162
|
# @param [String] fields
|
162
163
|
# Selector specifying which fields to include in a partial response.
|
@@ -193,7 +194,7 @@ module Google
|
|
193
194
|
# processing. If a Processor is specified, the server will use its default
|
194
195
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
195
196
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
196
|
-
#
|
197
|
+
# processorVersions/`processorVersion`
|
197
198
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
198
199
|
# @param [String] fields
|
199
200
|
# Selector specifying which fields to include in a partial response.
|
@@ -264,7 +265,8 @@ module Google
|
|
264
265
|
# @param [String] name
|
265
266
|
# Required. The resource name of Processor or ProcessorVersion. Format: projects/
|
266
267
|
# `project`/locations/`location`/processors/`processor`, or projects/`project`/
|
267
|
-
# locations/`location`/processors/`processor`/
|
268
|
+
# locations/`location`/processors/`processor`/processorVersions/`
|
269
|
+
# processorVersion`
|
268
270
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
|
269
271
|
# @param [String] fields
|
270
272
|
# Selector specifying which fields to include in a partial response.
|
@@ -301,7 +303,7 @@ module Google
|
|
301
303
|
# processing. If a Processor is specified, the server will use its default
|
302
304
|
# version. Format: projects/`project`/locations/`location`/processors/`processor`
|
303
305
|
# , or projects/`project`/locations/`location`/processors/`processor`/
|
304
|
-
#
|
306
|
+
# processorVersions/`processorVersion`
|
305
307
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
|
306
308
|
# @param [String] fields
|
307
309
|
# 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.6.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-03-
|
11
|
+
date: 2021-03-15 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.6.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: []
|