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"]],[["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 page details the `CreateContextRequest` class, which is used to create context in Dialogflow, and is part of the `Google.Cloud.Dialogflow.V2` namespace."],["The latest version documented is 4.26.0, but the current class is being displayed in version 3.2.0, which is the lowest version displayed, with numerous other versions of `CreateContextRequest` available between those two."],["`CreateContextRequest` inherits from `Object` and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, with details provided on inherited members."],["The `CreateContextRequest` class includes properties like `Context`, `Parent`, and `ParentAsSessionName` that are used to specify the context to be created and the associated session."],["The class includes two constructors, `CreateContextRequest()` and `CreateContextRequest(CreateContextRequest other)`, one default and the other to create a copy of another."]]],[]]