google-apis-documentai_v1 0.113.0 → 0.115.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: 652256eb0ad48f010b50e4990b31af45debcfb69a98c2da747b94d7e9088fab3
4
- data.tar.gz: 269e580511fe2b9b390afdfed53a5a92571cb1a9a701d2dc980db3e3a6a3d788
3
+ metadata.gz: 0d796f05eb47bd280fb4458db2a6fdb190f984d88a23e98c3b9111c3b3be2660
4
+ data.tar.gz: d77be5454f9aa6db9bbb70cdde95257ae66c1cd4c1c3f6b4011c2d317d27c313
5
5
  SHA512:
6
- metadata.gz: bbc31081380a2d951a245210bf2b1af4c4721de4e31200adac81f6825d7954e662412a1aa38677bd96d96b5381288dcf2260724afbfcd0f3a7e66fa2d17fc0f8
7
- data.tar.gz: 9070cc230929b5654f464b2f3b71a1da9c72229ef11582954fab6421f4dbad7ac8bef26ddb9146d144d040c0a8ef06abec000b12b4b22d51a55e5fc82a721a9e
6
+ metadata.gz: c666c66399f6eb67220a410bf55bcc1ddbd9765c37eed9a3653bafa57963f01aef3382efb069f120615b1ece19beea9bde70943e95d168bc5def25481cf78fec
7
+ data.tar.gz: 2447da80acffbe46a6d68ab345fb3cc0d278aeabb702ed6c2c95fee01b4d29925e912d359376c8b8a4ddeafed1102e2af2a1ee8d286cebd6d70c356366634a71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.115.0 (2026-03-01)
4
+
5
+ * Regenerated from discovery document revision 20260224
6
+
7
+ ### v0.114.0 (2026-02-08)
8
+
9
+ * Regenerated from discovery document revision 20260203
10
+
3
11
  ### v0.113.0 (2026-01-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20260118
@@ -51,7 +51,7 @@ module Google
51
51
  # @return [Google::Apis::DocumentaiV1::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule]
52
52
  attr_accessor :child_alignment_rule
53
53
 
54
- # Description of the validation rule. This has no use but for documentation
54
+ # Description of the validation rule. This has no use but for documentation.
55
55
  # Corresponds to the JSON property `description`
56
56
  # @return [String]
57
57
  attr_accessor :description
@@ -937,7 +937,7 @@ module Google
937
937
  # @return [String]
938
938
  attr_accessor :description
939
939
 
940
- # Display name to show to users.
940
+ # Display name to show users.
941
941
  # Corresponds to the JSON property `displayName`
942
942
  # @return [String]
943
943
  attr_accessor :display_name
@@ -1010,7 +1010,7 @@ module Google
1010
1010
  # Common Type". The following naming conventions are used: - Use `snake_casing`.
1011
1011
  # - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
1012
1012
  # a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
1013
- # compatibility internal infrastructure and tooling can handle any ascii
1013
+ # compatibility, internal infrastructure and tooling can handle any ASCII
1014
1014
  # character.) - The `/` is sometimes used to denote a property of a type. For
1015
1015
  # example `line_item/amount`. This convention is deprecated, but will still be
1016
1016
  # honored for backward compatibility.
@@ -1140,9 +1140,9 @@ module Google
1140
1140
  attr_accessor :prefixed_naming_on_properties
1141
1141
  alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
1142
1142
 
1143
- # If set, we will skip the naming format validation in the schema. So the string
1144
- # values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.
1145
- # Property.name` will not be checked.
1143
+ # If set, this will skip the naming format validation in the schema. So the
1144
+ # string values in `DocumentSchema.EntityType.name` and `DocumentSchema.
1145
+ # EntityType.Property.name` will not be checked.
1146
1146
  # Corresponds to the JSON property `skipNamingValidation`
1147
1147
  # @return [Boolean]
1148
1148
  attr_accessor :skip_naming_validation
