| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a1a3ded commit 8317092
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,29 +4,29 @@ Google Cloud IoT Core platform. | |||
| 4 | 4 | ||
| 5 | 5 | ## Quickstart | |
| 6 | 6 | ||
| 7 | - 1. Install the gCloud CLI as described in [the device manager guide](https://cloud.google.com/iot/docs/device_manager_guide). | ||
| 7 | + 1. Install the gCloud CLI as described in [the Cloud IoT Core documentation](https://cloud.google.com/iot/docs/how-tos/getting-started#set_up_the_google_cloud_sdk_and_gcloud). | ||
| 8 | 8 | 2. Create a PubSub topic: | |
| 9 | 9 | ||
| 10 | 10 | gcloud beta pubsub topics create projects/my-iot-project/topics/device-events | |
| 11 | 11 | ||
| 12 | - 3. Add the special account `cloud-iot@system.gserviceaccount.com` to that | ||
| 12 | + 3. Add the special account `cloud-iot@system.gserviceaccount.com` with the role `Publisher` to that | ||
| 13 | 13 | PubSub topic from the [Cloud Developer Console](https://console.cloud.google.com) | |
| 14 | 14 | or by using the helper script in the [/scripts](./scripts) folder. | |
| 15 | 15 | ||
| 16 | 16 | 4. Create a registry: | |
| 17 | 17 | ||
| 18 | - gcloud alpha iot registries create my-registry \ | ||
| 18 | + gcloud beta iot registries create my-registry \ | ||
| 19 | 19 | --project=my-iot-project \ | |
| 20 | 20 | --region=us-central1 \ | |
| 21 | - --pubsub-topic=projects/my-iot-project/topics/device-events | ||
| 21 | + --event-pubsub-topic=projects/my-iot-project/topics/device-events | ||
| 22 | 22 | ||
| 23 | 23 | 5. Use the [`generate_keys.sh`](generate_keys.sh) script to generate your signing keys: | |
| 24 | 24 | ||
| 25 | 25 | ./generate_keys.sh | |
| 26 | 26 | ||
| 27 | 27 | 6. Create a device. | |
| 28 | 28 | ||
| 29 | - gcloud alpha iot devices create my-java-device \ | ||
| 29 | + gcloud beta iot devices create my-java-device \ | ||
| 30 | 30 | --project=my-iot-project \ | |
| 31 | 31 | --region=us-central1 \ | |
| 32 | 32 | --registry=my-registry \ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments