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.



733
734
735
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 733

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)


730
731
732
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 730

def disable
  @disable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



738
739
740
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 738

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