@@ -1288,7 +1288,7 @@ module Google
1288
1288
  class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
1289
1289
  include Google::Apis::Core::Hashable
1290
1290
 
1291
- # The calculated f1 score.
1291
+ # The calculated F1 score.
1292
1292
  # Corresponds to the JSON property `f1Score`
1293
1293
  # @return [Float]
1294
1294
  attr_accessor :f1_score
@@ -2141,14 +2141,14 @@ module Google
2141
2141
  class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
2142
2142
  include Google::Apis::Core::Hashable
2143
2143
 
2144
- # Whether finetuning is allowed for this base processor version.
2144
+ # Whether fine tuning is allowed for this base processor version.
2145
2145
  # Corresponds to the JSON property `finetuningAllowed`
2146
2146
  # @return [Boolean]
2147
2147
  attr_accessor :finetuning_allowed
2148
2148
  alias_method :finetuning_allowed?, :finetuning_allowed
2149
2149
 
2150
2150
  # The minimum number of labeled documents in the training dataset required for
2151
- # finetuning.
2151
+ # fine tuning.
2152
2152
  # Corresponds to the JSON property `minTrainLabeledDocuments`
2153
2153
  # @return [Fixnum]
2154
2154
  attr_accessor :min_train_labeled_documents
@@ -2455,7 +2455,7 @@ module Google
2455
2455
  # @return [String]
2456
2456
  attr_accessor :description
2457
2457
 
2458
- # Display name to show to users.
2458
+ # Display name to show users.
2459
2459
  # Corresponds to the JSON property `displayName`
2460
2460
  # @return [String]
2461
2461
  attr_accessor :display_name
@@ -3326,7 +3326,7 @@ module Google
3326
3326
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity>]
3327
3327
  attr_accessor :entities
3328
3328
 
3329
- # The entity revision id that `document.entities` field is based on. If this
3329
+ # The entity revision ID that `document.entities` field is based on. If this
3330
3330
  # field is set and `entities_revisions` is not empty, the entities in `document.
3331
3331
  # entities` field are the entities in the entity revision with this id and `
3332
3332
  # document.entity_validation_output` field is the `entity_validation_output`
@@ -3896,7 +3896,7 @@ module Google
3896
3896
  # @return [String]
3897
3897
  attr_accessor :mention_id
3898
3898
 
3899
- # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
3899
+ # Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`.
3900
3900
  # Corresponds to the JSON property `mentionText`
3901
3901
  # @return [String]
3902
3902
  attr_accessor :mention_text
@@ -3941,7 +3941,7 @@ module Google
3941
3941
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
3942
3942
  attr_accessor :text_anchor
3943
3943
 
3944
- # Required. Entity type from a schema e.g. `Address`.
3944
+ # Required. Entity type from a schema, for example, `Address`.
3945
3945
  # Corresponds to the JSON property `type`
3946
3946
  # @return [String]
3947
3947
  attr_accessor :type
@@ -4345,8 +4345,8 @@ module Google
4345
4345
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageMatrix>]
4346
4346
  attr_accessor :transforms
4347
4347
 
4348
- # A list of detected non-text visual elements e.g. checkbox, signature etc. on
4349
- # the page.
4348
+ # A list of detected non-text visual elements, for example, checkbox, signature
4349
+ # etc. on the page.
4350
4350
  # Corresponds to the JSON property `visualElements`
4351
4351
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageVisualElement>]
4352
4352
  attr_accessor :visual_elements
@@ -4730,8 +4730,8 @@ module Google
4730
4730
  attr_accessor :bounding_poly
4731
4731
 
4732
4732
  # Confidence of the current Layout within context of the object this layout is
4733
- # for. e.g. confidence can be for a single token, a table, a visual element, etc.
4734
- # depending on context. Range `[0, 1]`.
4733
+ # for. For example, confidence can be for a single token, a table, a visual
4734
+ # element, etc. depending on context. Range `[0, 1]`.
4735
4735
  # Corresponds to the JSON property `confidence`
