Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AnswerGenerationSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AnswerGenerationSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
The specification for answer generation.
Instance Attribute Summary collapse
-
#user_defined_classifier_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec
The specification for user defined classifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerGenerationSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerGenerationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerGenerationSpec
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerGenerationSpec.
999 1000 1001 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_defined_classifier_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec
The specification for user defined classifier.
Corresponds to the JSON property userDefinedClassifierSpec
997 998 999 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 997 def user_defined_classifier_spec @user_defined_classifier_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1004 1005 1006 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1004 def update!(**args) @user_defined_classifier_spec = args[:user_defined_classifier_spec] if args.key?(:user_defined_classifier_spec) end |