google-apis-documentai_v1beta2 0.64.0 → 0.65.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: 97ca4b502b321ce10797bb859a0e17036310b95864646c94f8d07168d0753ca7
4
- data.tar.gz: 830817f1d139942067f58913ff6c14365e2da5fd4cd1060b8c3d099668405c6b
3
+ metadata.gz: ee866c4109a1f52d2fdb77f495d09b858a08b5eeec582c7000dc913e368f554c
4
+ data.tar.gz: d36664a89a54841529fb0a3488c3e6fb2cb36b346f06680965cc12c432821bc1
5
5
  SHA512:
6
- metadata.gz: 17db31fa9fc3a1223fc3468f71aaf74f216d477f95d4aea925b15917091f9a6be34dcaec71efd0c0e9a6dee8a5b15dcd87db8f0ff9dad61b90f331b3e4d13bfc
7
- data.tar.gz: 22d4f5dfa49e6f3e3b79b6c406af3d6a6d28db595e54d2ea573ce19e2eba6fae388006d0db9e7b40ecae217ee21c5d310f50ca39e9d1e61685bd68eb9cfb6fc9
6
+ metadata.gz: f11ac870abd1c800760a7205280979f05e1acaf22f5642dc48da21d8c868b06b8be77cbfdd39c96055c501cf8c2fee1d5378ea5325403e6aeb8ebb51552d09a4
7
+ data.tar.gz: 3de943b67f8438a8964b3fb38bb415470d79fc544f29364fda96f981680ae5503a61e93364477e4b9c7bb40dd81f16205c8d0958aae76b39dd8589737dc509a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.65.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230706
6
+
3
7
  ### v0.64.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230609
@@ -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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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
@@ -6434,6 +6462,86 @@ module Google
6434
6462
  end
6435
6463
  end
6436
6464
 
6465
+ #
6466
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
6467
+ include Google::Apis::Core::Hashable
6468
+
6469
+ # The common metadata for long running operations.
6470
+ # Corresponds to the JSON property `commonMetadata`
6471
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
6472
+ attr_accessor :common_metadata
6473
+
6474
+ # Total number of documents that failed to be deleted in storage.
6475
+ # Corresponds to the JSON property `errorDocumentCount`
6476
+ # @return [Fixnum]
6477
+ attr_accessor :error_document_count
6478
+
6479
+ # The list of response details of each document.
6480
+ # Corresponds to the JSON property `individualBatchDeleteStatuses`
6481
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
6482
+ attr_accessor :individual_batch_delete_statuses
6483
+
6484
+ # Total number of documents deleting from dataset.
6485
+ # Corresponds to the JSON property `totalDocumentCount`
6486
+ # @return [Fixnum]
6487
+ attr_accessor :total_document_count
6488
+
6489
+ def initialize(**args)
6490
+ update!(**args)
6491
+ end
6492
+
6493
+ # Update properties of this object
6494
+ def update!(**args)
6495
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
6496
+ @error_document_count = args[:error_document_count] if args.key?(:error_document_count)
6497
+ @individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
6498
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
6499
+ end
6500
+ end
6501
+
6502
+ # The status of each individual document in the batch delete process.
6503
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
6504
+ include Google::Apis::Core::Hashable
6505
+
6506
+ # Document Identifier.
6507
+ # Corresponds to the JSON property `documentId`
6508
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId]
6509
+ attr_accessor :document_id
6510
+
6511
+ # The `Status` type defines a logical error model that is suitable for different
6512
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6513
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6514
+ # data: error code, error message, and error details. You can find out more
6515
+ # about this error model and how to work with it in the [API Design Guide](https:
6516
+ # //cloud.google.com/apis/design/errors).
6517
+ # Corresponds to the JSON property `status`
6518
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
6519
+ attr_accessor :status
6520
+
6521
+ def initialize(**args)
6522
+ update!(**args)
6523
+ end
6524
+
6525
+ # Update properties of this object
6526
+ def update!(**args)
6527
+ @document_id = args[:document_id] if args.key?(:document_id)
6528
+ @status = args[:status] if args.key?(:status)
6529
+ end
6530
+ end
6531
+
6532
+ # Response of the delete documents operation.
6533
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
6534
+ include Google::Apis::Core::Hashable
6535
+
6536
+ def initialize(**args)
6537
+ update!(**args)
6538
+ end
6539
+
6540
+ # Update properties of this object
6541
+ def update!(**args)
6542
+ end
6543
+ end
6544
+
6437
6545
  # The long-running operation metadata for BatchProcessDocuments.