4736
4736
  # @return [Float]
4737
4737
  attr_accessor :confidence
@@ -5254,7 +5254,8 @@ module Google
5254
5254
  end
5255
5255
  end
5256
5256
 
5257
- # Detected non-text visual elements e.g. checkbox, signature etc. on the page.
5257
+ # Detected non-text visual elements, for example, checkbox, signature etc. on
5258
+ # the page.
5258
5259
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
5259
5260
  include Google::Apis::Core::Hashable
5260
5261
 
@@ -5422,7 +5423,7 @@ module Google
5422
5423
  class GoogleCloudDocumentaiV1DocumentRevisionHumanReview
5423
5424
  include Google::Apis::Core::Hashable
5424
5425
 
5425
- # Human review state. e.g. `requested`, `succeeded`, `rejected`.
5426
+ # Human review state. For example, `requested`, `succeeded`, `rejected`.
5426
5427
  # Corresponds to the JSON property `state`
5427
5428
  # @return [String]
5428
5429
  attr_accessor :state
@@ -5453,7 +5454,7 @@ module Google
5453
5454
  # @return [String]
5454
5455
  attr_accessor :description
5455
5456
 
5456
- # Display name to show to users.
5457
+ # Display name to show users.
5457
5458
  # Corresponds to the JSON property `displayName`
5458
5459
  # @return [String]
5459
5460
  attr_accessor :display_name
@@ -5515,7 +5516,7 @@ module Google
5515
5516
  # Common Type". The following naming conventions are used: - Use `snake_casing`.
5516
5517
  # - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
5517
5518
  # a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
5518
- # compatibility internal infrastructure and tooling can handle any ascii
5519
+ # compatibility, internal infrastructure and tooling can handle any ASCII
5519
5520
  # character.) - The `/` is sometimes used to denote a property of a type. For
5520
5521
  # example `line_item/amount`. This convention is deprecated, but will still be
5521
5522
  # honored for backward compatibility.
@@ -5630,9 +5631,9 @@ module Google
5630
5631
  attr_accessor :prefixed_naming_on_properties
5631
5632
  alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
5632
5633
 
5633
- # If set, we will skip the naming format validation in the schema. So the string
5634
- # values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.
5635
- # Property.name` will not be checked.
5634
+ # If set, this will skip the naming format validation in the schema. So the
5635
+ # string values in `DocumentSchema.EntityType.name` and `DocumentSchema.
5636
+ # EntityType.Property.name` will not be checked.
5636
5637
  # Corresponds to the JSON property `skipNamingValidation`
5637
5638
  # @return [Boolean]
5638
5639
  attr_accessor :skip_naming_validation
@@ -5656,6 +5657,12 @@ module Google
5656
5657
  class GoogleCloudDocumentaiV1DocumentShardInfo
5657
5658
  include Google::Apis::Core::Hashable
5658
5659
 
5660
+ # The index of the first page in Document.pages in the overall document global
5661
+ # pages. Available for document shards created by the document splitter.
5662
+ # Corresponds to the JSON property `pageOffset`
5663
+ # @return [Fixnum]
5664
+ attr_accessor :page_offset
5665
+
5659
5666
  # Total number of shards.
5660
5667
  # Corresponds to the JSON property `shardCount`
5661
5668
  # @return [Fixnum]
@@ -5678,6 +5685,7 @@ module Google
5678
5685
 
5679
5686
  # Update properties of this object
5680
5687
  def update!(**args)
5688
+ @page_offset = args[:page_offset] if args.key?(:page_offset)
5681
5689
  @shard_count = args[:shard_count] if args.key?(:shard_count)
5682
5690
  @shard_index = args[:shard_index] if args.key?(:shard_index)
5683
5691
  @text_offset = args[:text_offset] if args.key?(:text_offset)
@@ -6110,6 +6118,11 @@ module Google
6110
6118
  # @return [String]
6111
6119
  attr_accessor :name
