It looks like caper spurge Euphorbia lathyris but I am not sure if you have that over there. if it is it's poisonous it is a spurge of some sort even if it's not that one.
Why is your dog always so ... moist? Check this tiny ad for some sort of cure:
3D garden planner for flowers & vegetables. Try it free.