class Google::Apis::ClouduseraccountsBeta::LinuxUserView
A detailed view of a Linux user account.
Attributes
gecos[RW]
- Output Only
-
The GECOS (user information) entry for this account.
Corresponds to the JSON property `gecos` @return [String]
gid[RW]
- Output Only
-
User's default group ID.
Corresponds to the JSON property `gid` @return [Fixnum]
home_directory[RW]
- Output Only
-
The path to the home directory for this account.
Corresponds to the JSON property `homeDirectory` @return [String]
shell[RW]
- Output Only
-
The path to the login shell for this account.
Corresponds to the JSON property `shell` @return [String]
uid[RW]
- Output Only
-
User ID.
Corresponds to the JSON property `uid` @return [Fixnum]
username[RW]
- Output Only
-
The username of the account.
Corresponds to the JSON property `username` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 332 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 337 def update!(**args) @gecos = args[:gecos] if args.key?(:gecos) @gid = args[:gid] if args.key?(:gid) @home_directory = args[:home_directory] if args.key?(:home_directory) @shell = args[:shell] if args.key?(:shell) @uid = args[:uid] if args.key?(:uid) @username = args[:username] if args.key?(:username) end