google-apis-documentai_v1beta3 0.86.0 → 0.87.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61db9a78b0edf9426cbbfb7ca7fd990109c2ea29b2fbe5a8b90ad115e6b973b7
4
- data.tar.gz: 3448c584b29f1f07464d9cf87bbed981c4b463a3d0486760286bab351b28bf57
3
+ metadata.gz: 8b60852b3f7728a669b3a4b478a9c4fb99f0bf8ab3940c509e0e727915fcb0bb
4
+ data.tar.gz: 11996f484ca1feddc1a721c5e953e680190ea14f4c2c132e1ab1881adf189ecb
5
5
  SHA512:
6
- metadata.gz: 3dbd3bed246ad1fdd8a984f9f517972ca52e05e0dd7270fda91157316e90f2b6b013b1f20f60e91931843ff3f20f4b43a957a0b0d85ebb0d1ca61cf4857b68d3
7
- data.tar.gz: 84699b3be85bc112fbd9f67b6c57aae038b89ce5f7a5e5d7dcf9e7eab9687bba83e4b15a8b9defd20b95ceba971014acb7dc090dfe4652bb4af0eecc950c3994
6
+ metadata.gz: b4c19d6c8172299af0a07ca439f28b88353850270e9c7996c2c3fa08c22d43452420e39f8e7b6c723f8c50060458fa4c512a6cbdae9559b3ee0e35d6920c893d
7
+ data.tar.gz: 0c523ba6a5da6fd6807f2efb246f0446480109319ba16c44f54bdf6b3a2aa90bff9d3acdf0aff7a439d89da7d4cf10e04f3265a639dc833df16f547633801f7c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.87.0 (2023-12-03)
4
+
5
+ * Regenerated from discovery document revision 20231123
6
+
3
7
  ### v0.86.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231113
@@ -11266,6 +11266,11 @@ module Google
11266
11266
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
11267
11267
  attr_accessor :document_schema
11268
11268
 
11269
+ # Options to control foundation model tuning of the processor.
11270
+ # Corresponds to the JSON property `foundationModelTuningOptions`
11271
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions]
11272
+ attr_accessor :foundation_model_tuning_options
11273
+
11269
11274
  # The input data used to train a new ProcessorVersion.
11270
11275
  # Corresponds to the JSON property `inputData`
11271
11276
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData]
@@ -11288,6 +11293,7 @@ module Google
11288
11293
  @base_processor_version = args[:base_processor_version] if args.key?(:base_processor_version)
11289
11294
  @custom_document_extraction_options = args[:custom_document_extraction_options] if args.key?(:custom_document_extraction_options)
11290
11295
  @document_schema = args[:document_schema] if args.key?(:document_schema)
11296
+ @foundation_model_tuning_options = args[:foundation_model_tuning_options] if args.key?(:foundation_model_tuning_options)
11291
11297
  @input_data = args[:input_data] if args.key?(:input_data)
11292
11298
  @processor_version = args[:processor_version] if args.key?(:processor_version)
11293
11299
  end
@@ -11313,6 +11319,34 @@ module Google
11313
11319
  end
11314
11320
  end
11315
11321
 
11322
+ # Options to control foundation model tuning of the processor.
11323
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions
11324
+ include Google::Apis::Core::Hashable
11325
+
11326
+ # Optional. The multiplier to apply to the recommended learning rate. Valid
11327
+ # values are between [0.1, 10]. If not provided, recommended learning rate will
11328
+ # be used.
11329
+ # Corresponds to the JSON property `learningRateMultiplier`
11330
+ # @return [Float]
11331
+ attr_accessor :learning_rate_multiplier
11332
+
11333
+ # Optional. The number of steps to run for model tuning. Valid values are
11334
+ # between [1, 400]. If not provided, recommended steps will be used.
11335
+ # Corresponds to the JSON property `trainSteps`
11336
+ # @return [Fixnum]
11337
+ attr_accessor :train_steps
11338
+
11339
+ def initialize(**args)
11340
+ update!(**args)
11341
+ end
11342
+
11343
+ # Update properties of this object
11344
+ def update!(**args)
11345
+ @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
11346
+ @train_steps = args[:train_steps] if args.key?(:train_steps)
11347
+ end
11348
+ end
11349
+
11316
11350
  # The input data used to train a new ProcessorVersion.
11317
11351
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
11318
11352
  include Google::Apis::Core::Hashable
@@ -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.86.0"
19
+ GEM_VERSION = "0.87.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231113"
25
+ REVISION = "20231123"
26
26
  end
27
27
  end
28
28
  end
@@ -1960,6 +1960,12 @@ module Google
1960
1960
  include Google::Apis::Core::JsonObjectSupport
1961
1961
  end
1962
1962
 
1963
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions
1964
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1965
+
1966
+ include Google::Apis::Core::JsonObjectSupport
1967
+ end
1968
+
1963
1969
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
1964
1970
  class Representation < Google::Apis::Core::JsonRepresentation; end
1965
1971
 
@@ -5405,6 +5411,8 @@ module Google
5405
5411
 
5406
5412
  property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
5407
5413
 
5414
+ property :foundation_model_tuning_options, as: 'foundationModelTuningOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions::Representation
5415
+
5408
5416
  property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData::Representation
5409
5417
 
5410
5418
  property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion::Representation
@@ -5419,6 +5427,14 @@ module Google
5419
5427
  end
5420
5428
  end
5421
5429
 
5430
+ class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions
5431
+ # @private
5432
+ class Representation < Google::Apis::Core::JsonRepresentation
5433
+ property :learning_rate_multiplier, as: 'learningRateMultiplier'
5434
+ property :train_steps, as: 'trainSteps'
5435
+ end
5436
+ end
5437
+
5422
5438
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
5423
5439
  # @private
5424
5440
  class Representation < Google::Apis::Core::JsonRepresentation
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.86.0
4
+ version: 0.87.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-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-03 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.86.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.87.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: []