Transparent gradients in AI like in PSD

Click on the black [mask] and draw a larger box

Drag a gradient swatch to the new larger box

There you have it.