google-apis-documentai_v1beta2 0.19.0 → 0.23.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: '086cf12ca692b27a41dfb7e2b208ad5c94b42cc81f126f22a4168a67082ad145'
4
- data.tar.gz: 9418da7d84456a08f8fe09bd7550b57bb9b6dbd1df25e1e8e0f2a4bfd332086e
3
+ metadata.gz: 1a9b69942e304e315e0d16a1ad53d8ec834498be64ad64924eaf9fd3047310da
4
+ data.tar.gz: c09a4f989791c34e8b033972ebec468a2d939f4d0fad9e82497e9f38a3568614
5
5
  SHA512:
6
- metadata.gz: 222670088a4daf4a35bb8cc7651670c8f24daa1661c371de3b0a7df796cb9b1ea90e39a521b800f499820029dca065b65bf0797f18253f0d3eb4b78f8b41666b
7
- data.tar.gz: 651af310409f874dcf057de6536b51d5cf264605ab4b6844abd3d3594c8f76f53ce6debfb3c5a9f130be6a99488085fe13fe77ad36b0e93baba47d058e8812c3
6
+ metadata.gz: 0427f5078bb0ff0374e0d28e3e676dc951555df9cb8d0f2f7d1064f07b330c30b8d7ff34be35dfb86d2153bbc263c3e6d4b2c9d03589b6d2bb1485d0998ac71c
7
+ data.tar.gz: 67ef575be6cc3f1eaff94dc911bdef431450fcbeafa040254a160b8008080659cf7034371cd8bd1e1a08f18ab9b9e97a4e5f0a9f448f614d089f716f3bde05c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.23.0 (2021-11-09)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.22.0 (2021-10-26)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+ * Unspecified changes
11
+
12
+ ### v0.21.0 (2021-09-09)
13
+
14
+ * Regenerated from discovery document revision 20210907
15
+
16
+ ### v0.20.0 (2021-09-02)
17
+
18
+ * Regenerated from discovery document revision 20210830
19
+
3
20
  ### v0.19.0 (2021-08-24)
4
21
 
5
22
  * Regenerated from discovery document revision 20210820
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Documentai service in particular.)
67
67
 
@@ -63,6 +63,16 @@ module Google
63
63
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
64
64
  attr_accessor :common_metadata
65
65
 
66
+ # The destination dataset split type.
67
+ # Corresponds to the JSON property `destDatasetType`
68
+ # @return [String]
69
+ attr_accessor :dest_dataset_type
70
+
71
+ # The list of response details of each document.
72
+ # Corresponds to the JSON property `individualBatchMoveStatuses`
73
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus>]
74
+ attr_accessor :individual_batch_move_statuses
75
+
66
76
  def initialize(**args)
67
77
  update!(**args)
68
78
  end
@@ -70,6 +80,38 @@ module Google
70
80
  # Update properties of this object
71
81
  def update!(**args)
72
82
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
83
+ @dest_dataset_type = args[:dest_dataset_type] if args.key?(:dest_dataset_type)
84
+ @individual_batch_move_statuses = args[:individual_batch_move_statuses] if args.key?(:individual_batch_move_statuses)
85
+ end
86
+ end
87
+
88
+ # The status of each individual document in the batch move process.
89
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
90
+ include Google::Apis::Core::Hashable
91
+
92
+ # Document Identifier.
93
+ # Corresponds to the JSON property `documentId`
94
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId]
95
+ attr_accessor :document_id
96
+
97
+ # The `Status` type defines a logical error model that is suitable for different
98
+ # programming environments, including REST APIs and RPC APIs. It is used by [
99
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
100
+ # data: error code, error message, and error details. You can find out more
101
+ # about this error model and how to work with it in the [API Design Guide](https:
102
+ # //cloud.google.com/apis/design/errors).
103
+ # Corresponds to the JSON property `status`
104
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
105
+ attr_accessor :status
106
+
107
+ def initialize(**args)
108
+ update!(**args)
109
+ end
110
+
111
+ # Update properties of this object
112
+ def update!(**args)
113
+ @document_id = args[:document_id] if args.key?(:document_id)
114
+ @status = args[:status] if args.key?(:status)
73
115
  end
74
116
  end
75
117
 