6438
6546
  class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
6439
6547
  include Google::Apis::Core::Hashable
@@ -6588,6 +6696,128 @@ module Google
6588
6696
  end
6589
6697
  end
6590
6698
 
6699
+ # A singleton resource under a Processor which configures a collection of
6700
+ # documents.
6701
+ class GoogleCloudDocumentaiV1beta3Dataset
6702
+ include Google::Apis::Core::Hashable
6703
+
6704
+ # Configuration specific to the Document AI Warehouse-based implementation.
6705
+ # Corresponds to the JSON property `documentWarehouseConfig`
6706
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig]
6707
+ attr_accessor :document_warehouse_config
6708
+
6709
+ # Configuration specific to the Cloud Storage-based implementation.
6710
+ # Corresponds to the JSON property `gcsManagedConfig`
6711
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig]
6712
+ attr_accessor :gcs_managed_config
6713
+
6714
+ # Dataset resource name. Format: `projects/`project`/locations/`location`/
6715
+ # processors/`processor`/dataset`
6716
+ # Corresponds to the JSON property `name`
6717
+ # @return [String]
6718
+ attr_accessor :name
6719
+
6720
+ # Configuration specific to spanner-based indexing.
6721
+ # Corresponds to the JSON property `spannerIndexingConfig`
6722
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
6723
+ attr_accessor :spanner_indexing_config
6724
+
6725
+ # Required. State of the dataset. Ignored when updating dataset.
6726
+ # Corresponds to the JSON property `state`
6727
+ # @return [String]
6728
+ attr_accessor :state
6729
+
6730
+ # Configuration specific to an unmanaged dataset.
6731
+ # Corresponds to the JSON property `unmanagedDatasetConfig`
6732
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig]
6733
+ attr_accessor :unmanaged_dataset_config
6734
+
6735
+ def initialize(**args)
6736
+ update!(**args)
6737
+ end
6738
+
6739
+ # Update properties of this object
6740
+ def update!(**args)
6741
+ @document_warehouse_config = args[:document_warehouse_config] if args.key?(:document_warehouse_config)
6742
+ @gcs_managed_config = args[:gcs_managed_config] if args.key?(:gcs_managed_config)
6743
+ @name = args[:name] if args.key?(:name)
6744
+ @spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
6745
+ @state = args[:state] if args.key?(:state)
6746
+ @unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
6747
+ end
6748
+ end
6749
+
6750
+ # Configuration specific to the Document AI Warehouse-based implementation.
6751
+ class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
6752
+ include Google::Apis::Core::Hashable
6753
+
6754
+ # Output only. The collection in Document AI Warehouse associated with the
6755
+ # dataset.
6756
+ # Corresponds to the JSON property `collection`
6757
+ # @return [String]
6758
+ attr_accessor :collection
6759
+
6760
+ # Output only. The schema in Document AI Warehouse associated with the dataset.
6761
+ # Corresponds to the JSON property `schema`
6762
+ # @return [String]
6763
+ attr_accessor :schema
6764
+
6765
+ def initialize(**args)
6766
+ update!(**args)
6767
+ end
6768
+
6769
+ # Update properties of this object
6770
+ def update!(**args)
6771
+ @collection = args[:collection] if args.key?(:collection)
6772
+ @schema = args[:schema] if args.key?(:schema)
6773
+ end
6774
+ end
6775
+
6776
+ # Configuration specific to the Cloud Storage-based implementation.
6777
+ class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
6778
+ include Google::Apis::Core::Hashable
6779
+
6780
+ # Specifies all documents on Cloud Storage with a common prefix.
6781
+ # Corresponds to the JSON property `gcsPrefix`
6782
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3GcsPrefix]
6783
+ attr_accessor :gcs_prefix
6784
+
6785
+ def initialize(**args)
6786
+ update!(**args)
6787
+ end
6788
+
6789
+ # Update properties of this object
6790
+ def update!(**args)
6791
+ @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
6792
+ end
6793
+ end
6794
+
6795
+ # Configuration specific to spanner-based indexing.
6796
+ class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
6797
+ include Google::Apis::Core::Hashable
6798
+
6799
+ def initialize(**args)
6800
+ update!(**args)
6801
+ end
6802
+
6803
+ # Update properties of this object
6804
+ def update!(**args)
6805
+ end
6806
+ end
6807
+
6808
+ # Configuration specific to an unmanaged dataset.
6809
+ class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
6810
+ include Google::Apis::Core::Hashable
6811
+
6812
+ def initialize(**args)
6813
+ update!(**args)
6814
+ end
6815
+
6816
+ # Update properties of this object
6817
+ def update!(**args)
6818
+ end
6819
+ end
6820
+
6591
6821
  # The long-running operation metadata for the DeleteProcessor method.
