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.
6506 6507 6508 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6506 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
6499 6500 6501 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6499 def history @history end |
#prompt ⇒ String
Optional. The prompt used for the schema generation.
Corresponds to the JSON property prompt
6504 6505 6506 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6504 def prompt @prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6511 6512 6513 6514 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6511 def update!(**args) @history = args[:history] if args.key?(:history) @prompt = args[:prompt] if args.key?(:prompt) end |