Reference documentation and code samples for the Google Cloud OsLogin Client class PosixAccount.
The POSIX account information associated with a Google account.
Generated from protobuf message google.cloud.oslogin.common.PosixAccount
Namespace
Google \ Cloud \ OsLogin \ CommonMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ primary
bool
Only one POSIX account can be marked as primary.
↳ username
string
The username of the POSIX account.
↳ uid
int|string
The user ID.
↳ gid
int|string
The default group ID.
↳ home_directory
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.
↳ system_id
string
System identifier for which account the username or uid applies to. By default, the empty value is used.
↳ account_id
string
Output only. A POSIX account identifier.
↳ operating_system_type
int
The operating system type where this account applies.
↳ name
string
Output only. The canonical resource name.
getPrimary
Only one POSIX account can be marked as primary.
bool
setPrimary
Only one POSIX account can be marked as primary.
var
bool
$this
getUsername
The username of the POSIX account.
string
setUsername
The username of the POSIX account.
var
string
$this
getUid
The user ID.
int|string
setUid
The user ID.
var
int|string
$this
getGid
The default group ID.
int|string
setGid
The default group ID.
var
int|string
$this
getHomeDirectory
The path to the home directory for this account.
string
setHomeDirectory
The path to the home directory for this account.
var
string
$this
getShell
The path to the logic shell for this account.
string
setShell
The path to the logic shell for this account.
var
string
$this
getGecos
The GECOS (user information) entry for this account.
string
setGecos
The GECOS (user information) entry for this account.
var
string
$this
getSystemId
System identifier for which account the username or uid applies to.
By default, the empty value is used.
string
setSystemId
System identifier for which account the username or uid applies to.
By default, the empty value is used.
var
string
$this
getAccountId
Output only. A POSIX account identifier.
string
setAccountId
Output only. A POSIX account identifier.
var
string
$this
getOperatingSystemType
The operating system type where this account applies.
int
setOperatingSystemType
The operating system type where this account applies.
var
int
Enum of type OperatingSystemType .
$this
getName
Output only. The canonical resource name.
string
setName
Output only. The canonical resource name.
var
string
$this