6592
6822
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
6593
6823
  include Google::Apis::Core::Hashable
@@ -6691,6 +6921,85 @@ module Google
6691
6921
  end
6692
6922
  end
6693
6923
 
6924
+ # Document Identifier.
6925
+ class GoogleCloudDocumentaiV1beta3DocumentId
6926
+ include Google::Apis::Core::Hashable
6927
+
6928
+ # Identifies a document uniquely within the scope of a dataset in the user-
6929
+ # managed Cloud Storage option.
6930
+ # Corresponds to the JSON property `gcsManagedDocId`
6931
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId]
6932
+ attr_accessor :gcs_managed_doc_id
6933
+
6934
+ # The revision reference specifies which revision on the document to read.
6935
+ # Corresponds to the JSON property `revisionRef`
6936
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3RevisionRef]
6937
+ attr_accessor :revision_ref
6938
+
6939
+ # Identifies a document uniquely within the scope of a dataset in unmanaged
6940
+ # option.
6941
+ # Corresponds to the JSON property `unmanagedDocId`
6942
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId]
6943
+ attr_accessor :unmanaged_doc_id
6944
+
6945
+ def initialize(**args)
6946
+ update!(**args)
6947
+ end
6948
+
6949
+ # Update properties of this object
6950
+ def update!(**args)
6951
+ @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
6952
+ @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
6953
+ @unmanaged_doc_id = args[:unmanaged_doc_id] if args.key?(:unmanaged_doc_id)
6954
+ end
6955
+ end
6956
+
6957
+ # Identifies a document uniquely within the scope of a dataset in the user-
6958
+ # managed Cloud Storage option.
6959
+ class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
6960
+ include Google::Apis::Core::Hashable
6961
+
6962
+ # Id of the document (indexed) managed by Content Warehouse.
6963
+ # Corresponds to the JSON property `cwDocId`
6964
+ # @return [String]
6965
+ attr_accessor :cw_doc_id
6966
+
6967
+ # Required. The Cloud Storage URI where the actual document is stored.
6968
+ # Corresponds to the JSON property `gcsUri`
6969
+ # @return [String]
6970
+ attr_accessor :gcs_uri
6971
+
6972
+ def initialize(**args)
6973
+ update!(**args)
6974
+ end
6975
+
6976
+ # Update properties of this object
6977
+ def update!(**args)
6978
+ @cw_doc_id = args[:cw_doc_id] if args.key?(:cw_doc_id)
6979
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
6980
+ end
6981
+ end
6982
+
6983
+ # Identifies a document uniquely within the scope of a dataset in unmanaged
6984
+ # option.
6985
+ class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
6986
+ include Google::Apis::Core::Hashable
6987
+
6988
+ # Required. The id of the document.
6989
+ # Corresponds to the JSON property `docId`
6990
+ # @return [String]
6991
+ attr_accessor :doc_id
6992
+
6993
+ def initialize(**args)
6994
+ update!(**args)
6995
+ end
6996
+
6997
+ # Update properties of this object
6998
+ def update!(**args)
6999
+ @doc_id = args[:doc_id] if args.key?(:doc_id)
7000
+ end
7001
+ end
7002
+
6694
7003
  # The long-running operation metadata for the EnableProcessor method.
