Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
The parameters for the schema generation.
Instance Attribute Summary collapse
-
#history ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaGenerationHistory
The history of schema generation iterations.
-
#prompt ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams
constructor
A new instance of GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams
Returns a new instance of GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams.
6789 6790 6791 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6789 def initialize(**args) update!(**args) end |
Instance Attribute Details
#history ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaGenerationHistory
The history of schema generation iterations.
Corresponds to the JSON property history
6782 6783 6784 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6782 def history @history end |
#prompt ⇒ String
Optional. The prompt used for the schema generation.
Corresponds to the JSON property prompt
6787 6788 6789 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6787 def prompt @prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6794 6795 6796 6797 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6794 def update!(**args) @history = args[:history] if args.key?(:history) @prompt = args[:prompt] if args.key?(:prompt) end |