Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::DeleteDeviceRequest.
Request for DeleteDevice.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) โ Required. 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/{num_id}.
#name=
defname=(value)->::String
Parameter
value (::String) โ Required. 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/{num_id}.
Returns
(::String) โ Required. 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/{num_id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud IoT V1 API - Class Google::Cloud::Iot::V1::DeleteDeviceRequest (v0.9.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.9.2 (latest)](/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.9.1](/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.7.1](/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-DeleteDeviceRequest)\n- [0.3.5](/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-DeleteDeviceRequest) \nReference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::DeleteDeviceRequest.\n\nRequest for `DeleteDevice`. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. 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/{num_id}`.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. 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/{num_id}`. \n**Returns**\n\n- (::String) --- Required. 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/{num_id}`."]]