6695
7004
  class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
6696
7005
  include Google::Apis::Core::Hashable
@@ -6762,6 +7071,25 @@ module Google
6762
7071
  end
6763
7072
  end
6764
7073
 
7074
+ # Specifies all documents on Cloud Storage with a common prefix.
7075
+ class GoogleCloudDocumentaiV1beta3GcsPrefix
7076
+ include Google::Apis::Core::Hashable
7077
+
7078
+ # The URI prefix.
7079
+ # Corresponds to the JSON property `gcsUriPrefix`
7080
+ # @return [String]
7081
+ attr_accessor :gcs_uri_prefix
7082
+
7083
+ def initialize(**args)
7084
+ update!(**args)
7085
+ end
7086
+
7087
+ # Update properties of this object
7088
+ def update!(**args)
7089
+ @gcs_uri_prefix = args[:gcs_uri_prefix] if args.key?(:gcs_uri_prefix)
7090
+ end
7091
+ end
7092
+
6765
7093
  # The status of human review on a processed document.
6766
7094
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
6767
7095
  include Google::Apis::Core::Hashable
@@ -6796,6 +7124,124 @@ module Google
6796
7124
  end
6797
7125
  end
6798
7126
 
7127
+ # Metadata of the import document operation.
7128
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
7129
+ include Google::Apis::Core::Hashable
7130
+
7131
+ # The common metadata for long running operations.
7132
+ # Corresponds to the JSON property `commonMetadata`
7133
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
7134
+ attr_accessor :common_metadata
7135
+
7136
+ # Validation statuses of the batch documents import config.
7137
+ # Corresponds to the JSON property `importConfigValidationResults`
7138
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult>]
7139
+ attr_accessor :import_config_validation_results
7140
+
7141
+ # The list of response details of each document.
7142
+ # Corresponds to the JSON property `individualImportStatuses`
7143
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus>]
7144
+ attr_accessor :individual_import_statuses
7145
+
7146
+ # Total number of the documents that are qualified for importing.
7147
+ # Corresponds to the JSON property `totalDocumentCount`
7148
+ # @return [Fixnum]
7149
+ attr_accessor :total_document_count
7150
+
7151
+ def initialize(**args)
7152
+ update!(**args)
7153
+ end
7154
+
7155
+ # Update properties of this object
7156
+ def update!(**args)
7157
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7158
+ @import_config_validation_results = args[:import_config_validation_results] if args.key?(:import_config_validation_results)
7159
+ @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
7160
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
7161
+ end
7162
+ end
7163
+
7164
+ # The validation status of each import config. Status is set to errors if there
7165
+ # is no documents to import in the import_config, or OK if the operation will
7166
+ # try to proceed at least one document.
7167
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
7168
+ include Google::Apis::Core::Hashable
7169
+
7170
+ # The source Cloud Storage URI specified in the import config.
7171
+ # Corresponds to the JSON property `inputGcsSource`
7172
+ # @return [String]
7173
+ attr_accessor :input_gcs_source
7174
+
7175
+ # The `Status` type defines a logical error model that is suitable for different
7176
+ # programming environments, including REST APIs and RPC APIs. It is used by [
7177
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
7178
+ # data: error code, error message, and error details. You can find out more
7179
+ # about this error model and how to work with it in the [API Design Guide](https:
7180
+ # //cloud.google.com/apis/design/errors).
7181
+ # Corresponds to the JSON property `status`
7182
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
7183
+ attr_accessor :status
7184
+
7185
+ def initialize(**args)
7186
+ update!(**args)
7187
+ end
7188
+
7189
+ # Update properties of this object
7190
+ def update!(**args)
7191
+ @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
7192
+ @status = args[:status] if args.key?(:status)
7193
+ end
7194
+ end
7195
+
7196
+ # The status of each individual document in the import process.
7197
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
7198
+ include Google::Apis::Core::Hashable
7199
+
7200
+ # The source Cloud Storage URI of the document.
7201
+ # Corresponds to the JSON property `inputGcsSource`
7202
+ # @return [String]
7203
+ attr_accessor :input_gcs_source
7204
+
7205
+ # Document Identifier.
7206
+ # Corresponds to the JSON property `outputDocumentId`
7207
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId]
7208
+ attr_accessor :output_document_id
7209
+
7210
+ # The `Status` type defines a logical error model that is suitable for different
7211
+ # programming environments, including REST APIs and RPC APIs. It is used by [
7212
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
7213
+ # data: error code, error message, and error details. You can find out more
7214
+ # about this error model and how to work with it in the [API Design Guide](https:
7215
+ # //cloud.google.com/apis/design/errors).
7216
+ # Corresponds to the JSON property `status`
7217
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
7218
+ attr_accessor :status
7219
+
7220
+ def initialize(**args)
7221
+ update!(**args)
7222
+ end
7223
+
7224
+ # Update properties of this object
7225
+ def update!(**args)
7226
+ @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
7227
+ @output_document_id = args[:output_document_id] if args.key?(:output_document_id)
7228
+ @status = args[:status] if args.key?(:status)
7229
+ end
7230
+ end
7231
+
7232
+ # Response of the import document operation.
7233
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
7234
+ include Google::Apis::Core::Hashable
7235
+
7236
+ def initialize(**args)
7237
+ update!(**args)
7238
+ end
7239
+
7240
+ # Update properties of this object
7241
+ def update!(**args)
7242
+ end
7243
+ end
7244
+
6799
7245
  # The long-running operation metadata for the ImportProcessorVersion method.
