Google Cloud Dialogflow v2beta1 API - Class DeleteContextRequest (1.0.0-beta21)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class DeleteContextRequest.

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

Inheritance

object > DeleteContextRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

DeleteContextRequest()

public DeleteContextRequest()

DeleteContextRequest(DeleteContextRequest)

public DeleteContextRequest(DeleteContextRequest other)
Parameter
Name Description
other DeleteContextRequest

Properties

ContextName

public ContextName ContextName { get; set; }

ContextName-typed view over the Name resource name property.

Property Value
Type Description
ContextName

Name

public string Name { get; set; }

Required. The name of the context to delete. Supported formats:

  • projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>,
  • projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/contexts/<Context ID>,
  • projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,

If Location ID is not specified we assume default 'us' location. If Environment ID is not specified, we assume default 'draft' environment. If User ID is not specified, we assume default '-' user.

Property Value
Type Description
string