Reference documentation and code samples for the Cloud OS Login V1 API class Google::Cloud::OsLogin::V1::CreateSshPublicKeyRequest.
A request message for creating an SSH public key.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The unique ID for the user in format
users/{user}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The unique ID for the user in format
users/{user}
.
Returns
-
(::String) — Required. The unique ID for the user in format
users/{user}
.
#ssh_public_key
def ssh_public_key() -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Returns
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — Required. The SSH public key and expiration time.
#ssh_public_key=
def ssh_public_key=(value) -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Parameter
- value (::Google::Cloud::OsLogin::Common::SshPublicKey) — Required. The SSH public key and expiration time.
Returns
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — Required. The SSH public key and expiration time.