Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Answer Generation Model specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec.



2843
2844
2845
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2843

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#model_versionString

Model version. If not set, it will use the default stable model. Allowed values are: stable, preview. Corresponds to the JSON property modelVersion

Returns:

  • (String)


2841
2842
2843
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2841

def model_version
  @model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2848
2849
2850
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2848

def update!(**args)
  @model_version = args[:model_version] if args.key?(:model_version)
end