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."],[[["This page provides reference documentation for the `CreateContextRequest` class within the Google Cloud Dialogflow v2 API, specifically for version 4.22.0."],["`CreateContextRequest` is used to define the request message for creating a context via `Contexts.CreateContext` in the Dialogflow API."],["The documentation outlines the class's inheritance, which is derived from `object` and implements several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It includes details on the constructors and properties of the `CreateContextRequest` class, such as `Context`, `Parent`, and `ParentAsSessionName`, including the types and descriptions of those properties."],["The page contains a version history, which includes the most recent version 4.26.0 up to 3.2.0, offering easy navigation to documentation for these different versions."]]],[]]