@@ -95,6 +137,11 @@ module Google
95
137
  # @return [String]
96
138
  attr_accessor :create_time
97
139
 
140
+ # A related resource to this operation.
141
+ # Corresponds to the JSON property `resource`
142
+ # @return [String]
143
+ attr_accessor :resource
144
+
98
145
  # The state of the operation.
99
146
  # Corresponds to the JSON property `state`
100
147
  # @return [String]
@@ -117,6 +164,7 @@ module Google
117
164
  # Update properties of this object
118
165
  def update!(**args)
119
166
  @create_time = args[:create_time] if args.key?(:create_time)
167
+ @resource = args[:resource] if args.key?(:resource)
120
168
  @state = args[:state] if args.key?(:state)
121
169
  @state_message = args[:state_message] if args.key?(:state_message)
122
170
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -264,6 +312,58 @@ module Google
264
312
  end
265
313
  end
266
314
 
315
+ # Document Identifier.
316
+ class GoogleCloudDocumentaiUiv1beta3DocumentId
317
+ include Google::Apis::Core::Hashable
318
+
319
+ # Identifies a document uniquely within the scope of a dataset in the GCS-based
320
+ # option.
321
+ # Corresponds to the JSON property `gcsManagedDocId`
322
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
323
+ attr_accessor :gcs_managed_doc_id
324
+
325
+ # The revision reference specifies which revision on the document to read.
326
+ # Corresponds to the JSON property `revisionReference`
327
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference]
328
+ attr_accessor :revision_reference
329
+
330
+ def initialize(**args)
331
+ update!(**args)
332
+ end
333
+
334
+ # Update properties of this object
335
+ def update!(**args)
336
+ @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
337
+ @revision_reference = args[:revision_reference] if args.key?(:revision_reference)
338
+ end
339
+ end
340
+
341
+ # Identifies a document uniquely within the scope of a dataset in the GCS-based
342
+ # option.
343
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
344
+ include Google::Apis::Core::Hashable
345
+
346
+ # Optional. Id of the document (indexed) managed by Content Warehouse.
347
+ # Corresponds to the JSON property `cwDocId`
348
+ # @return [String]
349
+ attr_accessor :cw_doc_id
350
+
351
+ # Required. The Cloud Storage uri where the actual document is stored.
352
+ # Corresponds to the JSON property `gcsUri`
353
+ # @return [String]
354
+ attr_accessor :gcs_uri
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @cw_doc_id = args[:cw_doc_id] if args.key?(:cw_doc_id)
363
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
364
+ end
365
+ end
366
+
267
367
  # The long running operation metadata for enable processor method.
268
368
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
269
369
  include Google::Apis::Core::Hashable
@@ -382,6 +482,11 @@ module Google
382
482
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
383
483
  attr_accessor :common_metadata
384
484
 
485
+ # The list of response details of each document.
486
+ # Corresponds to the JSON property `individualImportStatuses`
487
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
488
+ attr_accessor :individual_import_statuses
489
+
385
490
  def initialize(**args)
386
491
  update!(**args)
387
492
  end
@@ -389,6 +494,44 @@ module Google
389
494
  # Update properties of this object
390
495
  def update!(**args)
391
496
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
497
+ @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
498
+ end
499
+ end
500
+
501
+ # The status of each individual document in the import process.
502
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
503
+ include Google::Apis::Core::Hashable
504
+
505
+ # The source Cloud Storage URI of the document.
506
+ # Corresponds to the JSON property `inputGcsSource`
507
+ # @return [String]
508
+ attr_accessor :input_gcs_source
509
+
510
+ # The output_gcs_destination of the processed document if it was successful,
511
+ # otherwise empty.
512
+ # Corresponds to the JSON property `outputGcsDestination`
513
+ # @return [String]
514
+ attr_accessor :output_gcs_destination
515
+
516
+ # The `Status` type defines a logical error model that is suitable for different
517
+ # programming environments, including REST APIs and RPC APIs. It is used by [
518
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
519
+ # data: error code, error message, and error details. You can find out more
520
+ # about this error model and how to work with it in the [API Design Guide](https:
521
+ # //cloud.google.com/apis/design/errors).
522
+ # Corresponds to the JSON property `status`
523
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
524
+ attr_accessor :status
525
+
526
+ def initialize(**args)
527
+ update!(**args)
528
+ end
529
+
530
+ # Update properties of this object
531
+ def update!(**args)
532
+ @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
533
+ @output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
534
+ @status = args[:status] if args.key?(:status)
392
535
  end
