class Google::Apis::AdminDirectoryV1::UserPosixAccount
JSON template for a POSIX account entry.
Attributes
A POSIX account field identifier. Corresponds to the JSON property `accountId` @return [String]
The GECOS (user information) for this account. Corresponds to the JSON property `gecos` @return [String]
The default group ID. Corresponds to the JSON property `gid` @return [Fixnum]
The path to the home directory for this account. Corresponds to the JSON property `homeDirectory` @return [String]
The operating system type for this account. Corresponds to the JSON property `operatingSystemType` @return [String]
If this is user's primary account within the SystemId. Corresponds to the JSON property `primary` @return [Boolean]
If this is user's primary account within the SystemId. Corresponds to the JSON property `primary` @return [Boolean]
The path to the login shell for this account. Corresponds to the JSON property `shell` @return [String]
System identifier for which account Username or Uid apply to. Corresponds to the JSON property `systemId` @return [String]
The POSIX compliant user ID. Corresponds to the JSON property `uid` @return [Fixnum]
The username of the account. Corresponds to the JSON property `username` @return [String]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 4675 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admin_directory_v1/classes.rb, line 4680 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @gecos = args[:gecos] if args.key?(:gecos) @gid = args[:gid] if args.key?(:gid) @home_directory = args[:home_directory] if args.key?(:home_directory) @operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type) @primary = args[:primary] if args.key?(:primary) @shell = args[:shell] if args.key?(:shell) @system_id = args[:system_id] if args.key?(:system_id) @uid = args[:uid] if args.key?(:uid) @username = args[:username] if args.key?(:username) end