6112
6120
 
6121
+ # Contains all revisions of the evaluation, excluding the latest one.
6122
+ # Corresponds to the JSON property `revisions`
6123
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationEvaluationRevision>]
6124
+ attr_accessor :revisions
6125
+
6113
6126
  def initialize(**args)
6114
6127
  update!(**args)
6115
6128
  end
@@ -6123,6 +6136,7 @@ module Google
6123
6136
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
6124
6137
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
6125
6138
  @name = args[:name] if args.key?(:name)
6139
+ @revisions = args[:revisions] if args.key?(:revisions)
6126
6140
  end
6127
6141
  end
6128
6142
 
@@ -6190,11 +6204,48 @@ module Google
6190
6204
  end
6191
6205
  end
6192
6206
 
6207
+ # A revision of the evaluation.
6208
+ class GoogleCloudDocumentaiV1EvaluationEvaluationRevision
6209
+ include Google::Apis::Core::Hashable
6210
+
6211
+ # Metrics across multiple confidence levels.
6212
+ # Corresponds to the JSON property `allEntitiesMetrics`
6213
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics]
6214
+ attr_accessor :all_entities_metrics
6215
+
6216
+ # Evaluation counters for the documents that were used.
6217
+ # Corresponds to the JSON property `documentCounters`
6218
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationCounters]
6219
+ attr_accessor :document_counters
6220
+
6221
+ # Output only. Metrics across confidence levels, for different entities.
6222
+ # Corresponds to the JSON property `entityMetrics`
6223
+ # @return [Hash<String,Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics>]
6224
+ attr_accessor :entity_metrics
6225
+
6226
+ # Output only. The revision ID of the evaluation.
6227
+ # Corresponds to the JSON property `revisionId`
6228
+ # @return [String]
6229
+ attr_accessor :revision_id
6230
+
6231
+ def initialize(**args)
6232
+ update!(**args)
6233
+ end
6234
+
6235
+ # Update properties of this object
6236
+ def update!(**args)
6237
+ @all_entities_metrics = args[:all_entities_metrics] if args.key?(:all_entities_metrics)
6238
+ @document_counters = args[:document_counters] if args.key?(:document_counters)
6239
+ @entity_metrics = args[:entity_metrics] if args.key?(:entity_metrics)
6240
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
6241
+ end
6242
+ end
6243
+
6193
6244
  # Evaluation metrics, either in aggregate or about a specific entity.
6194
6245
  class GoogleCloudDocumentaiV1EvaluationMetrics
6195
6246
  include Google::Apis::Core::Hashable
6196
6247
 
6197
- # The calculated f1 score.
6248
+ # The calculated F1 score.
6198
6249
  # Corresponds to the JSON property `f1Score`
6199
6250
  # @return [Float]
6200
6251
  attr_accessor :f1_score
@@ -6740,7 +6791,7 @@ module Google
6740
6791
  # @return [String]
6741
6792
  attr_accessor :display_name
6742
6793
 
6743
- # Optional. The GCP labels for the Schema.
6794
+ # Optional. The ``gcp_name_short`` labels for the Schema.
6744
6795
  # Corresponds to the JSON property `labels`
6745
6796
  # @return [Hash<String,String>]
6746
6797
  attr_accessor :labels
@@ -7559,14 +7610,14 @@ module Google
7559
7610
  class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
7560
7611
  include Google::Apis::Core::Hashable
7561
7612
 
7562
- # Whether finetuning is allowed for this base processor version.
7613
+ # Whether fine tuning is allowed for this base processor version.
7563
7614
  # Corresponds to the JSON property `finetuningAllowed`
7564
7615
  # @return [Boolean]
7565
7616
  attr_accessor :finetuning_allowed
7566
7617
  alias_method :finetuning_allowed?, :finetuning_allowed
7567
7618
 
7568
7619
  # The minimum number of labeled documents in the training dataset required for
