public sealed class UnbindDeviceFromGatewayRequest : IMessage<UnbindDeviceFromGatewayRequest>, IEquatable<UnbindDeviceFromGatewayRequest>, IDeepCloneable<UnbindDeviceFromGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class UnbindDeviceFromGatewayRequest.
Required. The device to disassociate from the specified gateway. The value of
device_id can be either the device numeric ID or the user-defined device
identifier.
[[["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."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eUnbindDeviceFromGatewayRequest\u003c/code\u003e class in the Google Cloud IoT v1 API, which is used to disassociate a device from a specified gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnbindDeviceFromGatewayRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various object interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and a constructor that takes another \u003ccode\u003eUnbindDeviceFromGatewayRequest\u003c/code\u003e object for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnbindDeviceFromGatewayRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eDeviceId\u003c/code\u003e, \u003ccode\u003eGatewayId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsRegistryName\u003c/code\u003e, to define the specifics of the unbinding request.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for this documentation is 2.2.0, with previous versions available dating back to 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Cloud IoT v1 API - Class UnbindDeviceFromGatewayRequest (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest) \n\n public sealed class UnbindDeviceFromGatewayRequest : IMessage\u003cUnbindDeviceFromGatewayRequest\u003e, IEquatable\u003cUnbindDeviceFromGatewayRequest\u003e, IDeepCloneable\u003cUnbindDeviceFromGatewayRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud IoT v1 API class UnbindDeviceFromGatewayRequest.\n\nRequest for `UnbindDeviceFromGateway`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UnbindDeviceFromGatewayRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UnbindDeviceFromGatewayRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UnbindDeviceFromGatewayRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UnbindDeviceFromGatewayRequest](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iot.V1](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iot.V1.dll\n\nConstructors\n------------\n\n### UnbindDeviceFromGatewayRequest()\n\n public UnbindDeviceFromGatewayRequest()\n\n### UnbindDeviceFromGatewayRequest(UnbindDeviceFromGatewayRequest)\n\n public UnbindDeviceFromGatewayRequest(UnbindDeviceFromGatewayRequest other)\n\nProperties\n----------\n\n### DeviceId\n\n public string DeviceId { get; set; }\n\nRequired. The device to disassociate from the specified gateway. The value of\n`device_id` can be either the device numeric ID or the user-defined device\nidentifier.\n\n### GatewayId\n\n public string GatewayId { get; set; }\n\nRequired. The value of `gateway_id` can be either the device numeric ID or the\nuser-defined device identifier.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The name of the registry. For example,\n`projects/example-project/locations/us-central1/registries/my-registry`.\n\n### ParentAsRegistryName\n\n public RegistryName ParentAsRegistryName { get; set; }\n\n[RegistryName](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.RegistryName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.UnbindDeviceFromGatewayRequest#Google_Cloud_Iot_V1_UnbindDeviceFromGatewayRequest_Parent) resource name property."]]