public sealed class UpdateEnvironmentRequest : IMessage<UpdateEnvironmentRequest>, IEquatable<UpdateEnvironmentRequest>, IDeepCloneable<UpdateEnvironmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class UpdateEnvironmentRequest.
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 provides reference documentation for the `UpdateEnvironmentRequest` class within the Google Cloud Dialogflow v2 API, specifically for the .NET framework."],["The latest version of the API documented is 4.26.0, with a range of versions available from 3.2.0 up to the latest release, all containing the class `UpdateEnvironmentRequest`."],["`UpdateEnvironmentRequest` is used to update environments and can be implemented by the user, as it implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `UpdateEnvironmentRequest` class has properties to manage the update process, such as `AllowLoadToDraftAndDiscardChanges`, `Environment`, and `UpdateMask`, allowing for modification control."],["This documentation is specifically for the `Google.Cloud.Dialogflow.V2` namespace, and the methods `GetHashCode`, `GetType` and `ToString` are inherited."]]],[]]