I'm extending off of this question: How to create a job with Google Cloud scheduler Python api
I'm wondering how I can insert a body object to be passed along with the function, I can do it via gcloud, and I know according to the v1 docs that the body needs to be passed in a HttpTarget any time I try to pass it that way it errors and says:
TypeError: No positional arguments allowed
Honestly I haven't been able to get from google.cloud.scheduler_v1.types import HttpTarget as Target to work at all.
Can someone give me an example where they successfully used the API to create a job in the Cloud Scheduler with a body (JSON object) sent with it (POST method of course)?