Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec
- 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
Related questions specification.
Instance Attribute Summary collapse
-
#enable ⇒ Boolean
(also: #enable?)
Enable related questions feature if true.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec.
3073 3074 3075 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3073 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable ⇒ Boolean Also known as: enable?
Enable related questions feature if true.
Corresponds to the JSON property enable
3070 3071 3072 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3070 def enable @enable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3078 3079 3080 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3078 def update!(**args) @enable = args[:enable] if args.key?(:enable) end |