Method: projects.locations.registries.devices.configVersions.list

Lists the last few versions of the device configuration in descending order (i.e.: newest first).

HTTP request

GET https://cloudiot.googleapis.com/v1/{name=projects/*/locations/*/registries/*/devices/*}/configVersions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the device. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0 or projects/p0/locations/us-central1/registries/registry0/devices/{numId}.

Authorization requires the following Google IAM permission on the specified resource name:

  • cloudiot.devices.get

Query parameters

Parameters
numVersions

number

The number of versions to list. Versions are listed in decreasing order of the version number. The maximum number of versions retained is 10. If this value is zero, it will return all the versions available.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListDeviceConfigVersionsResponse.

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.

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...

Cloud IoT Core Documentation