public sealed class UpdateEnvironmentRequest : IMessage<UpdateEnvironmentRequest>, IEquatable<UpdateEnvironmentRequest>, IDeepCloneable<UpdateEnvironmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class UpdateEnvironmentRequest.
The request message for
[Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
public bool AllowLoadToDraftAndDiscardChanges { get; set; }
Optional. This field is used to prevent accidental overwrite of the draft
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 draft 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 documentation is for the `UpdateEnvironmentRequest` class within the Google Cloud Dialogflow v2beta1 API, specifically version 1.0.0-beta22."],["The `UpdateEnvironmentRequest` class is used to construct request messages for updating environments, as part of the `Environments.UpdateEnvironment` operation."],["This class inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling various functionalities like message handling, equality comparison, and cloning."],["The `UpdateEnvironmentRequest` class has three key properties: `AllowLoadToDraftAndDiscardChanges` (a boolean), `Environment` (the environment to update), and `UpdateMask` (controls the fields that get updated)."],["There are two constructors available for the class, one with no parameters, and one that takes in an `UpdateEnvironmentRequest` as a parameter."]]],[]]