# nokku.v1.EndingGrant

EndingGrant is a subject's grants on one account that end at the same time, usually given in one go.

Type: `object`

- `subjectKind` (string): One of: `SUBJECT_KIND_UNSPECIFIED`, `SUBJECT_KIND_USER`, `SUBJECT_KIND_TEAM`, `SUBJECT_KIND_SERVICE_ACCOUNT`.
- `subjectId` (string)
- `subjectName` (string)
- `username` (string)
- `expiresAt` (string): A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
- `targets` (array<nokku.v1.EndingGrant.Target>): the first 20 by name, target_count has them all
- `targetCount` (integer)
