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"]],[["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 webpage provides documentation for the `CreateContextRequest` class within the Google Cloud Dialogflow v2 API for .NET, with the current version being 4.10.0, and the latest being 4.26.0."],["The `CreateContextRequest` class is used to create a context, and is part of the `Google.Cloud.Dialogflow.V2` namespace in the `Google.Cloud.Dialogflow.V2.dll` assembly."],["The documentation covers the class's inheritance, showing it implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and that it inherits from `object`."],["Key properties of `CreateContextRequest` include `Context` (the context to be created) and `Parent` (the session to create the context for), alongside the `ParentAsSessionName` which provides a `SessionName`-typed view of the parent resource."],["The page provides an overview of the class's constructors (`CreateContextRequest()` and `CreateContextRequest(CreateContextRequest other)`) alongside the documentation for each version of the class, ranging from version 3.2.0 up to 4.26.0."]]],[]]