← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/java/models/AccessPolicyTarget.md

567 Bytes · Oct 2, 2026 · 00:24 UTC

↓ Download file

<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 -->

# AccessPolicyTarget

A typed access-policy target. resourceId is omitted for INSTANCE and required otherwise.

- `kind` (`ResourceKind`): Concrete target kind.
- `resourceId` (`ResourceId`): Concrete resource UUID; omitted for the singleton INSTANCE target. Typed wrapper `ResourceId`; build from a raw string with `ResourceId.from(String)`.

[Java](../../java.md)

Related types — open only those used by your request:

- [ResourceId](ResourceId.md)
- [ResourceKind](ResourceKind.md)

SHA-256: 24b57471e990c858324d4c7055e766094fe106ddf1bb98f9520dc7604d4bdb23