Discovery Engine v1 API - Class StreamAssistRequest.Types.ToolsSpec (1.9.0)

public sealed class StreamAssistRequest.Types.ToolsSpec : IMessage<StreamAssistRequest.Types.ToolsSpec>, IEquatable<StreamAssistRequest.Types.ToolsSpec>, IDeepCloneable<StreamAssistRequest.Types.ToolsSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class StreamAssistRequest.Types.ToolsSpec.

Specification of tools that are used to serve the request.

Inheritance

object > StreamAssistRequest.Types.ToolsSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ToolsSpec()

public ToolsSpec()

ToolsSpec(ToolsSpec)

public ToolsSpec(StreamAssistRequest.Types.ToolsSpec other)
Parameter
Name Description
other StreamAssistRequestTypesToolsSpec

Properties

ImageGenerationSpec

public StreamAssistRequest.Types.ToolsSpec.Types.ImageGenerationSpec ImageGenerationSpec { get; set; }

Optional. Specification of the image generation tool.

Property Value
Type Description
StreamAssistRequestTypesToolsSpecTypesImageGenerationSpec

VertexAiSearchSpec

public StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec VertexAiSearchSpec { get; set; }

Optional. Specification of the Vertex AI Search tool.

Property Value
Type Description
StreamAssistRequestTypesToolsSpecTypesVertexAiSearchSpec

VideoGenerationSpec

public StreamAssistRequest.Types.ToolsSpec.Types.VideoGenerationSpec VideoGenerationSpec { get; set; }

Optional. Specification of the video generation tool.

Property Value
Type Description
StreamAssistRequestTypesToolsSpecTypesVideoGenerationSpec

WebGroundingSpec

public StreamAssistRequest.Types.ToolsSpec.Types.WebGroundingSpec WebGroundingSpec { get; set; }

Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type] is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].

Property Value
Type Description
StreamAssistRequestTypesToolsSpecTypesWebGroundingSpec