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 page details the `UpdateEnvironmentRequest` class within the `Google.Cloud.Dialogflow.V2` namespace, used for updating environments in Dialogflow."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, facilitating its use within the .NET environment."],["The `UpdateEnvironmentRequest` class includes properties such as `AllowLoadToDraftAndDiscardChanges`, `Environment`, and `UpdateMask`, which control the update operation."],["The documentation outlines a history of versions, ranging from 3.2.0 to the latest version 4.26.0, all providing reference links to their respective pages for `UpdateEnvironmentRequest`."],["The `UpdateEnvironmentRequest` class contains two constructors: a default parameterless constructor and one that takes an `UpdateEnvironmentRequest` as a parameter."]]],[]]