google-apis-documentai_v1beta3 0.75.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +604 -61
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +307 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +131 -2
- metadata +3 -3
@@ -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.77.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 = "20230706"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1084,6 +1084,42 @@ module Google
|
|
1084
1084
|
include Google::Apis::Core::JsonObjectSupport
|
1085
1085
|
end
|
1086
1086
|
|
1087
|
+
class GoogleCloudDocumentaiV1beta3BatchDatasetDocuments
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
|
+
|
1090
|
+
include Google::Apis::Core::JsonObjectSupport
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
class GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
|
+
|
1096
|
+
include Google::Apis::Core::JsonObjectSupport
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
|
1100
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1101
|
+
|
1102
|
+
include Google::Apis::Core::JsonObjectSupport
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
+
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
+
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
+
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
1121
|
+
end
|
1122
|
+
|
1087
1123
|
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
1088
1124
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
1125
|
|
@@ -1246,6 +1282,24 @@ module Google
|
|
1246
1282
|
include Google::Apis::Core::JsonObjectSupport
|
1247
1283
|
end
|
1248
1284
|
|
1285
|
+
class GoogleCloudDocumentaiV1beta3DocumentId
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
+
|
1288
|
+
include Google::Apis::Core::JsonObjectSupport
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
+
|
1294
|
+
include Google::Apis::Core::JsonObjectSupport
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1299
|
+
|
1300
|
+
include Google::Apis::Core::JsonObjectSupport
|
1301
|
+
end
|
1302
|
+
|
1249
1303
|
class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
|
1250
1304
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
1305
|
|
@@ -1594,12 +1648,60 @@ module Google
|
|
1594
1648
|
include Google::Apis::Core::JsonObjectSupport
|
1595
1649
|
end
|
1596
1650
|
|
1651
|
+
class GoogleCloudDocumentaiV1beta3GetDocumentResponse
|
1652
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1653
|
+
|
1654
|
+
include Google::Apis::Core::JsonObjectSupport
|
1655
|
+
end
|
1656
|
+
|
1597
1657
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
1598
1658
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
1659
|
|
1600
1660
|
include Google::Apis::Core::JsonObjectSupport
|
1601
1661
|
end
|
1602
1662
|
|
1663
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1665
|
+
|
1666
|
+
include Google::Apis::Core::JsonObjectSupport
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
|
1670
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1671
|
+
|
1672
|
+
include Google::Apis::Core::JsonObjectSupport
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
|
1676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1677
|
+
|
1678
|
+
include Google::Apis::Core::JsonObjectSupport
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsRequest
|
1682
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1683
|
+
|
1684
|
+
include Google::Apis::Core::JsonObjectSupport
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig
|
1688
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1689
|
+
|
1690
|
+
include Google::Apis::Core::JsonObjectSupport
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig
|
1694
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1695
|
+
|
1696
|
+
include Google::Apis::Core::JsonObjectSupport
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
|
1700
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1701
|
+
|
1702
|
+
include Google::Apis::Core::JsonObjectSupport
|
1703
|
+
end
|
1704
|
+
|
1603
1705
|
class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
|
1604
1706
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
1707
|
|
@@ -1738,6 +1840,12 @@ module Google
|
|
1738
1840
|
include Google::Apis::Core::JsonObjectSupport
|
1739
1841
|
end
|
1740
1842
|
|
1843
|
+
class GoogleCloudDocumentaiV1beta3RevisionRef
|
1844
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1845
|
+
|
1846
|
+
include Google::Apis::Core::JsonObjectSupport
|
1847
|
+
end
|
1848
|
+
|
1741
1849
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
1742
1850
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1743
1851
|
|
@@ -1774,6 +1882,12 @@ module Google
|
|
1774
1882
|
include Google::Apis::Core::JsonObjectSupport
|
1775
1883
|
end
|
1776
1884
|
|
1885
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
|
1886
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1887
|
+
|
1888
|
+
include Google::Apis::Core::JsonObjectSupport
|
1889
|
+
end
|
1890
|
+
|
1777
1891
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
1778
1892
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1779
1893
|
|
@@ -1804,6 +1918,12 @@ module Google
|
|
1804
1918
|
include Google::Apis::Core::JsonObjectSupport
|
1805
1919
|
end
|
1806
1920
|
|
1921
|
+
class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
|
1922
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1923
|
+
|
1924
|
+
include Google::Apis::Core::JsonObjectSupport
|
1925
|
+
end
|
1926
|
+
|
1807
1927
|
class GoogleCloudDocumentaiV1beta3Vertex
|
1808
1928
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1809
1929
|
|
@@ -2169,6 +2289,8 @@ module Google
|
|
2169
2289
|
# @private
|
2170
2290
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2171
2291
|
property :input_gcs_source, as: 'inputGcsSource'
|
2292
|
+
property :output_document_id, as: 'outputDocumentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
2293
|
+
|
2172
2294
|
property :output_gcs_destination, as: 'outputGcsDestination'
|
2173
2295
|
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
2174
2296
|
|
@@ -2254,6 +2376,10 @@ module Google
|
|
2254
2376
|
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
|
2255
2377
|
# @private
|
2256
2378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2379
|
+
property :sample_test_status, as: 'sampleTestStatus', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
2380
|
+
|
2381
|
+
property :sample_training_status, as: 'sampleTrainingStatus', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
2382
|
+
|
2257
2383
|
collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
|
2258
2384
|
|
2259
2385
|
end
|
@@ -3706,6 +3832,59 @@ module Google
|
|
3706
3832
|
end
|
3707
3833
|
end
|
3708
3834
|
|
3835
|
+
class GoogleCloudDocumentaiV1beta3BatchDatasetDocuments
|
3836
|
+
# @private
|
3837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3838
|
+
property :filter, as: 'filter'
|
3839
|
+
property :individual_document_ids, as: 'individualDocumentIds', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds::Representation
|
3840
|
+
|
3841
|
+
end
|
3842
|
+
end
|
3843
|
+
|
3844
|
+
class GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds
|
3845
|
+
# @private
|
3846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3847
|
+
collection :document_ids, as: 'documentIds', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId::Representation
|
3848
|
+
|
3849
|
+
end
|
3850
|
+
end
|
3851
|
+
|
3852
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
|
3853
|
+
# @private
|
3854
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3855
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
3856
|
+
|
3857
|
+
property :error_document_count, as: 'errorDocumentCount'
|
3858
|
+
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
3859
|
+
|
3860
|
+
property :total_document_count, as: 'totalDocumentCount'
|
3861
|
+
end
|
3862
|
+
end
|
3863
|
+
|
3864
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
|
3865
|
+
# @private
|
3866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3867
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId::Representation
|
3868
|
+
|
3869
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
3870
|
+
|
3871
|
+
end
|
3872
|
+
end
|
3873
|
+
|
3874
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest
|
3875
|
+
# @private
|
3876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3877
|
+
property :dataset_documents, as: 'datasetDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDatasetDocuments, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDatasetDocuments::Representation
|
3878
|
+
|
3879
|
+
end
|
3880
|
+
end
|
3881
|
+
|
3882
|
+
class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
|
3883
|
+
# @private
|
3884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3885
|
+
end
|
3886
|
+
end
|
3887
|
+
|
3709
3888
|
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
3710
3889
|
# @private
|
3711
3890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3984,6 +4163,33 @@ module Google
|
|
3984
4163
|
end
|
3985
4164
|
end
|
3986
4165
|
|
4166
|
+
class GoogleCloudDocumentaiV1beta3DocumentId
|
4167
|
+
# @private
|
4168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4169
|
+
property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId::Representation
|
4170
|
+
|
4171
|
+
property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RevisionRef::Representation
|
4172
|
+
|
4173
|
+
property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId::Representation
|
4174
|
+
|
4175
|
+
end
|
4176
|
+
end
|
4177
|
+
|
4178
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
|
4179
|
+
# @private
|
4180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4181
|
+
property :cw_doc_id, as: 'cwDocId'
|
4182
|
+
property :gcs_uri, as: 'gcsUri'
|
4183
|
+
end
|
4184
|
+
end
|
4185
|
+
|
4186
|
+
class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
|
4187
|
+
# @private
|
4188
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4189
|
+
property :doc_id, as: 'docId'
|
4190
|
+
end
|
4191
|
+
end
|
4192
|
+
|
3987
4193
|
class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
|
3988
4194
|
# @private
|
3989
4195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4623,6 +4829,14 @@ module Google
|
|
4623
4829
|
end
|
4624
4830
|
end
|
4625
4831
|
|
4832
|
+
class GoogleCloudDocumentaiV1beta3GetDocumentResponse
|
4833
|
+
# @private
|
4834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4835
|
+
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
4836
|
+
|
4837
|
+
end
|
4838
|
+
end
|
4839
|
+
|
4626
4840
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
4627
4841
|
# @private
|
4628
4842
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4632,6 +4846,71 @@ module Google
|
|
4632
4846
|
end
|
4633
4847
|
end
|
4634
4848
|
|
4849
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
|
4850
|
+
# @private
|
4851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4852
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
4853
|
+
|
4854
|
+
collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
|
4855
|
+
|
4856
|
+
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
4857
|
+
|
4858
|
+
property :total_document_count, as: 'totalDocumentCount'
|
4859
|
+
end
|
4860
|
+
end
|
4861
|
+
|
4862
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
|
4863
|
+
# @private
|
4864
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4865
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
4866
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
4867
|
+
|
4868
|
+
end
|
4869
|
+
end
|
4870
|
+
|
4871
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
|
4872
|
+
# @private
|
4873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4874
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
4875
|
+
property :output_document_id, as: 'outputDocumentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId::Representation
|
4876
|
+
|
4877
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
|
4878
|
+
|
4879
|
+
end
|
4880
|
+
end
|
4881
|
+
|
4882
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsRequest
|
4883
|
+
# @private
|
4884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4885
|
+
collection :batch_documents_import_configs, as: 'batchDocumentsImportConfigs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig::Representation
|
4886
|
+
|
4887
|
+
end
|
4888
|
+
end
|
4889
|
+
|
4890
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfig
|
4891
|
+
# @private
|
4892
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4893
|
+
property :auto_split_config, as: 'autoSplitConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig::Representation
|
4894
|
+
|
4895
|
+
property :batch_input_config, as: 'batchInputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4896
|
+
|
4897
|
+
property :dataset_split, as: 'datasetSplit'
|
4898
|
+
end
|
4899
|
+
end
|
4900
|
+
|
4901
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig
|
4902
|
+
# @private
|
4903
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4904
|
+
property :training_split_ratio, as: 'trainingSplitRatio'
|
4905
|
+
end
|
4906
|
+
end
|
4907
|
+
|
4908
|
+
class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
|
4909
|
+
# @private
|
4910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4911
|
+
end
|
4912
|
+
end
|
4913
|
+
|
4635
4914
|
class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
|
4636
4915
|
# @private
|
4637
4916
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4732,6 +5011,8 @@ module Google
|
|
4732
5011
|
property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
4733
5012
|
|
4734
5013
|
property :field_mask, as: 'fieldMask'
|
5014
|
+
property :gcs_document, as: 'gcsDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument::Representation
|
5015
|
+
|
4735
5016
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
4736
5017
|
|
4737
5018
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
@@ -4866,6 +5147,15 @@ module Google
|
|
4866
5147
|
end
|
4867
5148
|
end
|
4868
5149
|
|
5150
|
+
class GoogleCloudDocumentaiV1beta3RevisionRef
|
5151
|
+
# @private
|
5152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5153
|
+
property :latest_processor_version, as: 'latestProcessorVersion'
|
5154
|
+
property :revision_case, as: 'revisionCase'
|
5155
|
+
property :revision_id, as: 'revisionId'
|
5156
|
+
end
|
5157
|
+
end
|
5158
|
+
|
4869
5159
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
4870
5160
|
# @private
|
4871
5161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4915,6 +5205,8 @@ module Google
|
|
4915
5205
|
# @private
|
4916
5206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4917
5207
|
property :base_processor_version, as: 'baseProcessorVersion'
|
5208
|
+
property :custom_document_extraction_options, as: 'customDocumentExtractionOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions::Representation
|
5209
|
+
|
4918
5210
|
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
4919
5211
|
|
4920
5212
|
property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData::Representation
|
@@ -4924,6 +5216,13 @@ module Google
|
|
4924
5216
|
end
|
4925
5217
|
end
|
4926
5218
|
|
5219
|
+
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
|
5220
|
+
# @private
|
5221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5222
|
+
property :training_method, as: 'trainingMethod'
|
5223
|
+
end
|
5224
|
+
end
|
5225
|
+
|
4927
5226
|
class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
|
4928
5227
|
# @private
|
4929
5228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4961,6 +5260,14 @@ module Google
|
|
4961
5260
|
end
|
4962
5261
|
end
|
4963
5262
|
|
5263
|
+
class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
|
5264
|
+
# @private
|
5265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5266
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
5267
|
+
|
5268
|
+
end
|
5269
|
+
end
|
5270
|
+
|
4964
5271
|
class GoogleCloudDocumentaiV1beta3Vertex
|
4965
5272
|
# @private
|
4966
5273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -680,7 +680,41 @@ module Google
|
|
680
680
|
execute_or_queue_command(command, &block)
|
681
681
|
end
|
682
682
|
|
683
|
-
#
|
683
|
+
# Deletes a set of documents.
|
684
|
+
# @param [String] dataset
|
685
|
+
# Required. The dataset resource name. Format: projects/`project`/locations/`
|
686
|
+
# location`/processors/`processor`/dataset
|
687
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest] google_cloud_documentai_v1beta3_batch_delete_documents_request_object
|
688
|
+
# @param [String] fields
|
689
|
+
# Selector specifying which fields to include in a partial response.
|
690
|
+
# @param [String] quota_user
|
691
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
692
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
693
|
+
# @param [Google::Apis::RequestOptions] options
|
694
|
+
# Request-specific options
|
695
|
+
#
|
696
|
+
# @yield [result, err] Result & error if block supplied
|
697
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
|
698
|
+
# @yieldparam err [StandardError] error object if request failed
|
699
|
+
#
|
700
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
|
701
|
+
#
|
702
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
703
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
704
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
705
|
+
def batch_project_location_processor_dataset_delete_documents(dataset, google_cloud_documentai_v1beta3_batch_delete_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
command = make_simple_command(:post, 'v1beta3/{+dataset}:batchDeleteDocuments', options)
|
707
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest::Representation
|
708
|
+
command.request_object = google_cloud_documentai_v1beta3_batch_delete_documents_request_object
|
709
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
710
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
|
711
|
+
command.params['dataset'] = dataset unless dataset.nil?
|
712
|
+
command.query['fields'] = fields unless fields.nil?
|
713
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
714
|
+
execute_or_queue_command(command, &block)
|
715
|
+
end
|
716
|
+
|
717
|
+
# Gets the `DatasetSchema` of a `Dataset`.
|
684
718
|
# @param [String] name
|
685
719
|
# Required. The dataset schema resource name. Format: projects/`project`/
|
686
720
|
# locations/`location`/processors/`processor`/dataset/datasetSchema
|
@@ -714,7 +748,102 @@ module Google
|
|
714
748
|
execute_or_queue_command(command, &block)
|
715
749
|
end
|
716
750
|
|
717
|
-
#
|
751
|
+
# Returns relevant fields present in the requested document.
|
752
|
+
# @param [String] dataset
|
753
|
+
# Required. The resource name of the dataset that the document belongs to .
|
754
|
+
# Format: projects/`project`/locations/`location`/processors/`processor`/dataset
|
755
|
+
# @param [String] document_id_gcs_managed_doc_id_cw_doc_id
|
756
|
+
# Id of the document (indexed) managed by Content Warehouse.
|
757
|
+
# @param [String] document_id_gcs_managed_doc_id_gcs_uri
|
758
|
+
# Required. The Cloud Storage URI where the actual document is stored.
|
759
|
+
# @param [String] document_id_revision_ref_latest_processor_version
|
760
|
+
# Reads the revision generated by the processor version. The format takes the
|
761
|
+
# full resource name of processor version. `projects/`project`/locations/`
|
762
|
+
# location`/processors/`processor`/processorVersions/`processorVersion``
|
763
|
+
# @param [String] document_id_revision_ref_revision_case
|
764
|
+
# Reads the revision by the predefined case.
|
765
|
+
# @param [String] document_id_revision_ref_revision_id
|
766
|
+
# Reads the revision given by the id.
|
767
|
+
# @param [String] document_id_unmanaged_doc_id_doc_id
|
768
|
+
# Required. The id of the document.
|
769
|
+
# @param [Fixnum] page_range_end
|
770
|
+
# Last page number (one-based index) to be returned.
|
771
|
+
# @param [Fixnum] page_range_start
|
772
|
+
# First page number (one-based index) to be returned.
|
773
|
+
# @param [String] read_mask
|
774
|
+
# If set, only fields listed here will be returned. Otherwise, all fields will
|
775
|
+
# be returned by default.
|
776
|
+
# @param [String] fields
|
777
|
+
# Selector specifying which fields to include in a partial response.
|
778
|
+
# @param [String] quota_user
|
779
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
780
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
781
|
+
# @param [Google::Apis::RequestOptions] options
|
782
|
+
# Request-specific options
|
783
|
+
#
|
784
|
+
# @yield [result, err] Result & error if block supplied
|
785
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GetDocumentResponse] parsed result object
|
786
|
+
# @yieldparam err [StandardError] error object if request failed
|
787
|
+
#
|
788
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GetDocumentResponse]
|
789
|
+
#
|
790
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
791
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
792
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
793
|
+
def get_project_location_processor_dataset_document(dataset, document_id_gcs_managed_doc_id_cw_doc_id: nil, document_id_gcs_managed_doc_id_gcs_uri: nil, document_id_revision_ref_latest_processor_version: nil, document_id_revision_ref_revision_case: nil, document_id_revision_ref_revision_id: nil, document_id_unmanaged_doc_id_doc_id: nil, page_range_end: nil, page_range_start: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
794
|
+
command = make_simple_command(:get, 'v1beta3/{+dataset}:getDocument', options)
|
795
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GetDocumentResponse::Representation
|
796
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GetDocumentResponse
|
797
|
+
command.params['dataset'] = dataset unless dataset.nil?
|
798
|
+
command.query['documentId.gcsManagedDocId.cwDocId'] = document_id_gcs_managed_doc_id_cw_doc_id unless document_id_gcs_managed_doc_id_cw_doc_id.nil?
|
799
|
+
command.query['documentId.gcsManagedDocId.gcsUri'] = document_id_gcs_managed_doc_id_gcs_uri unless document_id_gcs_managed_doc_id_gcs_uri.nil?
|
800
|
+
command.query['documentId.revisionRef.latestProcessorVersion'] = document_id_revision_ref_latest_processor_version unless document_id_revision_ref_latest_processor_version.nil?
|
801
|
+
command.query['documentId.revisionRef.revisionCase'] = document_id_revision_ref_revision_case unless document_id_revision_ref_revision_case.nil?
|
802
|
+
command.query['documentId.revisionRef.revisionId'] = document_id_revision_ref_revision_id unless document_id_revision_ref_revision_id.nil?
|
803
|
+
command.query['documentId.unmanagedDocId.docId'] = document_id_unmanaged_doc_id_doc_id unless document_id_unmanaged_doc_id_doc_id.nil?
|
804
|
+
command.query['pageRange.end'] = page_range_end unless page_range_end.nil?
|
805
|
+
command.query['pageRange.start'] = page_range_start unless page_range_start.nil?
|
806
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
807
|
+
command.query['fields'] = fields unless fields.nil?
|
808
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
809
|
+
execute_or_queue_command(command, &block)
|
810
|
+
end
|
811
|
+
|
812
|
+
# Import documents into a dataset.
|
813
|
+
# @param [String] dataset
|
814
|
+
# Required. The dataset resource name. Format: projects/`project`/locations/`
|
815
|
+
# location`/processors/`processor`/dataset
|
816
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequest] google_cloud_documentai_v1beta3_import_documents_request_object
|
817
|
+
# @param [String] fields
|
818
|
+
# Selector specifying which fields to include in a partial response.
|
819
|
+
# @param [String] quota_user
|
820
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
821
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
822
|
+
# @param [Google::Apis::RequestOptions] options
|
823
|
+
# Request-specific options
|
824
|
+
#
|
825
|
+
# @yield [result, err] Result & error if block supplied
|
826
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
|
827
|
+
# @yieldparam err [StandardError] error object if request failed
|
828
|
+
#
|
829
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
|
830
|
+
#
|
831
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
832
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
833
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
834
|
+
def import_project_location_processor_dataset_documents(dataset, google_cloud_documentai_v1beta3_import_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
835
|
+
command = make_simple_command(:post, 'v1beta3/{+dataset}:importDocuments', options)
|
836
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportDocumentsRequest::Representation
|
837
|
+
command.request_object = google_cloud_documentai_v1beta3_import_documents_request_object
|
838
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
839
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
|
840
|
+
command.params['dataset'] = dataset unless dataset.nil?
|
841
|
+
command.query['fields'] = fields unless fields.nil?
|
842
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
843
|
+
execute_or_queue_command(command, &block)
|
844
|
+
end
|
845
|
+
|
846
|
+
# Updates a `DatasetSchema`.
|
718
847
|
# @param [String] name
|
719
848
|
# Dataset schema resource name. Format: `projects/`project`/locations/`location`/
|
720
849
|
# processors/`processor`/dataset/datasetSchema`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.77.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-
|
11
|
+
date: 2023-07-16 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_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.77.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|