schemas
Creates, updates, deletes, gets or lists a schemas
resource.
Overview
Name | schemas |
Type | Resource |
Id | google.managedkafka.schemas |
Fields
The following fields are returned by SELECT
queries:
- get
Successful response
Name | Datatype | Description |
---|---|---|
references | array | Optional. The schema references used by the schema. |
schema | string | The schema payload. |
schemaType | string | Optional. The schema type of the schema. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , schemaRegistriesId , schemasId | subject | Get the schema for the given schema id. |
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
Get the schema for the given schema id.
SELECT
references,
schema,
schemaType
FROM google.managedkafka.schemas
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND schemaRegistriesId = '{{ schemaRegistriesId }}' -- required
AND schemasId = '{{ schemasId }}' -- required
AND subject = '{{ subject }}';