6800
7246
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
6801
7247
  include Google::Apis::Core::Hashable
@@ -6916,6 +7362,39 @@ module Google
6916
7362
  end
6917
7363
  end
6918
7364
 
7365
+ # The revision reference specifies which revision on the document to read.
7366
+ class GoogleCloudDocumentaiV1beta3RevisionRef
7367
+ include Google::Apis::Core::Hashable
7368
+
7369
+ # Reads the revision generated by the processor version. The format takes the
7370
+ # full resource name of processor version. `projects/`project`/locations/`
7371
+ # location`/processors/`processor`/processorVersions/`processorVersion``
7372
+ # Corresponds to the JSON property `latestProcessorVersion`
7373
+ # @return [String]
7374
+ attr_accessor :latest_processor_version
7375
+
7376
+ # Reads the revision by the predefined case.
7377
+ # Corresponds to the JSON property `revisionCase`
7378
+ # @return [String]
7379
+ attr_accessor :revision_case
7380
+
7381
+ # Reads the revision given by the id.
7382
+ # Corresponds to the JSON property `revisionId`
7383
+ # @return [String]
7384
+ attr_accessor :revision_id
7385
+
7386
+ def initialize(**args)
7387
+ update!(**args)
7388
+ end
7389
+
7390
+ # Update properties of this object
7391
+ def update!(**args)
7392
+ @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
7393
+ @revision_case = args[:revision_case] if args.key?(:revision_case)
7394
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
7395
+ end
7396
+ end
7397
+
6919
7398
  # The long-running operation metadata for the SetDefaultProcessorVersion method.
