Skip to content

Instantly share code, notes, and snippets.

@grant grant/index.js
Last active Oct 17, 2019

Embed
What would you like to do?
Cloud Tasks – Create HTTP Task
const parent = client.queuePath(project, location, queue);
const task = {
httpRequest: {
httpMethod: 'POST',
url,
},
};
const [response] = await client.createTask({parent, task});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.