Cloud IoT v1 API - Class BindDeviceToGatewayRequest (2.2.0)

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.

Inheritance

object > BindDeviceToGatewayRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

BindDeviceToGatewayRequest()

public BindDeviceToGatewayRequest()

BindDeviceToGatewayRequest(BindDeviceToGatewayRequest)

public BindDeviceToGatewayRequest(BindDeviceToGatewayRequest other)
Parameter
NameDescription
otherBindDeviceToGatewayRequest

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
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsRegistryName

public RegistryName ParentAsRegistryName { get; set; }

RegistryName-typed view over the Parent resource name property.

Property Value
TypeDescription
RegistryName