google-apis-documentai_v1beta2 0.20.0 → 0.24.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: 4a5980b00b1564f28d610e3ee66badb5033ffbdf60198e182f3ead104b49e3f4
4
- data.tar.gz: 0f4bb27f8201ec691906a0329c78020d4b0a48c1854e02369dc451a23a288eed
3
+ metadata.gz: dec77324a3707529adefde7b1770a1f66e3f9f984af95acb1f9e13efa2cf8f3a
4
+ data.tar.gz: 79fcf5ee7e79ea1e43f4e3ee0b8423abc6a5eae38fbd589b5ad48a4044544eec
5
5
  SHA512:
6
- metadata.gz: d8668892f930d35f4e86f35bf8329c5df11431e1975d3f66cffe6c3d081c7745fd00247f965076f05b0c608ccf282a7c2aaf817df1f48429217df1072c61d51f
7
- data.tar.gz: ebac145a7a06045657a79d3f6da14b2dddddcfa8b500258b6216b2e98fa05e4328fff01ccabf248ca7773f5984647a7560af19373366438a7230dddf17db52f1
6
+ metadata.gz: 6705ad91f1ab684736d84dca95d508f6e35ad432f4b7d3c4c4217b3f7261303f45268e3c136793e4dd9c08e66a8b4ef404e63a9f9c71977cba0fd0b599331fe5
7
+ data.tar.gz: 93ec8ca98d8b7a7899ada0036387a90c582bd995b2080b12e94a41bcf80a490b33d2b3cf7df56af0add6c18ff14454e4f3bafd0af09f9a6a30cb38208a628e99
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.24.0 (2021-12-07)
4
+
5
+ * Regenerated from discovery document revision 20211203
6
+
7
+ ### v0.23.0 (2021-11-09)
8
+
9
+ * Regenerated from discovery document revision 20211105
10
+
11
+ ### v0.22.0 (2021-10-26)
12
+
13
+ * Regenerated from discovery document revision 20211022
14
+ * Unspecified changes
15
+
16
+ ### v0.21.0 (2021-09-09)
17
+
18
+ * Regenerated from discovery document revision 20210907
19
+
3
20
  ### v0.20.0 (2021-09-02)
4
21
 
5
22
  * Regenerated from discovery document revision 20210830
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
@@ -1932,8 +2313,8 @@ module Google
1932
2313
  end
1933
2314
  end
1934
2315
 
1935
- # Structure for referencing parent provenances. When an element replaces one of
1936
- # more other elements parent references identify the elements that are replaced.
2316
+ # The parent element the current element is based on. Used for referencing/
2317
+ # aligning, removal and replacement operations.
1937
2318
  class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
1938
2319
  include Google::Apis::Core::Hashable
1939
2320
 
@@ -1948,7 +2329,7 @@ module Google
1948
2329
  # @return [Fixnum]
1949
2330
  attr_accessor :index
1950
2331
 
1951
- # The index of the [Document.revisions] identifying the parent revision.
2332
+ # The index of the index into current revision's parent_ids list.
1952
2333
  # Corresponds to the JSON property `revision`
1953
2334
  # @return [Fixnum]
1954
2335
  attr_accessor :revision
@@ -1996,6 +2377,13 @@ module Google
1996
2377
  # @return [Array<Fixnum>]
1997
2378
  attr_accessor :parent
1998
2379
 
2380
+ # The revisions that this revision is based on. Must include all the ids that
2381
+ # have anything to do with this revision - eg. there are `provenance.parent.
2382
+ # revision` fields that index into this field.
2383
+ # Corresponds to the JSON property `parentIds`
2384
+ # @return [Array<String>]
2385
+ attr_accessor :parent_ids
2386
+
1999
2387
  # If the annotation was made by processor identify the processor by its resource
2000
2388
  # name.
2001
2389
  # Corresponds to the JSON property `processor`
@@ -2013,6 +2401,7 @@ module Google
2013
2401
  @human_review = args[:human_review] if args.key?(:human_review)
2014
2402
  @id = args[:id] if args.key?(:id)
2015
2403
  @parent = args[:parent] if args.key?(:parent)
2404
+ @parent_ids = args[:parent_ids] if args.key?(:parent_ids)
2016
2405
  @processor = args[:processor] if args.key?(:processor)
2017
2406
  end
2018
2407
  end
@@ -3728,8 +4117,8 @@ module Google
3728
4117
  end
3729
4118
  end
3730
4119
 
3731
- # Structure for referencing parent provenances. When an element replaces one of
3732
- # more other elements parent references identify the elements that are replaced.
4120
+ # The parent element the current element is based on. Used for referencing/
4121
+ # aligning, removal and replacement operations.
3733
4122
  class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent
