public sealed class UpdateDocumentRequest : IMessage<UpdateDocumentRequest>, IEquatable<UpdateDocumentRequest>, IDeepCloneable<UpdateDocumentRequest>, IBufferMessage, IMessage
Request message for [Documents.UpdateDocument][google.cloud.dialogflow.v2.Documents.UpdateDocument].
Optional. Not specified means update all.
Currently, only display_name can be updated, an InvalidArgument will be
returned for attempting to update other fields.
[[["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."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class, which is used to send a request to update a document in the Dialogflow V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e is version 4.26.0, with a listing of versions back to 3.2.0, each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class contains two properties: \u003ccode\u003eDocument\u003c/code\u003e, which is the required document to update, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which optionally specifies which fields to update, but only \u003ccode\u003edisplay_name\u003c/code\u003e is currently updatable.\u003c/p\u003e\n"],["\u003cp\u003eThere are 2 constructors available to create the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]