hardgcloud

Create a Cloud Scheduler job that authenticates to an OIDC-protected endpoint

command

gcloud scheduler jobs create http JOB_NAME --schedule "CRON" --uri URI --oidc-service-account-email SA_EMAIL --location LOCATION

also accepted

gcloud scheduler jobs create httpgcloud scheduler jobs create http JOB_NAME --oidc-service-account-email

Command breakdown

Part of the Google Cloud CLI (gcloud) — Cloud Scheduler category.

gcloudschedulerjobscreatehttpJOB_NAME--schedule"CRON"--uriURI--oidc-service-account-emailSA_EMAIL--locationLOCATION
FlagPurpose
--scheduleBoolean flag
--uriBoolean flag
--oidc-service-account-emailBoolean flag
--locationBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →