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.



33806
33807
33808
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33806

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



33789
33790
33791
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33789

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



33794
33795
33796
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33794

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



33799
33800
33801
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33799

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



33804
33805
33806
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33804

def web_grounding_spec
  @web_grounding_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33811
33812
33813
33814
33815
33816
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33811

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