Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec.



16015
16016
16017
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16015

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

Instance Attribute Details

#image_sourceString

Optional. Source of image returned in the answer. Corresponds to the JSON property imageSource

Returns:

  • (String)


16013
16014
16015
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16013

def image_source
  @image_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16020
16021
16022
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16020

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