# PosixAccount

- [JSON representation](https://docs.cloud.google.com/compute/docs/oslogin/rest/Shared.Types/PosixAccount#SCHEMA_REPRESENTATION)

The POSIX account information associated with a Google account.

| JSON representation |
|---|
| ``` { "primary": boolean, "username": string, "uid": string, "gid": string, "homeDirectory": string, "shell": string, "gecos": string, "systemId": string, "accountId": string, "operatingSystemType": enum (`https://docs.cloud.google.com/compute/docs/oslogin/rest/Shared.Types/OperatingSystemType`), "name": string } ``` |

| Fields ||
|---|---|
| `primary` | `boolean` Only one POSIX account can be marked as primary. |
| `username` | `string` The username of the POSIX account. |
| `uid` | `string (https://developers.google.com/discovery/v1/type-format format)` The user ID. |
| `gid` | `string (https://developers.google.com/discovery/v1/type-format format)` The default group ID. |
| `homeDirectory` | `string` The path to the home directory for this account. |
| `shell` | `string` The path to the logic shell for this account. |
| `gecos` | `string` The GECOS (user information) entry for this account. |
| `systemId` | `string` System identifier for which account the username or uid applies to. By default, the empty value is used. |
| `accountId` | `string` Output only. A POSIX account identifier. |
| `operatingSystemType` | ``enum (`https://docs.cloud.google.com/compute/docs/oslogin/rest/Shared.Types/OperatingSystemType`)`` The operating system type where this account applies. |
| `name` | `string` Output only. The canonical resource name. |