google-apis-documentai_v1beta2 0.21.0 → 0.25.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: c75df2601a7b464c34b25ed3a1d2783f733317bc0b3c4bd9c5ce0a2fb277d880
4
- data.tar.gz: c05cc9a7ea05cbeff66c3b70951e900685067b516bc5eb261ccb6dec4acb8a0c
3
+ metadata.gz: c3766aba62077eb0b3f764386dd66ea35ee5ac719cd6149da76593349b295a8b
4
+ data.tar.gz: 382bc1d81971495ca4d1b3558bc8369ab95728cf58479aedf9eb9c2294ae8945
5
5
  SHA512:
6
- metadata.gz: 822be378b1986c1e44f907a29508838799ef73669ebacc361959975a4a28bc015b599ba6971947c7ca5a98627aa9b61944e259e2c722320ec54c497f477b1363
7
- data.tar.gz: 50f503513013aaa3a889bcbb232253963908f43cadae029a6fb08a8f512e815d6fd1bcc0553a0dba90d4060cb9d84819859d9d1ac6f2d2c014d9fbd127e4d8a1
6
+ metadata.gz: 16f6bfd39f327dd3cf04a389d8e6e0070f582f43873e5d297909894efb95e43c112f900e37cd00a60e07a4f1478517bfe37e7a8ba5309b3cd8e77ffe54688350
7
+ data.tar.gz: 9e5d1b4ab80bcbcd98f4bc54722de4f0ec093e280b2326639533e580378771a8f244bdec0e31cbc676014b6bfaf469ca0bc14e581026f9ca4f20ab012300d755
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.25.0 (2021-12-16)
4
+
5
+ * Regenerated from discovery document revision 20211214
6
+ * Unspecified changes
7
+
8
+ ### v0.24.0 (2021-12-07)
9
+
10
+ * Regenerated from discovery document revision 20211203
11
+
12
+ ### v0.23.0 (2021-11-09)
13
+
14
+ * Regenerated from discovery document revision 20211105
15
+
16
+ ### v0.22.0 (2021-10-26)
17
+
18
+ * Regenerated from discovery document revision 20211022
19
+ * Unspecified changes
20
+
3
21
  ### v0.21.0 (2021-09-09)
4
22
 
5
23
  * Regenerated from discovery document revision 20210907
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/documentai_v1beta2"
51
51
  client = Google::Apis::DocumentaiV1beta2::DocumentService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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
@@ -681,7 +856,7 @@ module Google
681
856
  # @return [String]
682
857
  attr_accessor :input_gcs_source
683
858
 
684
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
859
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
685
860
  # processed document if it was successful, otherwise empty.
686
861
  # Corresponds to the JSON property `outputGcsDestination`
687
862
  # @return [String]
@@ -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,6 +934,7 @@ 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)
@@ -1182,7 +1363,7 @@ module Google
1182
1363
  end
1183
1364
  end
1184
1365
 
1185
- # An entity that could be a phrase in the text or a property belongs to the
1366
+ # An entity that could be a phrase in the text or a property that belongs to the
1186
1367
  # document. It is a known entity type, such as a person, an organization, or
1187
1368
  # location.
1188
1369
  class GoogleCloudDocumentaiV1beta1DocumentEntity
@@ -1340,8 +1521,8 @@ module Google
1340
1521
  attr_accessor :money_value
1341
1522
 
1342
1523
  # Optional. An optional field to store a normalized string. For some entity
1343
- # types, one of respective 'structured_value' fields may also be populated. Also
1344
- # not all the types of 'structured_value' will be normalized. For example, some
1524
+ # types, one of respective `structured_value` fields may also be populated. Also
1525
+ # not all the types of `structured_value` will be normalized. For example, some
1345
1526
  # processors may not generate float or int normalized text by default. Below are
1346
1527
  # sample formats mapped to structured values. - Money/Currency type (`
1347
1528
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -2132,8 +2313,8 @@ module Google
2132
2313
  end
2133
2314
  end
2134
2315
 
2135
- # Structure for referencing parent provenances. When an element replaces one of
2136
- # 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.
2137
2318
  class GoogleCloudDocumentaiV1beta1DocumentProvenanceParent
2138
2319
  include Google::Apis::Core::Hashable
2139
2320
 
@@ -2143,12 +2324,12 @@ module Google
2143
2324
  attr_accessor :id
