Class: Google::Apis::ClouduseraccountsBeta::LinuxUserView
- Inherits:
-
Object
- Object
- Google::Apis::ClouduseraccountsBeta::LinuxUserView
- Defined in:
- generated/google/apis/clouduseraccounts_beta/classes.rb,
generated/google/apis/clouduseraccounts_beta/representations.rb,
generated/google/apis/clouduseraccounts_beta/representations.rb
Overview
A detailed view of a Linux user account.
Instance Attribute Summary collapse
-
#gecos ⇒ String
[Output Only] The GECOS (user information) entry for this account.
-
#gid ⇒ Fixnum
[Output Only] User's default group ID.
-
#home_directory ⇒ String
[Output Only] The path to the home directory for this account.
-
#shell ⇒ String
[Output Only] The path to the login shell for this account.
-
#uid ⇒ Fixnum
[Output Only] User ID.
-
#username ⇒ String
[Output Only] The username of the account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinuxUserView
constructor
A new instance of LinuxUserView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LinuxUserView
Returns a new instance of LinuxUserView.
332 333 334 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gecos ⇒ String
[Output Only] The GECOS (user information) entry for this account.
Corresponds to the JSON property gecos
305 306 307 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 305 def gecos @gecos end |
#gid ⇒ Fixnum
[Output Only] User's default group ID.
Corresponds to the JSON property gid
310 311 312 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 310 def gid @gid end |
#home_directory ⇒ String
[Output Only] The path to the home directory for this account.
Corresponds to the JSON property homeDirectory
315 316 317 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 315 def home_directory @home_directory end |
#shell ⇒ String
[Output Only] The path to the login shell for this account.
Corresponds to the JSON property shell
320 321 322 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 320 def shell @shell end |
#uid ⇒ Fixnum
[Output Only] User ID.
Corresponds to the JSON property uid
325 326 327 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 325 def uid @uid end |
#username ⇒ String
[Output Only] The username of the account.
Corresponds to the JSON property username
330 331 332 |
# File 'generated/google/apis/clouduseraccounts_beta/classes.rb', line 330 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 340 341 342 343 344 |
# 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 |