public sealed class UpdateDocumentRequest : IMessage<UpdateDocumentRequest>, IEquatable<UpdateDocumentRequest>, IDeepCloneable<UpdateDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class UpdateDocumentRequest.
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 webpage provides reference documentation for the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, specifically for version 4.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class is used to send update requests for documents in the Dialogflow API and implements multiple interfaces like \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 page lists available documentation versions, ranging from 4.26.0 (latest) down to 3.2.0, which all redirect to their own respective \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e has two constructors, a default one, and another that copies the properties of an existing \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e object, where the latter takes another \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two properties, \u003ccode\u003eDocument\u003c/code\u003e which is required for specifying which document to update, and \u003ccode\u003eUpdateMask\u003c/code\u003e which allows partial updating of fields and currently only supports \u003ccode\u003edisplay_name\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]