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.
19570 19571 19572 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19570 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
19568 19569 19570 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19568 def image_source @image_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19575 19576 19577 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19575 def update!(**args) @image_source = args[:image_source] if args.key?(:image_source) end |