google-apis-documentai_v1beta3 0.10.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +175 -110
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +93 -36
- data/lib/google/apis/documentai_v1beta3/service.rb +83 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5a7c8ef0311e7cf6c92173ae32503a29bcaa843e1ddfcd5cdb6b9db3d0ce266
|
4
|
+
data.tar.gz: 3b77a8fe012b1f353608f3c71f056321ea89c98bac32d21ee7325abfb1b414de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64433852663dd4aa48309d825ccabbe204f35da99db28570776249ef4485b4097774ca7280ccbd39771b628160d293e2beafac8db5b2d0ecf3211b5a51aec645
|
7
|
+
data.tar.gz: 2a233c45bc83196104a933643951f53e8a6910ee09f5632554073718b1de8e8774277496a1db6850b2c578538585c0b01b23866eab3a4af111814ff3cb1e9daf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.15.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210617
|
6
|
+
|
7
|
+
### v0.14.0 (2021-06-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210607
|
10
|
+
|
11
|
+
### v0.13.0 (2021-06-03)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210527
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.12.0 (2021-05-25)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210520
|
19
|
+
|
20
|
+
### v0.11.0 (2021-05-19)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.10.0 (2021-05-12)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210507
|
@@ -1084,6 +1084,12 @@ module Google
|
|
1084
1084
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageParagraph>]
|
1085
1085
|
attr_accessor :paragraphs
|
1086
1086
|
|
1087
|
+
# Structure to identify provenance relationships between annotations in
|
1088
|
+
# different revisions.
|
1089
|
+
# Corresponds to the JSON property `provenance`
|
1090
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance]
|
1091
|
+
attr_accessor :provenance
|
1092
|
+
|
1087
1093
|
# A list of visually detected tables on the page.
|
1088
1094
|
# Corresponds to the JSON property `tables`
|
1089
1095
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
|
@@ -1121,6 +1127,7 @@ module Google
|
|
1121
1127
|
@lines = args[:lines] if args.key?(:lines)
|
1122
1128
|
@page_number = args[:page_number] if args.key?(:page_number)
|
1123
1129
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
1130
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1124
1131
|
@tables = args[:tables] if args.key?(:tables)
|
1125
1132
|
@tokens = args[:tokens] if args.key?(:tokens)
|
1126
1133
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -1174,7 +1181,9 @@ module Google
|
|
1174
1181
|
attr_accessor :layout_type
|
1175
1182
|
|
1176
1183
|
# Required. Index into the Document.pages element, for example using Document.
|
1177
|
-
# pages to locate the related page element.
|
1184
|
+
# pages to locate the related page element. This field is skipped when its value
|
1185
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
1186
|
+
# proto3#json.
|
1178
1187
|
# Corresponds to the JSON property `page`
|
1179
1188
|
# @return [Fixnum]
|
1180
1189
|
attr_accessor :page
|
@@ -1302,6 +1311,12 @@ module Google
|
|
1302
1311
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
1303
1312
|
attr_accessor :name_detected_languages
|
1304
1313
|
|
1314
|
+
# Structure to identify provenance relationships between annotations in
|
1315
|
+
# different revisions.
|
1316
|
+
# Corresponds to the JSON property `provenance`
|
1317
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance]
|
1318
|
+
attr_accessor :provenance
|
1319
|
+
|
1305
1320
|
# A list of detected languages for value together with confidence.
|
1306
1321
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
1307
1322
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
@@ -1323,6 +1338,7 @@ module Google
|
|
1323
1338
|
@field_name = args[:field_name] if args.key?(:field_name)
|
1324
1339
|
@field_value = args[:field_value] if args.key?(:field_value)
|
1325
1340
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
1341
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1326
1342
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
1327
1343
|
@value_type = args[:value_type] if args.key?(:value_type)
|
1328
1344
|
end
|
@@ -2792,6 +2808,12 @@ module Google
|
|
2792
2808
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
|
2793
2809
|
attr_accessor :paragraphs
|
2794
2810
|
|
2811
|
+
# Structure to identify provenance relationships between annotations in
|
2812
|
+
# different revisions.
|
2813
|
+
# Corresponds to the JSON property `provenance`
|
2814
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
2815
|
+
attr_accessor :provenance
|
2816
|
+
|
2795
2817
|
# A list of visually detected tables on the page.
|
2796
2818
|
# Corresponds to the JSON property `tables`
|
2797
2819
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
|
@@ -2829,6 +2851,7 @@ module Google
|
|
2829
2851
|
@lines = args[:lines] if args.key?(:lines)
|
2830
2852
|
@page_number = args[:page_number] if args.key?(:page_number)
|
2831
2853
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
2854
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
2832
2855
|
@tables = args[:tables] if args.key?(:tables)
|
2833
2856
|
@tokens = args[:tokens] if args.key?(:tokens)
|
2834
2857
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -2882,7 +2905,9 @@ module Google
|
|
2882
2905
|
attr_accessor :layout_type
|
2883
2906
|
|
2884
2907
|
# Required. Index into the Document.pages element, for example using Document.
|
2885
|
-
# pages to locate the related page element.
|
2908
|
+
# pages to locate the related page element. This field is skipped when its value
|
2909
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
2910
|
+
# proto3#json.
|
2886
2911
|
# Corresponds to the JSON property `page`
|
2887
2912
|
# @return [Fixnum]
|
2888
2913
|
attr_accessor :page
|
@@ -3010,6 +3035,12 @@ module Google
|
|
3010
3035
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
3011
3036
|
attr_accessor :name_detected_languages
|
3012
3037
|
|
3038
|
+
# Structure to identify provenance relationships between annotations in
|
3039
|
+
# different revisions.
|
3040
|
+
# Corresponds to the JSON property `provenance`
|
3041
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
3042
|
+
attr_accessor :provenance
|
3043
|
+
|
3013
3044
|
# A list of detected languages for value together with confidence.
|
3014
3045
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
3015
3046
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
@@ -3031,6 +3062,7 @@ module Google
|
|
3031
3062
|
@field_name = args[:field_name] if args.key?(:field_name)
|
3032
3063
|
@field_value = args[:field_value] if args.key?(:field_value)
|
3033
3064
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
3065
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
3034
3066
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
3035
3067
|
@value_type = args[:value_type] if args.key?(:value_type)
|
3036
3068
|
end
|
@@ -4353,6 +4385,44 @@ module Google
|
|
4353
4385
|
end
|
4354
4386
|
end
|
4355
4387
|
|
4388
|
+
# The long running operation metadata for delete processor method.
|
4389
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
4390
|
+
include Google::Apis::Core::Hashable
|
4391
|
+
|
4392
|
+
# The common metadata for long running operations.
|
4393
|
+
# Corresponds to the JSON property `commonMetadata`
|
4394
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
4395
|
+
attr_accessor :common_metadata
|
4396
|
+
|
4397
|
+
def initialize(**args)
|
4398
|
+
update!(**args)
|
4399
|
+
end
|
4400
|
+
|
4401
|
+
# Update properties of this object
|
4402
|
+
def update!(**args)
|
4403
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
4404
|
+
end
|
4405
|
+
end
|
4406
|
+
|
4407
|
+
# The long running operation metadata for disable processor method.
|
4408
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
4409
|
+
include Google::Apis::Core::Hashable
|
4410
|
+
|
4411
|
+
# The common metadata for long running operations.
|
4412
|
+
# Corresponds to the JSON property `commonMetadata`
|
4413
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
4414
|
+
attr_accessor :common_metadata
|
4415
|
+
|
4416
|
+
def initialize(**args)
|
4417
|
+
update!(**args)
|
4418
|
+
end
|
4419
|
+
|
4420
|
+
# Update properties of this object
|
4421
|
+
def update!(**args)
|
4422
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
4423
|
+
end
|
4424
|
+
end
|
4425
|
+
|
4356
4426
|
# Request message for the disable processor method.
|
4357
4427
|
class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
|
4358
4428
|
include Google::Apis::Core::Hashable
|
@@ -4366,6 +4436,20 @@ module Google
|
|
4366
4436
|
end
|
4367
4437
|
end
|
4368
4438
|
|
4439
|
+
# Response message for the disable processor method. Intentionally empty proto
|
4440
|
+
# for adding fields in future.
|
4441
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
4442
|
+
include Google::Apis::Core::Hashable
|
4443
|
+
|
4444
|
+
def initialize(**args)
|
4445
|
+
update!(**args)
|
4446
|
+
end
|
4447
|
+
|
4448
|
+
# Update properties of this object
|
4449
|
+
def update!(**args)
|
4450
|
+
end
|
4451
|
+
end
|
4452
|
+
|
4369
4453
|
# Document represents the canonical document resource in Document Understanding
|
4370
4454
|
# AI. It is an interchange format that provides insights into documents and
|
4371
4455
|
# allows for collaboration between users and Document Understanding AI to
|
@@ -4765,6 +4849,12 @@ module Google
|
|
4765
4849
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageParagraph>]
|
4766
4850
|
attr_accessor :paragraphs
|
4767
4851
|
|
4852
|
+
# Structure to identify provenance relationships between annotations in
|
4853
|
+
# different revisions.
|
4854
|
+
# Corresponds to the JSON property `provenance`
|
4855
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance]
|
4856
|
+
attr_accessor :provenance
|
4857
|
+
|
4768
4858
|
# A list of visually detected tables on the page.
|
4769
4859
|
# Corresponds to the JSON property `tables`
|
4770
4860
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable>]
|
@@ -4802,6 +4892,7 @@ module Google
|
|
4802
4892
|
@lines = args[:lines] if args.key?(:lines)
|
4803
4893
|
@page_number = args[:page_number] if args.key?(:page_number)
|
4804
4894
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
4895
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
4805
4896
|
@tables = args[:tables] if args.key?(:tables)
|
4806
4897
|
@tokens = args[:tokens] if args.key?(:tokens)
|
4807
4898
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -4855,7 +4946,9 @@ module Google
|
|
4855
4946
|
attr_accessor :layout_type
|
4856
4947
|
|
4857
4948
|
# Required. Index into the Document.pages element, for example using Document.
|
4858
|
-
# pages to locate the related page element.
|
4949
|
+
# pages to locate the related page element. This field is skipped when its value
|
4950
|
+
# is the default 0. See https://developers.google.com/protocol-buffers/docs/
|
4951
|
+
# proto3#json.
|
4859
4952
|
# Corresponds to the JSON property `page`
|
4860
4953
|
# @return [Fixnum]
|
4861
4954
|
attr_accessor :page
|
@@ -4983,6 +5076,12 @@ module Google
|
|
4983
5076
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
|
4984
5077
|
attr_accessor :name_detected_languages
|
4985
5078
|
|
5079
|
+
# Structure to identify provenance relationships between annotations in
|
5080
|
+
# different revisions.
|
5081
|
+
# Corresponds to the JSON property `provenance`
|
5082
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance]
|
5083
|
+
attr_accessor :provenance
|
5084
|
+
|
4986
5085
|
# A list of detected languages for value together with confidence.
|
4987
5086
|
# Corresponds to the JSON property `valueDetectedLanguages`
|
4988
5087
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
|
@@ -5004,6 +5103,7 @@ module Google
|
|
5004
5103
|
@field_name = args[:field_name] if args.key?(:field_name)
|
5005
5104
|
@field_value = args[:field_value] if args.key?(:field_value)
|
5006
5105
|
@name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
|
5106
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
5007
5107
|
@value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
|
5008
5108
|
@value_type = args[:value_type] if args.key?(:value_type)
|
5009
5109
|
end
|
@@ -5812,6 +5912,25 @@ module Google
|
|
5812
5912
|
end
|
5813
5913
|
end
|
5814
5914
|
|
5915
|
+
# The long running operation metadata for enable processor method.
|
5916
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
5917
|
+
include Google::Apis::Core::Hashable
|
5918
|
+
|
5919
|
+
# The common metadata for long running operations.
|
5920
|
+
# Corresponds to the JSON property `commonMetadata`
|
5921
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
5922
|
+
attr_accessor :common_metadata
|
5923
|
+
|
5924
|
+
def initialize(**args)
|
5925
|
+
update!(**args)
|
5926
|
+
end
|
5927
|
+
|
5928
|
+
# Update properties of this object
|
5929
|
+
def update!(**args)
|
5930
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5931
|
+
end
|
5932
|
+
end
|
5933
|
+
|
5815
5934
|
# Request message for the enable processor method.
|
5816
5935
|
class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
|
5817
5936
|
include Google::Apis::Core::Hashable
|
@@ -5825,6 +5944,20 @@ module Google
|
|
5825
5944
|
end
|
5826
5945
|
end
|
5827
5946
|
|
5947
|
+
# Response message for the enable processor method. Intentionally empty proto
|
5948
|
+
# for adding fields in future.
|
5949
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
5950
|
+
include Google::Apis::Core::Hashable
|
5951
|
+
|
5952
|
+
def initialize(**args)
|
5953
|
+
update!(**args)
|
5954
|
+
end
|
5955
|
+
|
5956
|
+
# Update properties of this object
|
5957
|
+
def update!(**args)
|
5958
|
+
end
|
5959
|
+
end
|
5960
|
+
|
5828
5961
|
# Response message for fetch processor types.
|
5829
5962
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
5830
5963
|
include Google::Apis::Core::Hashable
|
@@ -6182,11 +6315,6 @@ module Google
|
|
6182
6315
|
# @return [String]
|
6183
6316
|
attr_accessor :name
|
6184
6317
|
|
6185
|
-
# The schema defines the output of the processed document by a processor.
|
6186
|
-
# Corresponds to the JSON property `schema`
|
6187
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema]
|
6188
|
-
attr_accessor :schema
|
6189
|
-
|
6190
6318
|
# The type of the processor, e.g, "invoice_parsing".
|
6191
6319
|
# Corresponds to the JSON property `type`
|
6192
6320
|
# @return [String]
|
@@ -6202,7 +6330,6 @@ module Google
|
|
6202
6330
|
@available_locations = args[:available_locations] if args.key?(:available_locations)
|
6203
6331
|
@category = args[:category] if args.key?(:category)
|
6204
6332
|
@name = args[:name] if args.key?(:name)
|
6205
|
-
@schema = args[:schema] if args.key?(:schema)
|
6206
6333
|
@type = args[:type] if args.key?(:type)
|
6207
6334
|
end
|
6208
6335
|
end
|
@@ -6296,7 +6423,7 @@ module Google
|
|
6296
6423
|
end
|
6297
6424
|
end
|
6298
6425
|
|
6299
|
-
# Request message for review document method.
|
6426
|
+
# Request message for review document method. Next Id: 6.
|
6300
6427
|
class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
|
6301
6428
|
include Google::Apis::Core::Hashable
|
6302
6429
|
|
@@ -6308,6 +6435,12 @@ module Google
|
|
6308
6435
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
|
6309
6436
|
attr_accessor :document
|
6310
6437
|
|
6438
|
+
# Whether the validation should be performed on the ad-hoc review request.
|
6439
|
+
# Corresponds to the JSON property `enableSchemaValidation`
|
6440
|
+
# @return [Boolean]
|
6441
|
+
attr_accessor :enable_schema_validation
|
6442
|
+
alias_method :enable_schema_validation?, :enable_schema_validation
|
6443
|
+
|
6311
6444
|
# Document represents the canonical document resource in Document Understanding
|
6312
6445
|
# AI. It is an interchange format that provides insights into documents and
|
6313
6446
|
# allows for collaboration between users and Document Understanding AI to
|
@@ -6316,6 +6449,11 @@ module Google
|
|
6316
6449
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
|
6317
6450
|
attr_accessor :inline_document
|
6318
6451
|
|
6452
|
+
# The priority of the human review task.
|
6453
|
+
# Corresponds to the JSON property `priority`
|
6454
|
+
# @return [String]
|
6455
|
+
attr_accessor :priority
|
6456
|
+
|
6319
6457
|
def initialize(**args)
|
6320
6458
|
update!(**args)
|
6321
6459
|
end
|
@@ -6323,7 +6461,9 @@ module Google
|
|
6323
6461
|
# Update properties of this object
|
6324
6462
|
def update!(**args)
|
6325
6463
|
@document = args[:document] if args.key?(:document)
|
6464
|
+
@enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
|
6326
6465
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
6466
|
+
@priority = args[:priority] if args.key?(:priority)
|
6327
6467
|
end
|
6328
6468
|
end
|
6329
6469
|
|
@@ -6346,106 +6486,6 @@ module Google
|
|
6346
6486
|
end
|
6347
6487
|
end
|
6348
6488
|
|
6349
|
-
# The schema defines the output of the processed document by a processor.
|
6350
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
6351
|
-
include Google::Apis::Core::Hashable
|
6352
|
-
|
6353
|
-
# Description of the schema.
|
6354
|
-
# Corresponds to the JSON property `description`
|
6355
|
-
# @return [String]
|
6356
|
-
attr_accessor :description
|
6357
|
-
|
6358
|
-
# Display name to show to users.
|
6359
|
-
# Corresponds to the JSON property `displayName`
|
6360
|
-
# @return [String]
|
6361
|
-
attr_accessor :display_name
|
6362
|
-
|
6363
|
-
# Entity types of the schema.
|
6364
|
-
# Corresponds to the JSON property `entityTypes`
|
6365
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
|
6366
|
-
attr_accessor :entity_types
|
6367
|
-
|
6368
|
-
def initialize(**args)
|
6369
|
-
update!(**args)
|
6370
|
-
end
|
6371
|
-
|
6372
|
-
# Update properties of this object
|
6373
|
-
def update!(**args)
|
6374
|
-
@description = args[:description] if args.key?(:description)
|
6375
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
6376
|
-
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
6377
|
-
end
|
6378
|
-
end
|
6379
|
-
|
6380
|
-
# EntityType is the wrapper of a label of the corresponding model with detailed
|
6381
|
-
# attributes and limitations for entity-based processors. Multiple types can
|
6382
|
-
# also compose a dependency tree to represent nested types.
|
6383
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
6384
|
-
include Google::Apis::Core::Hashable
|
6385
|
-
|
6386
|
-
# Type of the entity. It must be one of the following: `document` - the entity
|
6387
|
-
# represents a classification of a logical document. `object` - if the entity
|
6388
|
-
# has properties it is likely an object (or or a document.) `datetime` - the
|
6389
|
-
# entity is a date or time value. `money` - the entity represents a money value
|
6390
|
-
# amount. `number` - the entity is a number - integer or floating point. `string`
|
6391
|
-
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
6392
|
-
# address` - the entity is a location address.
|
6393
|
-
# Corresponds to the JSON property `baseType`
|
6394
|
-
# @return [String]
|
6395
|
-
attr_accessor :base_type
|
6396
|
-
|
6397
|
-
# Description of the entity type.
|
6398
|
-
# Corresponds to the JSON property `description`
|
6399
|
-
# @return [String]
|
6400
|
-
attr_accessor :description
|
6401
|
-
|
6402
|
-
# For some entity types there are only a few possible values. They can be
|
6403
|
-
# specified here.
|
6404
|
-
# Corresponds to the JSON property `enumValues`
|
6405
|
-
# @return [Array<String>]
|
6406
|
-
attr_accessor :enum_values
|
6407
|
-
|
6408
|
-
# Occurrence type limits the number of times an entity type appears in the
|
6409
|
-
# document.
|
6410
|
-
# Corresponds to the JSON property `occurrenceType`
|
6411
|
-
# @return [String]
|
6412
|
-
attr_accessor :occurrence_type
|
6413
|
-
|
6414
|
-
# Describing the nested structure of an entity. An EntityType may consist of
|
6415
|
-
# several other EntityTypes. For example, in a document there can be an
|
6416
|
-
# EntityType 'ID', which consists of EntityType 'name' and 'address', with
|
6417
|
-
# corresponding attributes, such as TEXT for both types and ONCE for occurrence
|
6418
|
-
# types.
|
6419
|
-
# Corresponds to the JSON property `properties`
|
6420
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
|
6421
|
-
attr_accessor :properties
|
6422
|
-
|
6423
|
-
# Source of this entity type.
|
6424
|
-
# Corresponds to the JSON property `source`
|
6425
|
-
# @return [String]
|
6426
|
-
attr_accessor :source
|
6427
|
-
|
6428
|
-
# Name of the type. It must be unique within the set of same level types.
|
6429
|
-
# Corresponds to the JSON property `type`
|
6430
|
-
# @return [String]
|
6431
|
-
attr_accessor :type
|
6432
|
-
|
6433
|
-
def initialize(**args)
|
6434
|
-
update!(**args)
|
6435
|
-
end
|
6436
|
-
|
6437
|
-
# Update properties of this object
|
6438
|
-
def update!(**args)
|
6439
|
-
@base_type = args[:base_type] if args.key?(:base_type)
|
6440
|
-
@description = args[:description] if args.key?(:description)
|
6441
|
-
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
6442
|
-
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
6443
|
-
@properties = args[:properties] if args.key?(:properties)
|
6444
|
-
@source = args[:source] if args.key?(:source)
|
6445
|
-
@type = args[:type] if args.key?(:type)
|
6446
|
-
end
|
6447
|
-
end
|
6448
|
-
|
6449
6489
|
# A vertex represents a 2D point in the image. NOTE: the vertex coordinates are
|
6450
6490
|
# in the same scale as the original image.
|
6451
6491
|
class GoogleCloudDocumentaiV1beta3Vertex
|
@@ -6544,6 +6584,31 @@ module Google
|
|
6544
6584
|
end
|
6545
6585
|
end
|
6546
6586
|
|
6587
|
+
# The response message for Operations.ListOperations.
|
6588
|
+
class GoogleLongrunningListOperationsResponse
|
6589
|
+
include Google::Apis::Core::Hashable
|
6590
|
+
|
6591
|
+
# The standard List next-page token.
|
6592
|
+
# Corresponds to the JSON property `nextPageToken`
|
6593
|
+
# @return [String]
|
6594
|
+
attr_accessor :next_page_token
|
6595
|
+
|
6596
|
+
# A list of operations that matches the specified filter in the request.
|
6597
|
+
# Corresponds to the JSON property `operations`
|
6598
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation>]
|
6599
|
+
attr_accessor :operations
|
6600
|
+
|
6601
|
+
def initialize(**args)
|
6602
|
+
update!(**args)
|
6603
|
+
end
|
6604
|
+
|
6605
|
+
# Update properties of this object
|
6606
|
+
def update!(**args)
|
6607
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
6608
|
+
@operations = args[:operations] if args.key?(:operations)
|
6609
|
+
end
|
6610
|
+
end
|
6611
|
+
|
6547
6612
|
# This resource represents a long-running operation that is the result of a
|
6548
6613
|
# network API call.
|
6549
6614
|
class GoogleLongrunningOperation
|
@@ -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.15.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 = "20210617"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -760,12 +760,30 @@ module Google
|
|
760
760
|
include Google::Apis::Core::JsonObjectSupport
|
761
761
|
end
|
762
762
|
|
763
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
769
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
|
+
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
773
|
+
end
|
774
|
+
|
763
775
|
class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
|
764
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
777
|
|
766
778
|
include Google::Apis::Core::JsonObjectSupport
|
767
779
|
end
|
768
780
|
|
781
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
769
787
|
class GoogleCloudDocumentaiV1beta3Document
|
770
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
789
|
|
@@ -970,12 +988,24 @@ module Google
|
|
970
988
|
include Google::Apis::Core::JsonObjectSupport
|
971
989
|
end
|
972
990
|
|
991
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
|
+
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
995
|
+
end
|
996
|
+
|
973
997
|
class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
|
974
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
999
|
|
976
1000
|
include Google::Apis::Core::JsonObjectSupport
|
977
1001
|
end
|
978
1002
|
|
1003
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1005
|
+
|
1006
|
+
include Google::Apis::Core::JsonObjectSupport
|
1007
|
+
end
|
1008
|
+
|
979
1009
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
980
1010
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
1011
|
|
@@ -1072,31 +1102,25 @@ module Google
|
|
1072
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1073
1103
|
end
|
1074
1104
|
|
1075
|
-
class
|
1076
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1077
|
-
|
1078
|
-
include Google::Apis::Core::JsonObjectSupport
|
1079
|
-
end
|
1080
|
-
|
1081
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
1105
|
+
class GoogleCloudDocumentaiV1beta3Vertex
|
1082
1106
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1083
1107
|
|
1084
1108
|
include Google::Apis::Core::JsonObjectSupport
|
1085
1109
|
end
|
1086
1110
|
|
1087
|
-
class
|
1111
|
+
class GoogleCloudLocationListLocationsResponse
|
1088
1112
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
1113
|
|
1090
1114
|
include Google::Apis::Core::JsonObjectSupport
|
1091
1115
|
end
|
1092
1116
|
|
1093
|
-
class
|
1117
|
+
class GoogleCloudLocationLocation
|
1094
1118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
1119
|
|
1096
1120
|
include Google::Apis::Core::JsonObjectSupport
|
1097
1121
|
end
|
1098
1122
|
|
1099
|
-
class
|
1123
|
+
class GoogleLongrunningListOperationsResponse
|
1100
1124
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1101
1125
|
|
1102
1126
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1505,6 +1529,8 @@ module Google
|
|
1505
1529
|
property :page_number, as: 'pageNumber'
|
1506
1530
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
|
1507
1531
|
|
1532
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1533
|
+
|
1508
1534
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
|
1509
1535
|
|
1510
1536
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
|
@@ -1574,6 +1600,8 @@ module Google
|
|
1574
1600
|
|
1575
1601
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
1576
1602
|
|
1603
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
|
1604
|
+
|
1577
1605
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
1578
1606
|
|
1579
1607
|
property :value_type, as: 'valueType'
|
@@ -1995,6 +2023,8 @@ module Google
|
|
1995
2023
|
property :page_number, as: 'pageNumber'
|
1996
2024
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
|
1997
2025
|
|
2026
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2027
|
+
|
1998
2028
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
|
1999
2029
|
|
2000
2030
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
|
@@ -2064,6 +2094,8 @@ module Google
|
|
2064
2094
|
|
2065
2095
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
2066
2096
|
|
2097
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
|
2098
|
+
|
2067
2099
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
2068
2100
|
|
2069
2101
|
property :value_type, as: 'valueType'
|
@@ -2455,12 +2487,34 @@ module Google
|
|
2455
2487
|
end
|
2456
2488
|
end
|
2457
2489
|
|
2490
|
+
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
2491
|
+
# @private
|
2492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2493
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2494
|
+
|
2495
|
+
end
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
2499
|
+
# @private
|
2500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2501
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2502
|
+
|
2503
|
+
end
|
2504
|
+
end
|
2505
|
+
|
2458
2506
|
class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
|
2459
2507
|
# @private
|
2460
2508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2461
2509
|
end
|
2462
2510
|
end
|
2463
2511
|
|
2512
|
+
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
2513
|
+
# @private
|
2514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2515
|
+
end
|
2516
|
+
end
|
2517
|
+
|
2464
2518
|
class GoogleCloudDocumentaiV1beta3Document
|
2465
2519
|
# @private
|
2466
2520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2569,6 +2623,8 @@ module Google
|
|
2569
2623
|
property :page_number, as: 'pageNumber'
|
2570
2624
|
collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageParagraph::Representation
|
2571
2625
|
|
2626
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
2627
|
+
|
2572
2628
|
collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable::Representation
|
2573
2629
|
|
2574
2630
|
collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken::Representation
|
@@ -2638,6 +2694,8 @@ module Google
|
|
2638
2694
|
|
2639
2695
|
collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
|
2640
2696
|
|
2697
|
+
property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
|
2698
|
+
|
2641
2699
|
collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
|
2642
2700
|
|
2643
2701
|
property :value_type, as: 'valueType'
|
@@ -2869,12 +2927,26 @@ module Google
|
|
2869
2927
|
end
|
2870
2928
|
end
|
2871
2929
|
|
2930
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
2931
|
+
# @private
|
2932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2933
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2934
|
+
|
2935
|
+
end
|
2936
|
+
end
|
2937
|
+
|
2872
2938
|
class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
|
2873
2939
|
# @private
|
2874
2940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2875
2941
|
end
|
2876
2942
|
end
|
2877
2943
|
|
2944
|
+
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
2945
|
+
# @private
|
2946
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2947
|
+
end
|
2948
|
+
end
|
2949
|
+
|
2878
2950
|
class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
|
2879
2951
|
# @private
|
2880
2952
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2978,8 +3050,6 @@ module Google
|
|
2978
3050
|
|
2979
3051
|
property :category, as: 'category'
|
2980
3052
|
property :name, as: 'name'
|
2981
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema::Representation
|
2982
|
-
|
2983
3053
|
property :type, as: 'type'
|
2984
3054
|
end
|
2985
3055
|
end
|
@@ -3016,8 +3086,10 @@ module Google
|
|
3016
3086
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3017
3087
|
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
3018
3088
|
|
3089
|
+
property :enable_schema_validation, as: 'enableSchemaValidation'
|
3019
3090
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
3020
3091
|
|
3092
|
+
property :priority, as: 'priority'
|
3021
3093
|
end
|
3022
3094
|
end
|
3023
3095
|
|
@@ -3028,30 +3100,6 @@ module Google
|
|
3028
3100
|
end
|
3029
3101
|
end
|
3030
3102
|
|
3031
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
3032
|
-
# @private
|
3033
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3034
|
-
property :description, as: 'description'
|
3035
|
-
property :display_name, as: 'displayName'
|
3036
|
-
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
|
3037
|
-
|
3038
|
-
end
|
3039
|
-
end
|
3040
|
-
|
3041
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
3042
|
-
# @private
|
3043
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3044
|
-
property :base_type, as: 'baseType'
|
3045
|
-
property :description, as: 'description'
|
3046
|
-
collection :enum_values, as: 'enumValues'
|
3047
|
-
property :occurrence_type, as: 'occurrenceType'
|
3048
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
|
3049
|
-
|
3050
|
-
property :source, as: 'source'
|
3051
|
-
property :type, as: 'type'
|
3052
|
-
end
|
3053
|
-
end
|
3054
|
-
|
3055
3103
|
class GoogleCloudDocumentaiV1beta3Vertex
|
3056
3104
|
# @private
|
3057
3105
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3080,6 +3128,15 @@ module Google
|
|
3080
3128
|
end
|
3081
3129
|
end
|
3082
3130
|
|
3131
|
+
class GoogleLongrunningListOperationsResponse
|
3132
|
+
# @private
|
3133
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3134
|
+
property :next_page_token, as: 'nextPageToken'
|
3135
|
+
collection :operations, as: 'operations', class: Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation, decorator: Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
3136
|
+
|
3137
|
+
end
|
3138
|
+
end
|
3139
|
+
|
3083
3140
|
class GoogleLongrunningOperation
|
3084
3141
|
# @private
|
3085
3142
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -156,6 +156,43 @@ module Google
|
|
156
156
|
execute_or_queue_command(command, &block)
|
157
157
|
end
|
158
158
|
|
159
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
160
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
161
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
162
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
163
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
164
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
165
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
166
|
+
# corresponding to `Code.CANCELLED`.
|
167
|
+
# @param [String] name
|
168
|
+
# The name of the operation resource to be cancelled.
|
169
|
+
# @param [String] fields
|
170
|
+
# Selector specifying which fields to include in a partial response.
|
171
|
+
# @param [String] quota_user
|
172
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
173
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
174
|
+
# @param [Google::Apis::RequestOptions] options
|
175
|
+
# Request-specific options
|
176
|
+
#
|
177
|
+
# @yield [result, err] Result & error if block supplied
|
178
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleProtobufEmpty] parsed result object
|
179
|
+
# @yieldparam err [StandardError] error object if request failed
|
180
|
+
#
|
181
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleProtobufEmpty]
|
182
|
+
#
|
183
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
184
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
|
+
def cancel_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
187
|
+
command = make_simple_command(:delete, 'v1beta3/{+name}', options)
|
188
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleProtobufEmpty::Representation
|
189
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleProtobufEmpty
|
190
|
+
command.params['name'] = name unless name.nil?
|
191
|
+
command.query['fields'] = fields unless fields.nil?
|
192
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
193
|
+
execute_or_queue_command(command, &block)
|
194
|
+
end
|
195
|
+
|
159
196
|
# Gets the latest state of a long-running operation. Clients can use this method
|
160
197
|
# to poll the operation result at intervals as recommended by the API service.
|
161
198
|
# @param [String] name
|
@@ -187,6 +224,52 @@ module Google
|
|
187
224
|
execute_or_queue_command(command, &block)
|
188
225
|
end
|
189
226
|
|
227
|
+
# Lists operations that match the specified filter in the request. If the server
|
228
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
229
|
+
# binding allows API services to override the binding to use different resource
|
230
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
231
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
232
|
+
# service configuration. For backwards compatibility, the default name includes
|
233
|
+
# the operations collection id, however overriding users must ensure the name
|
234
|
+
# binding is the parent resource, without the operations collection id.
|
235
|
+
# @param [String] name
|
236
|
+
# The name of the operation's parent resource.
|
237
|
+
# @param [String] filter
|
238
|
+
# The standard list filter.
|
239
|
+
# @param [Fixnum] page_size
|
240
|
+
# The standard list page size.
|
241
|
+
# @param [String] page_token
|
242
|
+
# The standard list page token.
|
243
|
+
# @param [String] fields
|
244
|
+
# Selector specifying which fields to include in a partial response.
|
245
|
+
# @param [String] quota_user
|
246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
248
|
+
# @param [Google::Apis::RequestOptions] options
|
249
|
+
# Request-specific options
|
250
|
+
#
|
251
|
+
# @yield [result, err] Result & error if block supplied
|
252
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningListOperationsResponse] parsed result object
|
253
|
+
# @yieldparam err [StandardError] error object if request failed
|
254
|
+
#
|
255
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningListOperationsResponse]
|
256
|
+
#
|
257
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
258
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
261
|
+
command = make_simple_command(:get, 'v1beta3/{+name}', options)
|
262
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningListOperationsResponse::Representation
|
263
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningListOperationsResponse
|
264
|
+
command.params['name'] = name unless name.nil?
|
265
|
+
command.query['filter'] = filter unless filter.nil?
|
266
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
267
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
268
|
+
command.query['fields'] = fields unless fields.nil?
|
269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
270
|
+
execute_or_queue_command(command, &block)
|
271
|
+
end
|
272
|
+
|
190
273
|
# LRO endpoint to batch process many documents. The output is written to Cloud
|
191
274
|
# Storage as JSON in the [Document] format.
|
192
275
|
# @param [String] name
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.15.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Document AI API V1beta3. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.15.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|