google-apis-documentai_v1 0.81.0 → 0.83.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2824a00b706e3b185f0a492c45c9bb766dc70a1c12a2f176995ab1da0a2bd652
|
4
|
+
data.tar.gz: 6f23b37021e1f037290e73854ade387160de6ffef1d846d80c8b91b30b971c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247a02609e8918e0df051bc1e86d2e8998bd2d69fd88a2cca0d30287b02ac6b522681026e3c5f5de5948b2542f94109c64c1428d6a186ff43a7954f832c04a71
|
7
|
+
data.tar.gz: e63c8ca8bfffb2c12fc0ff79cb282da3e4b1c68bb817503674d738089af019bc79f1027547f1b6ff27a2e999ccf7dd9baf8b5c2c700e0406e362410d46d40be8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.83.0 (2024-03-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240307
|
6
|
+
|
7
|
+
### v0.82.0 (2024-03-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240223
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.81.0 (2024-02-23)
|
4
13
|
|
5
14
|
* Unspecified changes
|
@@ -3520,6 +3520,11 @@ module Google
|
|
3520
3520
|
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
|
3521
3521
|
include Google::Apis::Core::Hashable
|
3522
3522
|
|
3523
|
+
# User defined name for the property.
|
3524
|
+
# Corresponds to the JSON property `displayName`
|
3525
|
+
# @return [String]
|
3526
|
+
attr_accessor :display_name
|
3527
|
+
|
3523
3528
|
# The name of the property. Follows the same guidelines as the EntityType name.
|
3524
3529
|
# Corresponds to the JSON property `name`
|
3525
3530
|
# @return [String]
|
@@ -3543,6 +3548,7 @@ module Google
|
|
3543
3548
|
|
3544
3549
|
# Update properties of this object
|
3545
3550
|
def update!(**args)
|
3551
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3546
3552
|
@name = args[:name] if args.key?(:name)
|
3547
3553
|
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
3548
3554
|
@value_type = args[:value_type] if args.key?(:value_type)
|
@@ -4690,6 +4696,11 @@ module Google
|
|
4690
4696
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig]
|
4691
4697
|
attr_accessor :ocr_config
|
4692
4698
|
|
4699
|
+
# The schema defines the output of the processed document by a processor.
|
4700
|
+
# Corresponds to the JSON property `schemaOverride`
|
4701
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
4702
|
+
attr_accessor :schema_override
|
4703
|
+
|
4693
4704
|
def initialize(**args)
|
4694
4705
|
update!(**args)
|
4695
4706
|
end
|
@@ -4700,6 +4711,7 @@ module Google
|
|
4700
4711
|
@from_start = args[:from_start] if args.key?(:from_start)
|
4701
4712
|
@individual_page_selector = args[:individual_page_selector] if args.key?(:individual_page_selector)
|
4702
4713
|
@ocr_config = args[:ocr_config] if args.key?(:ocr_config)
|
4714
|
+
@schema_override = args[:schema_override] if args.key?(:schema_override)
|
4703
4715
|
end
|
4704
4716
|
end
|
4705
4717
|
|
@@ -5382,6 +5394,11 @@ module Google
|
|
5382
5394
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
5383
5395
|
attr_accessor :document_schema
|
5384
5396
|
|
5397
|
+
# Options to control foundation model tuning of the processor.
|
5398
|
+
# Corresponds to the JSON property `foundationModelTuningOptions`
|
5399
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions]
|
5400
|
+
attr_accessor :foundation_model_tuning_options
|
5401
|
+
|
5385
5402
|
# The input data used to train a new ProcessorVersion.
|
5386
5403
|
# Corresponds to the JSON property `inputData`
|
5387
5404
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData]
|
@@ -5404,6 +5421,7 @@ module Google
|
|
5404
5421
|
@base_processor_version = args[:base_processor_version] if args.key?(:base_processor_version)
|
5405
5422
|
@custom_document_extraction_options = args[:custom_document_extraction_options] if args.key?(:custom_document_extraction_options)
|
5406
5423
|
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
5424
|
+
@foundation_model_tuning_options = args[:foundation_model_tuning_options] if args.key?(:foundation_model_tuning_options)
|
5407
5425
|
@input_data = args[:input_data] if args.key?(:input_data)
|
5408
5426
|
@processor_version = args[:processor_version] if args.key?(:processor_version)
|
5409
5427
|
end
|
@@ -5429,6 +5447,34 @@ module Google
|
|
5429
5447
|
end
|
5430
5448
|
end
|
5431
5449
|
|
5450
|
+
# Options to control foundation model tuning of the processor.
|
5451
|
+
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
|
5452
|
+
include Google::Apis::Core::Hashable
|
5453
|
+
|
5454
|
+
# Optional. The multiplier to apply to the recommended learning rate. Valid
|
5455
|
+
# values are between 0.1 and 10. If not provided, recommended learning rate will
|
5456
|
+
# be used.
|
5457
|
+
# Corresponds to the JSON property `learningRateMultiplier`
|
5458
|
+
# @return [Float]
|
5459
|
+
attr_accessor :learning_rate_multiplier
|
5460
|
+
|
5461
|
+
# Optional. The number of steps to run for model tuning. Valid values are
|
5462
|
+
# between 1 and 400. If not provided, recommended steps will be used.
|
5463
|
+
# Corresponds to the JSON property `trainSteps`
|
5464
|
+
# @return [Fixnum]
|
5465
|
+
attr_accessor :train_steps
|
5466
|
+
|
5467
|
+
def initialize(**args)
|
5468
|
+
update!(**args)
|
5469
|
+
end
|
5470
|
+
|
5471
|
+
# Update properties of this object
|
5472
|
+
def update!(**args)
|
5473
|
+
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
5474
|
+
@train_steps = args[:train_steps] if args.key?(:train_steps)
|
5475
|
+
end
|
5476
|
+
end
|
5477
|
+
|
5432
5478
|
# The input data used to train a new ProcessorVersion.
|
5433
5479
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
|
5434
5480
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.83.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1012,6 +1012,12 @@ module Google
|
|
1012
1012
|
include Google::Apis::Core::JsonObjectSupport
|
1013
1013
|
end
|
1014
1014
|
|
1015
|
+
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
|
+
|
1018
|
+
include Google::Apis::Core::JsonObjectSupport
|
1019
|
+
end
|
1020
|
+
|
1015
1021
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
|
1016
1022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
1023
|
|
@@ -3077,6 +3083,7 @@ module Google
|
|
3077
3083
|
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
|
3078
3084
|
# @private
|
3079
3085
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3086
|
+
property :display_name, as: 'displayName'
|
3080
3087
|
property :name, as: 'name'
|
3081
3088
|
property :occurrence_type, as: 'occurrenceType'
|
3082
3089
|
property :value_type, as: 'valueType'
|
@@ -3403,6 +3410,8 @@ module Google
|
|
3403
3410
|
|
3404
3411
|
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig::Representation
|
3405
3412
|
|
3413
|
+
property :schema_override, as: 'schemaOverride', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
|
3414
|
+
|
3406
3415
|
end
|
3407
3416
|
end
|
3408
3417
|
|
@@ -3605,6 +3614,8 @@ module Google
|
|
3605
3614
|
|
3606
3615
|
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
|
3607
3616
|
|
3617
|
+
property :foundation_model_tuning_options, as: 'foundationModelTuningOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions::Representation
|
3618
|
+
|
3608
3619
|
property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData::Representation
|
3609
3620
|
|
3610
3621
|
property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersion, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersion::Representation
|
@@ -3619,6 +3630,14 @@ module Google
|
|
3619
3630
|
end
|
3620
3631
|
end
|
3621
3632
|
|
3633
|
+
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions
|
3634
|
+
# @private
|
3635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3636
|
+
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
3637
|
+
property :train_steps, as: 'trainSteps'
|
3638
|
+
end
|
3639
|
+
end
|
3640
|
+
|
3622
3641
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
|
3623
3642
|
# @private
|
3624
3643
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.83.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: 2024-
|
11
|
+
date: 2024-03-17 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.83.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|