public sealed class DeleteEnvironmentRequest : IMessage<DeleteEnvironmentRequest>, IEquatable<DeleteEnvironmentRequest>, IDeepCloneable<DeleteEnvironmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class DeleteEnvironmentRequest.
The request message for
[Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
[[["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-09-04 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eDeleteEnvironmentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2beta1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteEnvironmentRequest\u003c/code\u003e class is used as the request message for the \u003ccode\u003eEnvironments.DeleteEnvironment\u003c/code\u003e method in the API.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eEnvironmentName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, allowing you to set the environment to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from base objects, and implements interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eDeleteEnvironmentRequest\u003c/code\u003e class, a default constructor, and a copy constructor.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2beta1 API - Class DeleteEnvironmentRequest (1.0.0-beta23)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta23 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteEnvironmentRequest)\n- [1.0.0-beta22](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/1.0.0-beta22/Google.Cloud.Dialogflow.V2Beta1.DeleteEnvironmentRequest) \n\n public sealed class DeleteEnvironmentRequest : IMessage\u003cDeleteEnvironmentRequest\u003e, IEquatable\u003cDeleteEnvironmentRequest\u003e, IDeepCloneable\u003cDeleteEnvironmentRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class DeleteEnvironmentRequest.\n\nThe request message for\n\\[Environments.DeleteEnvironment\\]\\[google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteEnvironmentRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteEnvironmentRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteEnvironmentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteEnvironmentRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteEnvironmentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteEnvironmentRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteEnvironmentRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dialogflow.V2Beta1](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.V2Beta1.dll\n\nConstructors\n------------\n\n### DeleteEnvironmentRequest()\n\n public DeleteEnvironmentRequest()\n\n### DeleteEnvironmentRequest(DeleteEnvironmentRequest)\n\n public DeleteEnvironmentRequest(DeleteEnvironmentRequest other)\n\nProperties\n----------\n\n### EnvironmentName\n\n public EnvironmentName EnvironmentName { get; set; }\n\n[EnvironmentName](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.EnvironmentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteEnvironmentRequest#Google_Cloud_Dialogflow_V2Beta1_DeleteEnvironmentRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the environment to delete.\n/ Format:\n\n- `projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e`\n- `projects/\u003cProject ID\u003e/locations/\u003cLocation\n ID\u003e/agent/environments/\u003cEnvironment ID\u003e`"]]