relationship

fun relationship(name: String, get: Boolean = false, create: Boolean = false, update: Boolean = false, delete: Boolean = false, projection: String? = null): DataSyncGrantType

Parameters

projection

the single projection the token holder looks through for this resource, or null for the implicit __default__ projection. When set, the SDK emits the matching pn-projections entry into the token meta automatically. Pass DataSyncNamespace.DEFAULT_PROJECTION to write __default__ out explicitly.