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 provides documentation for the `UpdateEnvironmentRequest` class within the `Google.Cloud.Dialogflow.V2` namespace, detailing its use in updating environments."],["The `UpdateEnvironmentRequest` class is used to send update requests to the `Environments.UpdateEnvironment` method in the Dialogflow V2 API, with the latest version being 4.26.0 and version 3.8.0 being the version detailed here."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, to enhance its functionality."],["Key properties of the `UpdateEnvironmentRequest` class include `AllowLoadToDraftAndDiscardChanges`, `Environment`, and `UpdateMask`, which manage the specifics of the update operation."],["The page lists all the prior versions of the api from 4.26.0 all the way down to 3.2.0."]]],[]]