Method: projects.locations.registries.patch

Updates a device registry configuration.

HTTP request

PATCH https://cloudiot.googleapis.com/v1/{deviceRegistry.name=projects/*/locations/*/registries/*}

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
deviceRegistry.name

string

The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.

Query parameters

Parameters
updateMask

string (FieldMask format)

Only updates the deviceRegistry fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: eventNotificationConfig, httpConfig, mqttConfig, and stateNotificationConfig.

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of DeviceRegistry.

Response body

If successful, the response body contains an 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 Auth Guide.

Was this page helpful? Let us know how we did:

Send feedback about...

Google Cloud Internet of Things Core