public sealed class UpdateDocumentRequest : IMessage<UpdateDocumentRequest>, IEquatable<UpdateDocumentRequest>, IDeepCloneable<UpdateDocumentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class UpdateDocumentRequest.
Request message for
[DocumentService.UpdateDocument][google.cloud.discoveryengine.v1.DocumentService.UpdateDocument]
method.
If set to true and the
[Document][google.cloud.discoveryengine.v1.Document] is not found, a new
[Document][google.cloud.discoveryengine.v1.Document] is be created.
If the caller does not have permission to update the
[Document][google.cloud.discoveryengine.v1.Document], regardless of whether
or not it exists, a PERMISSION_DENIED error is returned.
If the [Document][google.cloud.discoveryengine.v1.Document] to update does
not exist and
[allow_missing][google.cloud.discoveryengine.v1.UpdateDocumentRequest.allow_missing]
is not set, a NOT_FOUND error is returned.
[[["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 documentation for the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class is used as a request message for the \u003ccode\u003eDocumentService.UpdateDocument\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements 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\u003eKey properties of the \u003ccode\u003eUpdateDocumentRequest\u003c/code\u003e class include \u003ccode\u003eAllowMissing\u003c/code\u003e (a boolean), \u003ccode\u003eDocument\u003c/code\u003e (of type \u003ccode\u003eDocument\u003c/code\u003e), and \u003ccode\u003eUpdateMask\u003c/code\u003e (of type \u003ccode\u003eFieldMask\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers constructor details and property descriptions for updating documents within the Discovery Engine.\u003c/p\u003e\n"]]],[],null,[]]