Method: projects.locations.registries.create

Creates a device registry that contains devices.

HTTP request

POST https://cloudiot.googleapis.com/v1/{parent=projects/*/locations/*}/registries

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The project and cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1.

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

  • cloudiot.registries.create

Request body

The request body contains an instance of DeviceRegistry.

Response body

If successful, the response body contains a newly created instance of DeviceRegistry.

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.

Esta página foi útil? Conte sua opinião sobre:

Enviar comentários sobre…

Cloud IoT Core Documentation