google-apis-documentai_v1beta3 0.85.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: b955952a341d0ecb754a3083f93b9ca3178075043eb8eb7c64ffaebc96b5371a
4
- data.tar.gz: 6e5b378d5f3129e355f7a9448284597d8738e8353d5e0d14a1ebee65af2989b3
3
+ metadata.gz: 8b60852b3f7728a669b3a4b478a9c4fb99f0bf8ab3940c509e0e727915fcb0bb
4
+ data.tar.gz: 11996f484ca1feddc1a721c5e953e680190ea14f4c2c132e1ab1881adf189ecb
5
5
  SHA512:
6
- metadata.gz: 7cd75ed09cc20dc7a50d3a9b8d0054ef6ecafbdb4d6c7d4a58cb57fdc911e9030c9d2dd8d20da339a28051acf50bb325f0b3ec85492ee13ba096cc8b48271b0c
7
- data.tar.gz: e2792a5a5c8d37084d6f26121986bc428283599f0da718bb419275a20647725e08654ae7f1cd6798e0808284013219191976830ef0dce4c73ab69317aca4cf36
6
+ metadata.gz: b4c19d6c8172299af0a07ca439f28b88353850270e9c7996c2c3fa08c22d43452420e39f8e7b6c723f8c50060458fa4c512a6cbdae9559b3ee0e35d6920c893d
7
+ data.tar.gz: 0c523ba6a5da6fd6807f2efb246f0446480109319ba16c44f54bdf6b3a2aa90bff9d3acdf0aff7a439d89da7d4cf10e04f3265a639dc833df16f547633801f7c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.86.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231113
10
+
3
11
  ### v0.85.0 (2023-11-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20231026
@@ -62,12 +62,6 @@ module Google
62
62
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId]
63
63
  attr_accessor :document_id
64
64
 
65
- # The gcs_uri of the auto-labeling document, which uniquely identifies a dataset
66
- # document.
67
- # Corresponds to the JSON property `gcsUri`
68
- # @return [String]
69
- attr_accessor :gcs_uri
70
-
71
65
  # The `Status` type defines a logical error model that is suitable for different
72
66
  # programming environments, including REST APIs and RPC APIs. It is used by [
73
67
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -85,7 +79,6 @@ module Google
85
79
  # Update properties of this object
86
80
  def update!(**args)
87
81
  @document_id = args[:document_id] if args.key?(:document_id)
88
- @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
89
82
  @status = args[:status] if args.key?(:status)
90
83
  end
91
84
  end
@@ -11273,6 +11266,11 @@ module Google
11273
11266
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
11274
11267
  attr_accessor :document_schema
11275
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
+
11276
11274
  # The input data used to train a new ProcessorVersion.
11277
11275
  # Corresponds to the JSON property `inputData`
11278
11276
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData]
@@ -11295,6 +11293,7 @@ module Google
11295
11293
  @base_processor_version = args[:base_processor_version] if args.key?(:base_processor_version)
11296
11294
  @custom_document_extraction_options = args[:custom_document_extraction_options] if args.key?(:custom_document_extraction_options)
11297
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)
11298
11297
  @input_data = args[:input_data] if args.key?(:input_data)
11299
11298
  @processor_version = args[:processor_version] if args.key?(:processor_version)
11300
11299
  end
@@ -11320,6 +11319,34 @@ module Google
11320
11319
  end
11321
11320
  end
11322
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
+
11323
11350
  # The input data used to train a new ProcessorVersion.
11324
11351
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
11325
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.85.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 = "20231026"
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
 
@@ -2090,7 +2096,6 @@ module Google
2090
2096
  class Representation < Google::Apis::Core::JsonRepresentation
2091
2097
  property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
2092
2098
 
2093
- property :gcs_uri, as: 'gcsUri'
2094
2099
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
2095
2100
 
2096
2101
  end
@@ -5406,6 +5411,8 @@ module Google
5406
5411
 
5407
5412
  property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
5408
5413
 
5414
+ property :foundation_model_tuning_options, as: 'foundationModelTuningOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions::Representation
5415
+
5409
5416
  property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData::Representation
5410
5417
 
5411
5418
  property :processor_version, as: 'processorVersion', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersion::Representation
@@ -5420,6 +5427,14 @@ module Google
5420
5427
  end
5421
5428
  end
5422
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
+
5423
5438
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
5424
5439
  # @private
5425
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.85.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-05 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.85.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: []