public sealed class UpdateDocumentRequest : IMessage<UpdateDocumentRequest>, IEquatable<UpdateDocumentRequest>, IDeepCloneable<UpdateDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class UpdateDocumentRequest.
Request message for
[Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.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\u003e\u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e is a class within the Google Cloud Dialogflow v2beta1 API, designed for updating documents through the \u003ccode\u003eDocuments.UpdateDocument\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, indicating its functionality in handling messages and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eDocument\u003c/code\u003e property, which is required and specifies the document to be updated.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eUpdateMask\u003c/code\u003e property is provided, allowing optional specification of fields to update; currently, only \u003ccode\u003edisplay_name\u003c/code\u003e can be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one with no arguments and one taking another \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]