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 4c5c20b commit 599ab03Copy full SHA for 599ab03
functions/helloworld/main.py
@@ -37,22 +37,6 @@ def hello_get(request):
37
# [END functions_helloworld_get]
38
39
40
-# [START functions_helloworld_background]
41
-def hello_background(event, context):
42
- """Background Cloud Function.
43
- Args:
44
- event (dict): The dictionary with data specific to the given event.
45
- context (google.cloud.functions.Context): The Cloud Functions event
46
- metadata.
47
- """
48
- if event and 'name' in event:
49
- name = event['name']
50
- else:
51
- name = 'World'
52
- return 'Hello {}!'.format(name)
53
-# [END functions_helloworld_background]
54
-
55
56
# [START functions_helloworld_http]
57
def hello_http(request):
58
"""HTTP Cloud Function.
0 commit comments