Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec

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

Specification of tools that are used to serve the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec.



33937
33938
33939
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33937

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

Instance Attribute Details

#image_generation_specGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec

Specification of the image generation tool. Corresponds to the JSON property imageGenerationSpec



33920
33921
33922
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33920

def image_generation_spec
  @image_generation_spec
end

#vertex_ai_search_specGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec

Specification of the Vertex AI Search tool. Corresponds to the JSON property vertexAiSearchSpec



33925
33926
33927
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33925

def vertex_ai_search_spec
  @vertex_ai_search_spec
end

#video_generation_specGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec

Specification of the video generation tool. Corresponds to the JSON property videoGenerationSpec



33930
33931
33932
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33930

def video_generation_spec
  @video_generation_spec
end

#web_grounding_specGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec

Specification of the web grounding tool. Corresponds to the JSON property webGroundingSpec



33935
33936
33937
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33935

def web_grounding_spec
  @web_grounding_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33942
33943
33944
33945
33946
33947
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33942

def update!(**args)
  @image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
  @vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
  @video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
  @web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
end