Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1cc506e

Browse filesBrowse files
gguussJon Wayne Parrott
authored andcommitted
Removes API key because discovery is now public (GoogleCloudPlatform#1140)
1 parent b2d417f commit 1cc506e
Copy full SHA for 1cc506e

File tree

Expand file treeCollapse file tree

3 files changed

+114
-129
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+114
-129
lines changed

‎iot/api-client/manager/README.rst

Copy file name to clipboardExpand all lines: iot/api-client/manager/README.rst
+5-7Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,13 @@ To run this sample:
5959
6060
$ python manager.py
6161
62-
usage: manager.py [-h] --pubsub_topic PUBSUB_TOPIC [--api_key API_KEY]
63-
[--project_id PROJECT_ID]
62+
usage: manager.py [-h] --pubsub_topic PUBSUB_TOPIC [--project_id PROJECT_ID]
6463
[--ec_public_key_file EC_PUBLIC_KEY_FILE]
6564
[--rsa_certificate_file RSA_CERTIFICATE_FILE]
6665
[--cloud_region CLOUD_REGION]
6766
[--service_account_json SERVICE_ACCOUNT_JSON]
6867
[--registry_id REGISTRY_ID] [--device_id DEVICE_ID]
69-
{create-es256,create-registry,create-rsa256,create-topic,create-unauth,delete-device,delete-registry,get,get-registry,list,list-registries,patch-es256,patch-rs256}
68+
{create-es256,create-registry,create-rsa256,create-topic,create-unauth,delete-device,delete-registry,get,get-registry,get-state,list,list-registries,patch-es256,patch-rs256}
7069
...
7170
7271
Example of using the Google Cloud IoT Core device manager to administer
@@ -77,14 +76,13 @@ To run this sample:
7776
python manager.py \
7877
--project_id=my-project-id \
7978
--pubsub_topic=projects/my-project-id/topics/my-topic-id \
80-
--api_key=YOUR_API_KEY \
8179
--ec_public_key_file=../ec_public.pem \
8280
--rsa_certificate_file=../rsa_cert.pem \
8381
--service_account_json=$HOME/service_account.json
8482
list
8583
8684
positional arguments:
87-
{create-es256,create-registry,create-rsa256,create-topic,create-unauth,delete-device,delete-registry,get,get-registry,list,list-registries,patch-es256,patch-rs256}
85+
{create-es256,create-registry,create-rsa256,create-topic,create-unauth,delete-device,delete-registry,get,get-registry,get-state,list,list-registries,patch-es256,patch-rs256}
8886
create-es256 Create a new device with the given id, using ES256 for
8987
authentication.
9088
create-registry Gets or creates a device registry.
@@ -96,7 +94,8 @@ To run this sample:
9694
delete-device Delete the device with the given id.
9795
delete-registry Deletes the specified registry.
9896
get Retrieve the device with the given id.
99-
get-registry Retrieve the device with the given id.
97+
get-registry Retrieves a device registry.
98+
get-state Retrieve a device's state blobs.
10099
list List all devices in the registry.
101100
list-registries List all registries in the project.
102101
patch-es256 Patch the device to add an ES256 public key to the
@@ -109,7 +108,6 @@ To run this sample:
109108
--pubsub_topic PUBSUB_TOPIC
110109
Google Cloud Pub/Sub topic. Format is
111110
projects/project_id/topics/topic-id
112-
--api_key API_KEY Your API key.
113111
--project_id PROJECT_ID
114112
GCP cloud project name.
115113
--ec_public_key_file EC_PUBLIC_KEY_FILE

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.