public sealed class CreateContextRequest : IMessage<CreateContextRequest>, IEquatable<CreateContextRequest>, IDeepCloneable<CreateContextRequest>, IBufferMessage, IMessage
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 webpage details the \u003ccode\u003eCreateContextRequest\u003c/code\u003e class within the Google.Cloud.Dialogflow.V2 namespace, used for creating contexts in Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCreateContextRequest\u003c/code\u003e API documentation is 4.26.0, with links to historical versions going back to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateContextRequest\u003c/code\u003e inherits from Object and implements interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eContext\u003c/code\u003e, which represents the context to be created, and \u003ccode\u003eParent\u003c/code\u003e, which specifies the session to create a context for.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateContextRequest\u003c/code\u003e class provides two constructors, a default one and one that takes another \u003ccode\u003eCreateContextRequest\u003c/code\u003e instance as an argument.\u003c/p\u003e\n"]]],[],null,[]]