Method: schemas.create

Full name: projects.locations.schemas.create

Creates a schema.

HTTP request

POST https://{endpoint}/v1beta3/{parent}/schemas

Where {endpoint} is one of the supported service endpoints .

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: