Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/flexible/tasks/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==1.1.1
gunicorn==19.9.0
google-cloud-tasks==1.2.1
google-cloud-tasks==1.3.0
googleapis-common-protos==1.6.0
4 changes: 2 additions & 2 deletions tasks/create_http_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def create_http_task(project,
# [START cloud_tasks_create_http_task]
"""Create a task for a given queue with an arbitrary payload."""

from google.cloud import tasks_v2beta3
from google.cloud import tasks_v2
from google.protobuf import timestamp_pb2

# Create a client.
client = tasks_v2beta3.CloudTasksClient()
client = tasks_v2.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
# project = 'my-project-id'
Expand Down
4 changes: 2 additions & 2 deletions tasks/create_http_task_with_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def create_http_task(project,
# [START cloud_tasks_create_http_task_with_token]
"""Create a task for a given queue with an arbitrary payload."""

from google.cloud import tasks_v2beta3
from google.cloud import tasks_v2
from google.protobuf import timestamp_pb2

# Create a client.
client = tasks_v2beta3.CloudTasksClient()
client = tasks_v2.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
# project = 'my-project-id'
Expand Down
2 changes: 1 addition & 1 deletion tasks/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-tasks==1.2.1
google-cloud-tasks==1.3.0
googleapis-common-protos==1.6.0