OsLogin/src/V1beta/UpdateSshPublicKeyRequest.php
public function setSshPublicKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\OsLogin\Common\SshPublicKey::class);
        $this->ssh_public_key = $var;

        return $this;
    }
public function setSshPublicKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\OsLogin\Common\SshPublicKey::class);
        $this->ssh_public_key = $var;

        return $this;
    }
public function setSshPublicKey ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ OsLogin \ Common \ SshPublicKey :: class ) ; $ this -> ssh_public_key = $ var ; return $ this ; }
The SSH public key and expiration time.

Generated from protobuf field <code>.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2;</code>
@param \Google\Cloud\OsLogin\Common\SshPublicKey $var
@return $this
The SSH public key and expiration time .