Skip to main content

types

Creates, updates, deletes, gets or lists a types resource.

Overview​

Nametypes
TypeResource
Idgoogle.managedkafka.types

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentTypestringThe HTTP Content-Type header value specifying the content type of the body.
datastring (byte)The HTTP request/response body as raw binary.
extensionsarrayApplication specific response metadata. Must be set in the first response for streaming APIs.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsId, schemaRegistriesId, contextsIdList the supported schema types. The response will be an array of schema types.

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.

NameDatatypeDescription
contextsIdstring
locationsIdstring
projectsIdstring
schemaRegistriesIdstring

SELECT examples​

List the supported schema types. The response will be an array of schema types.

SELECT
contentType,
data,
extensions
FROM google.managedkafka.types
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND schemaRegistriesId = '{{ schemaRegistriesId }}' -- required
AND contextsId = '{{ contextsId }}' -- required
;