get | SELECT | documentSchemasId, locationsId, projectsId | Gets a document schema. Returns NOT_FOUND if the document schema does not exist. |
list | SELECT | locationsId, projectsId | Lists document schemas. |
create | INSERT | locationsId, projectsId | Creates a document schema. |
delete | DELETE | documentSchemasId, locationsId, projectsId | Deletes a document schema. Returns NOT_FOUND if the document schema does not exist. Returns BAD_REQUEST if the document schema has documents depending on it. |
_list | EXEC | locationsId, projectsId | Lists document schemas. |
patch | EXEC | documentSchemasId, locationsId, projectsId | 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. |