Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Commit 54cc0e6

Browse files
postmastersJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Trivial fix to Cloud IoT URL. [(#1302)](GoogleCloudPlatform/python-docs-samples#1302)
1 parent 7fffab2 commit 54cc0e6

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

samples/api-client/manager/README.rst

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
.. This file is automatically generated. Do not edit this file directly.
22
3-
Google Cloud IoT Core API Python Samples
3+
Google Cloud IoT Core Python Samples
44
===============================================================================
55

66
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
77
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=iot/api-client/manager/README.rst
88

99

10-
This directory contains samples for Google Cloud IoT Core API. `Google Cloud IoT Core`_ allows developers to easily integrate Publish and Subscribe functionality with devices and programmatically manage device authorization.
10+
This directory contains samples for Google Cloud IoT Core. `Google Cloud IoT Core`_ allows developers to easily integrate Publish and Subscribe functionality with devices and programmatically manage device authorization.
1111

1212

1313

1414

15-
.. _Google Cloud IoT Core API: https://cloud.google.com/vision/docs
15+
.. _Google Cloud IoT Core: https://cloud.google.com/iot/docs
1616

1717
Setup
1818
-------------------------------------------------------------------------------
@@ -70,13 +70,15 @@ To run this sample:
7070
7171
$ python manager.py
7272
73-
usage: manager.py [-h] --pubsub_topic PUBSUB_TOPIC [--project_id PROJECT_ID]
73+
usage: manager.py [-h] --pubsub_topic PUBSUB_TOPIC
74+
[--cloud_region CLOUD_REGION] [--config CONFIG]
75+
[--device_id DEVICE_ID]
7476
[--ec_public_key_file EC_PUBLIC_KEY_FILE]
77+
[--project_id PROJECT_ID] [--registry_id REGISTRY_ID]
7578
[--rsa_certificate_file RSA_CERTIFICATE_FILE]
76-
[--cloud_region CLOUD_REGION]
7779
[--service_account_json SERVICE_ACCOUNT_JSON]
78-
[--registry_id REGISTRY_ID] [--device_id DEVICE_ID]
79-
{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}
80+
[--version VERSION]
81+
{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,set-config}
8082
...
8183
8284
Example of using the Google Cloud IoT Core device manager to administer
@@ -93,7 +95,7 @@ To run this sample:
9395
list
9496
9597
positional arguments:
96-
{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}
98+
{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,set-config}
9799
create-es256 Create a new device with the given id, using ES256 for
98100
authentication.
99101
create-registry Gets or creates a device registry.
@@ -113,26 +115,30 @@ To run this sample:
113115
device.
114116
patch-rs256 Patch the device to add an RSA256 public key to the
115117
device.
118+
set-config Patch the device to add an RSA256 public key to the
119+
device.
116120
117121
optional arguments:
118122
-h, --help show this help message and exit
119123
--pubsub_topic PUBSUB_TOPIC
120124
Google Cloud Pub/Sub topic. Format is
121125
projects/project_id/topics/topic-id
122-
--project_id PROJECT_ID
123-
GCP cloud project name.
126+
--cloud_region CLOUD_REGION
127+
GCP cloud region
128+
--config CONFIG Configuration sent to a device.
129+
--device_id DEVICE_ID
130+
Device id.
124131
--ec_public_key_file EC_PUBLIC_KEY_FILE
125132
Path to public ES256 key file.
133+
--project_id PROJECT_ID
134+
GCP cloud project name.
135+
--registry_id REGISTRY_ID
136+
Registry id. If not set, a name will be generated.
126137
--rsa_certificate_file RSA_CERTIFICATE_FILE
127138
Path to RS256 certificate file.
128-
--cloud_region CLOUD_REGION
129-
GCP cloud region
130139
--service_account_json SERVICE_ACCOUNT_JSON
131140
Path to service account json file.
132-
--registry_id REGISTRY_ID
133-
Registry id. If not set, a name will be generated.
134-
--device_id DEVICE_ID
135-
Device id.
141+
--version VERSION Version number for setting device configuration.
136142
137143
138144

samples/api-client/manager/README.rst.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# This file is used to generate README.rst
22

33
product:
4-
name: Google Cloud IoT Core API
4+
name: Google Cloud IoT Core
55
short_name: Cloud IoT Core
6-
url: https://cloud.google.com/vision/docs
6+
url: https://cloud.google.com/iot/docs
77
description: >
88
`Google Cloud IoT Core`_ allows developers to easily integrate Publish and
99
Subscribe functionality with devices and programmatically manage device
@@ -20,4 +20,4 @@ samples:
2020

2121
cloud_client_library: false
2222

23-
folder: iot/api-client/manager
23+
folder: iot/api-client/manager

0 commit comments

Comments
 (0)