Google Cloud Dialogflow v2beta1 API - Class CreateContextRequest (1.0.0-beta20)

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

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

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

Inheritance

object > CreateContextRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

CreateContextRequest()

public CreateContextRequest()

CreateContextRequest(CreateContextRequest)

public CreateContextRequest(CreateContextRequest other)
Parameter
Name Description
other CreateContextRequest

Properties

Context

public Context Context { get; set; }

Required. The context to create.

Property Value
Type Description
Context

Parent

public string Parent { get; set; }

Required. The session to create a context for. Supported formats:

  • `projects/<Project ID>/agent/sessions/<Session ID>,
  • projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>,
  • projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>,
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session 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

ParentAsSessionName

public SessionName ParentAsSessionName { get; set; }

SessionName-typed view over the Parent resource name property.

Property Value
Type Description
SessionName