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."],[[["The latest version available for `CreateContextRequest` is 4.26.0, with previous versions ranging down to 3.2.0, all accessible via provided links."],["`CreateContextRequest` is a sealed class used as a request message for `Contexts.CreateContext` within the Google Cloud Dialogflow V2."],["This class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` for comprehensive functionality."],["The class contains two constructors, `CreateContextRequest()`, and `CreateContextRequest(CreateContextRequest other)` and key properties such as `Context`, `Parent`, and `ParentAsSessionName` that it can take."],["The `Parent` property is a required string representing the session to create a context for, with specific formatting requirements, and the `Context` property is also a required field, indicating the context to create."]]],[]]