public sealed class DeleteToolRequest : IMessage<DeleteToolRequest>, IEquatable<DeleteToolRequest>, IDeepCloneable<DeleteToolRequest>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class DeleteToolRequest.
Request message for [AgentService.DeleteTool][google.cloud.ces.v1.AgentService.DeleteTool].
Implements
IMessageDeleteToolRequest, IEquatableDeleteToolRequest, IDeepCloneableDeleteToolRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
DeleteToolRequest()
public DeleteToolRequest()DeleteToolRequest(DeleteToolRequest)
public DeleteToolRequest(DeleteToolRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteToolRequest |
Properties
Etag
public string Etag { get; set; }Optional. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Force
public bool Force { get; set; }Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples.
- If
force = false, the deletion will fail if any agents still reference the tool. - If
force = true, all existing references from agents will be removed and the tool will be deleted.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. The resource name of the tool to delete.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolName
public ToolName ToolName { get; set; }| Property Value | |
|---|---|
| Type | Description |
ToolName |
|