google-apis-documentai_v1beta3 0.60.0 → 0.61.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: 23635066af827d96b67103d60dba12086d95a5f9dd6c046a8423edff6f350303
4
+ data.tar.gz: 060a55a4f1ec571f04e4b8dc7529e73eb47a465abb6e7c7fbd2308f93db160b5
5
5
  SHA512:
6
- metadata.gz: 1dae6a4fd922fc916d28211d4bf693badc10159135a72e66f57edea6e5825f9792d28ace11fdfacce5bd756dca6b518cf9c15f0c9e73449135521b88f676ad4e
7
- data.tar.gz: a7ba632f82ae9d7c70e6d6a323efb0cb3aca3f1083171e3cfe810b36b9e6b4547731c9d04b313b7ef456c60b8b2ba337becdd7e5b1e6d0e18b2148f03c1d727c
6
+ metadata.gz: 8a83ff07ef07c2437d51bdb49da67b3bf8562db3705e11de2d3e823a999ef268d28526f37c4d62e3c7021160755187c935a555d8fb8dd8adf25386e5f22b6b13
7
+ data.tar.gz: 06e3093628527e46612e6ca9990807aa58ba6805a33ff3399af4d8efd2b696cb460d687df2221540391e518fb3ef48830553bd415b7fd743a091b2048132f3fb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.61.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230113
6
+
3
7
  ### v0.60.0 (2023-01-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230106
@@ -395,6 +395,11 @@ module Google
395
395
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
396
396
  attr_accessor :gcs_managed_doc_id
397
397
 
398
+ # The revision reference specifies which revision on the document to read.
399
+ # Corresponds to the JSON property `revisionRef`
400
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef]
401
+ attr_accessor :revision_ref
402
+
398
403
  # The revision reference specifies which revision on the document to read.
399
404
  # Corresponds to the JSON property `revisionReference`
400
405
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference]
@@ -407,6 +412,7 @@ module Google
407
412
  # Update properties of this object
408
413
  def update!(**args)
409
414
  @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
415
+ @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
410
416
  @revision_reference = args[:revision_reference] if args.key?(:revision_reference)
411
417
  end
412
418
  end
@@ -883,6 +889,39 @@ module Google
883
889
  end
884
890
  end
885
891
 
892
+ # The revision reference specifies which revision on the document to read.
893
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
894
+ include Google::Apis::Core::Hashable
895
+
896
+ # Reads the revision generated by the processor version. The format takes the
897
+ # full resource name of processor version. `projects/`project`/locations/`
898
+ # location`/processors/`processor`/processorVersions/`processorVersion``
899
+ # Corresponds to the JSON property `latestProcessorVersion`
900
+ # @return [String]
901
+ attr_accessor :latest_processor_version
902
+
903
+ # Reads the revision by the predefined case.
904
+ # Corresponds to the JSON property `revisionCase`
905
+ # @return [String]
906
+ attr_accessor :revision_case
907
+
908
+ # Reads the revision given by the id.
909
+ # Corresponds to the JSON property `revisionId`
910
+ # @return [String]
911
+ attr_accessor :revision_id
912
+
913
+ def initialize(**args)
914
+ update!(**args)
915
+ end
916
+
917
+ # Update properties of this object
918
+ def update!(**args)
919
+ @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
920
+ @revision_case = args[:revision_case] if args.key?(:revision_case)
921
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
922
+ end
923
+ end
924
+
886
925
  # The revision reference specifies which revision on the document to read.
887
926
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
888
927
  include Google::Apis::Core::Hashable
@@ -8113,6 +8152,43 @@ module Google
8113
8152
  end
8114
8153
  end
8115
8154
 