3734
4123
  include Google::Apis::Core::Hashable
3735
4124
 
@@ -3744,7 +4133,7 @@ module Google
3744
4133
  # @return [Fixnum]
3745
4134
  attr_accessor :index
3746
4135
 
3747
- # The index of the [Document.revisions] identifying the parent revision.
4136
+ # The index of the index into current revision's parent_ids list.
3748
4137
  # Corresponds to the JSON property `revision`
3749
4138
  # @return [Fixnum]
3750
4139
  attr_accessor :revision
@@ -3792,6 +4181,13 @@ module Google
3792
4181
  # @return [Array<Fixnum>]
3793
4182
  attr_accessor :parent
3794
4183
 
4184
+ # The revisions that this revision is based on. Must include all the ids that
4185
+ # have anything to do with this revision - eg. there are `provenance.parent.
4186
+ # revision` fields that index into this field.
4187
+ # Corresponds to the JSON property `parentIds`
4188
+ # @return [Array<String>]
4189
+ attr_accessor :parent_ids
4190
+
3795
4191
  # If the annotation was made by processor identify the processor by its resource
3796
4192
  # name.
3797
4193
  # Corresponds to the JSON property `processor`
@@ -3809,6 +4205,7 @@ module Google
3809
4205
  @human_review = args[:human_review] if args.key?(:human_review)
3810
4206
  @id = args[:id] if args.key?(:id)
3811
4207
  @parent = args[:parent] if args.key?(:parent)
4208
+ @parent_ids = args[:parent_ids] if args.key?(:parent_ids)
3812
4209
  @processor = args[:processor] if args.key?(:processor)
3813
4210
  end
3814
4211
  end
@@ -4725,6 +5122,11 @@ module Google
4725
5122
  # @return [String]
4726
5123
  attr_accessor :create_time
4727
5124
 
5125
+ # A related resource to this operation.
5126
+ # Corresponds to the JSON property `resource`
5127
+ # @return [String]
5128
+ attr_accessor :resource
5129
+
4728
5130
  # The state of the operation.
4729
5131
  # Corresponds to the JSON property `state`
4730
5132
  # @return [String]
@@ -4747,6 +5149,7 @@ module Google
4747
5149
  # Update properties of this object
4748
5150
  def update!(**args)
4749
5151
  @create_time = args[:create_time] if args.key?(:create_time)
5152
+ @resource = args[:resource] if args.key?(:resource)
4750
5153
  @state = args[:state] if args.key?(:state)
4751
5154
  @state_message = args[:state_message] if args.key?(:state_message)
4752
5155
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -4772,6 +5175,57 @@ module Google
4772
5175
  end
4773
5176
  end
4774
5177
 
5178
+ # The long running operation metadata for delete processor version method.
5179
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
5180
+ include Google::Apis::Core::Hashable
5181
+
5182
+ # The common metadata for long running operations.
5183
+ # Corresponds to the JSON property `commonMetadata`
5184
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5185
+ attr_accessor :common_metadata
5186
+
5187
+ def initialize(**args)
5188
+ update!(**args)
5189
+ end
5190
+
5191
+ # Update properties of this object
5192
+ def update!(**args)
5193
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5194
+ end
5195
+ end
5196
+
5197
+ # The long running operation metadata for deploy processor version method.
5198
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
5199
+ include Google::Apis::Core::Hashable
5200
+
5201
+ # The common metadata for long running operations.
5202
+ # Corresponds to the JSON property `commonMetadata`
5203
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5204
+ attr_accessor :common_metadata
5205
+
5206
+ def initialize(**args)
5207
+ update!(**args)
5208
+ end
5209
+
5210
+ # Update properties of this object
5211
+ def update!(**args)
5212
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5213
+ end
5214
+ end
5215
+
5216
+ # Response message for the deploy processor version method.
5217
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
5218
+ include Google::Apis::Core::Hashable
5219
+
5220
+ def initialize(**args)
5221
+ update!(**args)
5222
+ end
5223
+
5224
+ # Update properties of this object
5225
+ def update!(**args)
5226
+ end
5227
+ end
5228
+
4775
5229
  # The long running operation metadata for disable processor method.
4776
5230
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
4777
5231
  include Google::Apis::Core::Hashable
@@ -4935,6 +5389,70 @@ module Google
4935
5389
  end
4936
5390
  end
4937
5391
 
