Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
- 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) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec.
30318 30319 30320 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30318 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
30316 30317 30318 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30316 def image_source @image_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30323 30324 30325 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30323 def update!(**args) @image_source = args[:image_source] if args.key?(:image_source) end |