8155
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
8156
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
8157
+ include Google::Apis::Core::Hashable
8158
+
8159
+ # Evaluation metrics, either in aggregate or about a specific entity.
8160
+ # Corresponds to the JSON property `aggregateMetrics`
8161
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
8162
+ attr_accessor :aggregate_metrics
8163
+
8164
+ # Evaluation metrics, either in aggregate or about a specific entity.
8165
+ # Corresponds to the JSON property `aggregateMetricsExact`
8166
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics]
8167
+ attr_accessor :aggregate_metrics_exact
8168
+
8169
+ # The resource name of the evaluation.
8170
+ # Corresponds to the JSON property `evaluation`
8171
+ # @return [String]
8172
+ attr_accessor :evaluation
8173
+
8174
+ # The resource name of the Long Running Operation for the evaluation.
8175
+ # Corresponds to the JSON property `operation`
8176
+ # @return [String]
8177
+ attr_accessor :operation
8178
+
8179
+ def initialize(**args)
8180
+ update!(**args)
8181
+ end
8182
+
8183
+ # Update properties of this object
8184
+ def update!(**args)
8185
+ @aggregate_metrics = args[:aggregate_metrics] if args.key?(:aggregate_metrics)
8186
+ @aggregate_metrics_exact = args[:aggregate_metrics_exact] if args.key?(:aggregate_metrics_exact)
8187
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
8188
+ @operation = args[:operation] if args.key?(:operation)
8189
+ end
8190
+ end
8191
+
8116
8192
  # Response message for fetch processor types.
8117
8193
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
8118
8194
  include Google::Apis::Core::Hashable
@@ -8680,6 +8756,11 @@ module Google
8680
8756
  # @return [String]
8681
8757
  attr_accessor :kms_key_version_name
8682
8758
 
8759
+ # Gives a short summary of an evaluation, and links to the evaluation itself.
8760
+ # Corresponds to the JSON property `latestEvaluation`
8761
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
8762
+ attr_accessor :latest_evaluation
8763
+
8683
8764
  # The resource name of the processor version. Format: `projects/`project`/
8684
8765
  # locations/`location`/processors/`processor`/processorVersions/`
8685
8766
  # processor_version``
@@ -8705,6 +8786,7 @@ module Google
8705
8786
  @google_managed = args[:google_managed] if args.key?(:google_managed)
8706
8787
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
8707
8788
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
8789
+ @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
8708
8790
  @name = args[:name] if args.key?(:name)
8709
8791
  @state = args[:state] if args.key?(:state)
8710
8792
  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.61.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 = "20230113"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -1426,6 +1432,12 @@ module Google
1426
1432
  include Google::Apis::Core::JsonObjectSupport
1427
1433
  end
1428
1434
 
1435
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
1436
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1437
+
1438
+ include Google::Apis::Core::JsonObjectSupport
1439
+ end
1440
+
1429
1441
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
1430
1442
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1443
 
@@ -1848,6 +1860,8 @@ module Google
1848
1860
  class Representation < Google::Apis::Core::JsonRepresentation
1849
1861
  property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
1850
1862
 
1863
+ property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1864
+
1851
1865
  property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1852
1866
 
1853
1867
  end
@@ -2018,6 +2032,15 @@ module Google
2018
2032
  end
2019
2033
  end
2020
2034
 
2035
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
2036
+ # @private
2037
+ class Representation < Google::Apis::Core::JsonRepresentation
2038
+ property :latest_processor_version, as: 'latestProcessorVersion'
2039
+ property :revision_case, as: 'revisionCase'
2040
+ property :revision_id, as: 'revisionId'
2041
+ end
2042
+ end
2043
+
2021
2044
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
2022
2045
  # @private
2023
2046
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4156,6 +4179,18 @@ module Google
4156
4179
  end
4157
4180
  end
4158
4181
 
4182
+ class GoogleCloudDocumentaiV1beta3EvaluationReference
4183
+ # @private
4184
+ class Representation < Google::Apis::Core::JsonRepresentation
4185
+ property :aggregate_metrics, as: 'aggregateMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
4186
+
4187
+ property :aggregate_metrics_exact, as: 'aggregateMetricsExact', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMetrics::Representation
4188
+
4189
+ property :evaluation, as: 'evaluation'
4190
+ property :operation, as: 'operation'
4191
+ end
4192
+ end
4193
+
4159
4194
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
4160
4195
  # @private
4161
4196
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4329,6 +4364,8 @@ module Google
4329
4364
  property :google_managed, as: 'googleManaged'
4330
4365
  property :kms_key_name, as: 'kmsKeyName'
4331
4366
  property :kms_key_version_name, as: 'kmsKeyVersionName'
4367
+ property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
4368
+
4332
4369
  property :name, as: 'name'
4333
4370
  property :state, as: 'state'
4334
4371
  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.61.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-22 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.61.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: []