Gemini Enterprise for Customer Experience v1 API - Class DeleteToolRequest (1.0.0-beta01)

public sealed class DeleteToolRequest : IMessage<DeleteToolRequest>, IEquatable<DeleteToolRequest>, IDeepCloneable<DeleteToolRequest>, IBufferMessage, IMessage

Reference 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].

Inheritance

object > DeleteToolRequest

Namespace

Google.Cloud.Ces.V1

Assembly

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; }

ToolName-typed view over the Name resource name property.

Property Value
Type Description
ToolName