package distribution.ontology.pb

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ID

ontology.proto:53

ID ID is a unique identifier for a Resource. An example: userID := ID{ Key: "748d31e2-5732-4cb5-8bc9-64d4ad51efe8", Type: "user", } The ID has two elements for several reasons. First, by storing the Type we know which service to query for additional info on the Resource. Second, while a Key may be unique for a particular resource (e.g. channel), it might not be unique across all resources. We need something universally unique across the entire Synnax Core.

Used in: service.device.pb.Device

enum ResourceType

ontology.proto:19

ResourceType is the type of the resource.

Used in: ID