This document shows you how to update a schema registry resource within Managed Service for Apache Kafka using the Google Cloud console, the Google Cloud CLI, or the Managed Kafka API.
Required roles and permissions
To get the permissions that
you need to update a schema registry,
ask your administrator to grant you the
Managed Kafka Schema Registry Editor (roles/managedkafka.schemaRegistryEditor
)
IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
This predefined role contains the permissions required to update a schema registry. To see the exact permissions that are required, expand the Required permissions section:
Required permissions
The following permissions are required to update a schema registry:
-
Grant this permission on the parent location:
managedkafka.schemaRegistries.update
You might also be able to get these permissions with custom roles or other predefined roles.
For more information about the predefined roles available for Managed Service for Apache Kafka, see the Access control documentation.
Update a schema registry
For a schema registry, you can update the following properties:
Schema mode: To update the schema mode, see Update a schema mode.
Compatibility type: To update the compatibility type, see Update a compatibility type.