# Managed Service for Apache Kafka API

Manage Apache Kafka clusters and resources.

- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.clusters](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.clusters)
- [REST Resource: v1.projects.locations.clusters.acls](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.clusters.acls)
- [REST Resource: v1.projects.locations.clusters.consumerGroups](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.clusters.consumerGroups)
- [REST Resource: v1.projects.locations.clusters.topics](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.clusters.topics)
- [REST Resource: v1.projects.locations.connectClusters](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.connectClusters)
- [REST Resource: v1.projects.locations.connectClusters.connectors](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.connectClusters.connectors)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.schemaRegistries](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries)
- [REST Resource: v1.projects.locations.schemaRegistries.compatibility](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.compatibility)
- [REST Resource: v1.projects.locations.schemaRegistries.config](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.config)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts.compatibility](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.compatibility)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts.config](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.config)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts.mode](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.mode)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts.schemas](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.schemas)
- [REST Resource:
  v1.projects.locations.schemaRegistries.contexts.schemas.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.schemas.subjects)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts.schemas.types](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.schemas.types)
- [REST Resource:
  v1.projects.locations.schemaRegistries.contexts.schemas.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.schemas.versions)
- [REST Resource: v1.projects.locations.schemaRegistries.contexts.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.subjects)
- [REST Resource:
  v1.projects.locations.schemaRegistries.contexts.subjects.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.subjects.versions)
- [REST Resource:
  v1.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby)
