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 draft
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 draft 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."],[[["The latest version of the `UpdateEnvironmentRequest` is 4.26.0, with many prior versions available, ranging down to version 3.2.0."],["`UpdateEnvironmentRequest` is a request message used for updating environments within Google Cloud Dialogflow V2."],["This class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["The `UpdateEnvironmentRequest` class contains properties for `AllowLoadToDraftAndDiscardChanges`, `Environment` and `UpdateMask`, providing control over the environment update operation."],["The `UpdateEnvironmentRequest` class has 2 constructors, `UpdateEnvironmentRequest()` and `UpdateEnvironmentRequest(UpdateEnvironmentRequest other)` allowing the creation of a new object and the creation of a new object from an existing object, respectively."]]],[]]