google-apis-documentai_v1beta3 0.24.0 → 0.28.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: b78552ebda1a8f782ebd3db50a7fb4ccf28a5a5d4978e7f36a659a15ff5eacb1
4
- data.tar.gz: b6c0816b6ee8f6bce2b172821a06ee96fef062734f39759f087923045b67c9ab
3
+ metadata.gz: 3dc9a768ed5adc43dd64efe96818dc3a9eb6705620f4606607ddf808c2707b50
4
+ data.tar.gz: 6049985355da70a14f8867df317321733ac11b73f9d4f1615f2b38d0c4be7785
5
5
  SHA512:
6
- metadata.gz: d1a0f688773ac923dc612aadfa98a9188e7bb1ee6ceaabd6ceecadb0408878f2b8b9b2129d5854d1390a2b22a25b0de2b4a8f841a0db09427e9e562845481ac2
7
- data.tar.gz: e9eee6d094ef99e7b8dbbf477dfb830f77ca34630e0c304537ecf527664eb8cfa280a2741e8d7ac82707524f02bd7d48ff872d811c0b46e9ff64983abcc26d2a
6
+ metadata.gz: 28c2b3463ff3e3a4bed3b8b4f708fab4285d6f7e1d3d46a45c3555e60b3954248e381fe9d4d6048f605d9358f20339479aff8f449014e99e15ba09f13513bc7c
7
+ data.tar.gz: 8dc28f209736fbf0ddecf85c09814a20da03b4789ea1cb078dd2ae7504ce265d881c4bd96446ad34dbd233412fcd37f9e4a9d97cb9638b68c5d87e4c6109e260
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.28.0 (2021-11-09)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.27.0 (2021-10-26)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+ * Unspecified changes
11
+
12
+ ### v0.26.0 (2021-10-14)
13
+
14
+ * Regenerated from discovery document revision 20211012
15
+
16
+ ### v0.25.0 (2021-10-06)
17
+
18
+ * Regenerated from discovery document revision 20211002
19
+
3
20
  ### v0.24.0 (2021-09-28)
4
21
 
5
22
  * Regenerated from discovery document revision 20210926
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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,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)
@@ -4774,6 +4955,11 @@ module Google
4774
4955
  # @return [String]
4775
4956
  attr_accessor :create_time
4776
4957
 
4958
+ # A related resource to this operation.
4959
+ # Corresponds to the JSON property `resource`
4960
+ # @return [String]
4961
+ attr_accessor :resource
4962
+
4777
4963
  # The state of the operation.
4778
4964
  # Corresponds to the JSON property `state`
4779
4965
  # @return [String]
@@ -4796,6 +4982,7 @@ module Google
4796
4982
  # Update properties of this object
4797
4983
  def update!(**args)
4798
4984
  @create_time = args[:create_time] if args.key?(:create_time)
4985
+ @resource = args[:resource] if args.key?(:resource)
4799
4986
  @state = args[:state] if args.key?(:state)
4800
4987
  @state_message = args[:state_message] if args.key?(:state_message)
4801
4988
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -6471,104 +6658,6 @@ module Google
6471
6658
  end
6472
6659
  end
6473
6660
 
6474
- # Evaluation metrics, either in aggregate or about a specific entity.
6475
- class GoogleCloudDocumentaiV1beta3EvaluationMetrics
6476
- include Google::Apis::Core::Hashable
6477
-
6478
- # The calculated f1 score.
6479
- # Corresponds to the JSON property `f1Score`
6480
- # @return [Float]
6481
- attr_accessor :f1_score
6482
-
6483
- # The amount of false negatives.
6484
- # Corresponds to the JSON property `falseNegativesCount`
6485
- # @return [Fixnum]
6486
- attr_accessor :false_negatives_count
6487
-
6488
- # The amount of false positives.
6489
- # Corresponds to the JSON property `falsePositivesCount`
6490
- # @return [Fixnum]
6491
- attr_accessor :false_positives_count
6492
-
6493
- # The amount of occurrences in ground truth documents.
6494
- # Corresponds to the JSON property `groundTruthOccurrencesCount`
6495
- # @return [Fixnum]
6496
- attr_accessor :ground_truth_occurrences_count
6497
-
6498
- # The calculated precision.
6499
- # Corresponds to the JSON property `precision`
6500
- # @return [Float]
6501
- attr_accessor :precision
6502
-
6503
- # The amount of occurrences in predicted documents.
6504
- # Corresponds to the JSON property `predictedOccurrencesCount`
6505
- # @return [Fixnum]
6506
- attr_accessor :predicted_occurrences_count
6507
-
6508
- # The calculated recall.
6509
- # Corresponds to the JSON property `recall`
6510
- # @return [Float]
6511
- attr_accessor :recall
6512
-
6513
- # The amount of documents that had an occurrence of this label.
6514
- # Corresponds to the JSON property `totalDocumentsCount`
6515
- # @return [Fixnum]
6516
- attr_accessor :total_documents_count
6517
-
6518
- # The amount of true positives.
6519
- # Corresponds to the JSON property `truePositivesCount`
6520
- # @return [Fixnum]
6521
- attr_accessor :true_positives_count
6522
-
6523
- def initialize(**args)
6524
- update!(**args)
6525
- end
6526
-
6527
- # Update properties of this object
6528
- def update!(**args)
6529
- @f1_score = args[:f1_score] if args.key?(:f1_score)
6530
- @false_negatives_count = args[:false_negatives_count] if args.key?(:false_negatives_count)
6531
- @false_positives_count = args[:false_positives_count] if args.key?(:false_positives_count)
6532
- @ground_truth_occurrences_count = args[:ground_truth_occurrences_count] if args.key?(:ground_truth_occurrences_count)
6533
- @precision = args[:precision] if args.key?(:precision)
6534
- @predicted_occurrences_count = args[:predicted_occurrences_count] if args.key?(:predicted_occurrences_count)
6535
- @recall = args[:recall] if args.key?(:recall)
6536
- @total_documents_count = args[:total_documents_count] if args.key?(:total_documents_count)
6537
- @true_positives_count = args[:true_positives_count] if args.key?(:true_positives_count)
6538
- end
6539
- end
6540
-
6541
- # Gives a short summary of an evaluation, and links to the evaluation itself.
6542
- class GoogleCloudDocumentaiV1beta3EvaluationReference
6543
- include Google::Apis::Core::Hashable
6544
-
6545
- # Evaluation metrics, either in aggregate or about a specific entity.
6546
- # Corresponds to the JSON property `aggregateMetrics`
6547
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
6548
- attr_accessor :aggregate_metrics
6549
-
6550
- # The resource name of the evaluation.
6551
- # Corresponds to the JSON property `evaluation`
6552
- # @return [String]
6553
- attr_accessor :evaluation
6554
-
6555
- # The resource name of the Long Running Operation for the evaluation.
6556
- # Corresponds to the JSON property `operation`
6557
- # @return [String]
6558
- attr_accessor :operation
6559
-
6560
- def initialize(**args)
6561
- update!(**args)
6562
- end
6563
-
6564
- # Update properties of this object
6565
- def update!(**args)
6566
- @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
6567
- @evaluation = args[:evaluation] if args.key?(:evaluation)
6568
- @operation = args[:operation] if args.key?(:operation)
6569
- end
6570
- end
6571
-
6572
6661
  # Response message for fetch processor types.
6573
6662
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
6574
6663
  include Google::Apis::Core::Hashable
@@ -6923,7 +7012,7 @@ module Google
6923
7012
  # EU' endpoint to feach processor types. In the return, we will have an 'invoice
6924
7013
  # parsing' processor with 'available_locations' field only containing 'US'. So
6925
7014
  # the user can try to create an 'invoice parsing' processor under the location '
6926
- # US'. Such attempt of creating under the location 'EU' will fail. Next ID: 8.
7015
+ # US'. Such attempt of creating under the location 'EU' will fail. Next ID: 9.
6927
7016
  class GoogleCloudDocumentaiV1beta3ProcessorType
6928
7017
  include Google::Apis::Core::Hashable
6929
7018
 
@@ -6944,13 +7033,18 @@ module Google
6944
7033
  # @return [String]
6945
7034
  attr_accessor :category
6946
7035
 
7036
+ # Launch stage of the processor type
7037
+ # Corresponds to the JSON property `launchStage`
7038
+ # @return [String]
7039
+ attr_accessor :launch_stage
7040
+
6947
7041
  # The resource name of the processor type. Format: projects/`project`/
6948
7042
  # processorTypes/`processor_type`
6949
7043
  # Corresponds to the JSON property `name`
6950
7044
  # @return [String]
6951
7045
  attr_accessor :name
6952
7046
 
6953
- # The type of the processor, e.g, "invoice_parsing".
7047
+ # The type of the processor, e.g., "invoice_parsing".
6954
7048
  # Corresponds to the JSON property `type`
6955
7049
  # @return [String]
6956
7050
  attr_accessor :type
@@ -6964,6 +7058,7 @@ module Google
6964
7058
  @allow_creation = args[:allow_creation] if args.key?(:allow_creation)
6965
7059
  @available_locations = args[:available_locations] if args.key?(:available_locations)
6966
7060
  @category = args[:category] if args.key?(:category)
7061
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
6967
7062
  @name = args[:name] if args.key?(:name)
6968
7063
  @type = args[:type] if args.key?(:type)
6969
7064
  end
@@ -7006,11 +7101,6 @@ module Google
7006
7101
  # @return [String]
7007
7102
  attr_accessor :display_name
7008
7103
 
7009
- # Gives a short summary of an evaluation, and links to the evaluation itself.
7010
- # Corresponds to the JSON property `latestEvaluation`
7011
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
7012
- attr_accessor :latest_evaluation
7013
-
7014
7104
  # The resource name of the processor version. Format: projects/`project`/
7015
7105
  # locations/`location`/processors/`processor`/processorVersions/`
7016
7106
  # processor_version`
@@ -7018,11 +7108,6 @@ module Google
7018
7108
  # @return [String]
7019
7109
  attr_accessor :name
7020
7110
 
7021
- # The schema defines the output of the processed document by a processor.
7022
- # Corresponds to the JSON property `schema`
7023
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema]
7024
- attr_accessor :schema
7025
-
7026
7111
  # The state of the processor version.
7027
7112
  # Corresponds to the JSON property `state`
7028
7113
  # @return [String]
@@ -7036,9 +7121,7 @@ module Google
7036
7121
  def update!(**args)
7037
7122
  @create_time = args[:create_time] if args.key?(:create_time)
7038
7123
  @display_name = args[:display_name] if args.key?(:display_name)
7039
- @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
7040
7124
  @name = args[:name] if args.key?(:name)
7041
- @schema = args[:schema] if args.key?(:schema)
7042
7125
  @state = args[:state] if args.key?(:state)
7043
7126
  end
7044
7127
  end
@@ -7176,106 +7259,6 @@ module Google
7176
7259
  end
7177
7260
  end
7178
7261
 
7179
- # The schema defines the output of the processed document by a processor.
7180
- class GoogleCloudDocumentaiV1beta3Schema
7181
- include Google::Apis::Core::Hashable
7182
-
7183
- # Description of the schema.
7184
- # Corresponds to the JSON property `description`
7185
- # @return [String]
7186
- attr_accessor :description
7187
-
7188
- # Display name to show to users.
7189
- # Corresponds to the JSON property `displayName`
7190
- # @return [String]
7191
- attr_accessor :display_name
7192
-
7193
- # Entity types of the schema.
7194
- # Corresponds to the JSON property `entityTypes`
7195
- # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
7196
- attr_accessor :entity_types
7197
-
7198
- def initialize(**args)
7199
- update!(**args)
7200
- end
7201
-
7202
- # Update properties of this object
7203
- def update!(**args)
7204
- @description = args[:description] if args.key?(:description)
7205
- @display_name = args[:display_name] if args.key?(:display_name)
7206
- @entity_types = args[:entity_types] if args.key?(:entity_types)
7207
- end
7208
- end
7209
-
7210
- # EntityType is the wrapper of a label of the corresponding model with detailed
7211
- # attributes and limitations for entity-based processors. Multiple types can
7212
- # also compose a dependency tree to represent nested types.
7213
- class GoogleCloudDocumentaiV1beta3SchemaEntityType
7214
- include Google::Apis::Core::Hashable
7215
-
7216
- # Type of the entity. It must be one of the following: `document` - the entity
7217
- # represents a classification of a logical document. `object` - if the entity
7218
- # has properties it is likely an object (or or a document.) `datetime` - the
7219
- # entity is a date or time value. `money` - the entity represents a money value
7220
- # amount. `number` - the entity is a number - integer or floating point. `string`
7221
- # - the entity is a string value. `boolean` - the entity is a boolean value. `
7222
- # address` - the entity is a location address. `duration` - the entity is a
7223
- # duration.
7224
- # Corresponds to the JSON property `baseType`
7225
- # @return [String]
7226
- attr_accessor :base_type
7227
-
7228
- # Description of the entity type.
7229
- # Corresponds to the JSON property `description`
7230
- # @return [String]
7231
- attr_accessor :description
7232
-
7233
- # If specified, lists all the possible values for this entity.
7234
- # Corresponds to the JSON property `enumValues`
7235
- # @return [Array<String>]
7236
- attr_accessor :enum_values
7237
-
7238
- # Occurrence type limits the number of times an entity type appears in the
7239
- # document.
7240
- # Corresponds to the JSON property `occurrenceType`
7241
- # @return [String]
7242
- attr_accessor :occurrence_type
7243
-
7244
- # Describing the nested structure of an entity. An EntityType may consist of
7245
- # several other EntityTypes. For example, in a document there can be an
7246
- # EntityType 'ID', which consists of EntityType 'name' and 'address', with
7247
- # corresponding attributes, such as TEXT for both types and ONCE for occurrence
7248
- # types.
7249
- # Corresponds to the JSON property `properties`
7250
- # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
7251
- attr_accessor :properties
7252
-
7253
- # Source of this entity type.
7254
- # Corresponds to the JSON property `source`
7255
- # @return [String]
7256
- attr_accessor :source
7257
-
7258
- # Name of the type. It must be unique within the set of same level types.
7259
- # Corresponds to the JSON property `type`
7260
- # @return [String]
7261
- attr_accessor :type
7262
-
7263
- def initialize(**args)
7264
- update!(**args)
7265
- end
7266
-
7267
- # Update properties of this object
7268
- def update!(**args)
7269
- @base_type = args[:base_type] if args.key?(:base_type)
7270
- @description = args[:description] if args.key?(:description)
7271
- @enum_values = args[:enum_values] if args.key?(:enum_values)
7272
- @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
7273
- @properties = args[:properties] if args.key?(:properties)
7274
- @source = args[:source] if args.key?(:source)
7275
- @type = args[:type] if args.key?(:type)
7276
- end
7277
- end
7278
-
7279
7262
  # The long running operation metadata for set default processor version method.
7280
7263
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
7281
7264
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.28.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 = "20210926"
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
 
@@ -1156,18 +1186,6 @@ module Google
1156
1186
  include Google::Apis::Core::JsonObjectSupport
1157
1187
  end
1158
1188
 
1159
- class GoogleCloudDocumentaiV1beta3EvaluationMetrics
1160
- class Representation < Google::Apis::Core::JsonRepresentation; end
1161
-
1162
- include Google::Apis::Core::JsonObjectSupport
1163
- end
1164
-
1165
- class GoogleCloudDocumentaiV1beta3EvaluationReference
1166
- class Representation < Google::Apis::Core::JsonRepresentation; end
1167
-
1168
- include Google::Apis::Core::JsonObjectSupport
1169
- end
1170
-
1171
1189
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
1172
1190
  class Representation < Google::Apis::Core::JsonRepresentation; end
1173
1191
 
@@ -1276,18 +1294,6 @@ module Google
1276
1294
  include Google::Apis::Core::JsonObjectSupport
1277
1295
  end
1278
1296
 
1279
- class GoogleCloudDocumentaiV1beta3Schema
1280
- class Representation < Google::Apis::Core::JsonRepresentation; end
1281
-
1282
- include Google::Apis::Core::JsonObjectSupport
1283
- end
1284
-
1285
- class GoogleCloudDocumentaiV1beta3SchemaEntityType
1286
- class Representation < Google::Apis::Core::JsonRepresentation; end
1287
-
1288
- include Google::Apis::Core::JsonObjectSupport
1289
- end
1290
-
1291
1297
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
1292
1298
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1299
 
@@ -1421,6 +1427,19 @@ module Google
1421
1427
  class Representation < Google::Apis::Core::JsonRepresentation
1422
1428
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1423
1429
 
1430
+ property :dest_dataset_type, as: 'destDatasetType'
1431
+ collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
1432
+
1433
+ end
1434
+ end
1435
+
1436
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus
1437
+ # @private
1438
+ class Representation < Google::Apis::Core::JsonRepresentation
1439
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1440
+
1441
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1442
+
1424
1443
  end
1425
1444
  end
1426
1445
 
@@ -1434,6 +1453,7 @@ module Google
1434
1453
  # @private
1435
1454
  class Representation < Google::Apis::Core::JsonRepresentation
1436
1455
  property :create_time, as: 'createTime'
1456
+ property :resource, as: 'resource'
1437
1457
  property :state, as: 'state'
1438
1458
  property :state_message, as: 'stateMessage'
1439
1459
  property :update_time, as: 'updateTime'
@@ -1500,6 +1520,24 @@ module Google
1500
1520
  end
1501
1521
  end
1502
1522
 
1523
+ class GoogleCloudDocumentaiUiv1beta3DocumentId
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
1527
+
1528
+ property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1529
+
1530
+ end
1531
+ end
1532
+
1533
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
1534
+ # @private
1535
+ class Representation < Google::Apis::Core::JsonRepresentation
1536
+ property :cw_doc_id, as: 'cwDocId'
1537
+ property :gcs_uri, as: 'gcsUri'
1538
+ end
1539
+ end
1540
+
1503
1541
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
1504
1542
  # @private
1505
1543
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1549,6 +1587,18 @@ module Google
1549
1587
  class Representation < Google::Apis::Core::JsonRepresentation
1550
1588
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1551
1589
 
1590
+ collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1591
+
1592
+ end
1593
+ end
1594
+
1595
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
1596
+ # @private
1597
+ class Representation < Google::Apis::Core::JsonRepresentation
1598
+ property :input_gcs_source, as: 'inputGcsSource'
1599
+ property :output_gcs_destination, as: 'outputGcsDestination'
1600
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1601
+
1552
1602
  end
1553
1603
  end
1554
1604
 
@@ -1558,6 +1608,15 @@ module Google
1558
1608
  end
1559
1609
  end
1560
1610
 
1611
+ class GoogleCloudDocumentaiUiv1beta3RevisionReference
1612
+ # @private
1613
+ class Representation < Google::Apis::Core::JsonRepresentation
1614
+ property :latest_processor_version, as: 'latestProcessorVersion'
1615
+ property :revision_case, as: 'revisionCase'
1616
+ property :revision_id, as: 'revisionId'
1617
+ end
1618
+ end
1619
+
1561
1620
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1562
1621
  # @private
1563
1622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1675,6 +1734,7 @@ module Google
1675
1734
  # @private
1676
1735
  class Representation < Google::Apis::Core::JsonRepresentation
1677
1736
  property :create_time, as: 'createTime'
1737
+ property :resource, as: 'resource'
1678
1738
  property :state, as: 'state'
1679
1739
  property :state_message, as: 'stateMessage'
1680
1740
  property :update_time, as: 'updateTime'
@@ -2862,6 +2922,7 @@ module Google
2862
2922
  # @private
2863
2923
  class Representation < Google::Apis::Core::JsonRepresentation
2864
2924
  property :create_time, as: 'createTime'
2925
+ property :resource, as: 'resource'
2865
2926
  property :state, as: 'state'
2866
2927
  property :state_message, as: 'stateMessage'
2867
2928
  property :update_time, as: 'updateTime'
@@ -3360,31 +3421,6 @@ module Google
3360
3421
  end
3361
3422
  end
3362
3423
 
3363
- class GoogleCloudDocumentaiV1beta3EvaluationMetrics
3364
- # @private
3365
- class Representation < Google::Apis::Core::JsonRepresentation
3366
- property :f1_score, as: 'f1Score'
3367
- property :false_negatives_count, as: 'falseNegativesCount'
3368
- property :false_positives_count, as: 'falsePositivesCount'
3369
- property :ground_truth_occurrences_count, as: 'groundTruthOccurrencesCount'
3370
- property :precision, as: 'precision'
3371
- property :predicted_occurrences_count, as: 'predictedOccurrencesCount'
3372
- property :recall, as: 'recall'
3373
- property :total_documents_count, as: 'totalDocumentsCount'
3374
- property :true_positives_count, as: 'truePositivesCount'
3375
- end
3376
- end
3377
-
3378
- class GoogleCloudDocumentaiV1beta3EvaluationReference
3379
- # @private
3380
- class Representation < Google::Apis::Core::JsonRepresentation
3381
- property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
3382
-
3383
- property :evaluation, as: 'evaluation'
3384
- property :operation, as: 'operation'
3385
- end
3386
- end
3387
-
3388
3424
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
3389
3425
  # @private
3390
3426
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3496,6 +3532,7 @@ module Google
3496
3532
  collection :available_locations, as: 'availableLocations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo::Representation
3497
3533
 
3498
3534
  property :category, as: 'category'
3535
+ property :launch_stage, as: 'launchStage'
3499
3536
  property :name, as: 'name'
3500
3537
  property :type, as: 'type'
3501
3538
  end
@@ -3513,11 +3550,7 @@ module Google
3513
3550
  class Representation < Google::Apis::Core::JsonRepresentation
3514
3551
  property :create_time, as: 'createTime'
3515
3552
  property :display_name, as: 'displayName'
3516
- property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
3517
-
3518
3553
  property :name, as: 'name'
3519
- property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema::Representation
3520
-
3521
3554
  property :state, as: 'state'
3522
3555
  end
3523
3556
  end
@@ -3561,30 +3594,6 @@ module Google
3561
3594
  end
3562
3595
  end
3563
3596
 
3564
- class GoogleCloudDocumentaiV1beta3Schema
3565
- # @private
3566
- class Representation < Google::Apis::Core::JsonRepresentation
3567
- property :description, as: 'description'
3568
- property :display_name, as: 'displayName'
3569
- collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
3570
-
3571
- end
3572
- end
3573
-
3574
- class GoogleCloudDocumentaiV1beta3SchemaEntityType
3575
- # @private
3576
- class Representation < Google::Apis::Core::JsonRepresentation
3577
- property :base_type, as: 'baseType'
3578
- property :description, as: 'description'
3579
- collection :enum_values, as: 'enumValues'
3580
- property :occurrence_type, as: 'occurrenceType'
3581
- collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
3582
-
3583
- property :source, as: 'source'
3584
- property :type, as: 'type'
3585
- end
3586
- end
3587
-
3588
3597
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
3589
3598
  # @private
3590
3599
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.28.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-10-04 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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.24.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.28.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: