Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec

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

Query rephraser specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec

Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec.



649
650
651
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 649

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

Instance Attribute Details

#disableBoolean Also known as: disable?

Disable query rephraser. Corresponds to the JSON property disable

Returns:

  • (Boolean)


646
647
648
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 646

def disable
  @disable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



654
655
656
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 654

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