Package com.authzed.api.v1
Class PermissionsServiceGrpc.PermissionsServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<PermissionsServiceGrpc.PermissionsServiceFutureStub>
com.authzed.api.v1.PermissionsServiceGrpc.PermissionsServiceFutureStub
- Enclosing class:
- PermissionsServiceGrpc
public static final class PermissionsServiceGrpc.PermissionsServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<PermissionsServiceGrpc.PermissionsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service PermissionsService.
PermissionsService implements a set of RPCs that perform operations on relationships and permissions.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CheckBulkPermissionsResponse>
CheckBulkPermissions evaluates the given list of permission checks and returns the list of results.com.google.common.util.concurrent.ListenableFuture<CheckPermissionResponse>
checkPermission
(CheckPermissionRequest request) CheckPermission determines for a given resource whether a subject computes to having a permission or is a direct member of a particular relation.com.google.common.util.concurrent.ListenableFuture<DeleteRelationshipsResponse>
DeleteRelationships atomically bulk deletes all relationships matching the provided filter.com.google.common.util.concurrent.ListenableFuture<ExpandPermissionTreeResponse>
ExpandPermissionTree reveals the graph structure for a resource's permission or relation.com.google.common.util.concurrent.ListenableFuture<WriteRelationshipsResponse>
WriteRelationships atomically writes and/or deletes a set of specified relationships.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected PermissionsServiceGrpc.PermissionsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<PermissionsServiceGrpc.PermissionsServiceFutureStub>
-
writeRelationships
public com.google.common.util.concurrent.ListenableFuture<WriteRelationshipsResponse> writeRelationships(WriteRelationshipsRequest request) WriteRelationships atomically writes and/or deletes a set of specified relationships. An optional set of preconditions can be provided that must be satisfied for the operation to commit.
-
deleteRelationships
public com.google.common.util.concurrent.ListenableFuture<DeleteRelationshipsResponse> deleteRelationships(DeleteRelationshipsRequest request) DeleteRelationships atomically bulk deletes all relationships matching the provided filter. If no relationships match, none will be deleted and the operation will succeed. An optional set of preconditions can be provided that must be satisfied for the operation to commit.
-
checkPermission
public com.google.common.util.concurrent.ListenableFuture<CheckPermissionResponse> checkPermission(CheckPermissionRequest request) CheckPermission determines for a given resource whether a subject computes to having a permission or is a direct member of a particular relation.
-
checkBulkPermissions
public com.google.common.util.concurrent.ListenableFuture<CheckBulkPermissionsResponse> checkBulkPermissions(CheckBulkPermissionsRequest request) CheckBulkPermissions evaluates the given list of permission checks and returns the list of results.
-
expandPermissionTree
public com.google.common.util.concurrent.ListenableFuture<ExpandPermissionTreeResponse> expandPermissionTree(ExpandPermissionTreeRequest request) ExpandPermissionTree reveals the graph structure for a resource's permission or relation. This RPC does not recurse infinitely deep and may require multiple calls to fully unnest a deeply nested graph.
-