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"]],[["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-03-21 UTC."],[[["This webpage details the `UpdateEnvironmentRequest` class, which is used to update environments in Google Cloud Dialogflow V2."],["The latest version of `UpdateEnvironmentRequest` is 4.26.0, and the page lists versions back to 3.2.0, each with a link to its documentation."],["The `UpdateEnvironmentRequest` class inherits from Object and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["The `UpdateEnvironmentRequest` class includes properties like `AllowLoadToDraftAndDiscardChanges`, `Environment`, and `UpdateMask`, which are essential for configuring the update process."],["There is a public constructor, `UpdateEnvironmentRequest()`, as well as another constructor, `UpdateEnvironmentRequest(UpdateEnvironmentRequest other)`, that takes in `UpdateEnvironmentRequest` as a parameter."]]],[]]