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].
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `CreateContextRequest` class within the Google Cloud Dialogflow v2 API, specifically for .NET developers."],["The `CreateContextRequest` class is used to create context messages within Dialogflow sessions, as part of the `Contexts.CreateContext` process."],["It is a part of the `Google.Cloud.Dialogflow.V2` namespace and is implemented in the `Google.Cloud.Dialogflow.V2.dll` assembly, with the documentation detailing its properties, constructors, and the list of inherited members."],["The latest version of the documentation is 4.26.0, and there are a list of previous versions ranging back to 3.2.0 all with links to their respective `CreateContextRequest` pages."],["The `CreateContextRequest` class requires either a `Parent` string or a `SessionName`, as well as the `Context` property to be populated before using it."]]],[]]