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 version 4.17.0."],["The `UpdateEnvironmentRequest` class is used to send update requests for environments in Dialogflow, and it implements multiple interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The documentation outlines the class's inheritance from the base `object` class, its implementation of various interfaces, and its association with the `Google.Cloud.Dialogflow.V2` namespace."],["Key properties of the `UpdateEnvironmentRequest` class include `AllowLoadToDraftAndDiscardChanges` (a boolean for preventing accidental overwrites), `Environment` (the environment object to be updated), and `UpdateMask` (a field mask to control which fields are modified)."],["This documentation provides a historical context of previous versions of the API, with the latest being 4.26.0, and this current one being 4.17.0, along with links to each version of the API to assist in finding the correct version."]]],[]]