Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec

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

Related questions specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestRelatedQuestionsSpec.



4768
4769
4770
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4768

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

Instance Attribute Details

#enableBoolean Also known as: enable?

Enable related questions feature if true. Corresponds to the JSON property enable

Returns:

  • (Boolean)


4765
4766
4767
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4765

def enable
  @enable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4773
4774
4775
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4773

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