6920
7399
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
6921
7400
  include Google::Apis::Core::Hashable
@@ -7073,6 +7552,25 @@ module Google
7073
7552
  end
7074
7553
  end
7075
7554
 
7555
+ #
7556
+ class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
7557
+ include Google::Apis::Core::Hashable
7558
+
7559
+ # The common metadata for long running operations.
7560
+ # Corresponds to the JSON property `commonMetadata`
7561
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
7562
+ attr_accessor :common_metadata
7563
+
7564
+ def initialize(**args)
7565
+ update!(**args)
7566
+ end
7567
+
7568
+ # Update properties of this object
7569
+ def update!(**args)
7570
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7571
+ end
7572
+ end
7573
+
7076
7574
  # This resource represents a long-running operation that is the result of a
7077
7575
  # network API call.
7078
7576
  class GoogleLongrunningOperation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.64.0"
19
+ GEM_VERSION = "0.65.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 = "20230609"
25
+ REVISION = "20230706"
26
26
  end
27
27
  end
28
28
  end
@@ -1132,6 +1132,24 @@ module Google
1132
1132
  include Google::Apis::Core::JsonObjectSupport
1133
1133
  end
1134
1134
 
1135
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1141
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
1142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1143
+
1144
+ include Google::Apis::Core::JsonObjectSupport
1145
+ end
1146
+
1147
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1135
1153
  class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
1136
1154
  class Representation < Google::Apis::Core::JsonRepresentation; end
1137
1155
 
@@ -1156,6 +1174,36 @@ module Google
1156
1174
  include Google::Apis::Core::JsonObjectSupport
1157
1175
  end
1158
1176
 
1177
+ class GoogleCloudDocumentaiV1beta3Dataset
1178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1183
+ class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
1184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1185
+
1186
+ include Google::Apis::Core::JsonObjectSupport
1187
+ end
1188
+
1189
+ class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1195
+ class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1201
+ class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1159
1207
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
1160
1208
  class Representation < Google::Apis::Core::JsonRepresentation; end
1161
1209
 
@@ -1192,6 +1240,24 @@ module Google
1192
1240
  include Google::Apis::Core::JsonObjectSupport
1193
1241
  end
1194
1242
 
1243
+ class GoogleCloudDocumentaiV1beta3DocumentId
1244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1245
+
1246
+ include Google::Apis::Core::JsonObjectSupport
1247
+ end
1248
+
1249
+ class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
1250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1251
+
1252
+ include Google::Apis::Core::JsonObjectSupport
1253
+ end
1254
+
1255
+ class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
1256
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1257
+
1258
+ include Google::Apis::Core::JsonObjectSupport
1259
+ end
1260
+
1195
1261
  class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
1196
1262
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1263
 
@@ -1216,12 +1282,42 @@ module Google
1216
1282
  include Google::Apis::Core::JsonObjectSupport
1217
1283
  end
1218
1284
 
1285
+ class GoogleCloudDocumentaiV1beta3GcsPrefix
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1219
1291
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
1220
1292
  class Representation < Google::Apis::Core::JsonRepresentation; end
1221
1293
 
1222
1294
  include Google::Apis::Core::JsonObjectSupport
1223
1295
  end
1224
1296
 
1297
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
1298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1299
+
1300
+ include Google::Apis::Core::JsonObjectSupport
1301
+ end
1302
+
1303
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1309
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
1310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1311
+
1312
+ include Google::Apis::Core::JsonObjectSupport
1313
+ end
1314
+
1315
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1225
1321
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
1226
1322
  class Representation < Google::Apis::Core::JsonRepresentation; end
1227
1323
 
@@ -1246,6 +1342,12 @@ module Google
1246
1342
  include Google::Apis::Core::JsonObjectSupport
1247
1343
  end
1248
1344
 
1345
+ class GoogleCloudDocumentaiV1beta3RevisionRef
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1249
1351
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
1250
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1251
1353
 
