google-apis-documentai_v1beta3 0.121.0 → 0.122.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +81 -56
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +21 -14
- data/lib/google/apis/documentai_v1beta3/service.rb +11 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 696dc1b17cc9ea6e9c425b0cc393dccbbf1a1b7640fc6d257b77d2fb984a5180
|
|
4
|
+
data.tar.gz: 43d75ee973c61fd45980a9b13e5eae454d88161fb0f163079c8ac8abe18fb18e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e17cb9fffd70b3c612cb73066d26a26da0156656e74657be50f790c51157d9706867830637d6473e4a8669023862600d249e381b6b16916397df48d1f8f8418
|
|
7
|
+
data.tar.gz: a01f56cf01fd6d5c563531ef209da0eaaec06e775de2459ea5a7b6fcc8d0cec9ff7d5ba26114f7cf7ec31d101cf602e6fbb60df4cbc87f9e9754073daae1a602
|
data/CHANGELOG.md
CHANGED
|
@@ -51,7 +51,7 @@ module Google
|
|
|
51
51
|
# @return [Google::Apis::DocumentaiV1beta3::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
|
|
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
|
|
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,
|
|
1144
|
-
# values in `DocumentSchema.EntityType.name` and `DocumentSchema.
|
|
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
|
|
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
|
|
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
|
-
#
|
|
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
|
|
2458
|
+
# Display name to show users.
|
|
2459
2459
|
# Corresponds to the JSON property `displayName`
|
|
2460
2460
|
# @return [String]
|
|
2461
2461
|
attr_accessor :display_name
|
|
@@ -3974,11 +3974,6 @@ module Google
|
|
|
3974
3974
|
attr_accessor :satisfies_pzs
|
|
3975
3975
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
|
3976
3976
|
|
|
3977
|
-
# Configuration specific to spanner-based indexing.
|
|
3978
|
-
# Corresponds to the JSON property `spannerIndexingConfig`
|
|
3979
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
|
|
3980
|
-
attr_accessor :spanner_indexing_config
|
|
3981
|
-
|
|
3982
3977
|
# Required. State of the dataset. Ignored when updating dataset.
|
|
3983
3978
|
# Corresponds to the JSON property `state`
|
|
3984
3979
|
# @return [String]
|
|
@@ -4000,7 +3995,6 @@ module Google
|
|
|
4000
3995
|
@name = args[:name] if args.key?(:name)
|
|
4001
3996
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
4002
3997
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
4003
|
-
@spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
|
|
4004
3998
|
@state = args[:state] if args.key?(:state)
|
|
4005
3999
|
@unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
|
|
4006
4000
|
end
|
|
@@ -4091,19 +4085,6 @@ module Google
|
|
|
4091
4085
|
end
|
|
4092
4086
|
end
|
|
4093
4087
|
|
|
4094
|
-
# Configuration specific to spanner-based indexing.
|
|
4095
|
-
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
|
4096
|
-
include Google::Apis::Core::Hashable
|
|
4097
|
-
|
|
4098
|
-
def initialize(**args)
|
|
4099
|
-
update!(**args)
|
|
4100
|
-
end
|
|
4101
|
-
|
|
4102
|
-
# Update properties of this object
|
|
4103
|
-
def update!(**args)
|
|
4104
|
-
end
|
|
4105
|
-
end
|
|
4106
|
-
|
|
4107
4088
|
# Configuration specific to an unmanaged dataset.
|
|
4108
4089
|
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
|
4109
4090
|
include Google::Apis::Core::Hashable
|
|
@@ -4254,8 +4235,8 @@ module Google
|
|
|
4254
4235
|
include Google::Apis::Core::Hashable
|
|
4255
4236
|
|
|
4256
4237
|
# Optional. The blob assets in this document. This is used to store the content
|
|
4257
|
-
# of the inline blobs in this document,
|
|
4258
|
-
# referenced by other fields in the document via asset id.
|
|
4238
|
+
# of the inline blobs in this document, for example, image bytes, such that it
|
|
4239
|
+
# can be referenced by other fields in the document via asset id.
|
|
4259
4240
|
# Corresponds to the JSON property `blobAssets`
|
|
4260
4241
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentBlobAsset>]
|
|
4261
4242
|
attr_accessor :blob_assets
|
|
@@ -4290,7 +4271,7 @@ module Google
|
|
|
4290
4271
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity>]
|
|
4291
4272
|
attr_accessor :entities
|
|
4292
4273
|
|
|
4293
|
-
# The entity revision
|
|
4274
|
+
# The entity revision ID that `document.entities` field is based on. If this
|
|
4294
4275
|
# field is set and `entities_revisions` is not empty, the entities in `document.
|
|
4295
4276
|
# entities` field are the entities in the entity revision with this id and `
|
|
4296
4277
|
# document.entity_validation_output` field is the `entity_validation_output`
|
|
@@ -4421,8 +4402,8 @@ module Google
|
|
|
4421
4402
|
end
|
|
4422
4403
|
|
|
4423
4404
|
# Represents a blob asset. It's used to store the content of the inline blob in
|
|
4424
|
-
# this document,
|
|
4425
|
-
# fields in the document via asset
|
|
4405
|
+
# this document, for example, image bytes, such that it can be referenced by
|
|
4406
|
+
# other fields in the document via asset ID.
|
|
4426
4407
|
class GoogleCloudDocumentaiV1beta3DocumentBlobAsset
|
|
4427
4408
|
include Google::Apis::Core::Hashable
|
|
4428
4409
|
|
|
@@ -4431,7 +4412,7 @@ module Google
|
|
|
4431
4412
|
# @return [String]
|
|
4432
4413
|
attr_accessor :asset_id
|
|
4433
4414
|
|
|
4434
|
-
# Optional. The content of the blob asset,
|
|
4415
|
+
# Optional. The content of the blob asset, for example, image bytes.
|
|
4435
4416
|
# Corresponds to the JSON property `content`
|
|
4436
4417
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
4437
4418
|
# @return [String]
|
|
@@ -4530,7 +4511,7 @@ module Google
|
|
|
4530
4511
|
end
|
|
4531
4512
|
|
|
4532
4513
|
# The chunk field in the chunk. A chunk field could be one of the various types (
|
|
4533
|
-
#
|
|
4514
|
+
# for example, image, table) supported.
|
|
4534
4515
|
class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField
|
|
4535
4516
|
include Google::Apis::Core::Hashable
|
|
4536
4517
|
|
|
@@ -5077,7 +5058,7 @@ module Google
|
|
|
5077
5058
|
# @return [String]
|
|
5078
5059
|
attr_accessor :mention_id
|
|
5079
5060
|
|
|
5080
|
-
# Optional. Text value of the entity
|
|
5061
|
+
# Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`.
|
|
5081
5062
|
# Corresponds to the JSON property `mentionText`
|
|
5082
5063
|
# @return [String]
|
|
5083
5064
|
attr_accessor :mention_text
|
|
@@ -5122,7 +5103,7 @@ module Google
|
|
|
5122
5103
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
|
|
5123
5104
|
attr_accessor :text_anchor
|
|
5124
5105
|
|
|
5125
|
-
# Required. Entity type from a schema
|
|
5106
|
+
# Required. Entity type from a schema, for example, `Address`.
|
|
5126
5107
|
# Corresponds to the JSON property `type`
|
|
5127
5108
|
# @return [String]
|
|
5128
5109
|
attr_accessor :type
|
|
@@ -5648,8 +5629,8 @@ module Google
|
|
|
5648
5629
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageMatrix>]
|
|
5649
5630
|
attr_accessor :transforms
|
|
5650
5631
|
|
|
5651
|
-
# A list of detected non-text visual elements
|
|
5652
|
-
# the page.
|
|
5632
|
+
# A list of detected non-text visual elements, for example, checkbox, signature
|
|
5633
|
+
# etc. on the page.
|
|
5653
5634
|
# Corresponds to the JSON property `visualElements`
|
|
5654
5635
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageVisualElement>]
|
|
5655
5636
|
attr_accessor :visual_elements
|
|
@@ -6033,8 +6014,8 @@ module Google
|
|
|
6033
6014
|
attr_accessor :bounding_poly
|
|
6034
6015
|
|
|
6035
6016
|
# Confidence of the current Layout within context of the object this layout is
|
|
6036
|
-
# for.
|
|
6037
|
-
# depending on context. Range `[0, 1]`.
|
|
6017
|
+
# for. For example, confidence can be for a single token, a table, a visual
|
|
6018
|
+
# element, etc. depending on context. Range `[0, 1]`.
|
|
6038
6019
|
# Corresponds to the JSON property `confidence`
|
|
6039
6020
|
# @return [Float]
|
|
6040
6021
|
attr_accessor :confidence
|
|
@@ -6557,7 +6538,8 @@ module Google
|
|
|
6557
6538
|
end
|
|
6558
6539
|
end
|
|
6559
6540
|
|
|
6560
|
-
# Detected non-text visual elements
|
|
6541
|
+
# Detected non-text visual elements, for example, checkbox, signature etc. on
|
|
6542
|
+
# the page.
|
|
6561
6543
|
class GoogleCloudDocumentaiV1beta3DocumentPageVisualElement
|
|
6562
6544
|
include Google::Apis::Core::Hashable
|
|
6563
6545
|
|
|
@@ -6725,7 +6707,7 @@ module Google
|
|
|
6725
6707
|
class GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview
|
|
6726
6708
|
include Google::Apis::Core::Hashable
|
|
6727
6709
|
|
|
6728
|
-
# Human review state.
|
|
6710
|
+
# Human review state. For example, `requested`, `succeeded`, `rejected`.
|
|
6729
6711
|
# Corresponds to the JSON property `state`
|
|
6730
6712
|
# @return [String]
|
|
6731
6713
|
attr_accessor :state
|
|
@@ -6756,7 +6738,7 @@ module Google
|
|
|
6756
6738
|
# @return [String]
|
|
6757
6739
|
attr_accessor :description
|
|
6758
6740
|
|
|
6759
|
-
# Display name to show
|
|
6741
|
+
# Display name to show users.
|
|
6760
6742
|
# Corresponds to the JSON property `displayName`
|
|
6761
6743
|
# @return [String]
|
|
6762
6744
|
attr_accessor :display_name
|
|
@@ -6829,7 +6811,7 @@ module Google
|
|
|
6829
6811
|
# Common Type". The following naming conventions are used: - Use `snake_casing`.
|
|
6830
6812
|
# - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
|
|
6831
6813
|
# a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
|
6832
|
-
# compatibility internal infrastructure and tooling can handle any
|
|
6814
|
+
# compatibility, internal infrastructure and tooling can handle any ASCII
|
|
6833
6815
|
# character.) - The `/` is sometimes used to denote a property of a type. For
|
|
6834
6816
|
# example `line_item/amount`. This convention is deprecated, but will still be
|
|
6835
6817
|
# honored for backward compatibility.
|
|
@@ -6959,9 +6941,9 @@ module Google
|
|
|
6959
6941
|
attr_accessor :prefixed_naming_on_properties
|
|
6960
6942
|
alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
|
|
6961
6943
|
|
|
6962
|
-
# If set,
|
|
6963
|
-
# values in `DocumentSchema.EntityType.name` and `DocumentSchema.
|
|
6964
|
-
# Property.name` will not be checked.
|
|
6944
|
+
# If set, this will skip the naming format validation in the schema. So the
|
|
6945
|
+
# string values in `DocumentSchema.EntityType.name` and `DocumentSchema.
|
|
6946
|
+
# EntityType.Property.name` will not be checked.
|
|
6965
6947
|
# Corresponds to the JSON property `skipNamingValidation`
|
|
6966
6948
|
# @return [Boolean]
|
|
6967
6949
|
attr_accessor :skip_naming_validation
|
|
@@ -7459,6 +7441,11 @@ module Google
|
|
|
7459
7441
|
# @return [String]
|
|
7460
7442
|
attr_accessor :name
|
|
7461
7443
|
|
|
7444
|
+
# Contains all revisions of the evaluation, excluding the latest one.
|
|
7445
|
+
# Corresponds to the JSON property `revisions`
|
|
7446
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision>]
|
|
7447
|
+
attr_accessor :revisions
|
|
7448
|
+
|
|
7462
7449
|
def initialize(**args)
|
|
7463
7450
|
update!(**args)
|
|
7464
7451
|
end
|
|
@@ -7472,6 +7459,7 @@ module Google
|
|
|
7472
7459
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
|
7473
7460
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
|
7474
7461
|
@name = args[:name] if args.key?(:name)
|
|
7462
|
+
@revisions = args[:revisions] if args.key?(:revisions)
|
|
7475
7463
|
end
|
|
7476
7464
|
end
|
|
7477
7465
|
|
|
@@ -7539,11 +7527,48 @@ module Google
|
|
|
7539
7527
|
end
|
|
7540
7528
|
end
|
|
7541
7529
|
|
|
7530
|
+
# A revision of the evaluation.
|
|
7531
|
+
class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision
|
|
7532
|
+
include Google::Apis::Core::Hashable
|
|
7533
|
+
|
|
7534
|
+
# Metrics across multiple confidence levels.
|
|
7535
|
+
# Corresponds to the JSON property `allEntitiesMetrics`
|
|
7536
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics]
|
|
7537
|
+
attr_accessor :all_entities_metrics
|
|
7538
|
+
|
|
7539
|
+
# Evaluation counters for the documents that were used.
|
|
7540
|
+
# Corresponds to the JSON property `documentCounters`
|
|
7541
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters]
|
|
7542
|
+
attr_accessor :document_counters
|
|
7543
|
+
|
|
7544
|
+
# Output only. Metrics across confidence levels, for different entities.
|
|
7545
|
+
# Corresponds to the JSON property `entityMetrics`
|
|
7546
|
+
# @return [Hash<String,Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics>]
|
|
7547
|
+
attr_accessor :entity_metrics
|
|
7548
|
+
|
|
7549
|
+
# Output only. The revision ID of the evaluation.
|
|
7550
|
+
# Corresponds to the JSON property `revisionId`
|
|
7551
|
+
# @return [String]
|
|
7552
|
+
attr_accessor :revision_id
|
|
7553
|
+
|
|
7554
|
+
def initialize(**args)
|
|
7555
|
+
update!(**args)
|
|
7556
|
+
end
|
|
7557
|
+
|
|
7558
|
+
# Update properties of this object
|
|
7559
|
+
def update!(**args)
|
|
7560
|
+
@all_entities_metrics = args[:all_entities_metrics] if args.key?(:all_entities_metrics)
|
|
7561
|
+
@document_counters = args[:document_counters] if args.key?(:document_counters)
|
|
7562
|
+
@entity_metrics = args[:entity_metrics] if args.key?(:entity_metrics)
|
|
7563
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
7564
|
+
end
|
|
7565
|
+
end
|
|
7566
|
+
|
|
7542
7567
|
# Evaluation metrics, either in aggregate or about a specific entity.
|
|
7543
7568
|
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
|
7544
7569
|
include Google::Apis::Core::Hashable
|
|
7545
7570
|
|
|
7546
|
-
# The calculated
|
|
7571
|
+
# The calculated F1 score.
|
|
7547
7572
|
# Corresponds to the JSON property `f1Score`
|
|
7548
7573
|
# @return [Float]
|
|
7549
7574
|
attr_accessor :f1_score
|
|
@@ -8520,7 +8545,7 @@ module Google
|
|
|
8520
8545
|
# @return [String]
|
|
8521
8546
|
attr_accessor :display_name
|
|
8522
8547
|
|
|
8523
|
-
# Optional. The
|
|
8548
|
+
# Optional. The ``gcp_name_short`` labels for the Schema.
|
|
8524
8549
|
# Corresponds to the JSON property `labels`
|
|
8525
8550
|
# @return [Hash<String,String>]
|
|
8526
8551
|
attr_accessor :labels
|
|
@@ -8854,7 +8879,7 @@ module Google
|
|
|
8854
8879
|
|
|
8855
8880
|
# Optional. The percentile of cosine dissimilarity that must be exceeded between
|
|
8856
8881
|
# a group of tokens and the next. The smaller this number is, the more chunks
|
|
8857
|
-
# will be generated.
|
|
8882
|
+
# will be generated. **Note:** This field is not yet used.
|
|
8858
8883
|
# Corresponds to the JSON property `breakpointPercentileThreshold`
|
|
8859
8884
|
# @return [Fixnum]
|
|
8860
8885
|
attr_accessor :breakpoint_percentile_threshold
|
|
@@ -8871,7 +8896,7 @@ module Google
|
|
|
8871
8896
|
alias_method :include_ancestor_headings?, :include_ancestor_headings
|
|
8872
8897
|
|
|
8873
8898
|
# Optional. The number of tokens to group together when evaluating semantic
|
|
8874
|
-
# similarity.
|
|
8899
|
+
# similarity. **Note:** This field is not yet used.
|
|
8875
8900
|
# Corresponds to the JSON property `semanticChunkingGroupSize`
|
|
8876
8901
|
# @return [Boolean]
|
|
8877
8902
|
attr_accessor :semantic_chunking_group_size
|
|
@@ -9393,14 +9418,14 @@ module Google
|
|
|
9393
9418
|
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
|
|
9394
9419
|
include Google::Apis::Core::Hashable
|
|
9395
9420
|
|
|
9396
|
-
# Whether
|
|
9421
|
+
# Whether fine tuning is allowed for this base processor version.
|
|
9397
9422
|
# Corresponds to the JSON property `finetuningAllowed`
|
|
9398
9423
|
# @return [Boolean]
|
|
9399
9424
|
attr_accessor :finetuning_allowed
|
|
9400
9425
|
alias_method :finetuning_allowed?, :finetuning_allowed
|
|
9401
9426
|
|
|
9402
9427
|
# The minimum number of labeled documents in the training dataset required for
|
|
9403
|
-
#
|
|
9428
|
+
# fine tuning.
|
|
9404
9429
|
# Corresponds to the JSON property `minTrainLabeledDocuments`
|
|
9405
9430
|
# @return [Fixnum]
|
|
9406
9431
|
attr_accessor :min_train_labeled_documents
|
|
@@ -9724,7 +9749,7 @@ module Google
|
|
|
9724
9749
|
# @return [String]
|
|
9725
9750
|
attr_accessor :display_name
|
|
9726
9751
|
|
|
9727
|
-
# Optional. The
|
|
9752
|
+
# Optional. The ``gcp_name_short`` labels for the SchemaVersion.
|
|
9728
9753
|
# Corresponds to the JSON property `labels`
|
|
9729
9754
|
# @return [Hash<String,String>]
|
|
9730
9755
|
attr_accessor :labels
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.122.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 = "
|
|
25
|
+
REVISION = "20260203"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -862,12 +862,6 @@ module Google
|
|
|
862
862
|
include Google::Apis::Core::JsonObjectSupport
|
|
863
863
|
end
|
|
864
864
|
|
|
865
|
-
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
|
866
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
867
|
-
|
|
868
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
869
|
-
end
|
|
870
|
-
|
|
871
865
|
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
|
872
866
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
873
867
|
|
|
@@ -1420,6 +1414,12 @@ module Google
|
|
|
1420
1414
|
include Google::Apis::Core::JsonObjectSupport
|
|
1421
1415
|
end
|
|
1422
1416
|
|
|
1417
|
+
class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision
|
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1419
|
+
|
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
1423
|
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
|
1424
1424
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1425
1425
|
|
|
@@ -3258,8 +3258,6 @@ module Google
|
|
|
3258
3258
|
property :name, as: 'name'
|
|
3259
3259
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
3260
3260
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
3261
|
-
property :spanner_indexing_config, as: 'spannerIndexingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig::Representation
|
|
3262
|
-
|
|
3263
3261
|
property :state, as: 'state'
|
|
3264
3262
|
property :unmanaged_dataset_config, as: 'unmanagedDatasetConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig::Representation
|
|
3265
3263
|
|
|
@@ -3293,12 +3291,6 @@ module Google
|
|
|
3293
3291
|
end
|
|
3294
3292
|
end
|
|
3295
3293
|
|
|
3296
|
-
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
|
3297
|
-
# @private
|
|
3298
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3299
|
-
end
|
|
3300
|
-
end
|
|
3301
|
-
|
|
3302
3294
|
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
|
3303
3295
|
# @private
|
|
3304
3296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4281,6 +4273,8 @@ module Google
|
|
|
4281
4273
|
property :kms_key_name, as: 'kmsKeyName'
|
|
4282
4274
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
|
4283
4275
|
property :name, as: 'name'
|
|
4276
|
+
collection :revisions, as: 'revisions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision::Representation
|
|
4277
|
+
|
|
4284
4278
|
end
|
|
4285
4279
|
end
|
|
4286
4280
|
|
|
@@ -4303,6 +4297,19 @@ module Google
|
|
|
4303
4297
|
end
|
|
4304
4298
|
end
|
|
4305
4299
|
|
|
4300
|
+
class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision
|
|
4301
|
+
# @private
|
|
4302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4303
|
+
property :all_entities_metrics, as: 'allEntitiesMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics::Representation
|
|
4304
|
+
|
|
4305
|
+
property :document_counters, as: 'documentCounters', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationCounters::Representation
|
|
4306
|
+
|
|
4307
|
+
hash :entity_metrics, as: 'entityMetrics', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics::Representation
|
|
4308
|
+
|
|
4309
|
+
property :revision_id, as: 'revisionId'
|
|
4310
|
+
end
|
|
4311
|
+
end
|
|
4312
|
+
|
|
4306
4313
|
class GoogleCloudDocumentaiV1beta3EvaluationMetrics
|
|
4307
4314
|
# @private
|
|
4308
4315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -115,7 +115,11 @@ module Google
|
|
|
115
115
|
execute_or_queue_command(command, &block)
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
# Lists information about the supported locations for this service.
|
|
118
|
+
# Lists information about the supported locations for this service. This method
|
|
119
|
+
# can be called in two ways: * **List all public locations:** Use the path `GET /
|
|
120
|
+
# v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
|
|
121
|
+
# projects/`project_id`/locations`. This may include public locations as well as
|
|
122
|
+
# private or other locations specifically visible to the project.
|
|
119
123
|
# @param [String] name
|
|
120
124
|
# The resource that owns the locations collection, if applicable.
|
|
121
125
|
# @param [Array<String>, String] extra_location_types
|
|
@@ -1498,8 +1502,8 @@ module Google
|
|
|
1498
1502
|
# most `10` Schema will be returned. The maximum value is `20`. Values above `20`
|
|
1499
1503
|
# will be coerced to `20`.
|
|
1500
1504
|
# @param [String] page_token
|
|
1501
|
-
# Optional.
|
|
1502
|
-
#
|
|
1505
|
+
# Optional. Returns the schema groups sorted by creation time. The page token
|
|
1506
|
+
# will point to the next Schema.
|
|
1503
1507
|
# @param [String] fields
|
|
1504
1508
|
# Selector specifying which fields to include in a partial response.
|
|
1505
1509
|
# @param [String] quota_user
|
|
@@ -1536,7 +1540,7 @@ module Google
|
|
|
1536
1540
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3NextSchema] google_cloud_documentai_v1beta3_next_schema_object
|
|
1537
1541
|
# @param [String] update_mask
|
|
1538
1542
|
# Optional. The update mask to apply to the resource. **Note:** Only the
|
|
1539
|
-
# following fields can be updated: - display_name
|
|
1543
|
+
# following fields can be updated: - `display_name` - `labels`
|
|
1540
1544
|
# @param [String] fields
|
|
1541
1545
|
# Selector specifying which fields to include in a partial response.
|
|
1542
1546
|
# @param [String] quota_user
|
|
@@ -1707,8 +1711,8 @@ module Google
|
|
|
1707
1711
|
# most `10` SchemaVersion will be returned. The maximum value is `20`. Values
|
|
1708
1712
|
# above `20` will be coerced to `20`.
|
|
1709
1713
|
# @param [String] page_token
|
|
1710
|
-
# Optional.
|
|
1711
|
-
#
|
|
1714
|
+
# Optional. Returns the SchemaVersion sorted by creation time. The page token
|
|
1715
|
+
# will point to the next SchemaVersion.
|
|
1712
1716
|
# @param [String] fields
|
|
1713
1717
|
# Selector specifying which fields to include in a partial response.
|
|
1714
1718
|
# @param [String] quota_user
|
|
@@ -1745,7 +1749,7 @@ module Google
|
|
|
1745
1749
|
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaVersion] google_cloud_documentai_v1beta3_schema_version_object
|
|
1746
1750
|
# @param [String] update_mask
|
|
1747
1751
|
# Optional. The update mask to apply to the resource. **Note:** Only the
|
|
1748
|
-
# following fields can be updated: - display_name
|
|
1752
|
+
# following fields can be updated: - `display_name` - `labels`
|
|
1749
1753
|
# @param [String] fields
|
|
1750
1754
|
# Selector specifying which fields to include in a partial response.
|
|
1751
1755
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-documentai_v1beta3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.122.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_v1beta3/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.122.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|