public sealed class BindDeviceToGatewayRequest : IMessage<BindDeviceToGatewayRequest>, IEquatable<BindDeviceToGatewayRequest>, IDeepCloneable<BindDeviceToGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class BindDeviceToGatewayRequest.
Required. The device to associate with 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"]],[["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-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class within the Google Cloud IoT v1 API, used to associate a device with a specified gateway.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Iot.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eDeviceId\u003c/code\u003e, \u003ccode\u003eGatewayId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsRegistryName\u003c/code\u003e, all of which play a crucial part in associating a device with a gateway within a specified registry.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class are available, with the latest being version 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]