public sealed class UpdateEnvironmentRequest : IMessage<UpdateEnvironmentRequest>, IEquatable<UpdateEnvironmentRequest>, IDeepCloneable<UpdateEnvironmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class UpdateEnvironmentRequest.
The request message for
[Environments.UpdateEnvironment][google.cloud.dialogflow.v2.Environments.UpdateEnvironment].
public bool AllowLoadToDraftAndDiscardChanges { get; set; }
Optional. This field is used to prevent accidental overwrite of the default
environment, which is an operation that cannot be undone. To confirm that
the caller desires this overwrite, this field must be explicitly set to
true when updating the default environment (environment ID = -).
[[["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-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API for .NET, with the latest version being 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class is used to update environments in Dialogflow, and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing 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\u003eThis class offers constructors to create new instances and properties like \u003ccode\u003eAllowLoadToDraftAndDiscardChanges\u003c/code\u003e, \u003ccode\u003eEnvironment\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e to manage environment updates.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous versions of the \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e documentation available, spanning from version 4.26.0 down to version 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e is a request message for the \u003ccode\u003eEnvironments.UpdateEnvironment\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,[]]