Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec

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) ⇒ 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_sourceString

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

Returns:

  • (String)


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