Get desktop application:
View/edit binary Protocol Buffers messages
SchemaService implements operations on a Permissions System's Schema.
Read returns the current Object Definitions for a Permissions System. Errors include: - INVALID_ARGUMENT: a provided value has failed to semantically validate - NOT_FOUND: one of the Object Definitions being requested does not exist
ReadSchemaRequest is the required data to read Object Definitions from a Schema.
The list of names of the Object Definitions that are being requested. These names must be fully qualified with their namespace (e.g. myblog/post).
ReadSchemaResponse is the resulting data after having read the Object Definitions from a Schema.
The Object Definitions that were requested.
The computed revision of the returned object definitions.
Write overwrites the current Object Definitions for a Permissions System. Any Object Definitions that exist, but are not included will be deleted.
WriteSchemaRequest is the required data used to "upsert" the Schema of a Permissions System.
The Schema containing one or more Object Definitions that will be written to the Permissions System.
256KiB
If specified, the existing revision of object definitions in the schema that must be present for the write to succeed. If the revision specified differs (i.e. the underlying schema has changed), the write call will fail with a FAILED_PRECONDITION error.
WriteSchemaResponse is the resulting data after having written a Schema to a Permissions System.
The names of the Object Definitions that were written.
The computed revision of the written object definitions.
WatchResourcesService is used to receive a stream of updates for resources of a specific (resource type, permission, subject) combination.
WatchResources initiates a watch for permission changes for the provided (resource type, permission, subject) pair.
WatchResourcesRequest starts a watch for specific permission updates for the given resource and subject types.
resource_object_type is the type of resource object for which we will watch for changes.
permission is the name of the permission or relation for which we will watch for changes.
subject_object_type is the type of the subject resource for which we will watch for changes.
optional_subject_relation allows you to specify a group of subjects to watch for a given subject type.
WatchResourcesResponse enumerates the list of permission updates that have occurred as a result of one or more relationship updates.
PermissionUpdate represents a single permission update for a specific subject's permissions.
Used in:
subject defines the subject resource whose permissions have changed.
resource defines the specific object in the system.
todo: work this into the v1 core API at some point since it's used across services.
Used in: