Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Answer Generation Model specification.
Instance Attribute Summary collapse
-
#model_version ⇒ String
Model version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec.
1099 1100 1101 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_version ⇒ String
Model version. If not set, it will use the default stable model. Allowed
values are: stable, preview.
Corresponds to the JSON property modelVersion
1097 1098 1099 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1097 def model_version @model_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1104 1105 1106 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1104 def update!(**args) @model_version = args[:model_version] if args.key?(:model_version) end |