From e77ad91654a474fd7fb807b1c0e9e586dbb98a20 Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Fri, 26 Jun 2020 10:45:45 -0700 Subject: [PATCH 1/3] docs(tasks): serviceAccountEmail parameter example --- tasks/create_http_task_with_token.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/create_http_task_with_token.py b/tasks/create_http_task_with_token.py index 3205c18c651..ecc1f13e61c 100644 --- a/tasks/create_http_task_with_token.py +++ b/tasks/create_http_task_with_token.py @@ -40,6 +40,7 @@ def create_http_task(project, # location = 'us-central1' # url = 'https://example.com/task_handler' # payload = 'hello' + # serviceAccountEmail = 'service-account@my-project-id.iam.gserviceaccount.com'; # Construct the fully qualified queue name. parent = client.queue_path(project, location, queue) From 765d782321eddd7463b82a12955e2866964ac100 Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Fri, 26 Jun 2020 10:48:11 -0700 Subject: [PATCH 2/3] docs(tasks): parameter name camel => snake case --- tasks/create_http_task_with_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/create_http_task_with_token.py b/tasks/create_http_task_with_token.py index ecc1f13e61c..7544bd2a272 100644 --- a/tasks/create_http_task_with_token.py +++ b/tasks/create_http_task_with_token.py @@ -40,7 +40,7 @@ def create_http_task(project, # location = 'us-central1' # url = 'https://example.com/task_handler' # payload = 'hello' - # serviceAccountEmail = 'service-account@my-project-id.iam.gserviceaccount.com'; + # service_account_email = 'service-account@my-project-id.iam.gserviceaccount.com'; # Construct the fully qualified queue name. parent = client.queue_path(project, location, queue) From bcd3fce041f88bd6064940194f825403f933103a Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Fri, 26 Jun 2020 11:24:38 -0700 Subject: [PATCH 3/3] docs(tasks): comment order = function param order --- tasks/create_http_task_with_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/create_http_task_with_token.py b/tasks/create_http_task_with_token.py index 7544bd2a272..7320ede3a99 100644 --- a/tasks/create_http_task_with_token.py +++ b/tasks/create_http_task_with_token.py @@ -39,8 +39,8 @@ def create_http_task(project, # queue = 'my-queue' # location = 'us-central1' # url = 'https://example.com/task_handler' - # payload = 'hello' # service_account_email = 'service-account@my-project-id.iam.gserviceaccount.com'; + # payload = 'hello' # Construct the fully qualified queue name. parent = client.queue_path(project, location, queue)