Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec

Inherits:
Object
  • Object
show all
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

Related questions specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec.



11593
11594
11595
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11593

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)


11590
11591
11592
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11590

def enable
  @enable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11598
11599
11600
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11598

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