Build Cloud Tasks HTTP target configurations with OIDC authentication, rate limits, and retry policies.
Build Cloud Tasks HTTP target configurations with OIDC authentication, rate limits, retry policies, and dispatch scheduling.
Required Fields
parenttask.httpRequest.urltask.httpRequest.httpMethodOutput will appear here...Build a Cloud Tasks HTTP target task and queue configuration, covering OIDC-authenticated dispatch to a backend, rate limits, and retry policy. maxDispatchesPerSecond defaults to 500/s per queue (raisable via quota request), maxConcurrentDispatches bounds in-flight tasks independent of dispatch rate, and dispatchDeadline (default 1800s / 30 minutes, capped there) is the window Cloud Tasks waits for a response before considering the attempt failed and retrying per retryConfig. The oidcToken block is what actually authenticates the request to a Cloud Run or Cloud Functions target, without it a task hitting an ingress-restricted backend gets a 401/403 that has nothing to do with the task payload itself.
A team enqueues thousands of order-confirmation tasks against a Cloud Run endpoint during a flash sale, and within minutes the queue's dashboard shows a huge backlog of failed attempts, all 403. The team hadn't changed the task config, but a separate security hardening pass earlier that week had tightened the target service's IAM policy and inadvertently removed the Cloud Tasks queue's invoker binding during a broader cleanup. They use the builder to confirm the oidcToken.serviceAccountEmail is unchanged and correctly scoped, re-grant roles/run.invoker to that service account on the target service, and the backlog of failed tasks starts draining automatically as Cloud Tasks retries them per the existing retryConfig.
dispatchDeadline caps at 1800s (30 minutes) — a task calling a genuinely long-running backend operation needs a different pattern (e.g., dispatch a request that starts async work and returns immediately) rather than trying to raise this past its hard limit.
Retrying with maxDoublings set too low against a long-running outage causes backoff to plateau at a low ceiling quickly, meaning constant retry pressure on a downstream service that's still down, tune maxBackoff and maxDoublings together, not independently.
A queue-level rate limit change takes effect only for new dispatches, tasks already scheduled under the old rate configuration keep their existing schedule rather than being retroactively re-throttled.
The builder requires parent, task.httpRequest.url, and task.httpRequest.httpMethod to resolve, the minimum needed to know which queue owns the task and where it's headed; the OIDC auth block, rate limits, and retry policy are validated as well-formed JSON but their correctness against your actual backend's IAM and capacity is on you to verify.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.