Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
- 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
-
#image_generation_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
Specification of the image generation tool.
-
#vertex_ai_search_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
Specification of the Vertex AI Search tool.
-
#video_generation_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
Specification of the video generation tool.
-
#web_grounding_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
Specification of the web grounding tool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec.
33918 33919 33920 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_generation_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
Specification of the image generation tool.
Corresponds to the JSON property imageGenerationSpec
33901 33902 33903 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33901 def image_generation_spec @image_generation_spec end |
#vertex_ai_search_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
Specification of the Vertex AI Search tool.
Corresponds to the JSON property vertexAiSearchSpec
33906 33907 33908 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33906 def vertex_ai_search_spec @vertex_ai_search_spec end |
#video_generation_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
Specification of the video generation tool.
Corresponds to the JSON property videoGenerationSpec
33911 33912 33913 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33911 def video_generation_spec @video_generation_spec end |
#web_grounding_spec ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
Specification of the web grounding tool.
Corresponds to the JSON property webGroundingSpec
33916 33917 33918 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33916 def web_grounding_spec @web_grounding_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33923 33924 33925 33926 33927 33928 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33923 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 |