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 afa072c commit 46a0687Copy full SHA for 46a0687
appengine/flexible/tasks/create_http_task.py
@@ -27,11 +27,11 @@ def create_http_task(project,
27
# [START cloud_tasks_create_http_task]
28
"""Create a task for a given queue with an arbitrary payload."""
29
30
- from google.cloud import tasks
+ from google.cloud import tasks_v2beta3
31
from google.protobuf import timestamp_pb2
32
33
# Create a client.
34
- client = tasks.CloudTasksClient()
+ client = tasks_v2beta3.CloudTasksClient()
35
36
# TODO(developer): Uncomment these lines and replace with your values.
37
# project = 'my-project-id'
0 commit comments