5392
+ # The long running operation metadata for set default processor version method.
5393
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
5394
+ include Google::Apis::Core::Hashable
5395
+
5396
+ # The common metadata for long running operations.
5397
+ # Corresponds to the JSON property `commonMetadata`
5398
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5399
+ attr_accessor :common_metadata
5400
+
5401
+ def initialize(**args)
5402
+ update!(**args)
5403
+ end
5404
+
5405
+ # Update properties of this object
5406
+ def update!(**args)
5407
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5408
+ end
5409
+ end
5410
+
5411
+ # Response message for set default processor version method.
5412
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
5413
+ include Google::Apis::Core::Hashable
5414
+
5415
+ def initialize(**args)
5416
+ update!(**args)
5417
+ end
5418
+
5419
+ # Update properties of this object
5420
+ def update!(**args)
5421
+ end
5422
+ end
5423
+
5424
+ # The long running operation metadata for the undeploy processor version method.
5425
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
5426
+ include Google::Apis::Core::Hashable
5427
+
5428
+ # The common metadata for long running operations.
5429
+ # Corresponds to the JSON property `commonMetadata`
5430
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5431
+ attr_accessor :common_metadata
5432
+
5433
+ def initialize(**args)
5434
+ update!(**args)
5435
+ end
5436
+
5437
+ # Update properties of this object
5438
+ def update!(**args)
5439
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5440
+ end
5441
+ end
5442
+
5443
+ # Response message for the undeploy processor version method.
5444
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
5445
+ include Google::Apis::Core::Hashable
5446
+
5447
+ def initialize(**args)
5448
+ update!(**args)
5449
+ end
5450
+
5451
+ # Update properties of this object
5452
+ def update!(**args)
5453
+ end
5454
+ end
5455
+
4938
5456
  # This resource represents a long-running operation that is the result of a
4939
5457
  # network API call.
4940
5458
  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.20.0"
19
+ GEM_VERSION = "0.24.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 = "20210830"
25
+ REVISION = "20211203"
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
@@ -1588,6 +1872,7 @@ module Google
1588
1872
 
1589
1873
  property :id, as: 'id'
1590
1874
  collection :parent, as: 'parent'
1875
+ collection :parent_ids, as: 'parentIds'
1591
1876
  property :processor, as: 'processor'
1592
1877
  end
1593
1878
  end
@@ -2101,6 +2386,7 @@ module Google
2101
2386
 
2102
2387
  property :id, as: 'id'
2103
2388
  collection :parent, as: 'parent'
2389
+ collection :parent_ids, as: 'parentIds'
2104
2390
  property :processor, as: 'processor'
2105
2391
  end
2106
2392
  end
@@ -2354,6 +2640,7 @@ module Google
2354
2640
  # @private
2355
2641
  class Representation < Google::Apis::Core::JsonRepresentation
2356
2642
  property :create_time, as: 'createTime'
2643
+ property :resource, as: 'resource'
2357
2644
  property :state, as: 'state'
2358
2645
  property :state_message, as: 'stateMessage'
2359
2646
  property :update_time, as: 'updateTime'
@@ -2368,6 +2655,28 @@ module Google
2368
2655
  end
2369
2656
  end
2370
2657
 
2658
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
2659
+ # @private
2660
+ class Representation < Google::Apis::Core::JsonRepresentation
2661
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2662
+
2663
+ end
2664
+ end
2665
+
2666
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
2667
+ # @private
2668
+ class Representation < Google::Apis::Core::JsonRepresentation
2669
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2670
+
2671
+ end
2672
+ end
2673
+
2674
+ class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
2675
+ # @private
2676
+ class Representation < Google::Apis::Core::JsonRepresentation
2677
+ end
2678
+ end
2679
+
2371
2680
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
2372
2681
  # @private
2373
2682
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2424,6 +2733,34 @@ module Google
2424
2733
  end
2425
2734
  end
2426
2735
 
2736
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
2737
+ # @private
2738
+ class Representation < Google::Apis::Core::JsonRepresentation
2739
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2740
+
2741
+ end
2742
+ end
2743
+
2744
+ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
2745
+ # @private
2746
+ class Representation < Google::Apis::Core::JsonRepresentation
2747
+ end
2748
+ end
2749
+
2750
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
2751
+ # @private
2752
+ class Representation < Google::Apis::Core::JsonRepresentation
2753
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2754
+
2755
+ end
2756
+ end
2757
+
2758
+ class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
2759
+ # @private
2760
+ class Representation < Google::Apis::Core::JsonRepresentation
2761
+ end
2762
+ end
2763
+
2427
2764
  class GoogleLongrunningOperation
2428
2765
  # @private
2429
2766
  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.20.0
4
+ version: 0.24.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-09-06 00:00:00.000000000 Z
11
+ date: 2021-12-13 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.20.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.24.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: