OpenFga::WriteRequestWrites
February 16, 2026 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| tuple_keys | Array<TupleKey> | ||
| on_duplicate | String | On '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
)