OpenFga::WriteRequestWrites

February 16, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
tuple_keysArray<TupleKey>
on_duplicateStringOn 'error' ( or unspecified ), the API returns an error if an identical tuple already exists. On 'ignore', identical writes are treated as no-ops (matching on user, relation, object, and RelationshipCondition).[optional][default to 'error']

Example

require 'openfga'

instance = OpenFga::WriteRequestWrites.new(
  tuple_keys: null,
  on_duplicate: ignore
)