Skip to content

Commit 6579655

Browse files
gguussfhinkel
authored andcommitted
Adds updated Cloud SDK instructions (GoogleCloudPlatform#911)
1 parent 0c3e98c commit 6579655

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

iot/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ Cloud IoT Core platform.
1919

2020
1. Create a registry:
2121

22-
gcloud beta iot registries create my-registry \
23-
--project=my-iot-project \
24-
--region=us-central1 \
25-
--event-pubsub-topic=projects/my-iot-project/topics/device-events
22+
gcloud iot registries create "your-registry-id" \
23+
--project=<your-project-id> \
24+
--region=us-central1 \
25+
--event-notification-config=topic=projects/<your-project-id>/topics/<pubsub-topic-name>
2626

2727
1. Use the `generate_keys.sh` script to generate your signing keys:
2828

2929
./scripts/generate_keys.sh
3030

3131
1. Create a device.
3232

33-
gcloud beta iot devices create my-node-device \
33+
gcloud iot devices create my-node-device \
3434
--project=my-iot-project \
3535
--region=us-central1 \
3636
--registry=my-registry \

0 commit comments

Comments
 (0)