Oh right. You'll want to look at the Cloud Tasks API documentation for details on what all the parameters are and mean. Its a bit annoying since the Go names are slightly different from the raw protocol buffers APIs, but we managed to get it working with some trial and error. Sorry I don't have an easy example to provide:
And yes, there is no local emulator. You'll have to either write a local stub, like you would to test other things, or test against a real version (e.g. a testing project?)
Good luck,
Evan