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.
Property Value
Type
Description
System.String
GatewayId
public string GatewayId { get; set; }
Required. The value of gateway_id can be either the device numeric ID or the
user-defined device identifier.
Property Value
Type
Description
System.String
Parent
public string Parent { get; set; }
Required. The name of the registry. For example,
projects/example-project/locations/us-central1/registries/my-registry.
Property Value
Type
Description
System.String
ParentAsRegistryName
public RegistryName ParentAsRegistryName { get; set; }
[[["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 Google Cloud IoT.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class is implemented as a sealed class, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and provides functionality for device association.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a default constructor and a constructor for creating a new instance from an existing \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eDeviceId\u003c/code\u003e and \u003ccode\u003eGatewayId\u003c/code\u003e, which are required string identifiers, and \u003ccode\u003eParent\u003c/code\u003e, which is a string representing the registry name, with a strongly-typed view available as \u003ccode\u003eParentAsRegistryName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e, the latest being 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]