@@ -1288,6 +1390,12 @@ module Google
1288
1390
  include Google::Apis::Core::JsonObjectSupport
1289
1391
  end
1290
1392
 
1393
+ class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
1394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1395
+
1396
+ include Google::Apis::Core::JsonObjectSupport
1397
+ end
1398
+
1291
1399
  class GoogleLongrunningOperation
1292
1400
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1401
 
@@ -1629,6 +1737,8 @@ module Google
1629
1737
  # @private
1630
1738
  class Representation < Google::Apis::Core::JsonRepresentation
1631
1739
  property :input_gcs_source, as: 'inputGcsSource'
1740
+ property :output_document_id, as: 'outputDocumentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1741
+
1632
1742
  property :output_gcs_destination, as: 'outputGcsDestination'
1633
1743
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1634
1744
 
@@ -1714,6 +1824,10 @@ module Google
1714
1824
  class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
1715
1825
  # @private
1716
1826
  class Representation < Google::Apis::Core::JsonRepresentation
1827
+ property :sample_test_status, as: 'sampleTestStatus', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1828
+
1829
+ property :sample_training_status, as: 'sampleTrainingStatus', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1830
+
1717
1831
  collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
1718
1832
 
1719
1833
  end
@@ -3247,6 +3361,34 @@ module Google
3247
3361
  end
3248
3362
  end
3249
3363
 
3364
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadata
3365
+ # @private
3366
+ class Representation < Google::Apis::Core::JsonRepresentation
3367
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3368
+
3369
+ property :error_document_count, as: 'errorDocumentCount'
3370
+ collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
3371
+
3372
+ property :total_document_count, as: 'totalDocumentCount'
3373
+ end
3374
+ end
3375
+
3376
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
3377
+ # @private
3378
+ class Representation < Google::Apis::Core::JsonRepresentation
3379
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId::Representation
3380
+
3381
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
3382
+
3383
+ end
3384
+ end
3385
+
3386
+ class GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsResponse
3387
+ # @private
3388
+ class Representation < Google::Apis::Core::JsonRepresentation
3389
+ end
3390
+ end
3391
+
3250
3392
  class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
3251
3393
  # @private
3252
3394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3289,6 +3431,50 @@ module Google
3289
3431
  end
3290
3432
  end
3291
3433
 
3434
+ class GoogleCloudDocumentaiV1beta3Dataset
3435
+ # @private
3436
+ class Representation < Google::Apis::Core::JsonRepresentation
3437
+ property :document_warehouse_config, as: 'documentWarehouseConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig::Representation
3438
+
3439
+ property :gcs_managed_config, as: 'gcsManagedConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig::Representation
3440
+
3441
+ property :name, as: 'name'
3442
+ property :spanner_indexing_config, as: 'spannerIndexingConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig::Representation
3443
+
3444
+ property :state, as: 'state'
3445
+ property :unmanaged_dataset_config, as: 'unmanagedDatasetConfig', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig::Representation
3446
+
3447
+ end
3448
+ end
3449
+
3450
+ class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
3451
+ # @private
3452
+ class Representation < Google::Apis::Core::JsonRepresentation
3453
+ property :collection, as: 'collection'
3454
+ property :schema, as: 'schema'
3455
+ end
3456
+ end
3457
+
3458
+ class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
3459
+ # @private
3460
+ class Representation < Google::Apis::Core::JsonRepresentation
3461
+ property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
3462
+
3463
+ end
3464
+ end
3465
+
3466
+ class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
3467
+ # @private
3468
+ class Representation < Google::Apis::Core::JsonRepresentation
3469
+ end
3470
+ end
3471
+
3472
+ class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
3473
+ # @private
3474
+ class Representation < Google::Apis::Core::JsonRepresentation
3475
+ end
3476
+ end
3477
+
3292
3478
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
3293
3479
  # @private
3294
3480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3333,6 +3519,33 @@ module Google
3333
3519
  end
