schemas_schema
Creates, updates, deletes, gets or lists a schemas_schema
resource.
Overview
Name | schemas_schema |
Type | Resource |
Id | google.managedkafka.schemas_schema |
Fields
The following fields are returned by SELECT
queries:
- get_schema
Successful response
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string (byte) | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_schema | select | projectsId , locationsId , schemaRegistriesId , schemasId | subject | Get the schema string for the given schema id. The response will be the schema string. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
schemaRegistriesId | string | |
schemasId | string | |
subject | string |
SELECT
examples
- get_schema
Get the schema string for the given schema id. The response will be the schema string.
SELECT
contentType,
data,
extensions
FROM google.managedkafka.schemas_schema
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND schemaRegistriesId = '{{ schemaRegistriesId }}' -- required
AND schemasId = '{{ schemasId }}' -- required
AND subject = '{{ subject }}';