Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
The parameters for the schema generation.
Instance Attribute Summary collapse
-
#history ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaGenerationHistory
The history of schema generation iterations.
-
#prompt ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams
constructor
A new instance of GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams
Returns a new instance of GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams.
7907 7908 7909 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7907 def initialize(**args) update!(**args) end |
Instance Attribute Details
#history ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaGenerationHistory
The history of schema generation iterations.
Corresponds to the JSON property history
7900 7901 7902 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7900 def history @history end |
#prompt ⇒ String
Optional. The prompt used for the schema generation.
Corresponds to the JSON property prompt
7905 7906 7907 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7905 def prompt @prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7912 7913 7914 7915 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7912 def update!(**args) @history = args[:history] if args.key?(:history) @prompt = args[:prompt] if args.key?(:prompt) end |