We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb8a24b commit eeb11b4Copy full SHA for eeb11b4
cloud-tasks/snippets/create_http_task.py
@@ -76,7 +76,7 @@ def create_http_task(
76
77
if task_name is not None:
78
# Add the name to tasks.
79
- task["name"] = task_name
+ task["name"] = client.task_path(project, location, queue, task_name)
80
81
# Use the client to build and send the task.
82
response = client.create_task(request={"parent": parent, "task": task})
0 commit comments