If you are not able to 'work' the dog, never get a 'working dog' like a shepherd. They will be bored out of their brain with nothing to do and will be naughty and destructive.
If you can't exercise the dog and you live in a small apartment, a large dog will feel cooped-up.
We live in an apartment, we've had one miniature poodle till he died and now, after five years, have another.
She is an 'inside' dog, and has been trained not to soil the place. She goes out for a 'poo walk' every morning about 6-7 am, and has a 'wee pad' on the balcony. She literally is a member of the family rather than a pet.