toFilterExpression

Converts one principal tag into a nested query condition.

A wildcard requires only that the key exists. Other values match when the key's value is in the principal tag value set, or, with matchMissingTagKey, when the key is absent or empty.

Return

the nested query condition


fun AbacTags.toFilterExpression(matchMissingTagKey: Boolean = true): FilterExpression

Combines all principal tags with AND semantics.

Return

the combined tag condition