@@ -208,25 +208,17 @@ message ExperimentalReflectSchemaResponse {
208208}
209209
210210message ExpSchemaFilter {
211- enum KindFilter {
212- KIND_FILTER_UNSPECIFIED = 0 ;
213- KIND_FILTER_DEFINITION = 1 ;
214- KIND_FILTER_CAVEAT = 2 ;
215- KIND_FILTER_RELATION = 3 ;
216- KIND_FILTER_PERMISSION = 4 ;
217- }
218-
219- // optional_definition_name_match is a regex that is matched against the definition or caveat name.
220- // If not specified, will be ignored.
211+ // optional_definition_name_match is a regex that is matched against the definition name.
221212 string optional_definition_name_match = 1 ;
222213
223- // optional_relation_or_permission_name_match is a regex that is matched against the relation or permission name.
224- // If not specified, will be ignored.
225- string optional_relation_or_permission_name_match = 2 ;
214+ // optional_caveat_name_match is a regex that is matched against the caveat name.
215+ string optional_caveat_name_match = 2 ;
216+
217+ // optional_relation_name_match is a regex that is matched against the relation name.
218+ string optional_relation_name_match = 3 ;
226219
227- // kind_filters is a list of kinds to filter on. If not specified, will be ignored. If multiple are specified,
228- // the filter will be applied in an OR fashion.
229- repeated KindFilter kind_filters = 3 ;
220+ // optional_permission_name_match is a regex that is matched against the permission name.
221+ string optional_permission_name_match = 4 ;
230222}
231223
232224message ExpDefinition {
0 commit comments