Class GetContextRequest
The request message for [Contexts.GetContext][google.cloud.dialogflow.v2.Contexts.GetContext].
Implements
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public sealed class GetContextRequest : IMessage<GetContextRequest>, IEquatable<GetContextRequest>, IDeepCloneable<GetContextRequest>, IBufferMessage, IMessage
Constructors
GetContextRequest()
Declaration
public GetContextRequest()
GetContextRequest(GetContextRequest)
Declaration
public GetContextRequest(GetContextRequest other)
Parameters
Type | Name | Description |
---|---|---|
GetContextRequest | other |
Properties
ContextName
ContextName-typed view over the Name resource name property.
Declaration
public ContextName ContextName { get; set; }
Property Value
Type | Description |
---|---|
ContextName |
Name
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.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |