Method: schemas.create

Full name: projects.locations.schemas.create

Creates a schema.

HTTP request


POST https://documentai.googleapis.com/v1beta3/{parent}/schemas

Path parameters

Parameters
parent

string

Required. The parent (project and location) under which to create the Schema. Format: projects/{project}/locations/{location} It takes the form projects/{project}/locations/{location} .

Request body

The request body contains an instance of NextSchema .

Response body

If successful, the response body contains a newly created instance of NextSchema .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview .

IAM Permissions

Requires the following IAM permission on the parent resource:

  • documentai.schemas.create

For more information, see the IAM documentation .

Design a Mobile Site
View Site in Mobile | Classic
Share by: