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>.
Property Value
Type
Description
System.String
ParentAsAgentName
public AgentName ParentAsAgentName { get; set; }
AgentName-typed view over the Parent resource name property.
[[["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\u003eThis webpage details the \u003ccode\u003eCreateEnvironmentRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, which is used to send requests for creating environments in Dialogflow CX.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a version history of the \u003ccode\u003eCreateEnvironmentRequest\u003c/code\u003e class, listing versions from 1.0.0 to the latest, 2.23.0, each linking to the class documentation for that specific release.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateEnvironmentRequest\u003c/code\u003e implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its deep integration with Google's Protobuf message system.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eEnvironment\u003c/code\u003e and \u003ccode\u003eParent\u003c/code\u003e, which are required to specify the environment to be created and the agent it will be created for, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, a parameterless one and one that accepts another instance of \u003ccode\u003eCreateEnvironmentRequest\u003c/code\u003e as a parameter, for ease of use when constructing this class.\u003c/p\u003e\n"]]],[],null,[]]