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.



33741
33742
33743
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33741

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



33724
33725
33726
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33724

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



33729
33730
33731
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33729

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



33734
33735
33736
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33734

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



33739
33740
33741
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33739

def web_grounding_spec
  @web_grounding_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33746
33747
33748
33749
33750
33751
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33746

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