Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec

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

Specification of the model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec

Returns a new instance of GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec.



6510
6511
6512
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6510

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

Instance Attribute Details

#versionString

The model version used to generate the summary. Supported values are: * stable: string. Default value when no value is specified. Uses a generally available, fine-tuned model. For more information, see Answer generation model versions and lifecycle. * preview: string. (Public preview) Uses a preview model. For more information, see Answer generation model versions and lifecycle. Corresponds to the JSON property version

Returns:

  • (String)


6508
6509
6510
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6508

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6515
6516
6517
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 6515

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