relationExtensions property
Statements may specify relation level extensions/payloads to express more details when declaring permissions to grant from the source asset to the target asset.
These relation extensions should be specified in the relation_extensions
object, keyed by the relation type they're associated with. { relation:
["delegate_permission/common.handle_all_urls"], target: {...},
relation_extensions: { "delegate_permission/common.handle_all_urls": {
...handle_all_urls specific payload specified here... } } } When
requested, and specified in the statement file, the API will return
relation_extensions associated with the statement's relation type. i.e.
the API will only return relation_extensions specified for
"delegate_permission/common.handle_all_urls" if this statement object's
relation type is "delegate_permission/common.handle_all_urls".
The values for Object must be JSON objects. It can consist of num
,
String
, bool
and null
as well as Map
and List
values.
Implementation
core.Map<core.String, core.Object?>? relationExtensions;