393
536
  end
394
537
 
@@ -405,6 +548,38 @@ module Google
405
548
  end
406
549
  end
407
550
 
551
+ # The revision reference specifies which revision on the document to read.
552
+ class GoogleCloudDocumentaiUiv1beta3RevisionReference
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # Read the revision generated by the processor version, returns error if it does
556
+ # not exist.
557
+ # Corresponds to the JSON property `latestProcessorVersion`
558
+ # @return [String]
559
+ attr_accessor :latest_processor_version
560
+
561
+ # Read the revision by the predefined case.
562
+ # Corresponds to the JSON property `revisionCase`
563
+ # @return [String]
564
+ attr_accessor :revision_case
565
+
566
+ # Read the revision given by the id, returns error if it does not exist.
567
+ # Corresponds to the JSON property `revisionId`
568
+ # @return [String]
569
+ attr_accessor :revision_id
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
578
+ @revision_case = args[:revision_case] if args.key?(:revision_case)
579
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
580
+ end
581
+ end
582
+
408
583
  # The long running operation metadata for set default processor version method.
409
584
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
410
585
  include Google::Apis::Core::Hashable
@@ -732,6 +907,11 @@ module Google
732
907
  # @return [String]
733
908
  attr_accessor :create_time
734
909
 
910
+ # A related resource to this operation.
911
+ # Corresponds to the JSON property `resource`
912
+ # @return [String]
913
+ attr_accessor :resource
914
+
735
915
  # The state of the operation.
736
916
  # Corresponds to the JSON property `state`
737
917
  # @return [String]
@@ -754,12 +934,149 @@ module Google
754
934
  # Update properties of this object
755
935
  def update!(**args)
756
936
  @create_time = args[:create_time] if args.key?(:create_time)
937
+ @resource = args[:resource] if args.key?(:resource)
757
938
  @state = args[:state] if args.key?(:state)
758
939
  @state_message = args[:state_message] if args.key?(:state_message)
759
940
  @update_time = args[:update_time] if args.key?(:update_time)
760
941
  end
761
942
  end
762
943
 
