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 details the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class, which is used to send update requests for documents within Google Cloud Dialogflow V2, across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.26.0, but there are many previous versions that are also listed here ranging back to version 3.2.0.\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, and also inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eUpdateDocumentRequest()\u003c/code\u003e, which is the default, and \u003ccode\u003eUpdateDocumentRequest(UpdateDocumentRequest other)\u003c/code\u003e for copying, along with \u003ccode\u003eDocument\u003c/code\u003e and \u003ccode\u003eUpdateMask\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument\u003c/code\u003e property is required for updating, while \u003ccode\u003eUpdateMask\u003c/code\u003e is optional, allowing users to specify which fields they want updated (currently only \u003ccode\u003edisplay_name\u003c/code\u003e is supported for updates).\u003c/p\u003e\n"]]],[],null,[]]