public sealed class CreateEnvironmentRequest : IMessage<CreateEnvironmentRequest>, IEquatable<CreateEnvironmentRequest>, IDeepCloneable<CreateEnvironmentRequest>, IBufferMessage, IMessage
The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment].
Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an [Environment][google.cloud.dialogflow.cx.v3.Environment] for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
[[["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."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCreateEnvironmentRequest\u003c/code\u003e is 2.23.0, but multiple versions are available, ranging from 1.0.0 to 2.23.0, with each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateEnvironmentRequest\u003c/code\u003e is a request message used for creating environments in Google Cloud Dialogflow CX v3, as defined by \u003ccode\u003egoogle.cloud.dialogflow.cx.v3.Environments.CreateEnvironment\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to provide functionalities such as message handling, equality checks, deep cloning, and buffered message support.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eEnvironment\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsAgentName\u003c/code\u003e, which are used to define the environment to create and the agent it will belong to, with \u003ccode\u003eParent\u003c/code\u003e being the formatted ID and \u003ccode\u003eParentAsAgentName\u003c/code\u003e being a typed view of that formatted ID.\u003c/p\u003e\n"],["\u003cp\u003eThere are two Constructors provided, one for a default \u003ccode\u003eCreateEnvironmentRequest()\u003c/code\u003e and one for \u003ccode\u003eCreateEnvironmentRequest(CreateEnvironmentRequest other)\u003c/code\u003e which takes another instance of this class as an input.\u003c/p\u003e\n"]]],[],null,[]]