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"]],[["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 webpage provides reference documentation for the \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.19.0.\u003c/p\u003e\n"],["\u003cp\u003eIt lists all available versions of \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e, starting from the latest version 4.26.0 down to version 3.2.0, with hyperlinks to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class is used to update environments, and the documentation details its constructors, properties (\u003ccode\u003eAllowLoadToDraftAndDiscardChanges\u003c/code\u003e, \u003ccode\u003eEnvironment\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e), and its inheritance and interface implementations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<UpdateEnvironmentRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<UpdateEnvironmentRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation explains that the \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e class has two constructors, one default constructor, and another which requires an \u003ccode\u003eUpdateEnvironmentRequest\u003c/code\u003e object as an argument.\u003c/p\u003e\n"]]],[],null,[]]