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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eCreateContextRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateContextRequest\u003c/code\u003e class is used to send requests for creating contexts in Dialogflow, as part of the \u003ccode\u003eContexts.CreateContext\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers versions ranging from 3.2.0 to 4.26.0, with 4.26.0 as the latest, giving access to a list of all the versions.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the class's inheritance, implemented interfaces, constructors, and key properties such as \u003ccode\u003eContext\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsSessionName\u003c/code\u003e, which are crucial for setting up and executing context creation requests.\u003c/p\u003e\n"],["\u003cp\u003eThe version displayed at the top of the page is 4.7.0, and can be interacted with to display all the versions.\u003c/p\u003e\n"]]],[],null,[]]