Cloud OS Login V1 API - Class Google::Cloud::OsLogin::V1::LoginProfile (v0.11.2)

Reference documentation and code samples for the Cloud OS Login V1 API class Google::Cloud::OsLogin::V1::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

#posix_accounts=

def posix_accounts=(value) -> ::Array<::Google::Cloud::OsLogin::Common::PosixAccount>
Parameter
Returns

#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.