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\u003e\u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e is a class used to request the binding of a device to a gateway, implementing multiple interfaces for message handling and object manipulation within the Google Cloud IoT environment.\u003c/p\u003e\n"],["\u003cp\u003eThis class has several available versions, with the latest being 2.2.0, and it inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e, providing basic object methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindDeviceToGatewayRequest\u003c/code\u003e class provides constructors for creating instances, including one for deep copying, and it's found within the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace.\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, which are used to define the device, gateway, and registry for the binding operation.\u003c/p\u003e\n"],["\u003cp\u003eThis class is contained within the \u003ccode\u003eGoogle.Cloud.Iot.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]