3334
3520
  end
3335
3521
 
3522
+ class GoogleCloudDocumentaiV1beta3DocumentId
3523
+ # @private
3524
+ class Representation < Google::Apis::Core::JsonRepresentation
3525
+ property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId::Representation
3526
+
3527
+ property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3RevisionRef::Representation
3528
+
3529
+ property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId::Representation
3530
+
3531
+ end
3532
+ end
3533
+
3534
+ class GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId
3535
+ # @private
3536
+ class Representation < Google::Apis::Core::JsonRepresentation
3537
+ property :cw_doc_id, as: 'cwDocId'
3538
+ property :gcs_uri, as: 'gcsUri'
3539
+ end
3540
+ end
3541
+
3542
+ class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId
3543
+ # @private
3544
+ class Representation < Google::Apis::Core::JsonRepresentation
3545
+ property :doc_id, as: 'docId'
3546
+ end
3547
+ end
3548
+
3336
3549
  class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
3337
3550
  # @private
3338
3551
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3362,6 +3575,13 @@ module Google
3362
3575
  end
3363
3576
  end
3364
3577
 
3578
+ class GoogleCloudDocumentaiV1beta3GcsPrefix
3579
+ # @private
3580
+ class Representation < Google::Apis::Core::JsonRepresentation
3581
+ property :gcs_uri_prefix, as: 'gcsUriPrefix'
3582
+ end
3583
+ end
3584
+
3365
3585
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
3366
3586
  # @private
3367
3587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3371,6 +3591,45 @@ module Google
3371
3591
  end
3372
3592
  end
3373
3593
 
3594
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadata
3595
+ # @private
3596
+ class Representation < Google::Apis::Core::JsonRepresentation
3597
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3598
+
3599
+ collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
3600
+
3601
+ collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
3602
+
3603
+ property :total_document_count, as: 'totalDocumentCount'
3604
+ end
3605
+ end
3606
+
3607
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
3608
+ # @private
3609
+ class Representation < Google::Apis::Core::JsonRepresentation
3610
+ property :input_gcs_source, as: 'inputGcsSource'
3611
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
3612
+
3613
+ end
3614
+ end
3615
+
3616
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataIndividualImportStatus
3617
+ # @private
3618
+ class Representation < Google::Apis::Core::JsonRepresentation
3619
+ property :input_gcs_source, as: 'inputGcsSource'
3620
+ property :output_document_id, as: 'outputDocumentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DocumentId::Representation
3621
+
3622
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
3623
+
3624
+ end
3625
+ end
3626
+
3627
+ class GoogleCloudDocumentaiV1beta3ImportDocumentsResponse
3628
+ # @private
3629
+ class Representation < Google::Apis::Core::JsonRepresentation
3630
+ end
3631
+ end
3632
+
3374
3633
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
3375
3634
  # @private
3376
3635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3408,6 +3667,15 @@ module Google
3408
3667
  end
3409
3668
  end
3410
3669
 
3670
+ class GoogleCloudDocumentaiV1beta3RevisionRef
3671
+ # @private
3672
+ class Representation < Google::Apis::Core::JsonRepresentation
3673
+ property :latest_processor_version, as: 'latestProcessorVersion'
3674
+ property :revision_case, as: 'revisionCase'
3675
+ property :revision_id, as: 'revisionId'
3676
+ end
3677
+ end
3678
+
3411
3679
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
3412
3680
  # @private
3413
3681
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3467,6 +3735,14 @@ module Google
3467
3735
  end
3468
3736
  end
3469
3737
 
3738
+ class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata
3739
+ # @private
3740
+ class Representation < Google::Apis::Core::JsonRepresentation
3741
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3742
+
3743
+ end
3744
+ end
3745
+
3470
3746
  class GoogleLongrunningOperation
3471
3747
  # @private
3472
3748
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.65.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-06-18 00:00:00.000000000 Z
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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.65.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []