Skip to content

Commit fbf5017

Browse files
authored
docs: Remove duplicate region tags (GoogleCloudPlatform#12059)
* docs: Remove duplicate region tags Per b/257989818 * docs: Remove duplicate region tags Per b/257989818
1 parent 513f3a1 commit fbf5017

File tree

1 file changed

+0
-6
lines changed
  • appengine/flexible_python37_and_earlier/tasks

1 file changed

+0
-6
lines changed

appengine/flexible_python37_and_earlier/tasks/snippets.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717

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

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

4846

4947
def update_queue(project, location, queue):
50-
# [START cloud_tasks_taskqueues_processing_rate]
5148
client = tasks.CloudTasksClient()
5249

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

6663
response = client.update_queue(queue=queue)
6764
print(response)
68-
# [END cloud_tasks_taskqueues_processing_rate]
6965
return response
7066

7167

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

193189

194190
def pause_queue(project, location, queue):
195-
# [START cloud_tasks_taskqueues_pause_queue]
196191
client = tasks.CloudTasksClient()
197192

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

203198
queue_path = client.queue_path(project, location, queue)
204199
response = client.pause_queue(name=queue_path)
205-
# [END cloud_tasks_taskqueues_pause_queue]
206200
return response
207201

208202

0 commit comments

Comments
 (0)