Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec

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

Query Rephraser Model specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.



19837
19838
19839
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19837

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

Instance Attribute Details

#model_typeString

Optional. Enabled query rephraser model type. If not set, it will use LARGE by default. Corresponds to the JSON property modelType

Returns:

  • (String)


19835
19836
19837
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19835

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19842
19843
19844
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19842

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