Get mode at global level or for a subject.
HTTP request
GET https://managedkafka.googleapis.com/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schemaRegistry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schemaRegistry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SchemaMode.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.