google-apis-documentai_v1 0.67.0 → 0.68.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: 5455449f01f9d866dd32137255115cf4489a9751cb6c8863992d5f3c525d2926
4
- data.tar.gz: a53f5675060d8801b6b7a2ea33d9752883a1b50a50ac710d9929190e31f6f3f5
3
+ metadata.gz: 7552c94efe3e692cf32144aa0630cbc1f5c947b20e8b785c4aaebd408404ee8a
4
+ data.tar.gz: d8c395ee20a009a0eed46481a6d155a032cfa5e3fd75ba752cfa28b3bd1d4927
5
5
  SHA512:
6
- metadata.gz: be9277dcb23cdcd52cee80ef63436dd3b6e59e7040ede830661db4b7783105f2c177c37cc845c614660f1a5311cde137042db84867d935de4009fbb21ffb0992
7
- data.tar.gz: c0b4b049fa3d3684630f15485d56d050c5eaf74beeda82c10ed046263c5360607f9e75edfa1034707adc3287c9f9f38b956cd63f2d5230b57d3d110f3c3767c4
6
+ metadata.gz: 4a156e5df4624f14df2e2825986a58b157306ce9c1f6527ca897a64127edd6e44d8e6fee54de29b2c1dc3a8ea61e27fc77ab85e04c28e791e4affea294d6f65e
7
+ data.tar.gz: 54ae25281dd53219bb45036fa5ba03c85e61c245d199dd51e9d18c13244c89a1a757378f997be5f51d9223cbc42c6523570ec002a94d0dab9603f42d33b1adf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.68.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230619
6
+
3
7
  ### v0.67.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230609
@@ -5002,6 +5002,12 @@ module Google
5002
5002
  # @return [String]
5003
5003
  attr_accessor :base_processor_version
5004
5004
 
5005
+ # Options to control the training of the Custom Document Extraction (CDE)
5006
+ # Processor.
5007
+ # Corresponds to the JSON property `customDocumentExtractionOptions`
5008
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions]
5009
+ attr_accessor :custom_document_extraction_options
5010
+
5005
5011
  # The schema defines the output of the processed document by a processor.
5006
5012
  # Corresponds to the JSON property `documentSchema`
5007
5013
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
@@ -5027,12 +5033,33 @@ module Google
5027
5033
  # Update properties of this object
5028
5034
  def update!(**args)
5029
5035
  @base_processor_version = args[:base_processor_version] if args.key?(:base_processor_version)
5036
+ @custom_document_extraction_options = args[:custom_document_extraction_options] if args.key?(:custom_document_extraction_options)
5030
5037
  @document_schema = args[:document_schema] if args.key?(:document_schema)
5031
5038
  @input_data = args[:input_data] if args.key?(:input_data)
5032
5039
  @processor_version = args[:processor_version] if args.key?(:processor_version)
5033
5040
  end
5034
5041
  end
5035
5042
 
5043
+ # Options to control the training of the Custom Document Extraction (CDE)
5044
+ # Processor.
5045
+ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
5046
+ include Google::Apis::Core::Hashable
5047
+
5048
+ # Training method to use for CDE training.
5049
+ # Corresponds to the JSON property `trainingMethod`
5050
+ # @return [String]
5051
+ attr_accessor :training_method
5052
+
5053
+ def initialize(**args)
5054
+ update!(**args)
5055
+ end
5056
+
5057
+ # Update properties of this object
5058
+ def update!(**args)
5059
+ @training_method = args[:training_method] if args.key?(:training_method)
5060
+ end
5061
+ end
5062
+
5036
5063
  # The input data used to train a new ProcessorVersion.
5037
5064
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
5038
5065
  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.67.0"
19
+ GEM_VERSION = "0.68.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 = "20230609"
25
+ REVISION = "20230619"
26
26
  end
27
27
  end
28
28
  end
@@ -952,6 +952,12 @@ module Google
952
952
  include Google::Apis::Core::JsonObjectSupport
953
953
  end
954
954
 
955
+ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
955
961
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
956
962
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
963
 
@@ -3329,6 +3335,8 @@ module Google
3329
3335
  # @private
3330
3336
  class Representation < Google::Apis::Core::JsonRepresentation
3331
3337
  property :base_processor_version, as: 'baseProcessorVersion'
3338
+ property :custom_document_extraction_options, as: 'customDocumentExtractionOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions::Representation
3339
+
3332
3340
  property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
3333
3341
 
3334
3342
  property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData::Representation
@@ -3338,6 +3346,13 @@ module Google
3338
3346
  end
3339
3347
  end
3340
3348
 
3349
+ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
3350
+ # @private
3351
+ class Representation < Google::Apis::Core::JsonRepresentation
3352
+ property :training_method, as: 'trainingMethod'
3353
+ end
3354
+ end
3355
+
3341
3356
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
3342
3357
  # @private
3343
3358
  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.67.0
4
+ version: 0.68.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.68.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: []