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."],[[["The webpage provides documentation for the `UpdateEnvironmentRequest` class within the `Google.Cloud.Dialogflow.V2` namespace, specifically for version 3.11.0 of the library, including its implementation, properties, and methods."],["The `UpdateEnvironmentRequest` class is used to send a request to the `Environments.UpdateEnvironment` method and has been implemented from version 3.2.0 to 4.26.0, with 4.26.0 being the latest."],["This class includes properties such as `AllowLoadToDraftAndDiscardChanges`, `Environment`, and `UpdateMask`, which are essential for configuring the environment update operation."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the base `Object` class."],["Documentation for this page covers available constructors, `UpdateEnvironmentRequest()`, `UpdateEnvironmentRequest(UpdateEnvironmentRequest)`, as well as the parameter, its name and description."]]],[]]