Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
- 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
-
#version ⇒ String
The model version used to generate the summary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec.
18507 18508 18509 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version ⇒ String
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
18505 18506 18507 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18505 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18512 18513 18514 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18512 def update!(**args) @version = args[:version] if args.key?(:version) end |