7569
- # finetuning.
7620
+ # fine tuning.
7570
7621
  # Corresponds to the JSON property `minTrainLabeledDocuments`
7571
7622
  # @return [Fixnum]
7572
7623
  attr_accessor :min_train_labeled_documents
@@ -7797,7 +7848,7 @@ module Google
7797
7848
  # @return [String]
7798
7849
  attr_accessor :display_name
7799
7850
 
7800
- # Optional. The GCP labels for the SchemaVersion.
7851
+ # Optional. The ``gcp_name_short`` labels for the SchemaVersion.
7801
7852
  # Corresponds to the JSON property `labels`
7802
7853
  # @return [Hash<String,String>]
7803
7854
  attr_accessor :labels
@@ -8439,11 +8490,6 @@ module Google
8439
8490
  attr_accessor :satisfies_pzs
8440
8491
  alias_method :satisfies_pzs?, :satisfies_pzs
8441
8492
 
8442
- # Configuration specific to spanner-based indexing.
8443
- # Corresponds to the JSON property `spannerIndexingConfig`
8444
- # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
8445
- attr_accessor :spanner_indexing_config
8446
-
8447
8493
  # Required. State of the dataset. Ignored when updating dataset.
8448
8494
  # Corresponds to the JSON property `state`
8449
8495
  # @return [String]
@@ -8465,7 +8511,6 @@ module Google
8465
8511
  @name = args[:name] if args.key?(:name)
8466
8512
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
8467
8513
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
8468
- @spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
8469
8514
  @state = args[:state] if args.key?(:state)
8470
8515
  @unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
8471
8516
  end
@@ -8516,19 +8561,6 @@ module Google
8516
8561
  end
8517
8562
  end
8518
8563
 
8519
- # Configuration specific to spanner-based indexing.
8520
- class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
8521
- include Google::Apis::Core::Hashable
8522
-
8523
- def initialize(**args)
8524
- update!(**args)
8525
- end
8526
-
8527
- # Update properties of this object
8528
- def update!(**args)
8529
- end
8530
- end
8531
-
8532
8564
  # Configuration specific to an unmanaged dataset.
8533
8565
  class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
8534
8566
  include Google::Apis::Core::Hashable
@@ -8733,7 +8765,7 @@ module Google
8733
8765
  # @return [String]
8734
8766
  attr_accessor :description
8735
8767
 
8736
- # Display name to show to users.
8768
+ # Display name to show users.
8737
8769
  # Corresponds to the JSON property `displayName`
8738
8770
  # @return [String]
8739
8771
  attr_accessor :display_name
@@ -8806,7 +8838,7 @@ module Google
8806
8838
  # Common Type". The following naming conventions are used: - Use `snake_casing`.
8807
8839
  # - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
8808
8840
  # a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
8809
- # compatibility internal infrastructure and tooling can handle any ascii
8841
+ # compatibility, internal infrastructure and tooling can handle any ASCII
8810
8842
  # character.) - The `/` is sometimes used to denote a property of a type. For
8811
8843
  # example `line_item/amount`. This convention is deprecated, but will still be
8812
8844
  # honored for backward compatibility.
@@ -8936,9 +8968,9 @@ module Google
8936
8968
  attr_accessor :prefixed_naming_on_properties
8937
8969
  alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
8938
8970
 
8939
- # If set, we will skip the naming format validation in the schema. So the string
8940
- # values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.
8941
- # Property.name` will not be checked.
8971
+ # If set, this will skip the naming format validation in the schema. So the
8972
+ # string values in `DocumentSchema.EntityType.name` and `DocumentSchema.
8973
+ # EntityType.Property.name` will not be checked.
8942
8974
  # Corresponds to the JSON property `skipNamingValidation`
8943
8975
  # @return [Boolean]
8944
8976
  attr_accessor :skip_naming_validation
@@ -9052,7 +9084,7 @@ module Google
9052
9084
  class GoogleCloudDocumentaiV1beta3EvaluationMetrics
