public sealed class UpdateEnvironmentRequest : IMessage<UpdateEnvironmentRequest>, IEquatable<UpdateEnvironmentRequest>, IDeepCloneable<UpdateEnvironmentRequest>, IBufferMessage, IMessage
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"]],[["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\u003eUpdateEnvironmentRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, used for updating environments in Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe content provides a comprehensive list of versions for this class, ranging from version 4.26.0 (latest) down to 3.2.0, with direct links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class, a message type that inherits and implements various interfaces, includes properties such as \u003ccode\u003eAllowLoadToDraftAndDiscardChanges\u003c/code\u003e, \u003ccode\u003eEnvironment\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e for fine-grained control over the update operation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class is used to update a specified environment with additional optional settings, and also includes inherited members and constructors to manage its lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]