Package com.authzed.api.v1
Interface SchemaServiceGrpc.AsyncService
- All Known Implementing Classes:
SchemaServiceGrpc.SchemaServiceImplBase
- Enclosing class:
- SchemaServiceGrpc
public static interface SchemaServiceGrpc.AsyncService
SchemaService implements operations on a Permissions System's Schema.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
readSchema
(ReadSchemaRequest request, io.grpc.stub.StreamObserver<ReadSchemaResponse> responseObserver) Read returns the current Object Definitions for a Permissions System.default void
writeSchema
(WriteSchemaRequest request, io.grpc.stub.StreamObserver<WriteSchemaResponse> responseObserver) Write overwrites the current Object Definitions for a Permissions System.
-
Method Details
-
readSchema
default void readSchema(ReadSchemaRequest request, io.grpc.stub.StreamObserver<ReadSchemaResponse> responseObserver) Read returns the current Object Definitions for a Permissions System. Errors include: - INVALID_ARGUMENT: a provided value has failed to semantically validate - NOT_FOUND: no schema has been defined
-
writeSchema
default void writeSchema(WriteSchemaRequest request, io.grpc.stub.StreamObserver<WriteSchemaResponse> responseObserver) Write overwrites the current Object Definitions for a Permissions System.
-