public sealed class BAPConfig.Types.ToolspecOverride : IMessage<BAPConfig.Types.ToolspecOverride>, IEquatable<BAPConfig.Types.ToolspecOverride>, IDeepCloneable<BAPConfig.Types.ToolspecOverride>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class BAPConfig.Types.ToolspecOverride.
Customer-facing view of the admin-curated toolspec for a BAP connection. Holds the (simplified) per-tool definitions surfaced to and editable by the admin in the Discovery Engine UI.
Mirrors the shape of the backend
google.cloud.connectorexecution.v1.ToolspecOverride message, but
is intentionally kept as a separate public type so the Discovery
Engine API surface can evolve independently of the fed-API surface
(AIP-215). Handlers convert between the two via helpers in
//cloud/ml/discoveryengine/external_service/v1main/data_connector_service/lib:bap_custom_tool_util.
Implements
IMessageBAPConfigTypesToolspecOverride, IEquatableBAPConfigTypesToolspecOverride, IDeepCloneableBAPConfigTypesToolspecOverride, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
ToolspecOverride()
public ToolspecOverride()ToolspecOverride(ToolspecOverride)
public ToolspecOverride(BAPConfig.Types.ToolspecOverride other)| Parameter | |
|---|---|
| Name | Description |
other |
BAPConfigTypesToolspecOverride |
Properties
BaseVersion
public string BaseVersion { get; set; }Required. Base toolspec version against which tools were authored. On
Update, MUST match the server's current stable toolspec version
for the connection; mismatch is rejected with a user-facing error
directing the admin to re-download the latest tools first.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Tools
public RepeatedField<Struct> Tools { get; }Required. Tool definitions (one Struct per tool) that the admin has customised on top of the base toolspec returned by the fed API. REQUIRED because it is the only user-editable field in the modify API; the request must carry at least one tool.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldStruct |
|