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-04-09 UTC."],[[["This webpage provides documentation for the `UpdateEnvironmentRequest` class within the Google Cloud Dialogflow v2 API for .NET, with the current version being 4.20.0, and the latest being 4.26.0."],["The `UpdateEnvironmentRequest` class is used to update environments in Dialogflow, as indicated by the `Environments.UpdateEnvironment` function it interacts with."],["The `UpdateEnvironmentRequest` class inherits from `object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `UpdateEnvironmentRequest` class include `AllowLoadToDraftAndDiscardChanges` (a boolean to prevent accidental overwrites), `Environment` (the environment to be updated), and `UpdateMask` (to control which fields are updated)."],["The page lists and provides links to various versions of the `UpdateEnvironmentRequest` documentation, ranging from version 3.2.0 to the latest version 4.26.0, along with a bread crumb trail for navigation."]]],[]]