Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Related questions specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec

Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec.



1231
1232
1233
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1231

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)


1228
1229
1230
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1228

def enable
  @enable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1236
1237
1238
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1236

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