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.
7874 7875 7876 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7874 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
7867 7868 7869 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7867 def history @history end |
#prompt ⇒ String
Optional. The prompt used for the schema generation.
Corresponds to the JSON property prompt
7872 7873 7874 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7872 def prompt @prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7879 7880 7881 7882 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7879 def update!(**args) @history = args[:history] if args.key?(:history) @prompt = args[:prompt] if args.key?(:prompt) end |