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\u003eThis document outlines the \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class, which is used to request the binding of a device to a gateway within the Google Cloud IoT service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindDeviceToGatewayRequest\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, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt requires three key properties to be set: \u003ccode\u003eDeviceId\u003c/code\u003e which specifies the device to bind, \u003ccode\u003eGatewayId\u003c/code\u003e for the target gateway, and \u003ccode\u003eParent\u003c/code\u003e to identify the device registry.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor and one that allows creating a copy from an existing \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this document available for different versions, with version 2.2.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]