Skip to main content

compatibility

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

Overview

Namecompatibility
TypeResource
Idgoogle.managedkafka.compatibility

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_compatibilityexecprojectsId, locationsId, schemaRegistriesId, compatibilityIdCheck compatibility of a schema with all versions or a specific version of a subject.

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
compatibilityIdstring
locationsIdstring
projectsIdstring
schemaRegistriesIdstring

Lifecycle Methods

Check compatibility of a schema with all versions or a specific version of a subject.

EXEC google.managedkafka.compatibility.check_compatibility 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@schemaRegistriesId='{{ schemaRegistriesId }}' --required,
@compatibilityId='{{ compatibilityId }}' --required
@@json=
'{
"schemaType": "{{ schemaType }}",
"schema": "{{ schema }}",
"references": "{{ references }}",
"verbose": {{ verbose }}
}';