google-apis-documentai_v1 0.68.0 → 0.70.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: 8f62428ab4057ab7d142378597bc91dff52f5c062f9919f8fe51373bcba053f9
|
4
|
+
data.tar.gz: 32cfd53eb2c5ffbf7a2d80d02d6f0baa6b80c3e5eb1d35fded48f8b7b565e305
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17c6a2395cd9a001c80ba4c0313d09d28128eec3d7171a9653bd851f1d69e6a35372fc38eadf0e3fa62c7f3b65e112f05fcd9c94bfefc5dfec18756ee49166ef
|
7
|
+
data.tar.gz: e2e22e25dc67eb3b1543569c37376fe324b27041478ae6823022b95eaa402593524c9cfb0609b550999c21718b8d99b506eeb78850ac3b7dbd1abd39c1bf11db
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.70.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230719
|
6
|
+
|
7
|
+
### v0.69.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230706
|
10
|
+
|
3
11
|
### v0.68.0 (2023-06-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230619
|
@@ -813,6 +813,11 @@ module Google
|
|
813
813
|
# @return [String]
|
814
814
|
attr_accessor :input_gcs_source
|
815
815
|
|
816
|
+
# Document Identifier.
|
817
|
+
# Corresponds to the JSON property `outputDocumentId`
|
818
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId]
|
819
|
+
attr_accessor :output_document_id
|
820
|
+
|
816
821
|
# The output_gcs_destination of the processed document if it was successful,
|
817
822
|
# otherwise empty.
|
818
823
|
# Corresponds to the JSON property `outputGcsDestination`
|
@@ -836,6 +841,7 @@ module Google
|
|
836
841
|
# Update properties of this object
|
837
842
|
def update!(**args)
|
838
843
|
@input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
|
844
|
+
@output_document_id = args[:output_document_id] if args.key?(:output_document_id)
|
839
845
|
@output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
|
840
846
|
@status = args[:status] if args.key?(:status)
|
841
847
|
end
|
@@ -1060,6 +1066,26 @@ module Google
|
|
1060
1066
|
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
|
1061
1067
|
include Google::Apis::Core::Hashable
|
1062
1068
|
|
1069
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1070
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1071
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1072
|
+
# data: error code, error message, and error details. You can find out more
|
1073
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1074
|
+
# //cloud.google.com/apis/design/errors).
|
1075
|
+
# Corresponds to the JSON property `sampleTestStatus`
|
1076
|
+
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
1077
|
+
attr_accessor :sample_test_status
|
1078
|
+
|
1079
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1080
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1081
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1082
|
+
# data: error code, error message, and error details. You can find out more
|
1083
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1084
|
+
# //cloud.google.com/apis/design/errors).
|
1085
|
+
# Corresponds to the JSON property `sampleTrainingStatus`
|
1086
|
+
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
1087
|
+
attr_accessor :sample_training_status
|
1088
|
+
|
1063
1089
|
# The result of the sampling process.
|
1064
1090
|
# Corresponds to the JSON property `selectedDocuments`
|
1065
1091
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument>]
|
@@ -1071,6 +1097,8 @@ module Google
|
|
1071
1097
|
|
1072
1098
|
# Update properties of this object
|
1073
1099
|
def update!(**args)
|
1100
|
+
@sample_test_status = args[:sample_test_status] if args.key?(:sample_test_status)
|
1101
|
+
@sample_training_status = args[:sample_training_status] if args.key?(:sample_training_status)
|
1074
1102
|
@selected_documents = args[:selected_documents] if args.key?(:selected_documents)
|
1075
1103
|
end
|
1076
1104
|
end
|
@@ -1365,6 +1393,11 @@ module Google
|
|
1365
1393
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix]
|
1366
1394
|
attr_accessor :gcs_prefix
|
1367
1395
|
|
1396
|
+
# Specifies a set of raw documents.
|
1397
|
+
# Corresponds to the JSON property `rawDocuments`
|
1398
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments]
|
1399
|
+
attr_accessor :raw_documents
|
1400
|
+
|
1368
1401
|
def initialize(**args)
|
1369
1402
|
update!(**args)
|
1370
1403
|
end
|
@@ -1373,6 +1406,7 @@ module Google
|
|
1373
1406
|
def update!(**args)
|
1374
1407
|
@gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents)
|
1375
1408
|
@gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
|
1409
|
+
@raw_documents = args[:raw_documents] if args.key?(:raw_documents)
|
1376
1410
|
end
|
1377
1411
|
end
|
1378
1412
|
|
@@ -1480,6 +1514,11 @@ module Google
|
|
1480
1514
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
|
1481
1515
|
attr_accessor :input_documents
|
1482
1516
|
|
1517
|
+
# Options for Process API
|
1518
|
+
# Corresponds to the JSON property `processOptions`
|
1519
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions]
|
1520
|
+
attr_accessor :process_options
|
1521
|
+
|
1483
1522
|
# Whether human review should be skipped for this request. Default to `false`.
|
1484
1523
|
# Corresponds to the JSON property `skipHumanReview`
|
1485
1524
|
# @return [Boolean]
|
@@ -1494,6 +1533,7 @@ module Google
|
|
1494
1533
|
def update!(**args)
|
1495
1534
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
1496
1535
|
@input_documents = args[:input_documents] if args.key?(:input_documents)
|
1536
|
+
@process_options = args[:process_options] if args.key?(:process_options)
|
1497
1537
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
1498
1538
|
end
|
1499
1539
|
end
|
@@ -4420,6 +4460,109 @@ module Google
|
|
4420
4460
|
end
|
4421
4461
|
end
|
4422
4462
|
|
4463
|
+
# Config for Document OCR.
|
4464
|
+
class GoogleCloudDocumentaiV1OcrConfig
|
4465
|
+
include Google::Apis::Core::Hashable
|
4466
|
+
|
4467
|
+
# A list of advanced OCR options to further fine-tune OCR behavior. Current
|
4468
|
+
# valid values are: - `legacy_layout`: a heuristics layout detection algorithm,
|
4469
|
+
# which serves as an alternative to the current ML-based layout detection
|
4470
|
+
# algorithm. Customers can choose the best suitable layout algorithm based on
|
4471
|
+
# their situation.
|
4472
|
+
# Corresponds to the JSON property `advancedOcrOptions`
|
4473
|
+
# @return [Array<String>]
|
4474
|
+
attr_accessor :advanced_ocr_options
|
4475
|
+
|
4476
|
+
# Turn on font id model and returns font style information.
|
4477
|
+
# Corresponds to the JSON property `computeStyleInfo`
|
4478
|
+
# @return [Boolean]
|
4479
|
+
attr_accessor :compute_style_info
|
4480
|
+
alias_method :compute_style_info?, :compute_style_info
|
4481
|
+
|
4482
|
+
# Enables intelligent document quality scores after OCR. Can help with
|
4483
|
+
# diagnosing why OCR responses are of poor quality for a given input. Adds
|
4484
|
+
# additional latency comparable to regular OCR to the process call.
|
4485
|
+
# Corresponds to the JSON property `enableImageQualityScores`
|
4486
|
+
# @return [Boolean]
|
4487
|
+
attr_accessor :enable_image_quality_scores
|
4488
|
+
alias_method :enable_image_quality_scores?, :enable_image_quality_scores
|
4489
|
+
|
4490
|
+
# Enables special handling for PDFs with existing text information. Results in
|
4491
|
+
# better text extraction quality in such PDF inputs.
|
4492
|
+
# Corresponds to the JSON property `enableNativePdfParsing`
|
4493
|
+
# @return [Boolean]
|
4494
|
+
attr_accessor :enable_native_pdf_parsing
|
4495
|
+
alias_method :enable_native_pdf_parsing?, :enable_native_pdf_parsing
|
4496
|
+
|
4497
|
+
# Includes symbol level OCR information if set to true.
|
4498
|
+
# Corresponds to the JSON property `enableSymbol`
|
4499
|
+
# @return [Boolean]
|
4500
|
+
attr_accessor :enable_symbol
|
4501
|
+
alias_method :enable_symbol?, :enable_symbol
|
4502
|
+
|
4503
|
+
# Hints for OCR Engine
|
4504
|
+
# Corresponds to the JSON property `hints`
|
4505
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfigHints]
|
4506
|
+
attr_accessor :hints
|
4507
|
+
|
4508
|
+
def initialize(**args)
|
4509
|
+
update!(**args)
|
4510
|
+
end
|
4511
|
+
|
4512
|
+
# Update properties of this object
|
4513
|
+
def update!(**args)
|
4514
|
+
@advanced_ocr_options = args[:advanced_ocr_options] if args.key?(:advanced_ocr_options)
|
4515
|
+
@compute_style_info = args[:compute_style_info] if args.key?(:compute_style_info)
|
4516
|
+
@enable_image_quality_scores = args[:enable_image_quality_scores] if args.key?(:enable_image_quality_scores)
|
4517
|
+
@enable_native_pdf_parsing = args[:enable_native_pdf_parsing] if args.key?(:enable_native_pdf_parsing)
|
4518
|
+
@enable_symbol = args[:enable_symbol] if args.key?(:enable_symbol)
|
4519
|
+
@hints = args[:hints] if args.key?(:hints)
|
4520
|
+
end
|
4521
|
+
end
|
4522
|
+
|
4523
|
+
# Hints for OCR Engine
|
4524
|
+
class GoogleCloudDocumentaiV1OcrConfigHints
|
4525
|
+
include Google::Apis::Core::Hashable
|
4526
|
+
|
4527
|
+
# List of BCP-47 language codes to use for OCR. In most cases, not specifying it
|
4528
|
+
# yields the best results since it enables automatic language detection. For
|
4529
|
+
# languages based on the Latin alphabet, setting hints is not needed. In rare
|
4530
|
+
# cases, when the language of the text in the image is known, setting a hint
|
4531
|
+
# will help get better results (although it will be a significant hindrance if
|
4532
|
+
# the hint is wrong).
|
4533
|
+
# Corresponds to the JSON property `languageHints`
|
4534
|
+
# @return [Array<String>]
|
4535
|
+
attr_accessor :language_hints
|
4536
|
+
|
4537
|
+
def initialize(**args)
|
4538
|
+
update!(**args)
|
4539
|
+
end
|
4540
|
+
|
4541
|
+
# Update properties of this object
|
4542
|
+
def update!(**args)
|
4543
|
+
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
4544
|
+
end
|
4545
|
+
end
|
4546
|
+
|
4547
|
+
# Options for Process API
|
4548
|
+
class GoogleCloudDocumentaiV1ProcessOptions
|
4549
|
+
include Google::Apis::Core::Hashable
|
4550
|
+
|
4551
|
+
# Config for Document OCR.
|
4552
|
+
# Corresponds to the JSON property `ocrConfig`
|
4553
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig]
|
4554
|
+
attr_accessor :ocr_config
|
4555
|
+
|
4556
|
+
def initialize(**args)
|
4557
|
+
update!(**args)
|
4558
|
+
end
|
4559
|
+
|
4560
|
+
# Update properties of this object
|
4561
|
+
def update!(**args)
|
4562
|
+
@ocr_config = args[:ocr_config] if args.key?(:ocr_config)
|
4563
|
+
end
|
4564
|
+
end
|
4565
|
+
|
4423
4566
|
# Request message for the ProcessDocument method.
|
4424
4567
|
class GoogleCloudDocumentaiV1ProcessRequest
|
4425
4568
|
include Google::Apis::Core::Hashable
|
@@ -4431,6 +4574,11 @@ module Google
|
|
4431
4574
|
# @return [String]
|
4432
4575
|
attr_accessor :field_mask
|
4433
4576
|
|
4577
|
+
# Specifies a document stored on Cloud Storage.
|
4578
|
+
# Corresponds to the JSON property `gcsDocument`
|
4579
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocument]
|
4580
|
+
attr_accessor :gcs_document
|
4581
|
+
|
4434
4582
|
# Document represents the canonical document resource in Document AI. It is an
|
4435
4583
|
# interchange format that provides insights into documents and allows for
|
4436
4584
|
# collaboration between users and Document AI to iterate and optimize for
|
@@ -4439,6 +4587,11 @@ module Google
|
|
4439
4587
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
4440
4588
|
attr_accessor :inline_document
|
4441
4589
|
|
4590
|
+
# Options for Process API
|
4591
|
+
# Corresponds to the JSON property `processOptions`
|
4592
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions]
|
4593
|
+
attr_accessor :process_options
|
4594
|
+
|
4442
4595
|
# Payload message of raw document content (bytes).
|
4443
4596
|
# Corresponds to the JSON property `rawDocument`
|
4444
4597
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument]
|
@@ -4457,7 +4610,9 @@ module Google
|
|
4457
4610
|
# Update properties of this object
|
4458
4611
|
def update!(**args)
|
4459
4612
|
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
4613
|
+
@gcs_document = args[:gcs_document] if args.key?(:gcs_document)
|
4460
4614
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
4615
|
+
@process_options = args[:process_options] if args.key?(:process_options)
|
4461
4616
|
@raw_document = args[:raw_document] if args.key?(:raw_document)
|
4462
4617
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
4463
4618
|
end
|
@@ -4663,7 +4818,7 @@ module Google
|
|
4663
4818
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
4664
4819
|
attr_accessor :document_schema
|
4665
4820
|
|
4666
|
-
# Denotes that this `ProcessorVersion` is managed by Google.
|
4821
|
+
# Output only. Denotes that this `ProcessorVersion` is managed by Google.
|
4667
4822
|
# Corresponds to the JSON property `googleManaged`
|
4668
4823
|
# @return [Boolean]
|
4669
4824
|
attr_accessor :google_managed
|
@@ -4766,6 +4921,25 @@ module Google
|
|
4766
4921
|
end
|
4767
4922
|
end
|
4768
4923
|
|
4924
|
+
# Specifies a set of raw documents.
|
4925
|
+
class GoogleCloudDocumentaiV1RawDocuments
|
4926
|
+
include Google::Apis::Core::Hashable
|
4927
|
+
|
4928
|
+
# Specifies raw document content and mime type.
|
4929
|
+
# Corresponds to the JSON property `documents`
|
4930
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument>]
|
4931
|
+
attr_accessor :documents
|
4932
|
+
|
4933
|
+
def initialize(**args)
|
4934
|
+
update!(**args)
|
4935
|
+
end
|
4936
|
+
|
4937
|
+
# Update properties of this object
|
4938
|
+
def update!(**args)
|
4939
|
+
@documents = args[:documents] if args.key?(:documents)
|
4940
|
+
end
|
4941
|
+
end
|
4942
|
+
|
4769
4943
|
# The long-running operation metadata for the ReviewDocument method.
|
4770
4944
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
4771
4945
|
include Google::Apis::Core::Hashable
|
@@ -9440,6 +9614,86 @@ module Google
|
|
9440
9614
|
end
|
9441
9615
|
end
|
9442
9616
|
|
9617
|
+
#
|
9618
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
|
9619
|
+
include Google::Apis::Core::Hashable
|
9620
|
+
|
9621
|
+
# The common metadata for long running operations.
|
9622
|
+
# Corresponds to the JSON property `commonMetadata`
|
9623
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
9624
|
+
attr_accessor :common_metadata
|
9625
|
+
|
9626
|
+
# Total number of documents that failed to be deleted in storage.
|
9627
|
+
# Corresponds to the JSON property `errorDocumentCount`
|
9628
|
+
# @return [Fixnum]
|
9629
|
+
attr_accessor :error_document_count
|
9630
|
+
|
9631
|
+
# The list of response details of each document.
|
9632
|
+
# Corresponds to the JSON property `individualBatchDeleteStatuses`
|
9633
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
|
9634
|
+
attr_accessor :individual_batch_delete_statuses
|
9635
|
+
|
9636
|
+
# Total number of documents deleting from dataset.
|
9637
|
+
# Corresponds to the JSON property `totalDocumentCount`
|
9638
|
+
# @return [Fixnum]
|
9639
|
+
attr_accessor :total_document_count
|
9640
|
+
|
9641
|
+
def initialize(**args)
|
9642
|
+
update!(**args)
|
9643
|
+
end
|
9644
|
+
|
9645
|
+
# Update properties of this object
|
9646
|
+
def update!(**args)
|
9647
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
9648
|
+
@error_document_count = args[:error_document_count] if args.key?(:error_document_count)
|
9649
|
+
@individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
|
9650
|
+
@total_document_count = args[:total_document_count] if args.key?(:total_document_count)
|
9651
|
+
end
|
9652
|
+
end
|
9653
|
+
|
9654
|
+
# The status of each individual document in the batch delete process.
|
9655
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
9656
|
+
include Google::Apis::Core::Hashable
|
9657
|
+
|
9658
|
+
# Document Identifier.
|
9659
|
+
# Corresponds to the JSON property `documentId`
|
9660
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentId]
|
9661
|
+
attr_accessor :document_id
|
9662
|
+
|
9663
|
+
# The `Status` type defines a logical error model that is suitable for different
|
9664
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
9665
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
9666
|
+
# data: error code, error message, and error details. You can find out more
|
9667
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
9668
|
+
# //cloud.google.com/apis/design/errors).
|
9669
|
+
# Corresponds to the JSON property `status`
|
9670
|
+
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
9671
|
+
attr_accessor :status
|
9672
|
+
|
9673
|
+
def initialize(**args)
|
9674
|
+
update!(**args)
|
9675
|
+
end
|
9676
|
+
|
9677
|
+
# Update properties of this object
|
9678
|
+
def update!(**args)
|
9679
|
+
@document_id = args[:document_id] if args.key?(:document_id)
|
9680
|
+
@status = args[:status] if args.key?(:status)
|
9681
|
+
end
|
9682
|
+
end
|
9683
|
+
|
9684
|
+
# Response of the delete documents operation.
|
9685
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
|
9686
|
+
include Google::Apis::Core::Hashable
|
9687
|
+
|
9688
|
+
def initialize(**args)
|
9689
|
+
update!(**args)
|
9690
|
+
end
|
9691
|
+
|
9692
|
+
# Update properties of this object
|
9693
|
+
def update!(**args)
|
9694
|
+
end
|
9695
|
+
end
|
9696
|
+
|
9443
9697
|
# The long-running operation metadata for BatchProcessDocuments.
|
9444
9698
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
9445
9699
|
include Google::Apis::Core::Hashable
|
@@ -9594,6 +9848,128 @@ module Google
|
|
9594
9848
|
end
|
9595
9849
|
end
|
9596
9850
|
|
9851
|
+
# A singleton resource under a Processor which configures a collection of
|
9852
|
+
# documents.
|
9853
|
+
class GoogleCloudDocumentaiV1beta3Dataset
|
9854
|
+
include Google::Apis::Core::Hashable
|
9855
|
+
|
9856
|
+
# Configuration specific to the Document AI Warehouse-based implementation.
|
9857
|
+
# Corresponds to the JSON property `documentWarehouseConfig`
|
9858
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig]
|
9859
|
+
attr_accessor :document_warehouse_config
|
9860
|
+
|
9861
|
+
# Configuration specific to the Cloud Storage-based implementation.
|
9862
|
+
# Corresponds to the JSON property `gcsManagedConfig`
|
9863
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig]
|
9864
|
+
attr_accessor :gcs_managed_config
|
9865
|
+
|
9866
|
+
# Dataset resource name. Format: `projects/`project`/locations/`location`/
|
9867
|
+
# processors/`processor`/dataset`
|
9868
|
+
# Corresponds to the JSON property `name`
|
9869
|
+
# @return [String]
|
9870
|
+
attr_accessor :name
|
9871
|
+
|
9872
|
+
# Configuration specific to spanner-based indexing.
|
9873
|
+
# Corresponds to the JSON property `spannerIndexingConfig`
|
9874
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
|
9875
|
+
attr_accessor :spanner_indexing_config
|
9876
|
+
|
9877
|
+
# Required. State of the dataset. Ignored when updating dataset.
|
9878
|
+
# Corresponds to the JSON property `state`
|
9879
|
+
# @return [String]
|
9880
|
+
attr_accessor :state
|
9881
|
+
|
9882
|
+
# Configuration specific to an unmanaged dataset.
|
9883
|
+
# Corresponds to the JSON property `unmanagedDatasetConfig`
|
9884
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig]
|
9885
|
+
attr_accessor :unmanaged_dataset_config
|
9886
|
+
|
9887
|
+
def initialize(**args)
|
9888
|
+
update!(**args)
|
9889
|
+
end
|
9890
|
+
|
9891
|
+
# Update properties of this object
|
9892
|
+
def update!(**args)
|
9893
|
+
@document_warehouse_config = args[:document_warehouse_config] if args.key?(:document_warehouse_config)
|
9894
|
+
@gcs_managed_config = args[:gcs_managed_config] if args.key?(:gcs_managed_config)
|
9895
|
+
@name = args[:name] if args.key?(:name)
|
9896
|
+
@spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
|
9897
|
+
@state = args[:state] if args.key?(:state)
|
9898
|
+
@unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
|
9899
|
+
end
|
9900
|
+
end
|
9901
|
+
|
9902
|
+
# Configuration specific to the Document AI Warehouse-based implementation.
|
9903
|
+
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
9904
|
+
include Google::Apis::Core::Hashable
|
9905
|
+
|
9906
|
+
# Output only. The collection in Document AI Warehouse associated with the
|
9907
|
+
# dataset.
|
9908
|
+
# Corresponds to the JSON property `collection`
|
9909
|
+
# @return [String]
|
9910
|
+
attr_accessor :collection
|
9911
|
+
|
9912
|
+
# Output only. The schema in Document AI Warehouse associated with the dataset.
|
9913
|
+
# Corresponds to the JSON property `schema`
|
9914
|
+
# @return [String]
|
9915
|
+
attr_accessor :schema
|
9916
|
+
|
9917
|
+
def initialize(**args)
|
9918
|
+
update!(**args)
|
9919
|
+
end
|
9920
|
+
|
9921
|
+
# Update properties of this object
|
9922
|
+
def update!(**args)
|
9923
|
+
@collection = args[:collection] if args.key?(:collection)
|
9924
|
+
@schema = args[:schema] if args.key?(:schema)
|
9925
|
+
end
|
9926
|
+
end
|
9927
|
+
|
9928
|
+
# Configuration specific to the Cloud Storage-based implementation.
|
9929
|
+
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
9930
|
+
include Google::Apis::Core::Hashable
|
9931
|
+
|
9932
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
9933
|
+
# Corresponds to the JSON property `gcsPrefix`
|
9934
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3GcsPrefix]
|
9935
|
+
attr_accessor :gcs_prefix
|
9936
|
+
|
9937
|
+
def initialize(**args)
|
9938
|
+
update!(**args)
|
9939
|
+
end
|
9940
|
+
|
9941
|
+
# Update properties of this object
|
9942
|
+
def update!(**args)
|
9943
|
+
@gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
|
9944
|
+
end
|
9945
|
+
end
|
9946
|
+
|
9947
|
+
# Configuration specific to spanner-based indexing.
|
9948
|
+
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
9949
|
+
include Google::Apis::Core::Hashable
|
9950
|
+
|
9951
|
+
def initialize(**args)
|
9952
|
+
update!(**args)
|
9953
|
+
end
|
9954
|
+
|
9955
|
+
# Update properties of this object
|
9956
|
+
def update!(**args)
|
9957
|
+
end
|
9958
|
+
end
|
9959
|
+
|
9960
|
+
# Configuration specific to an unmanaged dataset.
|
9961
|
+
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
9962
|
+
include Google::Apis::Core::Hashable
|
9963
|
+
|
9964
|
+
def initialize(**args)
|
9965
|
+
update!(**args)
|
9966
|
+
end
|
9967
|
+
|
9968
|
+
# Update properties of this object
|
9969
|
+
def update!(**args)
|
9970
|
+
end
|
9971
|
+
end
|
9972
|
+
|
9597
9973
|
# The long-running operation metadata for the DeleteProcessor method.
|
9598
9974
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
9599
9975
|
include Google::Apis::Core::Hashable
|
@@ -9697,6 +10073,85 @@ module Google
|
|
9697
10073
|
end
|
9698
10074
|
end
|
9699
10075
|
|
10076
|
+
# Document Identifier.
|
10077
|
+
class GoogleCloudDocumentaiV1beta3DocumentId
|
10078
|
+
include Google::Apis::Core::Hashable
|
10079
|
+
|
10080
|
+
# Identifies a document uniquely within the scope of a dataset in the user-
|
10081
|
+
# managed Cloud Storage option.
|
10082
|
+
# Corresponds to the JSON property `gcsManagedDocId`
|
10083
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId]
|
10084
|
+
attr_accessor :gcs_managed_doc_id
|
10085
|
+
|
10086
|
+
# The revision reference specifies which revision on the document to read.
|
10087
|
+
# Corresponds to the JSON property `revisionRef`
|
10088
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3RevisionRef]
|
10089
|
+
attr_accessor :revision_ref
|
10090
|
+
|
10091
|
+
# Identifies a document uniquely within the scope of a dataset in unmanaged
|
10092
|
+
# option.
|
10093
|
+
# Corresponds to the JSON property `unmanagedDocId`
|
10094
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId]
|
10095
|
+
attr_accessor :unmanaged_doc_id
|
10096
|
+
|
10097
|
+
def initialize(**args)
|
10098
|
+
update!(**args)
|
10099
|
+
end
|
10100
|
+
|
10101
|
+
# Update properties of this object
|
10102
|
+
def update!(**args)
|
10103
|
+
@gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
|
10104
|
+
@revision_ref = args[:revision_ref] if args.key?(:revision_ref)
|
10105
|
+
@unmanaged_doc_id = args[:unmanaged_doc_id] if args.key?(:unmanaged_doc_id)
|
10106
|
+
end
|
10107
|
+
end
|
10108
|
+
|
10109
|
+
# Identifies a document uniquely within the scope of a dataset in the user-
|
10110
|
+
# managed Cloud Storage option.
|
10111
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
|
10112
|
+
include Google::Apis::Core::Hashable
|
10113
|
+
|
10114
|
+
# Id of the document (indexed) managed by Content Warehouse.
|
10115
|
+
# Corresponds to the JSON property `cwDocId`
|
10116
|
+
# @return [String]
|
10117
|
+
attr_accessor :cw_doc_id
|
10118
|
+
|
10119
|
+
# Required. The Cloud Storage URI where the actual document is stored.
|
10120
|
+
# Corresponds to the JSON property `gcsUri`
|
10121
|
+
# @return [String]
|
10122
|
+
attr_accessor :gcs_uri
|
10123
|
+
|
10124
|
+
def initialize(**args)
|
10125
|
+
update!(**args)
|
10126
|
+
end
|
10127
|
+
|
10128
|
+
# Update properties of this object
|
10129
|
+
def update!(**args)
|
10130
|
+
@cw_doc_id = args[:cw_doc_id] if args.key?(:cw_doc_id)
|
10131
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
10132
|
+
end
|
10133
|
+
end
|
10134
|
+
|
10135
|
+
# Identifies a document uniquely within the scope of a dataset in unmanaged
|
10136
|
+
# option.
|
10137
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
|
10138
|
+
include Google::Apis::Core::Hashable
|
10139
|
+
|
10140
|
+
# Required. The id of the document.
|
10141
|
+
# Corresponds to the JSON property `docId`
|
10142
|
+
# @return [String]
|
10143
|
+
attr_accessor :doc_id
|
10144
|
+
|
10145
|
+
def initialize(**args)
|
10146
|
+
update!(**args)
|
10147
|
+
end
|
10148
|
+
|
10149
|
+
# Update properties of this object
|
10150
|
+
def update!(**args)
|
10151
|
+
@doc_id = args[:doc_id] if args.key?(:doc_id)
|
10152
|
+
end
|
10153
|
+
end
|
10154
|
+
|
9700
10155
|
# The long-running operation metadata for the EnableProcessor method.
|
9701
10156
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
9702
10157
|
include Google::Apis::Core::Hashable
|
@@ -9768,6 +10223,25 @@ module Google
|
|
9768
10223
|
end
|
9769
10224
|
end
|
9770
10225
|
|
10226
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
10227
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
10228
|
+
include Google::Apis::Core::Hashable
|
10229
|
+
|
10230
|
+
# The URI prefix.
|
10231
|
+
# Corresponds to the JSON property `gcsUriPrefix`
|
10232
|
+
# @return [String]
|
10233
|
+
attr_accessor :gcs_uri_prefix
|
10234
|
+
|
10235
|
+
def initialize(**args)
|
10236
|
+
update!(**args)
|
10237
|
+
end
|
10238
|
+
|
10239
|
+
# Update properties of this object
|
10240
|
+
def update!(**args)
|
10241
|
+
@gcs_uri_prefix = args[:gcs_uri_prefix] if args.key?(:gcs_uri_prefix)
|
10242
|
+
end
|
10243
|
+
end
|
10244
|
+
|
9771
10245
|
# The status of human review on a processed document.
|
9772
10246
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
9773
10247
|
include Google::Apis::Core::Hashable
|
@@ -9802,6 +10276,124 @@ module Google
|
|
9802
10276
|
end
|
9803
10277
|
end
|
9804
10278
|
|
10279
|
+
# Metadata of the import document operation.
|
10280
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
|
10281
|
+
include Google::Apis::Core::Hashable
|
10282
|
+
|
10283
|
+
# The common metadata for long running operations.
|
10284
|
+
# Corresponds to the JSON property `commonMetadata`
|
10285
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
10286
|
+
attr_accessor :common_metadata
|
10287
|
+
|
10288
|
+
# Validation statuses of the batch documents import config.
|
10289
|
+
# Corresponds to the JSON property `importConfigValidationResults`
|
10290
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult>]
|
10291
|
+
attr_accessor :import_config_validation_results
|
10292
|
+
|
10293
|
+
# The list of response details of each document.
|
10294
|
+
# Corresponds to the JSON property `individualImportStatuses`
|
10295
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus>]
|
10296
|
+
attr_accessor :individual_import_statuses
|
10297
|
+
|
10298
|
+
# Total number of the documents that are qualified for importing.
|
10299
|
+
# Corresponds to the JSON property `totalDocumentCount`
|
10300
|
+
# @return [Fixnum]
|
10301
|
+
attr_accessor :total_document_count
|
10302
|
+
|
10303
|
+
def initialize(**args)
|
10304
|
+
update!(**args)
|
10305
|
+
end
|
10306
|
+
|
10307
|
+
# Update properties of this object
|
10308
|
+
def update!(**args)
|
10309
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
10310
|
+
@import_config_validation_results = args[:import_config_validation_results] if args.key?(:import_config_validation_results)
|
10311
|
+
@individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
|
10312
|
+
@total_document_count = args[:total_document_count] if args.key?(:total_document_count)
|
10313
|
+
end
|
10314
|
+
end
|
10315
|
+
|
10316
|
+
# The validation status of each import config. Status is set to errors if there
|
10317
|
+
# is no documents to import in the import_config, or OK if the operation will
|
10318
|
+
# try to proceed at least one document.
|
10319
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
|
10320
|
+
include Google::Apis::Core::Hashable
|
10321
|
+
|
10322
|
+
# The source Cloud Storage URI specified in the import config.
|
10323
|
+
# Corresponds to the JSON property `inputGcsSource`
|
10324
|
+
# @return [String]
|
10325
|
+
attr_accessor :input_gcs_source
|
10326
|
+
|
10327
|
+
# The `Status` type defines a logical error model that is suitable for different
|
10328
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
10329
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
10330
|
+
# data: error code, error message, and error details. You can find out more
|
10331
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
10332
|
+
# //cloud.google.com/apis/design/errors).
|
10333
|
+
# Corresponds to the JSON property `status`
|
10334
|
+
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
10335
|
+
attr_accessor :status
|
10336
|
+
|
10337
|
+
def initialize(**args)
|
10338
|
+
update!(**args)
|
10339
|
+
end
|
10340
|
+
|
10341
|
+
# Update properties of this object
|
10342
|
+
def update!(**args)
|
10343
|
+
@input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
|
10344
|
+
@status = args[:status] if args.key?(:status)
|
10345
|
+
end
|
10346
|
+
end
|
10347
|
+
|
10348
|
+
# The status of each individual document in the import process.
|
10349
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
|
10350
|
+
include Google::Apis::Core::Hashable
|
10351
|
+
|
10352
|
+
# The source Cloud Storage URI of the document.
|
10353
|
+
# Corresponds to the JSON property `inputGcsSource`
|
10354
|
+
# @return [String]
|
10355
|
+
attr_accessor :input_gcs_source
|
10356
|
+
|
10357
|
+
# Document Identifier.
|
10358
|
+
# Corresponds to the JSON property `outputDocumentId`
|
10359
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentId]
|
10360
|
+
attr_accessor :output_document_id
|
10361
|
+
|
10362
|
+
# The `Status` type defines a logical error model that is suitable for different
|
10363
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
10364
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
10365
|
+
# data: error code, error message, and error details. You can find out more
|
10366
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
10367
|
+
# //cloud.google.com/apis/design/errors).
|
10368
|
+
# Corresponds to the JSON property `status`
|
10369
|
+
# @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
|
10370
|
+
attr_accessor :status
|
10371
|
+
|
10372
|
+
def initialize(**args)
|
10373
|
+
update!(**args)
|
10374
|
+
end
|
10375
|
+
|
10376
|
+
# Update properties of this object
|
10377
|
+
def update!(**args)
|
10378
|
+
@input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
|
10379
|
+
@output_document_id = args[:output_document_id] if args.key?(:output_document_id)
|
10380
|
+
@status = args[:status] if args.key?(:status)
|
10381
|
+
end
|
10382
|
+
end
|
10383
|
+
|
10384
|
+
# Response of the import document operation.
|
10385
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
|
10386
|
+
include Google::Apis::Core::Hashable
|
10387
|
+
|
10388
|
+
def initialize(**args)
|
10389
|
+
update!(**args)
|
10390
|
+
end
|
10391
|
+
|
10392
|
+
# Update properties of this object
|
10393
|
+
def update!(**args)
|
10394
|
+
end
|
10395
|
+
end
|
10396
|
+
|
9805
10397
|
# The long-running operation metadata for the ImportProcessorVersion method.
|
9806
10398
|
class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
|
9807
10399
|
include Google::Apis::Core::Hashable
|
@@ -9922,6 +10514,39 @@ module Google
|
|
9922
10514
|
end
|
9923
10515
|
end
|
9924
10516
|
|
10517
|
+
# The revision reference specifies which revision on the document to read.
|
10518
|
+
class GoogleCloudDocumentaiV1beta3RevisionRef
|
10519
|
+
include Google::Apis::Core::Hashable
|
10520
|
+
|
10521
|
+
# Reads the revision generated by the processor version. The format takes the
|
10522
|
+
# full resource name of processor version. `projects/`project`/locations/`
|
10523
|
+
# location`/processors/`processor`/processorVersions/`processorVersion``
|
10524
|
+
# Corresponds to the JSON property `latestProcessorVersion`
|
10525
|
+
# @return [String]
|
10526
|
+
attr_accessor :latest_processor_version
|
10527
|
+
|
10528
|
+
# Reads the revision by the predefined case.
|
10529
|
+
# Corresponds to the JSON property `revisionCase`
|
10530
|
+
# @return [String]
|
10531
|
+
attr_accessor :revision_case
|
10532
|
+
|
10533
|
+
# Reads the revision given by the id.
|
10534
|
+
# Corresponds to the JSON property `revisionId`
|
10535
|
+
# @return [String]
|
10536
|
+
attr_accessor :revision_id
|
10537
|
+
|
10538
|
+
def initialize(**args)
|
10539
|
+
update!(**args)
|
10540
|
+
end
|
10541
|
+
|
10542
|
+
# Update properties of this object
|
10543
|
+
def update!(**args)
|
10544
|
+
@latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
|
10545
|
+
@revision_case = args[:revision_case] if args.key?(:revision_case)
|
10546
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
10547
|
+
end
|
10548
|
+
end
|
10549
|
+
|
9925
10550
|
# The long-running operation metadata for the SetDefaultProcessorVersion method.
|
9926
10551
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
9927
10552
|
include Google::Apis::Core::Hashable
|
@@ -10079,6 +10704,25 @@ module Google
|
|
10079
10704
|
end
|
10080
10705
|
end
|
10081
10706
|
|
10707
|
+
#
|
10708
|
+
class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
|
10709
|
+
include Google::Apis::Core::Hashable
|
10710
|
+
|
10711
|
+
# The common metadata for long running operations.
|
10712
|
+
# Corresponds to the JSON property `commonMetadata`
|
10713
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
|
10714
|
+
attr_accessor :common_metadata
|
10715
|
+
|
10716
|
+
def initialize(**args)
|
10717
|
+
update!(**args)
|
10718
|
+
end
|
10719
|
+
|
10720
|
+
# Update properties of this object
|
10721
|
+
def update!(**args)
|
10722
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
10723
|
+
end
|
10724
|
+
end
|
10725
|
+
|
10082
10726
|
# The response message for Locations.ListLocations.
|
10083
10727
|
class GoogleCloudLocationListLocationsResponse
|
10084
10728
|
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.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230719"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -850,6 +850,24 @@ module Google
|
|
850
850
|
include Google::Apis::Core::JsonObjectSupport
|
851
851
|
end
|
852
852
|
|
853
|
+
class GoogleCloudDocumentaiV1OcrConfig
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
|
+
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
857
|
+
end
|
858
|
+
|
859
|
+
class GoogleCloudDocumentaiV1OcrConfigHints
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleCloudDocumentaiV1ProcessOptions
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
853
871
|
class GoogleCloudDocumentaiV1ProcessRequest
|
854
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
873
|
|
@@ -898,6 +916,12 @@ module Google
|
|
898
916
|
include Google::Apis::Core::JsonObjectSupport
|
899
917
|
end
|
900
918
|
|
919
|
+
class GoogleCloudDocumentaiV1RawDocuments
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
901
925
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
902
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
927
|
|
@@ -1576,6 +1600,24 @@ module Google
|
|
1576
1600
|
include Google::Apis::Core::JsonObjectSupport
|
1577
1601
|
end
|
1578
1602
|
|
1603
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
|
1604
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
|
+
|
1606
|
+
include Google::Apis::Core::JsonObjectSupport
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1611
|
+
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
|
1616
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1617
|
+
|
1618
|
+
include Google::Apis::Core::JsonObjectSupport
|
1619
|
+
end
|
1620
|
+
|
1579
1621
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
1580
1622
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1581
1623
|
|
@@ -1600,6 +1642,36 @@ module Google
|
|
1600
1642
|
include Google::Apis::Core::JsonObjectSupport
|
1601
1643
|
end
|
1602
1644
|
|
1645
|
+
class GoogleCloudDocumentaiV1beta3Dataset
|
1646
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1647
|
+
|
1648
|
+
include Google::Apis::Core::JsonObjectSupport
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
1652
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1653
|
+
|
1654
|
+
include Google::Apis::Core::JsonObjectSupport
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
1658
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
|
+
|
1660
|
+
include Google::Apis::Core::JsonObjectSupport
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1665
|
+
|
1666
|
+
include Google::Apis::Core::JsonObjectSupport
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
1670
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1671
|
+
|
1672
|
+
include Google::Apis::Core::JsonObjectSupport
|
1673
|
+
end
|
1674
|
+
|
1603
1675
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
1604
1676
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
1677
|
|
@@ -1636,6 +1708,24 @@ module Google
|
|
1636
1708
|
include Google::Apis::Core::JsonObjectSupport
|
1637
1709
|
end
|
1638
1710
|
|
1711
|
+
class GoogleCloudDocumentaiV1beta3DocumentId
|
1712
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1713
|
+
|
1714
|
+
include Google::Apis::Core::JsonObjectSupport
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
|
1718
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1719
|
+
|
1720
|
+
include Google::Apis::Core::JsonObjectSupport
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1725
|
+
|
1726
|
+
include Google::Apis::Core::JsonObjectSupport
|
1727
|
+
end
|
1728
|
+
|
1639
1729
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
1640
1730
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1641
1731
|
|
@@ -1660,12 +1750,42 @@ module Google
|
|
1660
1750
|
include Google::Apis::Core::JsonObjectSupport
|
1661
1751
|
end
|
1662
1752
|
|
1753
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
1754
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1755
|
+
|
1756
|
+
include Google::Apis::Core::JsonObjectSupport
|
1757
|
+
end
|
1758
|
+
|
1663
1759
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
1664
1760
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1665
1761
|
|
1666
1762
|
include Google::Apis::Core::JsonObjectSupport
|
1667
1763
|
end
|
1668
1764
|
|
1765
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
|
1766
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1767
|
+
|
1768
|
+
include Google::Apis::Core::JsonObjectSupport
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
|
1772
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1773
|
+
|
1774
|
+
include Google::Apis::Core::JsonObjectSupport
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
|
1778
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1779
|
+
|
1780
|
+
include Google::Apis::Core::JsonObjectSupport
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
|
1784
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1785
|
+
|
1786
|
+
include Google::Apis::Core::JsonObjectSupport
|
1787
|
+
end
|
1788
|
+
|
1669
1789
|
class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
|
1670
1790
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1671
1791
|
|
@@ -1690,6 +1810,12 @@ module Google
|
|
1690
1810
|
include Google::Apis::Core::JsonObjectSupport
|
1691
1811
|
end
|
1692
1812
|
|
1813
|
+
class GoogleCloudDocumentaiV1beta3RevisionRef
|
1814
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1815
|
+
|
1816
|
+
include Google::Apis::Core::JsonObjectSupport
|
1817
|
+
end
|
1818
|
+
|
1693
1819
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
1694
1820
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1695
1821
|
|
@@ -1732,6 +1858,12 @@ module Google
|
|
1732
1858
|
include Google::Apis::Core::JsonObjectSupport
|
1733
1859
|
end
|
1734
1860
|
|
1861
|
+
class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
|
1862
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1863
|
+
|
1864
|
+
include Google::Apis::Core::JsonObjectSupport
|
1865
|
+
end
|
1866
|
+
|
1735
1867
|
class GoogleCloudLocationListLocationsResponse
|
1736
1868
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1737
1869
|
|
@@ -2091,6 +2223,8 @@ module Google
|
|
2091
2223
|
# @private
|
2092
2224
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2093
2225
|
property :input_gcs_source, as: 'inputGcsSource'
|
2226
|
+
property :output_document_id, as: 'outputDocumentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
2227
|
+
|
2094
2228
|
property :output_gcs_destination, as: 'outputGcsDestination'
|
2095
2229
|
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
2096
2230
|
|
@@ -2176,6 +2310,10 @@ module Google
|
|
2176
2310
|
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
|
2177
2311
|
# @private
|
2178
2312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2313
|
+
property :sample_test_status, as: 'sampleTestStatus', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
2314
|
+
|
2315
|
+
property :sample_training_status, as: 'sampleTrainingStatus', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
2316
|
+
|
2179
2317
|
collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
|
2180
2318
|
|
2181
2319
|
end
|
@@ -2287,6 +2425,8 @@ module Google
|
|
2287
2425
|
|
2288
2426
|
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix::Representation
|
2289
2427
|
|
2428
|
+
property :raw_documents, as: 'rawDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments::Representation
|
2429
|
+
|
2290
2430
|
end
|
2291
2431
|
end
|
2292
2432
|
|
@@ -2321,6 +2461,8 @@ module Google
|
|
2321
2461
|
|
2322
2462
|
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig::Representation
|
2323
2463
|
|
2464
|
+
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions::Representation
|
2465
|
+
|
2324
2466
|
property :skip_human_review, as: 'skipHumanReview'
|
2325
2467
|
end
|
2326
2468
|
end
|
@@ -3164,12 +3306,44 @@ module Google
|
|
3164
3306
|
end
|
3165
3307
|
end
|
3166
3308
|
|
3309
|
+
class GoogleCloudDocumentaiV1OcrConfig
|
3310
|
+
# @private
|
3311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3312
|
+
collection :advanced_ocr_options, as: 'advancedOcrOptions'
|
3313
|
+
property :compute_style_info, as: 'computeStyleInfo'
|
3314
|
+
property :enable_image_quality_scores, as: 'enableImageQualityScores'
|
3315
|
+
property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
|
3316
|
+
property :enable_symbol, as: 'enableSymbol'
|
3317
|
+
property :hints, as: 'hints', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfigHints, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfigHints::Representation
|
3318
|
+
|
3319
|
+
end
|
3320
|
+
end
|
3321
|
+
|
3322
|
+
class GoogleCloudDocumentaiV1OcrConfigHints
|
3323
|
+
# @private
|
3324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3325
|
+
collection :language_hints, as: 'languageHints'
|
3326
|
+
end
|
3327
|
+
end
|
3328
|
+
|
3329
|
+
class GoogleCloudDocumentaiV1ProcessOptions
|
3330
|
+
# @private
|
3331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3332
|
+
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig::Representation
|
3333
|
+
|
3334
|
+
end
|
3335
|
+
end
|
3336
|
+
|
3167
3337
|
class GoogleCloudDocumentaiV1ProcessRequest
|
3168
3338
|
# @private
|
3169
3339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3170
3340
|
property :field_mask, as: 'fieldMask'
|
3341
|
+
property :gcs_document, as: 'gcsDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocument::Representation
|
3342
|
+
|
3171
3343
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
|
3172
3344
|
|
3345
|
+
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions::Representation
|
3346
|
+
|
3173
3347
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
|
3174
3348
|
|
3175
3349
|
property :skip_human_review, as: 'skipHumanReview'
|
@@ -3256,6 +3430,14 @@ module Google
|
|
3256
3430
|
end
|
3257
3431
|
end
|
3258
3432
|
|
3433
|
+
class GoogleCloudDocumentaiV1RawDocuments
|
3434
|
+
# @private
|
3435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3436
|
+
collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
|
3437
|
+
|
3438
|
+
end
|
3439
|
+
end
|
3440
|
+
|
3259
3441
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
3260
3442
|
# @private
|
3261
3443
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4546,6 +4728,34 @@ module Google
|
|
4546
4728
|
end
|
4547
4729
|
end
|
4548
4730
|
|
4731
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
|
4732
|
+
# @private
|
4733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4734
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4735
|
+
|
4736
|
+
property :error_document_count, as: 'errorDocumentCount'
|
4737
|
+
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
4738
|
+
|
4739
|
+
property :total_document_count, as: 'totalDocumentCount'
|
4740
|
+
end
|
4741
|
+
end
|
4742
|
+
|
4743
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
4744
|
+
# @private
|
4745
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4746
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentId::Representation
|
4747
|
+
|
4748
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
4749
|
+
|
4750
|
+
end
|
4751
|
+
end
|
4752
|
+
|
4753
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
|
4754
|
+
# @private
|
4755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4756
|
+
end
|
4757
|
+
end
|
4758
|
+
|
4549
4759
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
4550
4760
|
# @private
|
4551
4761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4588,6 +4798,50 @@ module Google
|
|
4588
4798
|
end
|
4589
4799
|
end
|
4590
4800
|
|
4801
|
+
class GoogleCloudDocumentaiV1beta3Dataset
|
4802
|
+
# @private
|
4803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4804
|
+
property :document_warehouse_config, as: 'documentWarehouseConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig::Representation
|
4805
|
+
|
4806
|
+
property :gcs_managed_config, as: 'gcsManagedConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig::Representation
|
4807
|
+
|
4808
|
+
property :name, as: 'name'
|
4809
|
+
property :spanner_indexing_config, as: 'spannerIndexingConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig::Representation
|
4810
|
+
|
4811
|
+
property :state, as: 'state'
|
4812
|
+
property :unmanaged_dataset_config, as: 'unmanagedDatasetConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig::Representation
|
4813
|
+
|
4814
|
+
end
|
4815
|
+
end
|
4816
|
+
|
4817
|
+
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
4818
|
+
# @private
|
4819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4820
|
+
property :collection, as: 'collection'
|
4821
|
+
property :schema, as: 'schema'
|
4822
|
+
end
|
4823
|
+
end
|
4824
|
+
|
4825
|
+
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
4826
|
+
# @private
|
4827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4828
|
+
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
|
4829
|
+
|
4830
|
+
end
|
4831
|
+
end
|
4832
|
+
|
4833
|
+
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
4834
|
+
# @private
|
4835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4836
|
+
end
|
4837
|
+
end
|
4838
|
+
|
4839
|
+
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
4840
|
+
# @private
|
4841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4842
|
+
end
|
4843
|
+
end
|
4844
|
+
|
4591
4845
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
4592
4846
|
# @private
|
4593
4847
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4632,6 +4886,33 @@ module Google
|
|
4632
4886
|
end
|
4633
4887
|
end
|
4634
4888
|
|
4889
|
+
class GoogleCloudDocumentaiV1beta3DocumentId
|
4890
|
+
# @private
|
4891
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4892
|
+
property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId::Representation
|
4893
|
+
|
4894
|
+
property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3RevisionRef::Representation
|
4895
|
+
|
4896
|
+
property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId::Representation
|
4897
|
+
|
4898
|
+
end
|
4899
|
+
end
|
4900
|
+
|
4901
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
|
4902
|
+
# @private
|
4903
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4904
|
+
property :cw_doc_id, as: 'cwDocId'
|
4905
|
+
property :gcs_uri, as: 'gcsUri'
|
4906
|
+
end
|
4907
|
+
end
|
4908
|
+
|
4909
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
|
4910
|
+
# @private
|
4911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4912
|
+
property :doc_id, as: 'docId'
|
4913
|
+
end
|
4914
|
+
end
|
4915
|
+
|
4635
4916
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
4636
4917
|
# @private
|
4637
4918
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4661,6 +4942,13 @@ module Google
|
|
4661
4942
|
end
|
4662
4943
|
end
|
4663
4944
|
|
4945
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
4946
|
+
# @private
|
4947
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4948
|
+
property :gcs_uri_prefix, as: 'gcsUriPrefix'
|
4949
|
+
end
|
4950
|
+
end
|
4951
|
+
|
4664
4952
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
4665
4953
|
# @private
|
4666
4954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4670,6 +4958,45 @@ module Google
|
|
4670
4958
|
end
|
4671
4959
|
end
|
4672
4960
|
|
4961
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
|
4962
|
+
# @private
|
4963
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4964
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4965
|
+
|
4966
|
+
collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
|
4967
|
+
|
4968
|
+
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
4969
|
+
|
4970
|
+
property :total_document_count, as: 'totalDocumentCount'
|
4971
|
+
end
|
4972
|
+
end
|
4973
|
+
|
4974
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
|
4975
|
+
# @private
|
4976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4977
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
4978
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
4979
|
+
|
4980
|
+
end
|
4981
|
+
end
|
4982
|
+
|
4983
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
|
4984
|
+
# @private
|
4985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4986
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
4987
|
+
property :output_document_id, as: 'outputDocumentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DocumentId::Representation
|
4988
|
+
|
4989
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
4990
|
+
|
4991
|
+
end
|
4992
|
+
end
|
4993
|
+
|
4994
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
|
4995
|
+
# @private
|
4996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4997
|
+
end
|
4998
|
+
end
|
4999
|
+
|
4673
5000
|
class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
|
4674
5001
|
# @private
|
4675
5002
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4707,6 +5034,15 @@ module Google
|
|
4707
5034
|
end
|
4708
5035
|
end
|
4709
5036
|
|
5037
|
+
class GoogleCloudDocumentaiV1beta3RevisionRef
|
5038
|
+
# @private
|
5039
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5040
|
+
property :latest_processor_version, as: 'latestProcessorVersion'
|
5041
|
+
property :revision_case, as: 'revisionCase'
|
5042
|
+
property :revision_id, as: 'revisionId'
|
5043
|
+
end
|
5044
|
+
end
|
5045
|
+
|
4710
5046
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
4711
5047
|
# @private
|
4712
5048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4766,6 +5102,14 @@ module Google
|
|
4766
5102
|
end
|
4767
5103
|
end
|
4768
5104
|
|
5105
|
+
class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
|
5106
|
+
# @private
|
5107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5108
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
5109
|
+
|
5110
|
+
end
|
5111
|
+
end
|
5112
|
+
|
4769
5113
|
class GoogleCloudLocationListLocationsResponse
|
4770
5114
|
# @private
|
4771
5115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.70.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|