Reference documentation and code samples for the Cloud OS Login V1beta API class Google::Cloud::OsLogin::V1beta::LoginProfile.
The user profile information used for logging in to a virtual machine on Google Compute Engine.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. A unique user ID.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. A unique user ID.
Returns
- (::String) — Required. A unique user ID.
#posix_accounts
def posix_accounts() -> ::Array<::Google::Cloud::OsLogin::Common::PosixAccount>
Returns
- (::Array<::Google::Cloud::OsLogin::Common::PosixAccount>) — The list of POSIX accounts associated with the user.
#posix_accounts=
def posix_accounts=(value) -> ::Array<::Google::Cloud::OsLogin::Common::PosixAccount>
Parameter
- value (::Array<::Google::Cloud::OsLogin::Common::PosixAccount>) — The list of POSIX accounts associated with the user.
Returns
- (::Array<::Google::Cloud::OsLogin::Common::PosixAccount>) — The list of POSIX accounts associated with the user.
#security_keys
def security_keys() -> ::Array<::Google::Cloud::OsLogin::V1beta::SecurityKey>
Returns
- (::Array<::Google::Cloud::OsLogin::V1beta::SecurityKey>) — The registered security key credentials for a user.
#security_keys=
def security_keys=(value) -> ::Array<::Google::Cloud::OsLogin::V1beta::SecurityKey>
Parameter
- value (::Array<::Google::Cloud::OsLogin::V1beta::SecurityKey>) — The registered security key credentials for a user.
Returns
- (::Array<::Google::Cloud::OsLogin::V1beta::SecurityKey>) — The registered security key credentials for a user.
#ssh_public_keys
def ssh_public_keys() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::OsLogin::Common::SshPublicKey}
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::OsLogin::Common::SshPublicKey}) — A map from SSH public key fingerprint to the associated key object.
#ssh_public_keys=
def ssh_public_keys=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::OsLogin::Common::SshPublicKey}
Parameter
- value (::Google::Protobuf::Map{::String => ::Google::Cloud::OsLogin::Common::SshPublicKey}) — A map from SSH public key fingerprint to the associated key object.
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::OsLogin::Common::SshPublicKey}) — A map from SSH public key fingerprint to the associated key object.