# Class PosixAccount (2.22.0)

2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.0 2.17.2 2.16.0 2.15.1 2.14.6 2.13.0 2.12.0 2.11.0 2.10.0 2.9.1 2.8.0 2.7.4 2.6.2 2.5.1 2.4.0 2.3.2 2.2.1 2.1.0 2.0.0 1.0.2 0.3.2 0.2.0

    PosixAccount(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The POSIX account information associated with a Google
account.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `primary` | `bool` Only one POSIX account can be marked as primary. |
| `username` | `str` The username of the POSIX account. |
| `uid` | `int` The user ID. |
| `gid` | `int` The default group ID. |
| `home_directory` | `str` The path to the home directory for this account. |
| `shell` | `str` The path to the logic shell for this account. |
| `gecos` | `str` The GECOS (user information) entry for this account. |
| `system_id` | `str` System identifier for which account the username or uid applies to. By default, the empty value is used. |
| `account_id` | `str` Output only. A POSIX account identifier. |
| `operating_system_type` | `google.cloud.oslogin.v1.types.OperatingSystemType` The operating system type where this account applies. |
| `name` | `str` Output only. The canonical resource name. |