Class UpdateDeviceRequest (2.5.1)

UpdateDeviceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for UpdateDevice.

Attributes

NameDescription
device google.cloud.iot_v1.types.Device
Required. The new values for the device. The id and num_id fields must be empty, and the field name must specify the name path. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0\ or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
update_mask google.protobuf.field_mask_pb2.FieldMask
Required. Only updates the device 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: credentials, blocked, and metadata