google-apis-documentai_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 966915b091808e4904db1e1affc2898d34f29d5d2b2ea8873eedb5f997bf90a9
|
4
|
+
data.tar.gz: ab800191cf9cc31456e68308093aaaf0178644bbdad093ac3951337852ab1185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e382f289b3d6602966680fd5de4e5a1420ff18bca5f4c3af9f0fe1b34676e70db7c6583770edea5e9dd4f4e60394773a87738e7df20e134bf2910f966117549
|
7
|
+
data.tar.gz: 1a8ded691418e42d7095282efc119eb779754bc961ba72ac9e6f8b9400e833a2b4f4d73fd1928cfd59cdbdb6a929dcae8e4ef8e39ba9295c0ee5f0fa8b1c6c94
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-06-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210607
|
6
|
+
|
7
|
+
### v0.5.0 (2021-06-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210527
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-05-25)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210520
|
15
|
+
|
16
|
+
### v0.3.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-05-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210507
|
23
|
+
|
3
24
|
### v0.1.0 (2021-03-31)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210329
|
@@ -341,12 +341,22 @@ module Google
|
|
341
341
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
|
342
342
|
include Google::Apis::Core::Hashable
|
343
343
|
|
344
|
+
# The total number of dataset errors.
|
345
|
+
# Corresponds to the JSON property `datasetErrorCount`
|
346
|
+
# @return [Fixnum]
|
347
|
+
attr_accessor :dataset_error_count
|
348
|
+
|
344
349
|
# Error information for the dataset as a whole. A maximum of 10 dataset errors
|
345
350
|
# will be returned. A single dataset error is terminal for training.
|
346
351
|
# Corresponds to the JSON property `datasetErrors`
|
347
352
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleRpcStatus>]
|
348
353
|
attr_accessor :dataset_errors
|
349
354
|
|
355
|
+
# The total number of document errors.
|
356
|
+
# Corresponds to the JSON property `documentErrorCount`
|
357
|
+
# @return [Fixnum]
|
358
|
+
attr_accessor :document_error_count
|
359
|
+
|
350
360
|
# Error information pertaining to specific documents. A maximum of 10 document
|
351
361
|
# errors will be returned. Any document with errors will not be used throughout
|
352
362
|
# training.
|
@@ -360,7 +370,9 @@ module Google
|
|
360
370
|
|
361
371
|
# Update properties of this object
|
362
372
|
def update!(**args)
|
373
|
+
@dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
|
363
374
|
@dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
|
375
|
+
@document_error_count = args[:document_error_count] if args.key?(:document_error_count)
|
364
376
|
@document_errors = args[:document_errors] if args.key?(:document_errors)
|
365
377
|
end
|
366
378
|
end
|
@@ -1078,6 +1090,12 @@ module Google
|
|
1078
1090
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageParagraph>]
|
1079
1091
|
attr_accessor :paragraphs
|
1080
1092
|
|
1093
|
+
# Structure to identify provenance relationships between annotations in
|
1094
|
+
# different revisions.
|
1095
|
+
# Corresponds to the JSON property `provenance`
|
1096
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance]
|
1097
|
+
attr_accessor :provenance
|
1098
|
+
|
1081
1099
|
# A list of visually detected tables on the page.
|
1082
1100
|
# Corresponds to the JSON property `tables`
|
1083
1101
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable>]
|
@@ -1115,6 +1133,7 @@ module Google
|
|
1115
1133
|
@lines = args[:lines] if args.key?(:lines)
|
1116
1134
|
@page_number = args[:page_number] if args.key?(:page_number)
|
1117
1135
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
1136
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1118
1137
|
@tables = args[:tables] if args.key?(:tables)
|
1119
1138
|
@tokens = args[:tokens] if args.key?(:tokens)
|
1120
1139
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -1152,6 +1171,11 @@ module Google
|
|
1152
1171
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly]
|
1153
1172
|
attr_accessor :bounding_poly
|
1154
1173
|
|
1174
|
+
# Optional. Confidence of detected page element, if applicable. Range [0, 1].
|
1175
|
+
# Corresponds to the JSON property `confidence`
|
1176
|
+
# @return [Float]
|
1177
|
+
attr_accessor :confidence
|
1178
|
+
|
1155
1179
|
# Optional. Deprecated. Use PageRef.bounding_poly instead.
|
1156
1180
|
# Corresponds to the JSON property `layoutId`
|
1157
1181
|
# @return [String]
|
@@ -1163,7 +1187,9 @@ module Google
|
|
1163
1187
|
attr_accessor :layout_type
|
1164
1188
|
|
1165
1189
|
# Required. Index into the Document.pages element, for example using Document.
|
1166
|
-
# pages to locate the related page element.
|
1190
|
+
# pages to locate the related page element. This field is skipped when its value
|
1191
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
1192
|
+
# proto3#json.
|
1167
1193
|
# Corresponds to the JSON property `page`
|
1168
1194
|
# @return [Fixnum]
|
1169
1195
|
attr_accessor :page
|
@@ -1175,6 +1201,7 @@ module Google
|
|
1175
1201
|
# Update properties of this object
|
1176
1202
|
def update!(**args)
|
1177
1203
|
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
|
1204
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1178
1205
|
@layout_id = args[:layout_id] if args.key?(:layout_id)
|
1179
1206
|
@layout_type = args[:layout_type] if args.key?(:layout_type)
|
1180
1207
|
@page = args[:page] if args.key?(:page)
|
@@ -1290,6 +1317,12 @@ module Google
|
|
1290
1317
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage>]
|
1291
1318
|
attr_accessor :name_detected_languages
|
1292
1319
|
|
1320
|
+
# Structure to identify provenance relationships between annotations in
|
1321
|
+
# different revisions.
|
1322
|
+
# Corresponds to the JSON property `provenance`
|
1323
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance]
|
1324
|
+
attr_accessor :provenance
|
1325
|
+
|
1293
1326
|
# A list of detected languages for value together with confidence.
|
1294
1327
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
1295
1328
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage>]
|
@@ -1311,6 +1344,7 @@ module Google
|
|
1311
1344
|
@field_name = args[:field_name] if args.key?(:field_name)
|
1312
1345
|
@field_value = args[:field_value] if args.key?(:field_value)
|
1313
1346
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
1347
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1314
1348
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
1315
1349
|
@value_type = args[:value_type] if args.key?(:value_type)
|
1316
1350
|
end
|
@@ -1729,6 +1763,12 @@ module Google
|
|
1729
1763
|
# @return [Fixnum]
|
1730
1764
|
attr_accessor :id
|
1731
1765
|
|
1766
|
+
# The index of the parent revisions corresponding collection of items (eg. list
|
1767
|
+
# of entities, properties within entities, etc.)
|
1768
|
+
# Corresponds to the JSON property `index`
|
1769
|
+
# @return [Fixnum]
|
1770
|
+
attr_accessor :index
|
1771
|
+
|
1732
1772
|
# The index of the [Document.revisions] identifying the parent revision.
|
1733
1773
|
# Corresponds to the JSON property `revision`
|
1734
1774
|
# @return [Fixnum]
|
@@ -1741,6 +1781,7 @@ module Google
|
|
1741
1781
|
# Update properties of this object
|
1742
1782
|
def update!(**args)
|
1743
1783
|
@id = args[:id] if args.key?(:id)
|
1784
|
+
@index = args[:index] if args.key?(:index)
|
1744
1785
|
@revision = args[:revision] if args.key?(:revision)
|
1745
1786
|
end
|
1746
1787
|
end
|
@@ -2344,10 +2385,16 @@ module Google
|
|
2344
2385
|
end
|
2345
2386
|
end
|
2346
2387
|
|
2347
|
-
# Request message for review document method.
|
2388
|
+
# Request message for review document method. Next Id: 6.
|
2348
2389
|
class GoogleCloudDocumentaiV1ReviewDocumentRequest
|
2349
2390
|
include Google::Apis::Core::Hashable
|
2350
2391
|
|
2392
|
+
# Whether the validation should be performed on the ad-hoc review request.
|
2393
|
+
# Corresponds to the JSON property `enableSchemaValidation`
|
2394
|
+
# @return [Boolean]
|
2395
|
+
attr_accessor :enable_schema_validation
|
2396
|
+
alias_method :enable_schema_validation?, :enable_schema_validation
|
2397
|
+
|
2351
2398
|
# Document represents the canonical document resource in Document Understanding
|
2352
2399
|
# AI. It is an interchange format that provides insights into documents and
|
2353
2400
|
# allows for collaboration between users and Document Understanding AI to
|
@@ -2356,13 +2403,20 @@ module Google
|
|
2356
2403
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
2357
2404
|
attr_accessor :inline_document
|
2358
2405
|
|
2406
|
+
# The priority of the human review task.
|
2407
|
+
# Corresponds to the JSON property `priority`
|
2408
|
+
# @return [String]
|
2409
|
+
attr_accessor :priority
|
2410
|
+
|
2359
2411
|
def initialize(**args)
|
2360
2412
|
update!(**args)
|
2361
2413
|
end
|
2362
2414
|
|
2363
2415
|
# Update properties of this object
|
2364
2416
|
def update!(**args)
|
2417
|
+
@enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
|
2365
2418
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
2419
|
+
@priority = args[:priority] if args.key?(:priority)
|
2366
2420
|
end
|
2367
2421
|
end
|
2368
2422
|
|
@@ -2816,6 +2870,12 @@ module Google
|
|
2816
2870
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageParagraph>]
|
2817
2871
|
attr_accessor :paragraphs
|
2818
2872
|
|
2873
|
+
# Structure to identify provenance relationships between annotations in
|
2874
|
+
# different revisions.
|
2875
|
+
# Corresponds to the JSON property `provenance`
|
2876
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]
|
2877
|
+
attr_accessor :provenance
|
2878
|
+
|
2819
2879
|
# A list of visually detected tables on the page.
|
2820
2880
|
# Corresponds to the JSON property `tables`
|
2821
2881
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
|
@@ -2853,6 +2913,7 @@ module Google
|
|
2853
2913
|
@lines = args[:lines] if args.key?(:lines)
|
2854
2914
|
@page_number = args[:page_number] if args.key?(:page_number)
|
2855
2915
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
2916
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
2856
2917
|
@tables = args[:tables] if args.key?(:tables)
|
2857
2918
|
@tokens = args[:tokens] if args.key?(:tokens)
|
2858
2919
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -2890,6 +2951,11 @@ module Google
|
|
2890
2951
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1BoundingPoly]
|
2891
2952
|
attr_accessor :bounding_poly
|
2892
2953
|
|
2954
|
+
# Optional. Confidence of detected page element, if applicable. Range [0, 1].
|
2955
|
+
# Corresponds to the JSON property `confidence`
|
2956
|
+
# @return [Float]
|
2957
|
+
attr_accessor :confidence
|
2958
|
+
|
2893
2959
|
# Optional. Deprecated. Use PageRef.bounding_poly instead.
|
2894
2960
|
# Corresponds to the JSON property `layoutId`
|
2895
2961
|
# @return [String]
|
@@ -2901,7 +2967,9 @@ module Google
|
|
2901
2967
|
attr_accessor :layout_type
|
2902
2968
|
|
2903
2969
|
# Required. Index into the Document.pages element, for example using Document.
|
2904
|
-
# pages to locate the related page element.
|
2970
|
+
# pages to locate the related page element. This field is skipped when its value
|
2971
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
2972
|
+
# proto3#json.
|
2905
2973
|
# Corresponds to the JSON property `page`
|
2906
2974
|
# @return [Fixnum]
|
2907
2975
|
attr_accessor :page
|
@@ -2913,6 +2981,7 @@ module Google
|
|
2913
2981
|
# Update properties of this object
|
2914
2982
|
def update!(**args)
|
2915
2983
|
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
|
2984
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
2916
2985
|
@layout_id = args[:layout_id] if args.key?(:layout_id)
|
2917
2986
|
@layout_type = args[:layout_type] if args.key?(:layout_type)
|
2918
2987
|
@page = args[:page] if args.key?(:page)
|
@@ -3028,6 +3097,12 @@ module Google
|
|
3028
3097
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
3029
3098
|
attr_accessor :name_detected_languages
|
3030
3099
|
|
3100
|
+
# Structure to identify provenance relationships between annotations in
|
3101
|
+
# different revisions.
|
3102
|
+
# Corresponds to the JSON property `provenance`
|
3103
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]
|
3104
|
+
attr_accessor :provenance
|
3105
|
+
|
3031
3106
|
# A list of detected languages for value together with confidence.
|
3032
3107
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
3033
3108
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
@@ -3049,6 +3124,7 @@ module Google
|
|
3049
3124
|
@field_name = args[:field_name] if args.key?(:field_name)
|
3050
3125
|
@field_value = args[:field_value] if args.key?(:field_value)
|
3051
3126
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
3127
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
3052
3128
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
3053
3129
|
@value_type = args[:value_type] if args.key?(:value_type)
|
3054
3130
|
end
|
@@ -3467,6 +3543,12 @@ module Google
|
|
3467
3543
|
# @return [Fixnum]
|
3468
3544
|
attr_accessor :id
|
3469
3545
|
|
3546
|
+
# The index of the parent revisions corresponding collection of items (eg. list
|
3547
|
+
# of entities, properties within entities, etc.)
|
3548
|
+
# Corresponds to the JSON property `index`
|
3549
|
+
# @return [Fixnum]
|
3550
|
+
attr_accessor :index
|
3551
|
+
|
3470
3552
|
# The index of the [Document.revisions] identifying the parent revision.
|
3471
3553
|
# Corresponds to the JSON property `revision`
|
3472
3554
|
# @return [Fixnum]
|
@@ -3479,6 +3561,7 @@ module Google
|
|
3479
3561
|
# Update properties of this object
|
3480
3562
|
def update!(**args)
|
3481
3563
|
@id = args[:id] if args.key?(:id)
|
3564
|
+
@index = args[:index] if args.key?(:index)
|
3482
3565
|
@revision = args[:revision] if args.key?(:revision)
|
3483
3566
|
end
|
3484
3567
|
end
|
@@ -4511,6 +4594,12 @@ module Google
|
|
4511
4594
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
|
4512
4595
|
attr_accessor :paragraphs
|
4513
4596
|
|
4597
|
+
# Structure to identify provenance relationships between annotations in
|
4598
|
+
# different revisions.
|
4599
|
+
# Corresponds to the JSON property `provenance`
|
4600
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
4601
|
+
attr_accessor :provenance
|
4602
|
+
|
4514
4603
|
# A list of visually detected tables on the page.
|
4515
4604
|
# Corresponds to the JSON property `tables`
|
4516
4605
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
|
@@ -4548,6 +4637,7 @@ module Google
|
|
4548
4637
|
@lines = args[:lines] if args.key?(:lines)
|
4549
4638
|
@page_number = args[:page_number] if args.key?(:page_number)
|
4550
4639
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
4640
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
4551
4641
|
@tables = args[:tables] if args.key?(:tables)
|
4552
4642
|
@tokens = args[:tokens] if args.key?(:tokens)
|
4553
4643
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -4585,6 +4675,11 @@ module Google
|
|
4585
4675
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly]
|
4586
4676
|
attr_accessor :bounding_poly
|
4587
4677
|
|
4678
|
+
# Optional. Confidence of detected page element, if applicable. Range [0, 1].
|
4679
|
+
# Corresponds to the JSON property `confidence`
|
4680
|
+
# @return [Float]
|
4681
|
+
attr_accessor :confidence
|
4682
|
+
|
4588
4683
|
# Optional. Deprecated. Use PageRef.bounding_poly instead.
|
4589
4684
|
# Corresponds to the JSON property `layoutId`
|
4590
4685
|
# @return [String]
|
@@ -4596,7 +4691,9 @@ module Google
|
|
4596
4691
|
attr_accessor :layout_type
|
4597
4692
|
|
4598
4693
|
# Required. Index into the Document.pages element, for example using Document.
|
4599
|
-
# pages to locate the related page element.
|
4694
|
+
# pages to locate the related page element. This field is skipped when its value
|
4695
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
4696
|
+
# proto3#json.
|
4600
4697
|
# Corresponds to the JSON property `page`
|
4601
4698
|
# @return [Fixnum]
|
4602
4699
|
attr_accessor :page
|
@@ -4608,6 +4705,7 @@ module Google
|
|
4608
4705
|
# Update properties of this object
|
4609
4706
|
def update!(**args)
|
4610
4707
|
@bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
|
4708
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4611
4709
|
@layout_id = args[:layout_id] if args.key?(:layout_id)
|
4612
4710
|
@layout_type = args[:layout_type] if args.key?(:layout_type)
|
4613
4711
|
@page = args[:page] if args.key?(:page)
|
@@ -4723,6 +4821,12 @@ module Google
|
|
4723
4821
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
4724
4822
|
attr_accessor :name_detected_languages
|
4725
4823
|
|
4824
|
+
# Structure to identify provenance relationships between annotations in
|
4825
|
+
# different revisions.
|
4826
|
+
# Corresponds to the JSON property `provenance`
|
4827
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
4828
|
+
attr_accessor :provenance
|
4829
|
+
|
4726
4830
|
# A list of detected languages for value together with confidence.
|
4727
4831
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
4728
4832
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
@@ -4744,6 +4848,7 @@ module Google
|
|
4744
4848
|
@field_name = args[:field_name] if args.key?(:field_name)
|
4745
4849
|
@field_value = args[:field_value] if args.key?(:field_value)
|
4746
4850
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
4851
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
4747
4852
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
4748
4853
|
@value_type = args[:value_type] if args.key?(:value_type)
|
4749
4854
|
end
|
@@ -5162,6 +5267,12 @@ module Google
|
|
5162
5267
|
# @return [Fixnum]
|
5163
5268
|
attr_accessor :id
|
5164
5269
|
|
5270
|
+
# The index of the parent revisions corresponding collection of items (eg. list
|
5271
|
+
# of entities, properties within entities, etc.)
|
5272
|
+
# Corresponds to the JSON property `index`
|
5273
|
+
# @return [Fixnum]
|
5274
|
+
attr_accessor :index
|
5275
|
+
|
5165
5276
|
# The index of the [Document.revisions] identifying the parent revision.
|
5166
5277
|
# Corresponds to the JSON property `revision`
|
5167
5278
|
# @return [Fixnum]
|
@@ -5174,6 +5285,7 @@ module Google
|
|
5174
5285
|
# Update properties of this object
|
5175
5286
|
def update!(**args)
|
5176
5287
|
@id = args[:id] if args.key?(:id)
|
5288
|
+
@index = args[:index] if args.key?(:index)
|
5177
5289
|
@revision = args[:revision] if args.key?(:revision)
|
5178
5290
|
end
|
5179
5291
|
end
|
@@ -5917,6 +6029,91 @@ module Google
|
|
5917
6029
|
end
|
5918
6030
|
end
|
5919
6031
|
|
6032
|
+
# The long running operation metadata for delete processor method.
|
6033
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
6034
|
+
include Google::Apis::Core::Hashable
|
6035
|
+
|
6036
|
+
# The common metadata for long running operations.
|
6037
|
+
# Corresponds to the JSON property `commonMetadata`
|
6038
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
6039
|
+
attr_accessor :common_metadata
|
6040
|
+
|
6041
|
+
def initialize(**args)
|
6042
|
+
update!(**args)
|
6043
|
+
end
|
6044
|
+
|
6045
|
+
# Update properties of this object
|
6046
|
+
def update!(**args)
|
6047
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
6048
|
+
end
|
6049
|
+
end
|
6050
|
+
|
6051
|
+
# The long running operation metadata for disable processor method.
|
6052
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
6053
|
+
include Google::Apis::Core::Hashable
|
6054
|
+
|
6055
|
+
# The common metadata for long running operations.
|
6056
|
+
# Corresponds to the JSON property `commonMetadata`
|
6057
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
6058
|
+
attr_accessor :common_metadata
|
6059
|
+
|
6060
|
+
def initialize(**args)
|
6061
|
+
update!(**args)
|
6062
|
+
end
|
6063
|
+
|
6064
|
+
# Update properties of this object
|
6065
|
+
def update!(**args)
|
6066
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
6067
|
+
end
|
6068
|
+
end
|
6069
|
+
|
6070
|
+
# Response message for the disable processor method. Intentionally empty proto
|
6071
|
+
# for adding fields in future.
|
6072
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
6073
|
+
include Google::Apis::Core::Hashable
|
6074
|
+
|
6075
|
+
def initialize(**args)
|
6076
|
+
update!(**args)
|
6077
|
+
end
|
6078
|
+
|
6079
|
+
# Update properties of this object
|
6080
|
+
def update!(**args)
|
6081
|
+
end
|
6082
|
+
end
|
6083
|
+
|
6084
|
+
# The long running operation metadata for enable processor method.
|
6085
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
6086
|
+
include Google::Apis::Core::Hashable
|
6087
|
+
|
6088
|
+
# The common metadata for long running operations.
|
6089
|
+
# Corresponds to the JSON property `commonMetadata`
|
6090
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
6091
|
+
attr_accessor :common_metadata
|
6092
|
+
|
6093
|
+
def initialize(**args)
|
6094
|
+
update!(**args)
|
6095
|
+
end
|
6096
|
+
|
6097
|
+
# Update properties of this object
|
6098
|
+
def update!(**args)
|
6099
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
6100
|
+
end
|
6101
|
+
end
|
6102
|
+
|
6103
|
+
# Response message for the enable processor method. Intentionally empty proto
|
6104
|
+
# for adding fields in future.
|
6105
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
6106
|
+
include Google::Apis::Core::Hashable
|
6107
|
+
|
6108
|
+
def initialize(**args)
|
6109
|
+
update!(**args)
|
6110
|
+
end
|
6111
|
+
|
6112
|
+
# Update properties of this object
|
6113
|
+
def update!(**args)
|
6114
|
+
end
|
6115
|
+
end
|
6116
|
+
|
5920
6117
|
# The status of human review on a processed document.
|
5921
6118
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
5922
6119
|
include Google::Apis::Core::Hashable
|
@@ -6086,19 +6283,6 @@ module Google
|
|
6086
6283
|
end
|
6087
6284
|
end
|
6088
6285
|
|
6089
|
-
# The request message for Operations.CancelOperation.
|
6090
|
-
class GoogleLongrunningCancelOperationRequest
|
6091
|
-
include Google::Apis::Core::Hashable
|
6092
|
-
|
6093
|
-
def initialize(**args)
|
6094
|
-
update!(**args)
|
6095
|
-
end
|
6096
|
-
|
6097
|
-
# Update properties of this object
|
6098
|
-
def update!(**args)
|
6099
|
-
end
|
6100
|
-
end
|
6101
|
-
|
6102
6286
|
# The response message for Operations.ListOperations.
|
6103
6287
|
class GoogleLongrunningListOperationsResponse
|
6104
6288
|
include Google::Apis::Core::Hashable
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1006,37 +1006,61 @@ module Google
|
|
1006
1006
|
include Google::Apis::Core::JsonObjectSupport
|
1007
1007
|
end
|
1008
1008
|
|
1009
|
-
class
|
1009
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
1010
1010
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1011
1011
|
|
1012
1012
|
include Google::Apis::Core::JsonObjectSupport
|
1013
1013
|
end
|
1014
1014
|
|
1015
|
-
class
|
1015
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
1016
1016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
1017
|
|
1018
1018
|
include Google::Apis::Core::JsonObjectSupport
|
1019
1019
|
end
|
1020
1020
|
|
1021
|
-
class
|
1021
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
1022
1022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1023
1023
|
|
1024
1024
|
include Google::Apis::Core::JsonObjectSupport
|
1025
1025
|
end
|
1026
1026
|
|
1027
|
-
class
|
1027
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
1028
1028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1029
1029
|
|
1030
1030
|
include Google::Apis::Core::JsonObjectSupport
|
1031
1031
|
end
|
1032
1032
|
|
1033
|
-
class
|
1033
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
1034
1034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1035
1035
|
|
1036
1036
|
include Google::Apis::Core::JsonObjectSupport
|
1037
1037
|
end
|
1038
1038
|
|
1039
|
-
class
|
1039
|
+
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1041
|
+
|
1042
|
+
include Google::Apis::Core::JsonObjectSupport
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
|
+
|
1048
|
+
include Google::Apis::Core::JsonObjectSupport
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
|
1052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1053
|
+
|
1054
|
+
include Google::Apis::Core::JsonObjectSupport
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
class GoogleCloudLocationListLocationsResponse
|
1058
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
|
+
|
1060
|
+
include Google::Apis::Core::JsonObjectSupport
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
class GoogleCloudLocationLocation
|
1040
1064
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1041
1065
|
|
1042
1066
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1230,8 +1254,10 @@ module Google
|
|
1230
1254
|
class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
|
1231
1255
|
# @private
|
1232
1256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1257
|
+
property :dataset_error_count, as: 'datasetErrorCount'
|
1233
1258
|
collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1234
1259
|
|
1260
|
+
property :document_error_count, as: 'documentErrorCount'
|
1235
1261
|
collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1236
1262
|
|
1237
1263
|
end
|
@@ -1453,6 +1479,8 @@ module Google
|
|
1453
1479
|
property :page_number, as: 'pageNumber'
|
1454
1480
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageParagraph::Representation
|
1455
1481
|
|
1482
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
|
1483
|
+
|
1456
1484
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable::Representation
|
1457
1485
|
|
1458
1486
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken::Representation
|
@@ -1477,6 +1505,7 @@ module Google
|
|
1477
1505
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1478
1506
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly::Representation
|
1479
1507
|
|
1508
|
+
property :confidence, as: 'confidence'
|
1480
1509
|
property :layout_id, as: 'layoutId'
|
1481
1510
|
property :layout_type, as: 'layoutType'
|
1482
1511
|
property :page, :numeric_string => true, as: 'page'
|
@@ -1521,6 +1550,8 @@ module Google
|
|
1521
1550
|
|
1522
1551
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::Representation
|
1523
1552
|
|
1553
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
|
1554
|
+
|
1524
1555
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::Representation
|
1525
1556
|
|
1526
1557
|
property :value_type, as: 'valueType'
|
@@ -1664,6 +1695,7 @@ module Google
|
|
1664
1695
|
# @private
|
1665
1696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1666
1697
|
property :id, as: 'id'
|
1698
|
+
property :index, as: 'index'
|
1667
1699
|
property :revision, as: 'revision'
|
1668
1700
|
end
|
1669
1701
|
end
|
@@ -1831,8 +1863,10 @@ module Google
|
|
1831
1863
|
class GoogleCloudDocumentaiV1ReviewDocumentRequest
|
1832
1864
|
# @private
|
1833
1865
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1866
|
+
property :enable_schema_validation, as: 'enableSchemaValidation'
|
1834
1867
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
|
1835
1868
|
|
1869
|
+
property :priority, as: 'priority'
|
1836
1870
|
end
|
1837
1871
|
end
|
1838
1872
|
|
@@ -1962,6 +1996,8 @@ module Google
|
|
1962
1996
|
property :page_number, as: 'pageNumber'
|
1963
1997
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
|
1964
1998
|
|
1999
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
2000
|
+
|
1965
2001
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
|
1966
2002
|
|
1967
2003
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
|
@@ -1986,6 +2022,7 @@ module Google
|
|
1986
2022
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1987
2023
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1BoundingPoly::Representation
|
1988
2024
|
|
2025
|
+
property :confidence, as: 'confidence'
|
1989
2026
|
property :layout_id, as: 'layoutId'
|
1990
2027
|
property :layout_type, as: 'layoutType'
|
1991
2028
|
property :page, :numeric_string => true, as: 'page'
|
@@ -2030,6 +2067,8 @@ module Google
|
|
2030
2067
|
|
2031
2068
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
2032
2069
|
|
2070
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
2071
|
+
|
2033
2072
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
2034
2073
|
|
2035
2074
|
property :value_type, as: 'valueType'
|
@@ -2173,6 +2212,7 @@ module Google
|
|
2173
2212
|
# @private
|
2174
2213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2175
2214
|
property :id, as: 'id'
|
2215
|
+
property :index, as: 'index'
|
2176
2216
|
property :revision, as: 'revision'
|
2177
2217
|
end
|
2178
2218
|
end
|
@@ -2450,6 +2490,8 @@ module Google
|
|
2450
2490
|
property :page_number, as: 'pageNumber'
|
2451
2491
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
|
2452
2492
|
|
2493
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2494
|
+
|
2453
2495
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
|
2454
2496
|
|
2455
2497
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
|
@@ -2474,6 +2516,7 @@ module Google
|
|
2474
2516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2475
2517
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
|
2476
2518
|
|
2519
|
+
property :confidence, as: 'confidence'
|
2477
2520
|
property :layout_id, as: 'layoutId'
|
2478
2521
|
property :layout_type, as: 'layoutType'
|
2479
2522
|
property :page, :numeric_string => true, as: 'page'
|
@@ -2518,6 +2561,8 @@ module Google
|
|
2518
2561
|
|
2519
2562
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
2520
2563
|
|
2564
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2565
|
+
|
2521
2566
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
2522
2567
|
|
2523
2568
|
property :value_type, as: 'valueType'
|
@@ -2661,6 +2706,7 @@ module Google
|
|
2661
2706
|
# @private
|
2662
2707
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2663
2708
|
property :id, as: 'id'
|
2709
|
+
property :index, as: 'index'
|
2664
2710
|
property :revision, as: 'revision'
|
2665
2711
|
end
|
2666
2712
|
end
|
@@ -2858,6 +2904,42 @@ module Google
|
|
2858
2904
|
end
|
2859
2905
|
end
|
2860
2906
|
|
2907
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
2908
|
+
# @private
|
2909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2910
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2911
|
+
|
2912
|
+
end
|
2913
|
+
end
|
2914
|
+
|
2915
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
2916
|
+
# @private
|
2917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2918
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2919
|
+
|
2920
|
+
end
|
2921
|
+
end
|
2922
|
+
|
2923
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
2924
|
+
# @private
|
2925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2926
|
+
end
|
2927
|
+
end
|
2928
|
+
|
2929
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
2930
|
+
# @private
|
2931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2932
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2933
|
+
|
2934
|
+
end
|
2935
|
+
end
|
2936
|
+
|
2937
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
2938
|
+
# @private
|
2939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2940
|
+
end
|
2941
|
+
end
|
2942
|
+
|
2861
2943
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
2862
2944
|
# @private
|
2863
2945
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2906,12 +2988,6 @@ module Google
|
|
2906
2988
|
end
|
2907
2989
|
end
|
2908
2990
|
|
2909
|
-
class GoogleLongrunningCancelOperationRequest
|
2910
|
-
# @private
|
2911
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2912
|
-
end
|
2913
|
-
end
|
2914
|
-
|
2915
2991
|
class GoogleLongrunningListOperationsResponse
|
2916
2992
|
# @private
|
2917
2993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -51,17 +51,12 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
55
|
-
#
|
56
|
-
# server doesn't support this method, it returns `google.rpc.Code.
|
57
|
-
#
|
58
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
59
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
60
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
61
|
-
# corresponding to `Code.CANCELLED`.
|
54
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
55
|
+
# longer interested in the operation result. It does not cancel the operation.
|
56
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
57
|
+
# UNIMPLEMENTED`.
|
62
58
|
# @param [String] name
|
63
|
-
# The name of the operation resource to be
|
64
|
-
# @param [Google::Apis::DocumentaiV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
59
|
+
# The name of the operation resource to be deleted.
|
65
60
|
# @param [String] fields
|
66
61
|
# Selector specifying which fields to include in a partial response.
|
67
62
|
# @param [String] quota_user
|
@@ -79,10 +74,8 @@ module Google
|
|
79
74
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
-
def
|
83
|
-
command = make_simple_command(:
|
84
|
-
command.request_representation = Google::Apis::DocumentaiV1::GoogleLongrunningCancelOperationRequest::Representation
|
85
|
-
command.request_object = google_longrunning_cancel_operation_request_object
|
77
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
86
79
|
command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
|
87
80
|
command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
|
88
81
|
command.params['name'] = name unless name.nil?
|
@@ -91,12 +84,9 @@ module Google
|
|
91
84
|
execute_or_queue_command(command, &block)
|
92
85
|
end
|
93
86
|
|
94
|
-
#
|
95
|
-
# longer interested in the operation result. It does not cancel the operation.
|
96
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
97
|
-
# UNIMPLEMENTED`.
|
87
|
+
# Gets information about a location.
|
98
88
|
# @param [String] name
|
99
|
-
#
|
89
|
+
# Resource name for the location.
|
100
90
|
# @param [String] fields
|
101
91
|
# Selector specifying which fields to include in a partial response.
|
102
92
|
# @param [String] quota_user
|
@@ -106,40 +96,37 @@ module Google
|
|
106
96
|
# Request-specific options
|
107
97
|
#
|
108
98
|
# @yield [result, err] Result & error if block supplied
|
109
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::
|
99
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation] parsed result object
|
110
100
|
# @yieldparam err [StandardError] error object if request failed
|
111
101
|
#
|
112
|
-
# @return [Google::Apis::DocumentaiV1::
|
102
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudLocationLocation]
|
113
103
|
#
|
114
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
-
def
|
118
|
-
command = make_simple_command(:
|
119
|
-
command.response_representation = Google::Apis::DocumentaiV1::
|
120
|
-
command.response_class = Google::Apis::DocumentaiV1::
|
107
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
109
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation::Representation
|
110
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationLocation
|
121
111
|
command.params['name'] = name unless name.nil?
|
122
112
|
command.query['fields'] = fields unless fields.nil?
|
123
113
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
114
|
execute_or_queue_command(command, &block)
|
125
115
|
end
|
126
116
|
|
127
|
-
# Lists
|
128
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
129
|
-
# binding allows API services to override the binding to use different resource
|
130
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
131
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
132
|
-
# service configuration. For backwards compatibility, the default name includes
|
133
|
-
# the operations collection id, however overriding users must ensure the name
|
134
|
-
# binding is the parent resource, without the operations collection id.
|
117
|
+
# Lists information about the supported locations for this service.
|
135
118
|
# @param [String] name
|
136
|
-
# The
|
119
|
+
# The resource that owns the locations collection, if applicable.
|
137
120
|
# @param [String] filter
|
138
|
-
#
|
121
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
122
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
123
|
+
# AIP-160](https://google.aip.dev/160).
|
139
124
|
# @param [Fixnum] page_size
|
140
|
-
# The
|
125
|
+
# The maximum number of results to return. If not set, the service selects a
|
126
|
+
# default.
|
141
127
|
# @param [String] page_token
|
142
|
-
#
|
128
|
+
# A page token received from the `next_page_token` field in the response. Send
|
129
|
+
# that page token to receive the subsequent page.
|
143
130
|
# @param [String] fields
|
144
131
|
# Selector specifying which fields to include in a partial response.
|
145
132
|
# @param [String] quota_user
|
@@ -149,18 +136,18 @@ module Google
|
|
149
136
|
# Request-specific options
|
150
137
|
#
|
151
138
|
# @yield [result, err] Result & error if block supplied
|
152
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::
|
139
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse] parsed result object
|
153
140
|
# @yieldparam err [StandardError] error object if request failed
|
154
141
|
#
|
155
|
-
# @return [Google::Apis::DocumentaiV1::
|
142
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse]
|
156
143
|
#
|
157
144
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
158
145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
159
146
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
160
|
-
def
|
161
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
162
|
-
command.response_representation = Google::Apis::DocumentaiV1::
|
163
|
-
command.response_class = Google::Apis::DocumentaiV1::
|
147
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
148
|
+
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
149
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse::Representation
|
150
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse
|
164
151
|
command.params['name'] = name unless name.nil?
|
165
152
|
command.query['filter'] = filter unless filter.nil?
|
166
153
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -170,9 +157,16 @@ module Google
|
|
170
157
|
execute_or_queue_command(command, &block)
|
171
158
|
end
|
172
159
|
|
173
|
-
#
|
160
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
161
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
162
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
163
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
164
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
165
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
166
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
167
|
+
# corresponding to `Code.CANCELLED`.
|
174
168
|
# @param [String] name
|
175
|
-
#
|
169
|
+
# The name of the operation resource to be cancelled.
|
176
170
|
# @param [String] fields
|
177
171
|
# Selector specifying which fields to include in a partial response.
|
178
172
|
# @param [String] quota_user
|
@@ -182,37 +176,28 @@ module Google
|
|
182
176
|
# Request-specific options
|
183
177
|
#
|
184
178
|
# @yield [result, err] Result & error if block supplied
|
185
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::
|
179
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleProtobufEmpty] parsed result object
|
186
180
|
# @yieldparam err [StandardError] error object if request failed
|
187
181
|
#
|
188
|
-
# @return [Google::Apis::DocumentaiV1::
|
182
|
+
# @return [Google::Apis::DocumentaiV1::GoogleProtobufEmpty]
|
189
183
|
#
|
190
184
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
191
185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
192
186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
193
|
-
def
|
194
|
-
command = make_simple_command(:
|
195
|
-
command.response_representation = Google::Apis::DocumentaiV1::
|
196
|
-
command.response_class = Google::Apis::DocumentaiV1::
|
187
|
+
def cancel_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
188
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
189
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
|
190
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
|
197
191
|
command.params['name'] = name unless name.nil?
|
198
192
|
command.query['fields'] = fields unless fields.nil?
|
199
193
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
194
|
execute_or_queue_command(command, &block)
|
201
195
|
end
|
202
196
|
|
203
|
-
#
|
197
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
198
|
+
# to poll the operation result at intervals as recommended by the API service.
|
204
199
|
# @param [String] name
|
205
|
-
# The
|
206
|
-
# @param [String] filter
|
207
|
-
# A filter to narrow down results to a preferred subset. The filtering language
|
208
|
-
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
209
|
-
# AIP-160](https://google.aip.dev/160).
|
210
|
-
# @param [Fixnum] page_size
|
211
|
-
# The maximum number of results to return. If not set, the service will select a
|
212
|
-
# default.
|
213
|
-
# @param [String] page_token
|
214
|
-
# A page token received from the `next_page_token` field in the response. Send
|
215
|
-
# that page token to receive the subsequent page.
|
200
|
+
# The name of the operation resource.
|
216
201
|
# @param [String] fields
|
217
202
|
# Selector specifying which fields to include in a partial response.
|
218
203
|
# @param [String] quota_user
|
@@ -222,31 +207,40 @@ module Google
|
|
222
207
|
# Request-specific options
|
223
208
|
#
|
224
209
|
# @yield [result, err] Result & error if block supplied
|
225
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::
|
210
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningOperation] parsed result object
|
226
211
|
# @yieldparam err [StandardError] error object if request failed
|
227
212
|
#
|
228
|
-
# @return [Google::Apis::DocumentaiV1::
|
213
|
+
# @return [Google::Apis::DocumentaiV1::GoogleLongrunningOperation]
|
229
214
|
#
|
230
215
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
231
216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
232
217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
233
|
-
def
|
234
|
-
command = make_simple_command(:get, 'v1/{+name}
|
235
|
-
command.response_representation = Google::Apis::DocumentaiV1::
|
236
|
-
command.response_class = Google::Apis::DocumentaiV1::
|
218
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
219
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
220
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningOperation::Representation
|
221
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningOperation
|
237
222
|
command.params['name'] = name unless name.nil?
|
238
|
-
command.query['filter'] = filter unless filter.nil?
|
239
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
240
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
241
223
|
command.query['fields'] = fields unless fields.nil?
|
242
224
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
243
225
|
execute_or_queue_command(command, &block)
|
244
226
|
end
|
245
227
|
|
246
|
-
#
|
247
|
-
#
|
228
|
+
# Lists operations that match the specified filter in the request. If the server
|
229
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
230
|
+
# binding allows API services to override the binding to use different resource
|
231
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
232
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
233
|
+
# service configuration. For backwards compatibility, the default name includes
|
234
|
+
# the operations collection id, however overriding users must ensure the name
|
235
|
+
# binding is the parent resource, without the operations collection id.
|
248
236
|
# @param [String] name
|
249
|
-
# The name of the operation resource.
|
237
|
+
# The name of the operation's parent resource.
|
238
|
+
# @param [String] filter
|
239
|
+
# The standard list filter.
|
240
|
+
# @param [Fixnum] page_size
|
241
|
+
# The standard list page size.
|
242
|
+
# @param [String] page_token
|
243
|
+
# The standard list page token.
|
250
244
|
# @param [String] fields
|
251
245
|
# Selector specifying which fields to include in a partial response.
|
252
246
|
# @param [String] quota_user
|
@@ -256,19 +250,22 @@ module Google
|
|
256
250
|
# Request-specific options
|
257
251
|
#
|
258
252
|
# @yield [result, err] Result & error if block supplied
|
259
|
-
# @yieldparam result [Google::Apis::DocumentaiV1::
|
253
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse] parsed result object
|
260
254
|
# @yieldparam err [StandardError] error object if request failed
|
261
255
|
#
|
262
|
-
# @return [Google::Apis::DocumentaiV1::
|
256
|
+
# @return [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse]
|
263
257
|
#
|
264
258
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
265
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
266
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
267
|
-
def
|
261
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
268
262
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
269
|
-
command.response_representation = Google::Apis::DocumentaiV1::
|
270
|
-
command.response_class = Google::Apis::DocumentaiV1::
|
263
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
|
264
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
|
271
265
|
command.params['name'] = name unless name.nil?
|
266
|
+
command.query['filter'] = filter unless filter.nil?
|
267
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
268
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
272
269
|
command.query['fields'] = fields unless fields.nil?
|
273
270
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
274
271
|
execute_or_queue_command(command, &block)
|
@@ -526,7 +523,7 @@ module Google
|
|
526
523
|
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
527
524
|
# AIP-160](https://google.aip.dev/160).
|
528
525
|
# @param [Fixnum] page_size
|
529
|
-
# The maximum number of results to return. If not set, the service
|
526
|
+
# The maximum number of results to return. If not set, the service selects a
|
530
527
|
# default.
|
531
528
|
# @param [String] page_token
|
532
529
|
# A page token received from the `next_page_token` field in the response. Send
|
@@ -561,6 +558,43 @@ module Google
|
|
561
558
|
execute_or_queue_command(command, &block)
|
562
559
|
end
|
563
560
|
|
561
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
562
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
563
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
564
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
565
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
566
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
567
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
568
|
+
# corresponding to `Code.CANCELLED`.
|
569
|
+
# @param [String] name
|
570
|
+
# The name of the operation resource to be cancelled.
|
571
|
+
# @param [String] fields
|
572
|
+
# Selector specifying which fields to include in a partial response.
|
573
|
+
# @param [String] quota_user
|
574
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
575
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
576
|
+
# @param [Google::Apis::RequestOptions] options
|
577
|
+
# Request-specific options
|
578
|
+
#
|
579
|
+
# @yield [result, err] Result & error if block supplied
|
580
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleProtobufEmpty] parsed result object
|
581
|
+
# @yieldparam err [StandardError] error object if request failed
|
582
|
+
#
|
583
|
+
# @return [Google::Apis::DocumentaiV1::GoogleProtobufEmpty]
|
584
|
+
#
|
585
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
586
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
587
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
588
|
+
def cancel_uiv1beta3_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
589
|
+
command = make_simple_command(:delete, 'uiv1beta3/{+name}', options)
|
590
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
|
591
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
|
592
|
+
command.params['name'] = name unless name.nil?
|
593
|
+
command.query['fields'] = fields unless fields.nil?
|
594
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
595
|
+
execute_or_queue_command(command, &block)
|
596
|
+
end
|
597
|
+
|
564
598
|
# Gets the latest state of a long-running operation. Clients can use this method
|
565
599
|
# to poll the operation result at intervals as recommended by the API service.
|
566
600
|
# @param [String] name
|
@@ -591,6 +625,52 @@ module Google
|
|
591
625
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
592
626
|
execute_or_queue_command(command, &block)
|
593
627
|
end
|
628
|
+
|
629
|
+
# Lists operations that match the specified filter in the request. If the server
|
630
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
631
|
+
# binding allows API services to override the binding to use different resource
|
632
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
633
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
634
|
+
# service configuration. For backwards compatibility, the default name includes
|
635
|
+
# the operations collection id, however overriding users must ensure the name
|
636
|
+
# binding is the parent resource, without the operations collection id.
|
637
|
+
# @param [String] name
|
638
|
+
# The name of the operation's parent resource.
|
639
|
+
# @param [String] filter
|
640
|
+
# The standard list filter.
|
641
|
+
# @param [Fixnum] page_size
|
642
|
+
# The standard list page size.
|
643
|
+
# @param [String] page_token
|
644
|
+
# The standard list page token.
|
645
|
+
# @param [String] fields
|
646
|
+
# Selector specifying which fields to include in a partial response.
|
647
|
+
# @param [String] quota_user
|
648
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
649
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
650
|
+
# @param [Google::Apis::RequestOptions] options
|
651
|
+
# Request-specific options
|
652
|
+
#
|
653
|
+
# @yield [result, err] Result & error if block supplied
|
654
|
+
# @yieldparam result [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse] parsed result object
|
655
|
+
# @yieldparam err [StandardError] error object if request failed
|
656
|
+
#
|
657
|
+
# @return [Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse]
|
658
|
+
#
|
659
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
660
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
661
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
662
|
+
def list_uiv1beta3_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
663
|
+
command = make_simple_command(:get, 'uiv1beta3/{+name}', options)
|
664
|
+
command.response_representation = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse::Representation
|
665
|
+
command.response_class = Google::Apis::DocumentaiV1::GoogleLongrunningListOperationsResponse
|
666
|
+
command.params['name'] = name unless name.nil?
|
667
|
+
command.query['filter'] = filter unless filter.nil?
|
668
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
669
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
670
|
+
command.query['fields'] = fields unless fields.nil?
|
671
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
672
|
+
execute_or_queue_command(command, &block)
|
673
|
+
end
|
594
674
|
|
595
675
|
protected
|
596
676
|
|
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.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-
|
11
|
+
date: 2021-06-14 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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Document AI API V1
|