Google Cloud Dialogflow v2 API - Class CreateContextRequest (4.2.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class CreateContextRequest : IMessage<CreateContextRequest>, IEquatable<CreateContextRequest>, IDeepCloneable<CreateContextRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class CreateContextRequest.

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

Inheritance

Object > CreateContextRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

CreateContextRequest()

public CreateContextRequest()

CreateContextRequest(CreateContextRequest)

public CreateContextRequest(CreateContextRequest other)
Parameter
NameDescription
otherCreateContextRequest

Properties

Context

public Context Context { get; set; }

Required. The context to create.

Property Value
TypeDescription
Context

Parent

public string Parent { get; set; }

Required. The session to create a context for. Format: projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session 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

ParentAsSessionName

public SessionName ParentAsSessionName { get; set; }

SessionName-typed view over the Parent resource name property.

Property Value
TypeDescription
SessionName