Google Cloud Dialogflow v2 API - Class GetContextRequest (4.12.0)

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

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

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

Inheritance

object > GetContextRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

GetContextRequest()

public GetContextRequest()

GetContextRequest(GetContextRequest)

public GetContextRequest(GetContextRequest other)
Parameter
NameDescription
otherGetContextRequest

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. Format: projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<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