public final SshPublicKey getSshPublicKey(FingerprintName name) {

    GetSshPublicKeyRequest request =
        GetSshPublicKeyRequest.newBuilder().setName(name == null ? null : name.toString()).build();
    return getSshPublicKey(request);
  }
public final SshPublicKey getSshPublicKey ( FingerprintName name ) { GetSshPublicKeyRequest request = GetSshPublicKeyRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; return getSshPublicKey ( request ) ; }
Retrieves an SSH public key.

<p>Sample code:

<pre><code>
try (OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient.create()) {
FingerprintName name = FingerprintName.of("[USER]", "[FINGERPRINT]");
SshPublicKey response = osLoginServiceClient.getSshPublicKey(name);
}
</code></pre>

@param name The fingerprint of the public key to retrieve. Public keys are identified by their
SHA-256 fingerprint. The fingerprint of the public key is in format
`users/{user}/sshPublicKeys/{fingerprint}`.
@throws com.google.api.gax.rpc.ApiException if the remote call fails