2144
2325
 
2145
2326
  # The index of the parent item in the corresponding item list (eg. list of
2146
- # entities, properties within entities, etc.) on parent revision.
2327
+ # entities, properties within entities, etc.) in the parent revision.
2147
2328
  # Corresponds to the JSON property `index`
2148
2329
  # @return [Fixnum]
2149
2330
  attr_accessor :index
2150
2331
 
2151
- # The index of the [Document.revisions] identifying the parent revision.
2332
+ # The index of the index into current revision's parent_ids list.
2152
2333
  # Corresponds to the JSON property `revision`
2153
2334
  # @return [Fixnum]
2154
2335
  attr_accessor :revision
@@ -2196,6 +2377,13 @@ module Google
2196
2377
  # @return [Array<Fixnum>]
2197
2378
  attr_accessor :parent
2198
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
+
2199
2387
  # If the annotation was made by processor identify the processor by its resource
2200
2388
  # name.
2201
2389
  # Corresponds to the JSON property `processor`
@@ -2213,6 +2401,7 @@ module Google
2213
2401
  @human_review = args[:human_review] if args.key?(:human_review)
2214
2402
  @id = args[:id] if args.key?(:id)
2215
2403
  @parent = args[:parent] if args.key?(:parent)
2404
+ @parent_ids = args[:parent_ids] if args.key?(:parent_ids)
2216
2405
  @processor = args[:processor] if args.key?(:processor)
2217
2406
  end
2218
2407
  end
@@ -2941,7 +3130,7 @@ module Google
2941
3130
  end
2942
3131
  end
2943
3132
 
2944
- # An entity that could be a phrase in the text or a property belongs to the
3133
+ # An entity that could be a phrase in the text or a property that belongs to the
2945
3134
  # document. It is a known entity type, such as a person, an organization, or
2946
3135
  # location.
2947
3136
  class GoogleCloudDocumentaiV1beta2DocumentEntity
@@ -3099,8 +3288,8 @@ module Google
3099
3288
  attr_accessor :money_value
3100
3289
 
3101
3290
  # Optional. An optional field to store a normalized string. For some entity
3102
- # types, one of respective 'structured_value' fields may also be populated. Also
3103
- # not all the types of 'structured_value' will be normalized. For example, some
3291
+ # types, one of respective `structured_value` fields may also be populated. Also
3292
+ # not all the types of `structured_value` will be normalized. For example, some
3104
3293
  # processors may not generate float or int normalized text by default. Below are
3105
3294
  # sample formats mapped to structured values. - Money/Currency type (`
3106
3295
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -3928,8 +4117,8 @@ module Google
3928
4117
  end
3929
4118
  end
3930
4119
 
3931
- # Structure for referencing parent provenances. When an element replaces one of
3932
- # 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.
3933
4122
  class GoogleCloudDocumentaiV1beta2DocumentProvenanceParent
3934
4123
  include Google::Apis::Core::Hashable
3935
4124
 
@@ -3939,12 +4128,12 @@ module Google
3939
4128
  attr_accessor :id
3940
4129
 
3941
4130
  # The index of the parent item in the corresponding item list (eg. list of
3942
- # entities, properties within entities, etc.) on parent revision.
4131
+ # entities, properties within entities, etc.) in the parent revision.
3943
4132
  # Corresponds to the JSON property `index`
3944
4133
  # @return [Fixnum]
3945
4134
  attr_accessor :index
3946
4135
 
3947
- # The index of the [Document.revisions] identifying the parent revision.
4136
+ # The index of the index into current revision's parent_ids list.
3948
4137
  # Corresponds to the JSON property `revision`
3949
4138
  # @return [Fixnum]
3950
4139
  attr_accessor :revision
@@ -3992,6 +4181,13 @@ module Google
3992
4181
  # @return [Array<Fixnum>]
3993
4182
  attr_accessor :parent
3994
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
+
3995
4191
  # If the annotation was made by processor identify the processor by its resource
3996
4192
  # name.
3997
4193
  # Corresponds to the JSON property `processor`
@@ -4009,6 +4205,7 @@ module Google
4009
4205
  @human_review = args[:human_review] if args.key?(:human_review)
4010
4206
  @id = args[:id] if args.key?(:id)
4011
4207
  @parent = args[:parent] if args.key?(:parent)
4208
+ @parent_ids = args[:parent_ids] if args.key?(:parent_ids)
4012
4209
  @processor = args[:processor] if args.key?(:processor)
4013
4210
  end
4014
4211
  end
@@ -4873,7 +5070,7 @@ module Google
4873
5070
  # @return [String]
4874
5071
  attr_accessor :input_gcs_source
4875
5072
 
4876
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
5073
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
4877
5074
  # processed document if it was successful, otherwise empty.
4878
5075
  # Corresponds to the JSON property `outputGcsDestination`
4879
5076
  # @return [String]
@@ -4925,6 +5122,11 @@ module Google
4925
5122
  # @return [String]
4926
5123
  attr_accessor :create_time
4927
5124
 
5125
+ # A related resource to this operation.
5126
+ # Corresponds to the JSON property `resource`
5127
+ # @return [String]
5128
+ attr_accessor :resource
5129
+
4928
5130
  # The state of the operation.
4929
5131
  # Corresponds to the JSON property `state`
4930
5132
  # @return [String]
@@ -4947,6 +5149,7 @@ module Google
4947
5149
  # Update properties of this object
4948
5150
  def update!(**args)
4949
5151
  @create_time = args[:create_time] if args.key?(:create_time)
5152
+ @resource = args[:resource] if args.key?(:resource)
4950
5153
  @state = args[:state] if args.key?(:state)
4951
5154
  @state_message = args[:state_message] if args.key?(:state_message)
4952
5155
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -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.21.0"
19
+ GEM_VERSION = "0.25.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 = "20210907"
25
+ REVISION = "20211214"
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
 
@@ -1073,6 +1103,19 @@ module Google
1073
1103
  class Representation < Google::Apis::Core::JsonRepresentation
1074
1104
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1075
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
+
1076
1119
  end
1077
1120
  end
1078
1121
 
@@ -1086,6 +1129,7 @@ module Google
1086
1129
  # @private
1087
1130
  class Representation < Google::Apis::Core::JsonRepresentation
1088
1131
  property :create_time, as: 'createTime'
1132
+ property :resource, as: 'resource'
1089
1133
  property :state, as: 'state'
1090
1134
  property :state_message, as: 'stateMessage'
1091
1135
  property :update_time, as: 'updateTime'
@@ -1152,6 +1196,24 @@ module Google
1152
1196
  end
1153
1197
  end
1154
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
+
1155
1217
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
1156
1218
  # @private
1157
1219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1263,18 @@ module Google
1201
1263
  class Representation < Google::Apis::Core::JsonRepresentation
1202
1264
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1203
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
+
1204
1278
  end
1205
1279
  end
1206
1280
 
@@ -1210,6 +1284,15 @@ module Google
1210
1284
  end
1211
1285
  end
1212
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
+
1213
1296
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1214
1297
  # @private
1215
1298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1327,6 +1410,7 @@ module Google
1327
1410
  # @private
1328
1411
  class Representation < Google::Apis::Core::JsonRepresentation
1329
1412
  property :create_time, as: 'createTime'
1413
+ property :resource, as: 'resource'
1330
1414
  property :state, as: 'state'
1331
1415
  property :state_message, as: 'stateMessage'
1332
1416
  property :update_time, as: 'updateTime'
@@ -1788,6 +1872,7 @@ module Google
1788
1872
 
1789
1873
  property :id, as: 'id'
1790
1874
  collection :parent, as: 'parent'
1875
+ collection :parent_ids, as: 'parentIds'
1791
1876
  property :processor, as: 'processor'
1792
1877
  end
1793
1878
  end
@@ -2301,6 +2386,7 @@ module Google
2301
2386
 
2302
2387
  property :id, as: 'id'
2303
2388
  collection :parent, as: 'parent'
2389
+ collection :parent_ids, as: 'parentIds'
2304
2390
  property :processor, as: 'processor'
2305
2391
  end
2306
2392
  end
@@ -2554,6 +2640,7 @@ module Google
2554
2640
  # @private
2555
2641
  class Representation < Google::Apis::Core::JsonRepresentation
2556
2642
  property :create_time, as: 'createTime'
2643
+ property :resource, as: 'resource'
2557
2644
  property :state, as: 'state'
2558
2645
  property :state_message, as: 'stateMessage'
2559
2646
  property :update_time, as: 'updateTime'
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.21.0
4
+ version: 0.25.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-13 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.21.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.25.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:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta2