google-apis-documentai_v1beta3 0.60.0 → 0.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e439c1209994c7d2699dc4675bf83ccc31a8bff142872f5d6c4e586f9df307b
4
- data.tar.gz: '0908e509b02c52891e31535de3e1ea1e81dde17a597b5064fc2255badae94e66'
3
+ metadata.gz: 112eccd42e75cf14e6541e7dc94818c8419a40fff21d09a3368a83a215bc3a45
4
+ data.tar.gz: 5c4c23a09108850e5969fb88ea3d8e4f1620a24ed84ddbfc695bd232c91526a0
5
5
  SHA512:
6
- metadata.gz: 1dae6a4fd922fc916d28211d4bf693badc10159135a72e66f57edea6e5825f9792d28ace11fdfacce5bd756dca6b518cf9c15f0c9e73449135521b88f676ad4e
7
- data.tar.gz: a7ba632f82ae9d7c70e6d6a323efb0cb3aca3f1083171e3cfe810b36b9e6b4547731c9d04b313b7ef456c60b8b2ba337becdd7e5b1e6d0e18b2148f03c1d727c
6
+ metadata.gz: c838d0f22fcba96943988fac75899cd3b9621f73d94b477583cc63c3e242758a451aedb2e73e6a8c45fc8fe0cf22a7df7f4e520112351336c0a36d07e3a0860d
7
+ data.tar.gz: fccac0c3da0a3c695f49ba4ccd6e78e3b8fd44c68a2046eca32f6f9ffc0bff6a25beafcb9d930dad8995eced61cdc84c3860bfad89372fc7250e96dc93d44647
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.62.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230120
6
+
7
+ ### v0.61.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230113
10
+
3
11
  ### v0.60.0 (2023-01-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230106
@@ -244,25 +244,6 @@ module Google
244
244
  end
245
245
  end
246
246
 
247
- # The long running operation metadata for DeleteDataLabelingJob.
248
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
249
- include Google::Apis::Core::Hashable
250
-
251
- # The common metadata for long running operations.
252
- # Corresponds to the JSON property `commonMetadata`
253
- # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
254
- attr_accessor :common_metadata
255
-
256
- def initialize(**args)
257
- update!(**args)
258
- end
259
-
260
- # Update properties of this object
261
- def update!(**args)
262
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
263
- end
264
- end
265
-
266
247
  # The long running operation metadata for DeleteLabelerPool.
267
248
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
268
249
  include Google::Apis::Core::Hashable
@@ -395,6 +376,11 @@ module Google
395
376
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
396
377
  attr_accessor :gcs_managed_doc_id
397
378
 
379
+ # The revision reference specifies which revision on the document to read.
380
+ # Corresponds to the JSON property `revisionRef`
381
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef]
382
+ attr_accessor :revision_ref
383
+
398
384
  # The revision reference specifies which revision on the document to read.
399
385
  # Corresponds to the JSON property `revisionReference`
400
386
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference]
@@ -407,6 +393,7 @@ module Google
407
393
  # Update properties of this object
408
394
  def update!(**args)
409
395
  @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
396
+ @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
410
397
  @revision_reference = args[:revision_reference] if args.key?(:revision_reference)
411
398
  end
412
399
  end
@@ -771,6 +758,44 @@ module Google
771
758
  end
772
759
  end
773
760
 
761
+ # The long running operation metadata for the ImportProcessorVersion method.
762
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
763
+ include Google::Apis::Core::Hashable
764
+
765
+ # The common metadata for long running operations.
766
+ # Corresponds to the JSON property `commonMetadata`
767
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
768
+ attr_accessor :common_metadata
769
+
770
+ def initialize(**args)
771
+ update!(**args)
772
+ end
773
+
774
+ # Update properties of this object
775
+ def update!(**args)
776
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
777
+ end
778
+ end
779
+
780
+ # The response message for the ImportProcessorVersion method.
781
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
782
+ include Google::Apis::Core::Hashable
783
+
784
+ # The destination processor version name.
785
+ # Corresponds to the JSON property `processorVersion`
786
+ # @return [String]
787
+ attr_accessor :processor_version
788
+
789
+ def initialize(**args)
790
+ update!(**args)
791
+ end
792
+
793
+ # Update properties of this object
794
+ def update!(**args)
795
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
796
+ end
797
+ end
798
+
774
799
  # The metadata proto of ResyncDataset method.
775
800
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
776
801
  include Google::Apis::Core::Hashable
@@ -883,6 +908,39 @@ module Google
883
908
  end
884
909
  end
885
910
 
911
+ # The revision reference specifies which revision on the document to read.
912
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
913
+ include Google::Apis::Core::Hashable
914
+
915
+ # Reads the revision generated by the processor version. The format takes the
916
+ # full resource name of processor version. `projects/`project`/locations/`
917
+ # location`/processors/`processor`/processorVersions/`processorVersion``
918
+ # Corresponds to the JSON property `latestProcessorVersion`
919
+ # @return [String]
920
+ attr_accessor :latest_processor_version
921
+
922
+ # Reads the revision by the predefined case.
923
+ # Corresponds to the JSON property `revisionCase`
924
+ # @return [String]
925
+ attr_accessor :revision_case
926
+
927
+ # Reads the revision given by the id.
928
+ # Corresponds to the JSON property `revisionId`
929
+ # @return [String]
930
+ attr_accessor :revision_id
931
+
932
+ def initialize(**args)
933
+ update!(**args)
934
+ end
935
+
936
+ # Update properties of this object
937
+ def update!(**args)
938
+ @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
939
+ @revision_case = args[:revision_case] if args.key?(:revision_case)
940
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
941
+ end
942
+ end
943
+
886
944
  # The revision reference specifies which revision on the document to read.
887
945
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
888
946
  include Google::Apis::Core::Hashable
@@ -8113,6 +8171,43 @@ module Google
8113
8171
  end
8114
8172
  end
8115
8173
 
8174
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
8175
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
8176
+ include Google::Apis::Core::Hashable
8177
+
8178
+ # Evaluation metrics, either in aggregate or about a specific entity.
8179
+ # Corresponds to the JSON property `aggregateMetrics`
8180
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
8181
+ attr_accessor :aggregate_metrics
8182
+
8183
+ # Evaluation metrics, either in aggregate or about a specific entity.
8184
+ # Corresponds to the JSON property `aggregateMetricsExact`
8185
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
8186
+ attr_accessor :aggregate_metrics_exact
8187
+
8188
+ # The resource name of the evaluation.
8189
+ # Corresponds to the JSON property `evaluation`
8190
+ # @return [String]
8191
+ attr_accessor :evaluation
8192
+
8193
+ # The resource name of the Long Running Operation for the evaluation.
8194
+ # Corresponds to the JSON property `operation`
8195
+ # @return [String]
8196
+ attr_accessor :operation
8197
+
8198
+ def initialize(**args)
8199
+ update!(**args)
8200
+ end
8201
+
8202
+ # Update properties of this object
8203
+ def update!(**args)
8204
+ @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
8205
+ @aggregate_metrics_exact = args[:aggregate_metrics_exact] if args.key?(:aggregate_metrics_exact)
8206
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
8207
+ @operation = args[:operation] if args.key?(:operation)
8208
+ end
8209
+ end
8210
+
8116
8211
  # Response message for fetch processor types.
8117
8212
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
8118
8213
  include Google::Apis::Core::Hashable
@@ -8680,6 +8775,11 @@ module Google
8680
8775
  # @return [String]
8681
8776
  attr_accessor :kms_key_version_name
8682
8777
 
8778
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
8779
+ # Corresponds to the JSON property `latestEvaluation`
8780
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
8781
+ attr_accessor :latest_evaluation
8782
+
8683
8783
  # The resource name of the processor version. Format: `projects/`project`/
8684
8784
  # locations/`location`/processors/`processor`/processorVersions/`
8685
8785
  # processor_version``
@@ -8705,6 +8805,7 @@ module Google
8705
8805
  @google_managed = args[:google_managed] if args.key?(:google_managed)
8706
8806
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
8707
8807
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
8808
+ @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
8708
8809
  @name = args[:name] if args.key?(:name)
8709
8810
  @state = args[:state] if args.key?(:state)
8710
8811
  end
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230106"
25
+ REVISION = "20230120"
26
26
  end
27
27
  end
28
28
  end
@@ -70,12 +70,6 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
73
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
80
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
75
 
@@ -214,6 +208,18 @@ module Google
214
208
  include Google::Apis::Core::JsonObjectSupport
215
209
  end
216
210
 
211
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -238,6 +244,12 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -1426,6 +1438,12 @@ module Google
1426
1438
  include Google::Apis::Core::JsonObjectSupport
1427
1439
  end
1428
1440
 
1441
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1429
1447
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
1430
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1449
 
@@ -1783,14 +1801,6 @@ module Google
1783
1801
  end
1784
1802
  end
1785
1803
 
1786
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1787
- # @private
1788
- class Representation < Google::Apis::Core::JsonRepresentation
1789
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1790
-
1791
- end
1792
- end
1793
-
1794
1804
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1795
1805
  # @private
1796
1806
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1848,6 +1858,8 @@ module Google
1848
1858
  class Representation < Google::Apis::Core::JsonRepresentation
1849
1859
  property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
1850
1860
 
1861
+ property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1862
+
1851
1863
  property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1852
1864
 
1853
1865
  end
@@ -1980,6 +1992,21 @@ module Google
1980
1992
  end
1981
1993
  end
1982
1994
 
1995
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
1996
+ # @private
1997
+ class Representation < Google::Apis::Core::JsonRepresentation
1998
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1999
+
2000
+ end
2001
+ end
2002
+
2003
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
2004
+ # @private
2005
+ class Representation < Google::Apis::Core::JsonRepresentation
2006
+ property :processor_version, as: 'processorVersion'
2007
+ end
2008
+ end
2009
+
1983
2010
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1984
2011
  # @private
1985
2012
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2018,6 +2045,15 @@ module Google
2018
2045
  end
2019
2046
  end
2020
2047
 
2048
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
2049
+ # @private
2050
+ class Representation < Google::Apis::Core::JsonRepresentation
2051
+ property :latest_processor_version, as: 'latestProcessorVersion'
2052
+ property :revision_case, as: 'revisionCase'
2053
+ property :revision_id, as: 'revisionId'
2054
+ end
2055
+ end
2056
+
2021
2057
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
2022
2058
  # @private
2023
2059
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4156,6 +4192,18 @@ module Google
4156
4192
  end
4157
4193
  end
4158
4194
 
4195
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
4196
+ # @private
4197
+ class Representation < Google::Apis::Core::JsonRepresentation
4198
+ property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
4199
+
4200
+ property :aggregate_metrics_exact, as: 'aggregateMetricsExact', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
4201
+
4202
+ property :evaluation, as: 'evaluation'
4203
+ property :operation, as: 'operation'
4204
+ end
4205
+ end
4206
+
4159
4207
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
4160
4208
  # @private
4161
4209
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4329,6 +4377,8 @@ module Google
4329
4377
  property :google_managed, as: 'googleManaged'
4330
4378
  property :kms_key_name, as: 'kmsKeyName'
4331
4379
  property :kms_key_version_name, as: 'kmsKeyVersionName'
4380
+ property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
4381
+
4332
4382
  property :name, as: 'name'
4333
4383
  property :state, as: 'state'
4334
4384
  end
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.60.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.62.0
62
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: []