- [REST Resource: v1.projects.locations.schemaRegistries.mode](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.mode)
- [REST Resource: v1.projects.locations.schemaRegistries.schemas](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.schemas)
- [REST Resource: v1.projects.locations.schemaRegistries.schemas.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.schemas.subjects)
- [REST Resource: v1.projects.locations.schemaRegistries.schemas.types](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.schemas.types)
- [REST Resource: v1.projects.locations.schemaRegistries.schemas.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.schemas.versions)
- [REST Resource: v1.projects.locations.schemaRegistries.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.subjects)
- [REST Resource: v1.projects.locations.schemaRegistries.subjects.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.subjects.versions)
- [REST Resource:
  v1.projects.locations.schemaRegistries.subjects.versions.referencedby](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest#v1.projects.locations.schemaRegistries.subjects.versions.referencedby)

## Service: managedkafka.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

- <https://managedkafka.googleapis.com/$discovery/rest?version=v1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://managedkafka.googleapis.com`

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations/list` | `GET /v1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1.projects.locations.clusters](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters/create` | `POST /v1/{parent=projects/*/locations/*}/clusters` Creates a new cluster in a given project and location. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*}` Deletes a single cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters/get` | `GET /v1/{name=projects/*/locations/*/clusters/*}` Returns the properties of a single cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters/list` | `GET /v1/{parent=projects/*/locations/*}/clusters` Lists the clusters in a given project and location. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters/patch` | `PATCH /v1/{cluster.name=projects/*/locations/*/clusters/*}` Updates the properties of a single cluster. |

## REST Resource: [v1.projects.locations.clusters.acls](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/addAclEntry` | `POST /v1/{acl=projects/*/locations/*/clusters/*/acls/**}:addAclEntry` Incremental update: Adds an acl entry to an acl. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/create` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/acls` Creates a new acl in the given project, location, and cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*/acls/**}` Deletes an acl. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/get` | `GET /v1/{name=projects/*/locations/*/clusters/*/acls/**}` Returns the properties of a single acl. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/list` | `GET /v1/{parent=projects/*/locations/*/clusters/*}/acls` Lists the acls in a given cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/patch` | `PATCH /v1/{acl.name=projects/*/locations/*/clusters/*/acls/**}` Updates the properties of a single acl. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.acls/removeAclEntry` | `POST /v1/{acl=projects/*/locations/*/clusters/*/acls/**}:removeAclEntry` Incremental update: Removes an acl entry from an acl. |

## REST Resource: [v1.projects.locations.clusters.consumerGroups](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.consumerGroups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.consumerGroups/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*/consumerGroups/**}` Deletes a single consumer group. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.consumerGroups/get` | `GET /v1/{name=projects/*/locations/*/clusters/*/consumerGroups/**}` Returns the properties of a single consumer group. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.consumerGroups/list` | `GET /v1/{parent=projects/*/locations/*/clusters/*}/consumerGroups` Lists the consumer groups in a given cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.consumerGroups/patch` | `PATCH /v1/{consumerGroup.name=projects/*/locations/*/clusters/*/consumerGroups/**}` Updates the properties of a single consumer group. |

## REST Resource: [v1.projects.locations.clusters.topics](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.topics)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.topics/create` | `POST /v1/{parent=projects/*/locations/*/clusters/*}/topics` Creates a new topic in a given project and location. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.topics/delete` | `DELETE /v1/{name=projects/*/locations/*/clusters/*/topics/*}` Deletes a single topic. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.topics/get` | `GET /v1/{name=projects/*/locations/*/clusters/*/topics/*}` Returns the properties of a single topic. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.topics/list` | `GET /v1/{parent=projects/*/locations/*/clusters/*}/topics` Lists the topics in a given cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.clusters.topics/patch` | `PATCH /v1/{topic.name=projects/*/locations/*/clusters/*/topics/*}` Updates the properties of a single topic. |

## REST Resource: [v1.projects.locations.connectClusters](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters/create` | `POST /v1/{parent=projects/*/locations/*}/connectClusters` Creates a new Kafka Connect cluster in a given project and location. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters/delete` | `DELETE /v1/{name=projects/*/locations/*/connectClusters/*}` Deletes a single Connect cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters/get` | `GET /v1/{name=projects/*/locations/*/connectClusters/*}` Returns the properties of a single Kafka Connect cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters/list` | `GET /v1/{parent=projects/*/locations/*}/connectClusters` Lists the Kafka Connect clusters in a given project and location. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters/patch` | `PATCH /v1/{connectCluster.name=projects/*/locations/*/connectClusters/*}` Updates the properties of a single Kafka Connect cluster. |

## REST Resource: [v1.projects.locations.connectClusters.connectors](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/create` | `POST /v1/{parent=projects/*/locations/*/connectClusters/*}/connectors` Creates a new connector in a given Connect cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/delete` | `DELETE /v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}` Deletes a connector. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/get` | `GET /v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}` Returns the properties of a single connector. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/list` | `GET /v1/{parent=projects/*/locations/*/connectClusters/*}/connectors` Lists the connectors in a given Connect cluster. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/patch` | `PATCH /v1/{connector.name=projects/*/locations/*/connectClusters/*/connectors/*}` Updates the properties of a connector. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/pause` | `POST /v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:pause` Pauses the connector and its tasks. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/restart` | `POST /v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:restart` Restarts the connector. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/resume` | `POST /v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:resume` Resumes the connector and its tasks. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.connectClusters.connectors/stop` | `POST /v1/{name=projects/*/locations/*/connectClusters/*/connectors/*}:stop` Stops the connector. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1.projects.locations.schemaRegistries](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries/create` | `POST /v1/{parent=projects/*/locations/*}/schemaRegistries` Create a schema registry instance. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*}` Delete a schema registry instance. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*}` Get the schema registry instance. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries/list` | `GET /v1/{parent=projects/*/locations/*}/schemaRegistries` List schema registries. |

## REST Resource: [v1.projects.locations.schemaRegistries.compatibility](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.compatibility)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.compatibility/checkCompatibility` | `POST /v1/{name=projects/*/locations/*/schemaRegistries/*/compatibility/**}` Check compatibility of a schema with all versions or a specific version of a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.config](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.config)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.config/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/config/**}` Delete schema config for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.config/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/config/**}` Get schema config at global level or for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.config/update` | `PUT /v1/{name=projects/*/locations/*/schemaRegistries/*/config/**}` Update config at global level or for a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*}` Get the context. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*}/contexts` List contexts for a schema registry. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.compatibility](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.compatibility)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.compatibility/checkCompatibility` | `POST /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/compatibility/**}` Check compatibility of a schema with all versions or a specific version of a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.config](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.config)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.config/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}` Delete schema config for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.config/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}` Get schema config at global level or for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.config/update` | `PUT /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}` Update config at global level or for a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.mode](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.mode)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.mode/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}` Delete schema mode for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.mode/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}` Get mode at global level or for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.mode/update` | `PUT /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}` Update mode at global level or for a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.schemas](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}` Get the schema for the given schema id. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas/getSchema` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}/schema` Get the schema string for the given schema id. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.schemas.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas.subjects)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas.subjects/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}/subjects` List subjects which reference a particular schema id. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.schemas.types](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas.types)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas.types/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*}/schemas/types` List the supported schema types. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.schemas.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas.versions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.schemas.versions/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}/versions` List the schema versions for the given schema id. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}` Delete a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*}/subjects` List subjects in the schema registry. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects/lookupVersion` | `POST /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}` Lookup a schema under the specified subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.subjects.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions/create` | `POST /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}/versions` Register a new version under a given subject with the given schema. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}` Delete a version of a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}` Get a versioned schema (schema with subject/version) of a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions/getSchema` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}/schema` Get the schema string only for a version of a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}/versions` Get all versions of a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions.referencedby)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.contexts.subjects.versions.referencedby/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}/referencedby` Get a list of IDs of schemas that reference the schema with the given subject and version. |

## REST Resource: [v1.projects.locations.schemaRegistries.mode](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.mode)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.mode/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/mode/**}` Delete schema mode for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.mode/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/mode/**}` Get mode at global level or for a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.mode/update` | `PUT /v1/{name=projects/*/locations/*/schemaRegistries/*/mode/**}` Update mode at global level or for a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.schemas](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/schemas/**}` Get the schema for the given schema id. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas/getSchema` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/schemas/**}/schema` Get the schema string for the given schema id. |

## REST Resource: [v1.projects.locations.schemaRegistries.schemas.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas.subjects)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas.subjects/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/schemas/**}/subjects` List subjects which reference a particular schema id. |

## REST Resource: [v1.projects.locations.schemaRegistries.schemas.types](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas.types)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas.types/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*}/schemas/types` List the supported schema types. |

## REST Resource: [v1.projects.locations.schemaRegistries.schemas.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas.versions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.schemas.versions/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/schemas/**}/versions` List the schema versions for the given schema id. |

## REST Resource: [v1.projects.locations.schemaRegistries.subjects](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*}` Delete a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*}/subjects` List subjects in the schema registry. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects/lookupVersion` | `POST /v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*}` Lookup a schema under the specified subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.subjects.versions](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions/create` | `POST /v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*}/versions` Register a new version under a given subject with the given schema. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions/delete` | `DELETE /v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}` Delete a version of a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions/get` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}` Get a versioned schema (schema with subject/version) of a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions/getSchema` | `GET /v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}/schema` Get the schema string only for a version of a subject. |
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*}/versions` Get all versions of a subject. |

## REST Resource: [v1.projects.locations.schemaRegistries.subjects.versions.referencedby](https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions.referencedby)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rest/v1/projects.locations.schemaRegistries.subjects.versions.referencedby/list` | `GET /v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}/referencedby` Get a list of IDs of schemas that reference the schema with the given subject and version. |