Create a schema registry instance.
HTTP request
POST https://managedkafka.googleapis.com/v1/{parent=projects/*/locations/*}/schemaRegistries
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent whose schema registry instance is to be created. Structured like: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"schemaRegistryId": string,
"schemaRegistry": {
object ( |
Fields | |
---|---|
schemaRegistryId |
Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number. |
schemaRegistry |
Required. The schema registry instance to create. The name field is ignored. |
Response body
If successful, the response body contains a newly created instance of SchemaRegistry
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.