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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This document outlines the `BindDeviceToGatewayRequest` class, which is used to request the binding of a device to a gateway within Google Cloud IoT."],["The `BindDeviceToGatewayRequest` class is implemented as a sealed class, inheriting from `Object` and implementing multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and provides functionality for device association."],["The class provides a default constructor and a constructor for creating a new instance from an existing `BindDeviceToGatewayRequest` object."],["Key properties of the class include `DeviceId` and `GatewayId`, which are required string identifiers, and `Parent`, which is a string representing the registry name, with a strongly-typed view available as `ParentAsRegistryName`."],["There are multiple versions of the `BindDeviceToGatewayRequest`, the latest being 2.2.0."]]],[]]