944
+ # The long running operation metadata for delete processor method.
945
+ class GoogleCloudDocumentaiV1DeleteProcessorMetadata
946
+ include Google::Apis::Core::Hashable
947
+
948
+ # The common metadata for long running operations.
949
+ # Corresponds to the JSON property `commonMetadata`
950
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
951
+ attr_accessor :common_metadata
952
+
953
+ def initialize(**args)
954
+ update!(**args)
955
+ end
956
+
957
+ # Update properties of this object
958
+ def update!(**args)
959
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
960
+ end
961
+ end
962
+
963
+ # The long running operation metadata for delete processor version method.
964
+ class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
965
+ include Google::Apis::Core::Hashable
966
+
967
+ # The common metadata for long running operations.
968
+ # Corresponds to the JSON property `commonMetadata`
969
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
970
+ attr_accessor :common_metadata
971
+
972
+ def initialize(**args)
973
+ update!(**args)
974
+ end
975
+
976
+ # Update properties of this object
977
+ def update!(**args)
978
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
979
+ end
980
+ end
981
+
982
+ # The long running operation metadata for deploy processor version method.
983
+ class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
984
+ include Google::Apis::Core::Hashable
985
+
986
+ # The common metadata for long running operations.
987
+ # Corresponds to the JSON property `commonMetadata`
988
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
989
+ attr_accessor :common_metadata
990
+
991
+ def initialize(**args)
992
+ update!(**args)
993
+ end
994
+
995
+ # Update properties of this object
996
+ def update!(**args)
997
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
998
+ end
999
+ end
1000
+
1001
+ # Response message for the deploy processor version method.
1002
+ class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
1003
+ include Google::Apis::Core::Hashable
1004
+
1005
+ def initialize(**args)
1006
+ update!(**args)
1007
+ end
1008
+
1009
+ # Update properties of this object
1010
+ def update!(**args)
1011
+ end
1012
+ end
1013
+
1014
+ # The long running operation metadata for disable processor method.
1015
+ class GoogleCloudDocumentaiV1DisableProcessorMetadata
1016
+ include Google::Apis::Core::Hashable
1017
+
1018
+ # The common metadata for long running operations.
1019
+ # Corresponds to the JSON property `commonMetadata`
1020
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1021
+ attr_accessor :common_metadata
1022
+
1023
+ def initialize(**args)
1024
+ update!(**args)
1025
+ end
1026
+
1027
+ # Update properties of this object
1028
+ def update!(**args)
1029
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1030
+ end
1031
+ end
1032
+
1033
+ # Response message for the disable processor method. Intentionally empty proto
1034
+ # for adding fields in future.
1035
+ class GoogleCloudDocumentaiV1DisableProcessorResponse
1036
+ include Google::Apis::Core::Hashable
1037
+
1038
+ def initialize(**args)
1039
+ update!(**args)
1040
+ end
1041
+
1042
+ # Update properties of this object
1043
+ def update!(**args)
1044
+ end
1045
+ end
1046
+
1047
+ # The long running operation metadata for enable processor method.
1048
+ class GoogleCloudDocumentaiV1EnableProcessorMetadata
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # The common metadata for long running operations.
1052
+ # Corresponds to the JSON property `commonMetadata`
1053
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1054
+ attr_accessor :common_metadata
1055
+
1056
+ def initialize(**args)
1057
+ update!(**args)
1058
+ end
1059
+
1060
+ # Update properties of this object
1061
+ def update!(**args)
1062
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1063
+ end
1064
+ end
1065
+
1066
+ # Response message for the enable processor method. Intentionally empty proto
1067
+ # for adding fields in future.
1068
+ class GoogleCloudDocumentaiV1EnableProcessorResponse
1069
+ include Google::Apis::Core::Hashable
1070
+
1071
+ def initialize(**args)
1072
+ update!(**args)
1073
+ end
1074
+
1075
+ # Update properties of this object
1076
+ def update!(**args)
1077
+ end
1078
+ end
1079
+
763
1080
  # The status of human review on a processed document.
764
1081
  class GoogleCloudDocumentaiV1HumanReviewStatus
765
1082
  include Google::Apis::Core::Hashable
@@ -832,6 +1149,70 @@ module Google
832
1149
  end
833
1150
  end
834
1151
 
1152
+ # The long running operation metadata for set default processor version method.
1153
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
1154
+ include Google::Apis::Core::Hashable
1155
+
1156
+ # The common metadata for long running operations.
1157
+ # Corresponds to the JSON property `commonMetadata`
1158
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1159
+ attr_accessor :common_metadata
1160
+
1161
+ def initialize(**args)
1162
+ update!(**args)
1163
+ end
1164
+
1165
+ # Update properties of this object
1166
+ def update!(**args)
1167
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1168
+ end
1169
+ end
1170
+
1171
+ # Response message for set default processor version method.
1172
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ def initialize(**args)
1176
+ update!(**args)
1177
+ end
1178
+
1179
+ # Update properties of this object
1180
+ def update!(**args)
1181
+ end
1182
+ end
1183
+
1184
+ # The long running operation metadata for the undeploy processor version method.
1185
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1186
+ include Google::Apis::Core::Hashable
1187
+
1188
+ # The common metadata for long running operations.
1189
+ # Corresponds to the JSON property `commonMetadata`
1190
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1191
+ attr_accessor :common_metadata
1192
+
1193
+ def initialize(**args)
1194
+ update!(**args)
1195
+ end
1196
+
1197
+ # Update properties of this object
1198
+ def update!(**args)
1199
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1200
+ end
1201
+ end
1202
+
1203
+ # Response message for the undeploy processor version method.
1204
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
1205
+ include Google::Apis::Core::Hashable
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ end
1214
+ end
1215
+
835
1216
  # Response to an batch document processing request. This is returned in the LRO
836
1217
  # Operation after the operation is complete.
837
1218
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -1465,6 +1846,20 @@ module Google
1465
1846
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1466
1847
  include Google::Apis::Core::Hashable
1467
1848
 
1849
+ # Created for Labeling UI to export key text. If corrections were made to the
1850
+ # text identified by the `field_name.text_anchor`, this field will contain the
1851
+ # correction.
1852
+ # Corresponds to the JSON property `correctedKeyText`
1853
+ # @return [String]
1854
+ attr_accessor :corrected_key_text
1855
+
1856
+ # Created for Labeling UI to export value text. If corrections were made to the
1857
+ # text identified by the `field_value.text_anchor`, this field will contain the
1858
+ # correction.
1859
+ # Corresponds to the JSON property `correctedValueText`
1860
+ # @return [String]
1861
+ attr_accessor :corrected_value_text
1862
+
1468
1863
  # Visual element describing a layout unit on a page.
1469
1864
  # Corresponds to the JSON property `fieldName`
1470
1865
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -1504,6 +1899,8 @@ module Google
1504
1899
 
1505
1900
  # Update properties of this object
1506
1901
  def update!(**args)
1902
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
1903
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
1507
1904
  @field_name = args[:field_name] if args.key?(:field_name)
1508
1905
  @field_value = args[:field_value] if args.key?(:field_value)
1509
1906
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -3245,6 +3642,20 @@ module Google
3245
3642
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
3246
3643
  include Google::Apis::Core::Hashable
3247
3644
 
3645
+ # Created for Labeling UI to export key text. If corrections were made to the
3646
+ # text identified by the `field_name.text_anchor`, this field will contain the
3647
+ # correction.
3648
+ # Corresponds to the JSON property `correctedKeyText`
3649
+ # @return [String]
3650
+ attr_accessor :corrected_key_text
3651
+
3652
+ # Created for Labeling UI to export value text. If corrections were made to the
3653
+ # text identified by the `field_value.text_anchor`, this field will contain the
3654
+ # correction.
3655
+ # Corresponds to the JSON property `correctedValueText`
3656
+ # @return [String]
3657
+ attr_accessor :corrected_value_text
3658
+
3248
3659
  # Visual element describing a layout unit on a page.
3249
3660
  # Corresponds to the JSON property `fieldName`
3250
3661
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -3284,6 +3695,8 @@ module Google
3284
3695
 
3285
3696
  # Update properties of this object
3286
3697
  def update!(**args)
3698
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3699
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3287
3700
  @field_name = args[:field_name] if args.key?(:field_name)
3288
3701
  @field_value = args[:field_value] if args.key?(:field_value)
3289
3702
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -4693,6 +5106,11 @@ module Google
4693
5106
  # @return [String]
4694
5107
  attr_accessor :create_time
4695
5108
 
5109
+ # A related resource to this operation.
5110
+ # Corresponds to the JSON property `resource`
5111
+ # @return [String]
5112
+ attr_accessor :resource
5113
+
4696
5114
  # The state of the operation.
4697
5115
  # Corresponds to the JSON property `state`
4698
5116
  # @return [String]
@@ -4715,6 +5133,7 @@ module Google
4715
5133
  # Update properties of this object
4716
5134
  def update!(**args)
4717
5135
  @create_time = args[:create_time] if args.key?(:create_time)
5136
+ @resource = args[:resource] if args.key?(:resource)
4718
5137
  @state = args[:state] if args.key?(:state)
4719
5138
  @state_message = args[:state_message] if args.key?(:state_message)
4720
5139
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -4740,6 +5159,57 @@ module Google
4740
5159
  end
4741
5160
  end
4742
5161
 
5162
+ # The long running operation metadata for delete processor version method.
5163
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
5164
+ include Google::Apis::Core::Hashable
5165
+
5166
+ # The common metadata for long running operations.
5167
+ # Corresponds to the JSON property `commonMetadata`
5168
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5169
+ attr_accessor :common_metadata
5170
+
5171
+ def initialize(**args)
5172
+ update!(**args)
5173
+ end
5174
+
5175
+ # Update properties of this object
5176
+ def update!(**args)
5177
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5178
+ end
5179
+ end
5180
+
5181
+ # The long running operation metadata for deploy processor version method.
5182
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
5183
+ include Google::Apis::Core::Hashable
5184
+
5185
+ # The common metadata for long running operations.
5186
+ # Corresponds to the JSON property `commonMetadata`
5187
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5188
+ attr_accessor :common_metadata
5189
+
5190
+ def initialize(**args)
5191
+ update!(**args)
5192
+ end
5193
+
5194
+ # Update properties of this object
5195
+ def update!(**args)
5196
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5197
+ end
5198
+ end
5199
+
5200
+ # Response message for the deploy processor version method.
5201
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
5202
+ include Google::Apis::Core::Hashable
5203
+
5204
+ def initialize(**args)
5205
+ update!(**args)
5206
+ end
5207
+
5208
+ # Update properties of this object
5209
+ def update!(**args)
5210
+ end
5211
+ end
5212
+
4743
5213
  # The long running operation metadata for disable processor method.
4744
5214
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
4745
5215
  include Google::Apis::Core::Hashable
@@ -4903,6 +5373,70 @@ module Google
4903
5373
  end
4904
5374
  end
4905
5375
 
5376
+ # The long running operation metadata for set default processor version method.
5377
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
5378
+ include Google::Apis::Core::Hashable
5379
+
5380
+ # The common metadata for long running operations.
5381
+ # Corresponds to the JSON property `commonMetadata`
5382
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5383
+ attr_accessor :common_metadata
5384
+
5385
+ def initialize(**args)
5386
+ update!(**args)
5387
+ end
5388
+
5389
+ # Update properties of this object
5390
+ def update!(**args)
5391
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5392
+ end
5393
+ end
5394
+
5395
+ # Response message for set default processor version method.
5396
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
5397
+ include Google::Apis::Core::Hashable
5398
+
5399
+ def initialize(**args)
5400
+ update!(**args)
5401
+ end
5402
+
5403
+ # Update properties of this object
5404
+ def update!(**args)
5405
+ end
5406
+ end
5407
+
5408
+ # The long running operation metadata for the undeploy processor version method.
5409
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
5410
+ include Google::Apis::Core::Hashable
5411
+
5412
+ # The common metadata for long running operations.
5413
+ # Corresponds to the JSON property `commonMetadata`
5414
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5415
+ attr_accessor :common_metadata
5416
+
5417
+ def initialize(**args)
5418
+ update!(**args)
5419
+ end
5420
+
5421
+ # Update properties of this object
5422
+ def update!(**args)
5423
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5424
+ end
5425
+ end
5426
+
5427
+ # Response message for the undeploy processor version method.
5428
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
5429
+ include Google::Apis::Core::Hashable
5430
+
5431
+ def initialize(**args)
5432
+ update!(**args)
5433
+ end
5434
+
5435
+ # Update properties of this object
5436
+ def update!(**args)
5437
+ end
5438
+ end
5439
+
4906
5440
  # This resource represents a long-running operation that is the result of a
4907
5441
  # network API call.
4908
5442
  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.19.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210820"
25
+ REVISION = "20211105"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -100,6 +106,18 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class GoogleCloudDocumentaiUiv1beta3DocumentId
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
@@ -142,12 +160,24 @@ module Google
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
148
172
  include Google::Apis::Core::JsonObjectSupport
149
173
  end
150
174
 
175
+ class GoogleCloudDocumentaiUiv1beta3RevisionReference
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
151
181
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
152
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
183
 
@@ -232,6 +262,54 @@ module Google
232
262
  include Google::Apis::Core::JsonObjectSupport
233
263
  end
234
264
 
265
+ class GoogleCloudDocumentaiV1DeleteProcessorMetadata
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudDocumentaiV1DisableProcessorMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudDocumentaiV1DisableProcessorResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudDocumentaiV1EnableProcessorMetadata
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudDocumentaiV1EnableProcessorResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
235
313
  class GoogleCloudDocumentaiV1HumanReviewStatus
236
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
315
 
@@ -250,6 +328,30 @@ module Google
250
328
  include Google::Apis::Core::JsonObjectSupport
251
329
  end
252
330
 
331
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
253
355
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
254
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
357
 
@@ -844,6 +946,24 @@ module Google
844
946
  include Google::Apis::Core::JsonObjectSupport
845
947
  end
846
948
 
949
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
847
967
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
848
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
969
 
@@ -886,6 +1006,30 @@ module Google
886
1006
  include Google::Apis::Core::JsonObjectSupport
887
1007
  end
888
1008
 
1009
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
1021
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1027
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
889
1033
  class GoogleLongrunningOperation
890
1034
  class Representation < Google::Apis::Core::JsonRepresentation; end
891
1035
 
@@ -959,6 +1103,19 @@ module Google
959
1103
  class Representation < Google::Apis::Core::JsonRepresentation
960
1104
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
961
1105
 
1106
+ property :dest_dataset_type, as: 'destDatasetType'
1107
+ collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
1108
+
1109
+ end
1110
+ end
1111
+
1112
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
1113
+ # @private
1114
+ class Representation < Google::Apis::Core::JsonRepresentation
1115
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1116
+
1117
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1118
+
962
1119
  end
963
1120
  end
964
1121
 
@@ -972,6 +1129,7 @@ module Google
972
1129
  # @private
973
1130
  class Representation < Google::Apis::Core::JsonRepresentation
974
1131
  property :create_time, as: 'createTime'
1132
+ property :resource, as: 'resource'
975
1133
  property :state, as: 'state'
976
1134
  property :state_message, as: 'stateMessage'
977
1135
  property :update_time, as: 'updateTime'
@@ -1038,6 +1196,24 @@ module Google
1038
1196
  end
1039
1197
  end
1040
1198
 
1199
+ class GoogleCloudDocumentaiUiv1beta3DocumentId
1200
+ # @private
1201
+ class Representation < Google::Apis::Core::JsonRepresentation
1202
+ property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
1203
+
1204
+ property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1205
+
1206
+ end
1207
+ end
1208
+
1209
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
1210
+ # @private
1211
+ class Representation < Google::Apis::Core::JsonRepresentation
1212
+ property :cw_doc_id, as: 'cwDocId'
1213
+ property :gcs_uri, as: 'gcsUri'
1214
+ end
1215
+ end
1216
+
1041
1217
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
1042
1218
  # @private
1043
1219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1087,6 +1263,18 @@ module Google
1087
1263
  class Representation < Google::Apis::Core::JsonRepresentation
1088
1264
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1089
1265
 
1266
+ collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1267
+
1268
+ end
1269
+ end
1270
+
1271
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ property :input_gcs_source, as: 'inputGcsSource'
1275
+ property :output_gcs_destination, as: 'outputGcsDestination'
1276
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1277
+
1090
1278
  end
1091
1279
  end
1092
1280
 
@@ -1096,6 +1284,15 @@ module Google
1096
1284
  end
1097
1285
  end
1098
1286
 
1287
+ class GoogleCloudDocumentaiUiv1beta3RevisionReference
1288
+ # @private
1289
+ class Representation < Google::Apis::Core::JsonRepresentation
1290
+ property :latest_processor_version, as: 'latestProcessorVersion'
1291
+ property :revision_case, as: 'revisionCase'
1292
+ property :revision_id, as: 'revisionId'
1293
+ end
1294
+ end
1295
+
1099
1296
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1100
1297
  # @private
1101
1298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1213,12 +1410,71 @@ module Google
1213
1410
  # @private
1214
1411
  class Representation < Google::Apis::Core::JsonRepresentation
1215
1412
  property :create_time, as: 'createTime'
1413
+ property :resource, as: 'resource'
1216
1414
  property :state, as: 'state'
1217
1415
  property :state_message, as: 'stateMessage'
1218
1416
  property :update_time, as: 'updateTime'
1219
1417
  end
1220
1418
  end
1221
1419
 
1420
+ class GoogleCloudDocumentaiV1DeleteProcessorMetadata
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1424
+
1425
+ end
1426
+ end
1427
+
1428
+ class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
1429
+ # @private
1430
+ class Representation < Google::Apis::Core::JsonRepresentation
1431
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1432
+
1433
+ end
1434
+ end
1435
+
1436
+ class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
1437
+ # @private
1438
+ class Representation < Google::Apis::Core::JsonRepresentation
1439
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1440
+
1441
+ end
1442
+ end
1443
+
1444
+ class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
1445
+ # @private
1446
+ class Representation < Google::Apis::Core::JsonRepresentation
1447
+ end
1448
+ end
1449
+
1450
+ class GoogleCloudDocumentaiV1DisableProcessorMetadata
1451
+ # @private
1452
+ class Representation < Google::Apis::Core::JsonRepresentation
1453
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1454
+
1455
+ end
1456
+ end
1457
+
1458
+ class GoogleCloudDocumentaiV1DisableProcessorResponse
1459
+ # @private
1460
+ class Representation < Google::Apis::Core::JsonRepresentation
1461
+ end
1462
+ end
1463
+
1464
+ class GoogleCloudDocumentaiV1EnableProcessorMetadata
1465
+ # @private
1466
+ class Representation < Google::Apis::Core::JsonRepresentation
1467
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1468
+
1469
+ end
1470
+ end
1471
+
1472
+ class GoogleCloudDocumentaiV1EnableProcessorResponse
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ end
1476
+ end
1477
+
1222
1478
  class GoogleCloudDocumentaiV1HumanReviewStatus
1223
1479
  # @private
1224
1480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1243,6 +1499,34 @@ module Google
1243
1499
  end
1244
1500
  end
1245
1501
 
1502
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1506
+
1507
+ end
1508
+ end
1509
+
1510
+ class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
1511
+ # @private
1512
+ class Representation < Google::Apis::Core::JsonRepresentation
1513
+ end
1514
+ end
1515
+
1516
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1517
+ # @private
1518
+ class Representation < Google::Apis::Core::JsonRepresentation
1519
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1520
+
1521
+ end
1522
+ end
1523
+
1524
+ class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
1525
+ # @private
1526
+ class Representation < Google::Apis::Core::JsonRepresentation
1527
+ end
1528
+ end
1529
+
1246
1530
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1247
1531
  # @private
1248
1532
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1421,6 +1705,8 @@ module Google
1421
1705
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1422
1706
  # @private
1423
1707
  class Representation < Google::Apis::Core::JsonRepresentation
1708
+ property :corrected_key_text, as: 'correctedKeyText'
1709
+ property :corrected_value_text, as: 'correctedValueText'
1424
1710
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1425
1711
 
1426
1712
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -1932,6 +2218,8 @@ module Google
1932
2218
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
1933
2219
  # @private
1934
2220
  class Representation < Google::Apis::Core::JsonRepresentation
2221
+ property :corrected_key_text, as: 'correctedKeyText'
2222
+ property :corrected_value_text, as: 'correctedValueText'
1935
2223
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
1936
2224
 
1937
2225
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
@@ -2350,6 +2638,7 @@ module Google
2350
2638
  # @private
2351
2639
  class Representation < Google::Apis::Core::JsonRepresentation
2352
2640
  property :create_time, as: 'createTime'
2641
+ property :resource, as: 'resource'
2353
2642
  property :state, as: 'state'
2354
2643
  property :state_message, as: 'stateMessage'
2355
2644
  property :update_time, as: 'updateTime'
@@ -2364,6 +2653,28 @@ module Google
2364
2653
  end
2365
2654
  end
2366
2655
 
2656
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
2657
+ # @private
2658
+ class Representation < Google::Apis::Core::JsonRepresentation
2659
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2660
+
2661
+ end
2662
+ end
2663
+
2664
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
2665
+ # @private
2666
+ class Representation < Google::Apis::Core::JsonRepresentation
2667
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2668
+
2669
+ end
2670
+ end
2671
+
2672
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
2673
+ # @private
2674
+ class Representation < Google::Apis::Core::JsonRepresentation
2675
+ end
2676
+ end
2677
+
2367
2678
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
2368
2679
  # @private
2369
2680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2420,6 +2731,34 @@ module Google
2420
2731
  end
2421
2732
  end
2422
2733
 
2734
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
2735
+ # @private
2736
+ class Representation < Google::Apis::Core::JsonRepresentation
2737
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2738
+
2739
+ end
2740
+ end
2741
+
2742
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
2743
+ # @private
2744
+ class Representation < Google::Apis::Core::JsonRepresentation
2745
+ end
2746
+ end
2747
+
2748
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
2749
+ # @private
2750
+ class Representation < Google::Apis::Core::JsonRepresentation
2751
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2752
+
2753
+ end
2754
+ end
2755
+
2756
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
2757
+ # @private
2758
+ class Representation < Google::Apis::Core::JsonRepresentation
2759
+ end
2760
+ end
2761
+
2423
2762
  class GoogleLongrunningOperation
2424
2763
  # @private
2425
2764
  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.19.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-30 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.19.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
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.23.0
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: []
65
65
  require_paths: