I'm trying to trigger a batch dataflow job via API so I'm trying to get it working in the API explorer tool here. Unfortunately, the docs do not specify what the required parameters are, so I took a few stabs, but I can't get anything but this response:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT"
}
}
The payload needs to be this Job, but that doc is an exhaustive list of the Job properties of an already triggered job. Nonetheless, I took a stab:
{
"projectId": "my-project",
"location": "us-central1",
"name": "some-random-name",
"type": "JOB_TYPE_BATCH"
}
But I can't get the api explorer to return anything helpful.
Has anyone gotten this to work?