Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
- 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
Multimodal specification: Will return an image from specified source. If multiple sources are specified, the pick is a quality based decision.
Instance Attribute Summary collapse
-
#image_source ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec.
18721 18722 18723 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_source ⇒ String
Optional. Source of image returned in the answer.
Corresponds to the JSON property imageSource
18719 18720 18721 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18719 def image_source @image_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18726 18727 18728 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18726 def update!(**args) @image_source = args[:image_source] if args.key?(:image_source) end |