soulfire.UserPluginPermissionGrant

class soulfire.UserPluginPermissionGrant(user_id: str | None = ..., permission_id: str | None = ..., scope: soulfire.plugin_api_pb2.PluginPermissionScope | str | None = ..., resource_id: str | None = ..., granted: bool = ..., active: bool = ..., created_at: datetime.datetime | google.protobuf.timestamp_pb2.Timestamp | collections.abc.Mapping | None = ..., updated_at: datetime.datetime | google.protobuf.timestamp_pb2.Timestamp | collections.abc.Mapping | None = ...)

Bases: google.protobuf.message.Message

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

USER_ID_FIELD_NUMBER: ClassVar[int]
PERMISSION_ID_FIELD_NUMBER: ClassVar[int]
SCOPE_FIELD_NUMBER: ClassVar[int]
RESOURCE_ID_FIELD_NUMBER: ClassVar[int]
GRANTED_FIELD_NUMBER: ClassVar[int]
ACTIVE_FIELD_NUMBER: ClassVar[int]
CREATED_AT_FIELD_NUMBER: ClassVar[int]
UPDATED_AT_FIELD_NUMBER: ClassVar[int]
user_id: str
permission_id: str
scope: soulfire.plugin_api_pb2.PluginPermissionScope
resource_id: str
granted: bool
active: bool
created_at: google.protobuf.timestamp_pb2.Timestamp
updated_at: google.protobuf.timestamp_pb2.Timestamp