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

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class DeleteAgentRequest.

Request message for [AgentService.DeleteAgent][google.cloud.ces.v1.AgentService.DeleteAgent].

Inheritance

object > DeleteAgentRequest

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

DeleteAgentRequest()

public DeleteAgentRequest()

DeleteAgentRequest(DeleteAgentRequest)

public DeleteAgentRequest(DeleteAgentRequest other)
Parameter
Name Description
other DeleteAgentRequest

Properties

AgentName

public AgentName AgentName { get; set; }

AgentName-typed view over the Name resource name property.

Property Value
Type Description
AgentName

Etag

public string Etag { get; set; }

Optional. The current etag of the agent. 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 agent, 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 agent, even if it is still referenced by other app/agents/examples.

  • If force = false, the deletion fails if other agents/examples reference it.
  • If force = true, delete the agent and remove it from all referencing apps/agents/examples.
Property Value
Type Description
bool

Name

public string Name { get; set; }

Required. The resource name of the agent to delete.

Property Value
Type Description
string