@@ -26,7 +26,7 @@ require('@google-cloud/debug-agent').start();
26
26
* Cloud Function.
27
27
*
28
28
* @param {object } event The Cloud Functions event.
29
- * @param {function } The callback function.
29
+ * @param {function } callback The callback function.
30
30
*/
31
31
exports . helloWorld = function helloWorld ( event , callback ) {
32
32
console . log ( `My Cloud Function: ${ event . data . message } ` ) ;
@@ -63,7 +63,7 @@ exports.helloHttp = function helloHttp (req, res) {
63
63
* Background Cloud Function.
64
64
*
65
65
* @param {object } event The Cloud Functions event.
66
- * @param {function } The callback function.
66
+ * @param {function } callback The callback function.
67
67
*/
68
68
exports . helloBackground = function helloBackground ( event , callback ) {
69
69
callback ( null , `Hello ${ event . data . name || 'World' } !` ) ;
@@ -75,7 +75,7 @@ exports.helloBackground = function helloBackground (event, callback) {
75
75
* Background Cloud Function to be triggered by Pub/Sub.
76
76
*
77
77
* @param {object } event The Cloud Functions event.
78
- * @param {function } The callback function.
78
+ * @param {function } callback The callback function.
79
79
*/
80
80
exports . helloPubSub = function ( event , callback ) {
81
81
const pubsubMessage = event . data ;
@@ -92,7 +92,7 @@ exports.helloPubSub = function (event, callback) {
92
92
* Background Cloud Function to be triggered by Cloud Storage.
93
93
*
94
94
* @param {object } event The Cloud Functions event.
95
- * @param {function } The callback function.
95
+ * @param {function } callback The callback function.
96
96
*/
97
97
exports . helloGCS = function ( event , callback ) {
98
98
const file = event . data ;
@@ -116,7 +116,7 @@ exports.helloGCS = function (event, callback) {
116
116
* Background Cloud Function that throws an error.
117
117
*
118
118
* @param {object } event The Cloud Functions event.
119
- * @param {function } The callback function.
119
+ * @param {function } callback The callback function.
120
120
*/
121
121
exports . helloError = function helloError ( event , callback ) {
122
122
// This WILL be reported to Stackdriver errors
@@ -130,7 +130,7 @@ exports.helloError = function helloError (event, callback) {
130
130
* Background Cloud Function that throws a value.
131
131
*
132
132
* @param {object } event The Cloud Functions event.
133
- * @param {function } The callback function.
133
+ * @param {function } callback The callback function.
134
134
*/
135
135
exports . helloError2 = function helloError2 ( event , callback ) {
136
136
// This will NOT be reported to Stackdriver errors
@@ -143,7 +143,7 @@ exports.helloError2 = function helloError2 (event, callback) {
143
143
* Background Cloud Function that throws an error.
144
144
*
145
145
* @param {object } event The Cloud Functions event.
146
- * @param {function } The callback function.
146
+ * @param {function } callback The callback function.
147
147
*/
148
148
exports . helloError3 = function helloError3 ( event , callback ) {
149
149
// This will NOT be reported to Stackdriver errors
0 commit comments