Humble brag (n.)

A self-deprecating remark that highlights how important the speaker or writer is.

For examples, check out this compilation of humble brags.