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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This webpage provides reference documentation for the `UpdateEnvironmentRequest` class within the Google Cloud Dialogflow v2 API, specifically detailing its usage and properties across various versions."],["The `UpdateEnvironmentRequest` class, found in the `Google.Cloud.Dialogflow.V2` namespace, is used to send a request for updating environments in Dialogflow."],["The webpage lists multiple available versions of the API, ranging from version 3.2.0 up to the latest version 4.26.0, with links to the corresponding documentation for each version."],["The `UpdateEnvironmentRequest` class has properties like `AllowLoadToDraftAndDiscardChanges`, `Environment`, and `UpdateMask` which are essential for defining the update operation."],["The documented versions of this class are implemented using the following interfaces: `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."]]],[]]