Try Gemini 1.5 models, the latest multimodal models in Vertex AI, and see what you can build with up to a 2M token context window.Try Gemini 1.5 models, the latest multimodal models in Vertex AI, and see what you can build with up to a 2M token context window.
Stay organized with collections
Save and categorize content based on your preferences.
Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties, adding new ENUM possible values, and updating the EnumTypeOptions.validation_check_disabled flag for ENUM possible values. Updating existing properties will result into INVALID_ARGUMENT.
Required. The name of the document schema to update. Format: projects/{projectNumber}/locations/{location}/documentSchemas/{document_schema_id}. It takes the form projects/{project}/locations/{location}/documentSchemas/{documentschema}.
Request body
The request body contains data with the following structure:
[[["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 2023-08-17 UTC."],[[["Updates to a Document Schema are limited to appending new properties, adding new ENUM possible values, and updating the `validation_check_disabled` flag for ENUM possible values."],["Updating existing properties or changing the document schema name (if non-empty) will result in an `INVALID_ARGUMENT` error."],["The request uses a `PATCH` method at a specific endpoint: `https://contentwarehouse.googleapis.com/v1/{name}`."],["The request requires the `contentwarehouse.documentSchemas.update` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["The required request body contains a `documentSchema` object that represents the updated schema, and a successful update returns a `DocumentSchema` object."]]],[]]