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 document provides reference documentation for the `UpdateEnvironmentRequest` class within the Google Cloud Dialogflow v2 API, specifically for version 4.24.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 `UpdateEnvironmentRequest` class has properties to control how the update process occurs, such as `AllowLoadToDraftAndDiscardChanges`, `Environment` and `UpdateMask`."],["The document lists all the available versions of the Dialogflow v2 API, with the latest version being 4.26.0, and ranges down to version 3.2.0, all of them referencing the `UpdateEnvironmentRequest` class."],["The class has two constructors, one default constructor, and another to duplicate an `UpdateEnvironmentRequest` object, as well as inherited members `GetHashCode()`, `GetType()`, and `ToString()` from the base object class."]]],[]]