Cloud OS Login V1beta API - Class Google::Cloud::OsLogin::Common::PosixAccount (v0.15.1)

Reference documentation and code samples for the Cloud OS Login V1beta API class Google::Cloud::OsLogin::Common::PosixAccount.

The POSIX account information associated with a Google account.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account_id

def account_id() -> ::String
Returns
  • (::String) — Output only. A POSIX account identifier.

#gecos

def gecos() -> ::String
Returns
  • (::String) — The GECOS (user information) entry for this account.

#gecos=

def gecos=(value) -> ::String
Parameter
  • value (::String) — The GECOS (user information) entry for this account.
Returns
  • (::String) — The GECOS (user information) entry for this account.

#gid

def gid() -> ::Integer
Returns
  • (::Integer) — The default group ID.

#gid=

def gid=(value) -> ::Integer
Parameter
  • value (::Integer) — The default group ID.
Returns
  • (::Integer) — The default group ID.

#home_directory

def home_directory() -> ::String
Returns
  • (::String) — The path to the home directory for this account.

#home_directory=

def home_directory=(value) -> ::String
Parameter
  • value (::String) — The path to the home directory for this account.
Returns
  • (::String) — The path to the home directory for this account.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The canonical resource name.

#operating_system_type

def operating_system_type() -> ::Google::Cloud::OsLogin::Common::OperatingSystemType
Returns

#operating_system_type=

def operating_system_type=(value) -> ::Google::Cloud::OsLogin::Common::OperatingSystemType
Parameter
Returns

#primary

def primary() -> ::Boolean
Returns
  • (::Boolean) — Only one POSIX account can be marked as primary.

#primary=

def primary=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Only one POSIX account can be marked as primary.
Returns
  • (::Boolean) — Only one POSIX account can be marked as primary.

#shell

def shell() -> ::String
Returns
  • (::String) — The path to the logic shell for this account.

#shell=

def shell=(value) -> ::String
Parameter
  • value (::String) — The path to the logic shell for this account.
Returns
  • (::String) — The path to the logic shell for this account.

#system_id

def system_id() -> ::String
Returns
  • (::String) — System identifier for which account the username or uid applies to. By default, the empty value is used.

#system_id=

def system_id=(value) -> ::String
Parameter
  • value (::String) — System identifier for which account the username or uid applies to. By default, the empty value is used.
Returns
  • (::String) — System identifier for which account the username or uid applies to. By default, the empty value is used.

#uid

def uid() -> ::Integer
Returns
  • (::Integer) — The user ID.

#uid=

def uid=(value) -> ::Integer
Parameter
  • value (::Integer) — The user ID.
Returns
  • (::Integer) — The user ID.

#username

def username() -> ::String
Returns
  • (::String) — The username of the POSIX account.

#username=

def username=(value) -> ::String
Parameter
  • value (::String) — The username of the POSIX account.
Returns
  • (::String) — The username of the POSIX account.