Method: schemaVersions.create

Full name: projects.locations.schemas.schemaVersions.create

Creates a schema version.

HTTP request

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

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 SchemaVersion. Format: projects/{project}/locations/{location}/schemas/{schema} It takes the form projects/{project}/locations/{location}/schemas/{schema}.

Request body

The request body contains an instance of SchemaVersion.

Response body

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

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.schemaVersions.create

For more information, see the IAM documentation.