v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1322188183.1 KB
projects

Creates a document schema.

post/v1/{+parent}/documentSchemas

Path parameters

parentstring required

Required. The parent name.

Request body

displayNamestring

Required. Name of the schema given by the user. Must be unique per project.

namestring

The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.

documentIsFolderboolean

Document Type, true refers the document is a folder, otherwise it is a typical document.

descriptionstring

Schema description.

createTimestring google-datetime

Output only. The time when the document schema is created.

updateTimestring google-datetime

Output only. The time when the document schema is last updated.

Response

Successful response