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."],[[["This page provides documentation for the `UpdateDocumentRequest` class within the Google Cloud Dialogflow v2 API, spanning versions from 3.2.0 up to the latest 4.26.0."],["`UpdateDocumentRequest` is a request message used for updating documents through the `Documents.UpdateDocument` API call."],["The class inherits from `Object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties such as `Document` which represents the document to be updated and `UpdateMask`, which allows for specifying which fields to update, with currently only `display_name` being supported for updates."],["There are two constructors for creating an instance of `UpdateDocumentRequest`, one with no parameters and another that takes an existing `UpdateDocumentRequest` object."]]],[]]