Skip to content

Commit

Permalink
docs: Remove duplicate region tags (#12059)
Browse files Browse the repository at this point in the history
* docs: Remove duplicate region tags

Per b/257989818

* docs: Remove duplicate region tags

Per b/257989818
  • Loading branch information
camiekim authored Jul 22, 2024
1 parent 513f3a1 commit fbf5017
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions appengine/flexible_python37_and_earlier/tasks/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@


def create_queue(project, location, queue_blue_name, queue_red_name):
# [START cloud_tasks_taskqueues_using_yaml]
client = tasks.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
Expand All @@ -42,12 +41,10 @@ def create_queue(project, location, queue_blue_name, queue_red_name):
for queue in queues:
response = client.create_queue(parent=parent, queue=queue)
print(response)
# [END cloud_tasks_taskqueues_using_yaml]
return response


def update_queue(project, location, queue):
# [START cloud_tasks_taskqueues_processing_rate]
client = tasks.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
Expand All @@ -65,7 +62,6 @@ def update_queue(project, location, queue):

response = client.update_queue(queue=queue)
print(response)
# [END cloud_tasks_taskqueues_processing_rate]
return response


Expand Down Expand Up @@ -192,7 +188,6 @@ def purge_queue(project, location, queue):


def pause_queue(project, location, queue):
# [START cloud_tasks_taskqueues_pause_queue]
client = tasks.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
Expand All @@ -202,7 +197,6 @@ def pause_queue(project, location, queue):

queue_path = client.queue_path(project, location, queue)
response = client.pause_queue(name=queue_path)
# [END cloud_tasks_taskqueues_pause_queue]
return response


Expand Down

0 comments on commit fbf5017

Please sign in to comment.