OpenFga::RelationshipCondition

February 16, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
nameStringA reference (by name) of the relationship condition defined in the authorization model.
contextObjectAdditional context/data to persist along with the condition. The keys must match the parameters defined by the condition, and the value types must match the parameter type definitions.[optional]

Example

require 'openfga'

instance = OpenFga::RelationshipCondition.new(
  name: condition1,
  context: null
)