class Google::Apis::AdminDirectoryV1::UserPosixAccount

JSON template for a POSIX account entry.

Attributes

account_id[RW]

A POSIX account field identifier. Corresponds to the JSON property `accountId` @return [String]

gecos[RW]

The GECOS (user information) for this account. Corresponds to the JSON property `gecos` @return [String]

gid[RW]

The default group ID. Corresponds to the JSON property `gid` @return [Fixnum]

home_directory[RW]

The path to the home directory for this account. Corresponds to the JSON property `homeDirectory` @return [String]

operating_system_type[RW]

The operating system type for this account. Corresponds to the JSON property `operatingSystemType` @return [String]

primary[RW]

If this is user's primary account within the SystemId. Corresponds to the JSON property `primary` @return [Boolean]

primary?[RW]

If this is user's primary account within the SystemId. Corresponds to the JSON property `primary` @return [Boolean]

shell[RW]

The path to the login shell for this account. Corresponds to the JSON property `shell` @return [String]

system_id[RW]

System identifier for which account Username or Uid apply to. Corresponds to the JSON property `systemId` @return [String]

uid[RW]

The POSIX compliant user ID. Corresponds to the JSON property `uid` @return [Fixnum]

username[RW]

The username of the account. Corresponds to the JSON property `username` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 4675
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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