9053
9085
  include Google::Apis::Core::Hashable
9054
9086
 
9055
- # The calculated f1 score.
9087
+ # The calculated F1 score.
9056
9088
  # Corresponds to the JSON property `f1Score`
9057
9089
  # @return [Float]
9058
9090
  attr_accessor :f1_score
@@ -9699,14 +9731,14 @@ module Google
9699
9731
  class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
9700
9732
  include Google::Apis::Core::Hashable
9701
9733
 
9702
- # Whether finetuning is allowed for this base processor version.
9734
+ # Whether fine tuning is allowed for this base processor version.
9703
9735
  # Corresponds to the JSON property `finetuningAllowed`
9704
9736
  # @return [Boolean]
9705
9737
  attr_accessor :finetuning_allowed
9706
9738
  alias_method :finetuning_allowed?, :finetuning_allowed
9707
9739
 
9708
9740
  # The minimum number of labeled documents in the training dataset required for
9709
- # finetuning.
9741
+ # fine tuning.
9710
9742
  # Corresponds to the JSON property `minTrainLabeledDocuments`
9711
9743
  # @return [Fixnum]
9712
9744
  attr_accessor :min_train_labeled_documents
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.113.0"
19
+ GEM_VERSION = "0.115.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260118"
25
+ REVISION = "20260224"
26
26
  end
27
27
  end
28
28
  end
@@ -1126,6 +1126,12 @@ module Google
1126
1126
  include Google::Apis::Core::JsonObjectSupport
1127
1127
  end
1128
1128
 
1129
+ class GoogleCloudDocumentaiV1EvaluationEvaluationRevision
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
1129
1135
  class GoogleCloudDocumentaiV1EvaluationMetrics
1130
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1137
 
@@ -1540,12 +1546,6 @@ module Google
1540
1546
  include Google::Apis::Core::JsonObjectSupport
1541
1547
  end
1542
1548
 
1543
- class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
1544
- class Representation < Google::Apis::Core::JsonRepresentation; end
1545
-
1546
- include Google::Apis::Core::JsonObjectSupport
1547
- end
1548
-
1549
1549
  class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
1550
1550
  class Representation < Google::Apis::Core::JsonRepresentation; end
1551
1551
 
@@ -3671,6 +3671,7 @@ module Google
3671
3671
  class GoogleCloudDocumentaiV1DocumentShardInfo
3672
3672
  # @private
3673
3673
  class Representation < Google::Apis::Core::JsonRepresentation
3674
+ property :page_offset, as: 'pageOffset'
3674
3675
  property :shard_count, :numeric_string => true, as: 'shardCount'
3675
3676
  property :shard_index, :numeric_string => true, as: 'shardIndex'
3676
3677
  property :text_offset, :numeric_string => true, as: 'textOffset'
@@ -3795,6 +3796,8 @@ module Google
3795
3796
  property :kms_key_name, as: 'kmsKeyName'
3796
3797
  property :kms_key_version_name, as: 'kmsKeyVersionName'
3797
3798
  property :name, as: 'name'
3799
+ collection :revisions, as: 'revisions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationEvaluationRevision, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationEvaluationRevision::Representation
3800
+
3798
3801
  end
3799
3802
  end
3800
3803
 
@@ -3817,6 +3820,19 @@ module Google
3817
3820
  end
3818
3821
  end
3819
3822
 
3823
+ class GoogleCloudDocumentaiV1EvaluationEvaluationRevision
3824
+ # @private
3825
+ class Representation < Google::Apis::Core::JsonRepresentation
3826
+ property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics::Representation
3827
+
3828
+ property :document_counters, as: 'documentCounters', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationCounters, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationCounters::Representation
3829
+
3830
+ hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics::Representation
3831
+
3832
+ property :revision_id, as: 'revisionId'
3833
+ end
3834
+ end
3835
+
3820
3836
  class GoogleCloudDocumentaiV1EvaluationMetrics
3821
3837
  # @private
3822
3838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4497,8 +4513,6 @@ module Google
4497
4513
  property :name, as: 'name'
4498
4514
  property :satisfies_pzi, as: 'satisfiesPzi'
4499
4515
  property :satisfies_pzs, as: 'satisfiesPzs'
4500
- property :spanner_indexing_config, as: 'spannerIndexingConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig::Representation
4501
-
4502
4516
  property :state, as: 'state'
4503
4517
  property :unmanaged_dataset_config, as: 'unmanagedDatasetConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig::Representation
4504
4518
 
@@ -4521,12 +4535,6 @@ module Google
4521
4535
  end
4522
4536
  end
4523
4537
 
4524
- class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
4525
- # @private
4526
- class Representation < Google::Apis::Core::JsonRepresentation
4527
- end
4528
- end
4529
-
4530
4538
  class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
4531
4539
  # @private
4532
4540
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -148,7 +148,11 @@ module Google
148
148
  execute_or_queue_command(command, &block)
149
149
  end
150
150
 
151
- # Lists information about the supported locations for this service.
151
+ # Lists information about the supported locations for this service. This method
152
+ # can be called in two ways: * **List all public locations:** Use the path `GET /
153
+ # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
154
+ # projects/`project_id`/locations`. This may include public locations as well as
155
+ # private or other locations specifically visible to the project.
152
156
  # @param [String] name
153
157
  # The resource that owns the locations collection, if applicable.
154
158
  # @param [Array<String>, String] extra_location_types
@@ -1223,8 +1227,8 @@ module Google
1223
1227
  # most `10` Schema will be returned. The maximum value is `20`. Values above `20`
1224
1228
  # will be coerced to `20`.
1225
1229
  # @param [String] page_token
1226
- # Optional. We will return the schema groups sorted by creation time. The page
1227
- # token will point to the next Schema.
1230
+ # Optional. Returns the schema groups sorted by creation time. The page token
1231
+ # will point to the next Schema.
1228
1232
  # @param [String] fields
1229
1233
  # Selector specifying which fields to include in a partial response.
1230
1234
  # @param [String] quota_user
@@ -1261,7 +1265,7 @@ module Google
1261
1265
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1NextSchema] google_cloud_documentai_v1_next_schema_object
1262
1266
  # @param [String] update_mask
1263
1267
  # Optional. The update mask to apply to the resource. **Note:** Only the
1264
- # following fields can be updated: - display_name. - labels.
1268
+ # following fields can be updated: - `display_name` - `labels`
1265
1269
  # @param [String] fields
1266
1270
  # Selector specifying which fields to include in a partial response.
1267
1271
  # @param [String] quota_user
@@ -1432,8 +1436,8 @@ module Google
1432
1436
  # most `10` SchemaVersion will be returned. The maximum value is `20`. Values
1433
1437
  # above `20` will be coerced to `20`.
1434
1438
  # @param [String] page_token
1435
- # Optional. We will return the SchemaVersion sorted by creation time. The page
1436
- # token will point to the next SchemaVersion.
1439
+ # Optional. Returns the SchemaVersion sorted by creation time. The page token
1440
+ # will point to the next SchemaVersion.
1437
1441
  # @param [String] fields
1438
1442
  # Selector specifying which fields to include in a partial response.
1439
1443
  # @param [String] quota_user
@@ -1470,7 +1474,7 @@ module Google
1470
1474
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion] google_cloud_documentai_v1_schema_version_object
1471
1475
  # @param [String] update_mask
1472
1476
  # Optional. The update mask to apply to the resource. **Note:** Only the
1473
- # following fields can be updated: - display_name. - labels.
1477
+ # following fields can be updated: - `display_name` - `labels`
1474
1478
  # @param [String] fields
1475
1479
  # Selector specifying which fields to include in a partial response.
1476
1480
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.113.0
4
+ version: 0.115.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.113.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.115.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
62
62
  rdoc_options: []
63
63
  require_paths: