Skip to content

Commit aa1ffb5

Browse files
committed
Document Cloud Function config to update.
1 parent 9ad9501 commit aa1ffb5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/content/integrate/gcp-cloud-iot-core.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,20 @@ API method. Example:
6363

6464
#### `index.js`
6565

66+
You need to replace:
67+
68+
* `REGION` with your GCP region
69+
* `PROJECT_ID` with your GCP project ID
70+
* `REGISTRY_ID` with your GCP Cloud IoT Core registry ID
71+
6672
{{<highlight js>}}
6773
'use strict';
6874

6975
const {google} = require('googleapis');
7076

7177
// configuration options
7278
const REGION = 'europe-west1';
73-
const PROJECT_ID = 'lora-server-tutorial-2';
79+
const PROJECT_ID = 'loraserver';
7480
const REGISTRY_ID = 'eu868-gateways';
7581

7682

0 commit comments

Comments
 (0)