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.



32789
32790
32791
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32789

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



32772
32773
32774
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32772

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



32777
32778
32779
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32777

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



32782
32783
32784
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32782

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



32787
32788
32789
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32787

def web_grounding_spec
  @web_grounding_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32794
32795
32796
32797
32798
32799
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32794

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