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/device0or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
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
getDevice
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/device0or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
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/device0or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
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
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
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/device0or
projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud IoT Core V1 Client - Class UpdateDeviceRequest (1.7.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.5 (latest)](/php/docs/reference/cloud-iot/latest/V1.UpdateDeviceRequest)\n- [1.7.4](/php/docs/reference/cloud-iot/1.7.4/V1.UpdateDeviceRequest)\n- [1.6.4](/php/docs/reference/cloud-iot/1.6.4/V1.UpdateDeviceRequest)\n- [1.5.12](/php/docs/reference/cloud-iot/1.5.12/V1.UpdateDeviceRequest) \nReference documentation and code samples for the Google Cloud IoT Core V1 Client class UpdateDeviceRequest.\n\nRequest for `UpdateDevice`.\n\nGenerated from protobuf message `google.cloud.iot.v1.UpdateDeviceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iot \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDevice\n\nRequired. The new values for the device. The `id` and `num_id` fields must\nbe empty, and the field `name` must specify the name path. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0`or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.\n\n### hasDevice\n\n### clearDevice\n\n### setDevice\n\nRequired. The new values for the device. The `id` and `num_id` fields must\nbe empty, and the field `name` must specify the name path. For example,\n`projects/p0/locations/us-central1/registries/registry0/devices/device0`or\n`projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.\n\n### getUpdateMask\n\nRequired. Only updates the `device` fields indicated by this mask.\n\nThe field mask must not be empty, and it must not contain fields that\nare immutable or only set by the server.\nMutable top-level fields: `credentials`, `blocked`, and `metadata`\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. Only updates the `device` fields indicated by this mask.\n\nThe field mask must not be empty, and it must not contain fields that\nare immutable or only set by the server.\nMutable top-level fields: `credentials`, `blocked`, and `metadata`\n\n### static::build"]]