HttpTarget Object
HttpTarget(
headers = NULL,
body = NULL,
oauthToken = NULL,
uri = NULL,
oidcToken = NULL,
httpMethod = NULL
)
A named list of HTTP headers e.g. list(Blah = "yes", Boo = "no")
HTTP request body. Just send in the R object/list, which will be base64encoded correctly
If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request. This type of authorization should be used when sending requests to a GCP endpoint.
Required
If specified, an OIDC token will be generated and attached as an Authorization header in the HTTP request. This type of authorization should be used when sending requests to third party endpoints or Cloud Run.
Which HTTP method to use for the request
HttpTarget object
https://cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs#HttpTarget
Other Cloud Scheduler functions:
Job()
,
PubsubTarget()
,
cr_build_schedule_http()
,
cr_run_schedule_http()
,
cr_schedule_delete()
,
cr_schedule_get()
,
cr_schedule_list()
,
cr_schedule_pause()
,
cr_schedule_run()