Updates a device.
HTTP request
PATCH https://cloudiot.googleapis.com/v1/{device.name=projects/*/locations/*/registries/*/devices/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
device.name |
The resource path name. For example, |
Query parameters
Parameters | |
---|---|
updateMask |
Only updates the A comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Device
.
Response body
If successful, the response body contains an instance of Device
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloudiot
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.