public sealed class BindDeviceToGatewayRequest : IMessage<BindDeviceToGatewayRequest>, IEquatable<BindDeviceToGatewayRequest>, IDeepCloneable<BindDeviceToGatewayRequest>, IBufferMessage, IMessage
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\u003eThe \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class is used to request the association of a device with a specified gateway within the Google Cloud IoT service.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, offering methods for message handling, comparison, cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the \u003ccode\u003eDeviceId\u003c/code\u003e, \u003ccode\u003eGatewayId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e (registry name) as string properties, while also providing a \u003ccode\u003eParentAsRegistryName\u003c/code\u003e property for a typed view over the registry name.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: one default and another that copies an existing \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e object, and there is also information about the assembly and namespace in which this class is located.\u003c/p\u003e\n"]]],[],null,[]]