Optional. The document resource name. The name must be empty when creating a document. Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.
Optional. Not specified means update all. Currently, only displayName can be updated, an InvalidArgument will be returned for attempting to update other fields.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
Request body
The request body contains an instance of Document.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This document details how to update a specified document using a long-running operation, returning a `KnowledgeOperationMetadata` and a `Document` type."],["The method uses a PATCH HTTP request to a specific endpoint and follows gRPC Transcoding syntax for URLs."],["The `document.name` path parameter is mandatory for specifying the document's resource name, which includes project, location, knowledge base, and document IDs."],["The `updateMask` query parameter allows for selective updates, currently only supporting the `displayName` field, where not specifying it means all fields are updated."],["The request body must include a `Document` instance, while a successful response will return an `Operation` instance."]]],[]]