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.



33782
33783
33784
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33782

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



33765
33766
33767
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33765

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



33770
33771
33772
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33770

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



33775
33776
33777
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33775

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



33780
33781
33782
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33780

def web_grounding_spec
  @web_grounding_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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