public sealed class BindDeviceToGatewayRequest : IMessage<BindDeviceToGatewayRequest>, IEquatable<BindDeviceToGatewayRequest>, IDeepCloneable<BindDeviceToGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class BindDeviceToGatewayRequest.
Request for BindDeviceToGateway
.
Implements
IMessageBindDeviceToGatewayRequest, IEquatableBindDeviceToGatewayRequest, IDeepCloneableBindDeviceToGatewayRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iot.V1Assembly
Google.Cloud.Iot.V1.dll
Constructors
BindDeviceToGatewayRequest()
public BindDeviceToGatewayRequest()
BindDeviceToGatewayRequest(BindDeviceToGatewayRequest)
public BindDeviceToGatewayRequest(BindDeviceToGatewayRequest other)
Parameter | |
---|---|
Name | Description |
other | BindDeviceToGatewayRequest |
Properties
DeviceId
public string DeviceId { get; set; }
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 |
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 |
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 |
string |
ParentAsRegistryName
public RegistryName ParentAsRegistryName { get; set; }
RegistryName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
RegistryName |