Class DeleteContextRequest (3.5.0)

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

The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2.Contexts.DeleteContext].

Inheritance

Object > DeleteContextRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

DeleteContextRequest()

public DeleteContextRequest()

DeleteContextRequest(DeleteContextRequest)

public DeleteContextRequest(DeleteContextRequest other)
Parameter
NameDescription
otherDeleteContextRequest

Properties

ContextName

public ContextName ContextName { get; set; }

ContextName-typed view over the Name resource name property.

Property Value
TypeDescription
ContextName

Name

public string Name { get; set; }

Required. The name of the context to delete. Format: projects/{Project ID}/agent/sessions/{Session ID}/contexts/{Context ID} or projects/{Project ID}/agent/environments/{Environment ID}/users/{User ID>/sessions/&lt;Session ID>/contexts/&lt;Context ID>. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

Property Value
TypeDescription
String