Class: Google::Apis::OsloginV1::PosixAccount
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::OsloginV1::PosixAccount
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/oslogin_v1/classes.rb,
 generated/google/apis/oslogin_v1/representations.rb,
 generated/google/apis/oslogin_v1/representations.rb
Overview
The POSIX account information associated with a Google account.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #gecos  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The GECOS (user information) entry for this account. 
- 
  
    
      #gid  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The default group ID. 
- 
  
    
      #home_directory  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The path to the home directory for this account. 
- 
  
    
      #operating_system_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The operating system type where this account applies. 
- 
  
    
      #primary  ⇒ Boolean 
    
    
      (also: #primary?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Only one POSIX account can be marked as primary. 
- 
  
    
      #shell  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The path to the logic shell for this account. 
- 
  
    
      #system_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    System identifier for which account the username or uid applies to. 
- 
  
    
      #uid  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The user ID. 
- 
  
    
      #username  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The username of the POSIX account. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PosixAccount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PosixAccount. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PosixAccount
Returns a new instance of PosixAccount
| 152 153 154 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 152 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
Output only. A POSIX account identifier.
Corresponds to the JSON property accountId
| 103 104 105 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 103 def account_id @account_id end | 
#gecos ⇒ String
The GECOS (user information) entry for this account.
Corresponds to the JSON property gecos
| 108 109 110 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 108 def gecos @gecos end | 
#gid ⇒ Fixnum
The default group ID.
Corresponds to the JSON property gid
| 113 114 115 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 113 def gid @gid end | 
#home_directory ⇒ String
The path to the home directory for this account.
Corresponds to the JSON property homeDirectory
| 118 119 120 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 118 def home_directory @home_directory end | 
#operating_system_type ⇒ String
The operating system type where this account applies.
Corresponds to the JSON property operatingSystemType
| 123 124 125 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 123 def @operating_system_type end | 
#primary ⇒ Boolean Also known as: primary?
Only one POSIX account can be marked as primary.
Corresponds to the JSON property primary
| 128 129 130 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 128 def primary @primary end | 
#shell ⇒ String
The path to the logic shell for this account.
Corresponds to the JSON property shell
| 134 135 136 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 134 def shell @shell end | 
#system_id ⇒ String
System identifier for which account the username or uid applies to.
By default, the empty value is used.
Corresponds to the JSON property systemId
| 140 141 142 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 140 def system_id @system_id end | 
#uid ⇒ Fixnum
The user ID.
Corresponds to the JSON property uid
| 145 146 147 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 145 def uid @uid end | 
#username ⇒ String
The username of the POSIX account.
Corresponds to the JSON property username
| 150 151 152 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 150 def username @username end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 157 158 159 160 161 162 163 164 165 166 167 168 | # File 'generated/google/apis/oslogin_v1/classes.rb', line 157 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 |