Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec
- 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::GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierSpec
The specification for user defined classifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerGenerationSpec.
18360 18361 18362 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_defined_classifier_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerGenerationSpecUserDefinedClassifierSpec
The specification for user defined classifier.
Corresponds to the JSON property userDefinedClassifierSpec
18358 18359 18360 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18358 def user_defined_classifier_spec @user_defined_classifier_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18365 18366 18367 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18365 def update!(**args) @user_defined_classifier_spec = args[:user_defined_classifier_spec] if args.key?(:user_defined_classifier_spec) end |