Questions tagged [google-cloud-tasks]
262 questions
0
votes
0 answers
Using cloud task and cloud function
I'm trying here to use cloud task with cloud function, so that when a field of my collection is set to true, a task will set it automatically to false after 24 hours.
But i don't understand well everythings about using cloud task and cloud functions…

Jeremy Dormevil
- 430
- 1
- 8
- 22
0
votes
0 answers
Should I create new PubSub instance for every task in each task of Google Cloud Tasks?
I'm working on code that will pull from Google Cloud PubSub. This code is run by Google Cloud Tasks using AppEngine. I created a new subscription in the topic and all of the task instances will pull from this single subscription. Since the task…

Predictory
- 11
- 4
0
votes
1 answer
How to create an list of http target cloud tasks with a certain time difference
I have a firebase cloud function to trigger on write certain file on firebase firestore called onWriteFile.
The function onWriteFile creates a http cloud task to run on certain time in future like follow:
const { CloudTasksClient } =…

Abner Escócio
- 2,697
- 2
- 17
- 36
0
votes
1 answer
It's possible to chaining task with google cloud tasks?
Hi all i'am very new to google cloud task.
I want to know if it's possible to chaining task.

Andre Kouame
- 139
- 1
- 7
0
votes
1 answer
Change maximum concurrent tasks in a GCP Cloud Tasks queue
I'd like to know how to change the maximum number of concurrent tasks in a queue. I know that this can somehow be done in the yaml files, but is this possible using gcloud commands from the terminal?

Rafael Sanchez
- 394
- 7
- 20
0
votes
1 answer
Can I use wildcards when deleting Google Cloud Tasks?
I'm very new to Google Cloud Tasks.
I'm wondering, is there a way to use wildcards when deleting a task? For example, if I potentially had 3 tasks in queue using the following ID naming structure...
id-123-task-1…

Citricguy
- 412
- 7
- 21
0
votes
1 answer
Google Cloud RunTask before its scheduled to run
When using Google Cloud Tasks, how can i prematurely run a tasks that is in the queue. I have a need to run the task before it's scheduled to run. For example the user chooses to navigate away from the page and they are prompted. If they accept the…

user616
- 783
- 4
- 18
- 44
0
votes
3 answers
How to authenticate for Google Cloud App Engine task handlers
I have an App Engine worker that handles requests for my Google Cloud Tasks queue. How can I verify a request from my task queue, since it allows requests from any other host or client?
I try reading App Engine task request headers but I think it…

Phan Dinh
- 245
- 2
- 11
0
votes
1 answer
Cloud task doesn't run on time
What I am trying to do is to change the data in firestore using cloud function and cloud task on a scheduled time. But cloud task doesn't run on time. It is executed right after adding task.
My code is like this.
index.js
exports.addTasks =…

Ooto
- 1,117
- 16
- 39
0
votes
1 answer
How to set a max retry value in App Engine Task Queue?
I have the following retry parameters:
7
1d
1
…

John Doe
- 2,225
- 6
- 16
- 44
0
votes
1 answer
Failed to authenticate to Cloud IAP Backend from Cloud Tasks HTTP Request
I'm trying to use Cloud Tasks HTTP Requests to reach a Kubernetes endpoint behind an HTTPS Load Balancer protected by Cloud IAP.
The endpoint works using any Gsuite company account as it should be but when the Cloud Task executes this is the Cloud…

Federico Ferri
- 31
- 1
- 5
0
votes
1 answer
Add Parameters to Google Cloud Tasks
I want to add a parameter to the Cloud Tasks that can then be retrieved from the Task handler using:
request.getParameter("paramName");
Previously in App Engine Standard I would do the following:
TaskOptions options =…

Chris Vaught
- 117
- 1
- 8
0
votes
1 answer
Initial requests to datastore and cloud tasks have higher latency, is that normal?
My app engine service is written in Go. I have code that connects to Cloud Datastore before even the server listens on the port. There is a single Projection query that takes about 500ms reading just 4 entities. Does the first interaction with…

Siva
- 1,096
- 7
- 20
0
votes
1 answer
Cloud Task expects payload of type 'Bytes', how do I send a dictionary?
I'm trying to learn how to queue up tasks that get processed by a cloud function. Following the example code provided https://cloud.google.com/tasks/docs/creating-http-target-tasks
I am also using the example cloud function code for Python. The…

Ari
- 5,301
- 8
- 46
- 120
0
votes
1 answer
Google AppEngine - Using queues with max_concurrent_requests set to 1: Process terminated because the request deadline was exceeded
I've set up a TaskQueue for my AppEngine API. The API processes large requests, and may take up to three hours to conclude computing, working on one task at a time.
I've set 'max_concurrent_requests' to 1 in the queue.yaml file, so that only one…

Guilherme Coppini
- 102
- 1
- 11