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-04-09 UTC."],[[["This page details the `CreateContextRequest` class, which is used to create contexts within the Google Cloud Dialogflow V2 API."],["The `CreateContextRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, facilitating its use within the Google.Protobuf ecosystem."],["There are two constructors for the `CreateContextRequest` class, a default constructor and one that accepts another `CreateContextRequest` object for copying."],["Key properties of `CreateContextRequest` include `Context` (the context to be created), `Parent` (the session to create the context for, using a specified format), and `ParentAsSessionName` (a typed view of the parent resource name)."],["The page also contains a navigable list of older versions of the documentation of the same class, starting from version 4.26.0 to 3.2.0."]]],[]]