Class: Google::Cloud::Oslogin::V1::LoginProfile

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb

Overview

The user profile information used for logging in to a virtual machine on Google Compute Engine.

Instance Attribute Summary collapse

Instance Attribute Details

#name ⇒ String

Returns The primary email address that uniquely identifies the user.

Returns:

  • (String) —

    The primary email address that uniquely identifies the user.



45
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 45

class LoginProfile; end

#posix_accounts ⇒ Array<Google::Cloud::Oslogin::Common::PosixAccount>

Returns The list of POSIX accounts associated with the user.

Returns:



45
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 45

class LoginProfile; end

#ssh_public_keys ⇒ Hash{String => Google::Cloud::Oslogin::Common::SshPublicKey}

Returns A map from SSH public key fingerprint to the associated key object.

Returns:



45
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 45

class LoginProfile; end

#suspended ⇒ true, false

Returns Indicates if the user is suspended. A suspended user cannot log in but their profile information is retained.

Returns:

  • (true, false) —

    Indicates if the user is suspended. A suspended user cannot log in but their profile information is retained.



45
# File 'lib/google/cloud/os_login/v1/doc/google/cloud/oslogin/v1/oslogin.rb', line 45

class LoginProfile; end