Class SendCommandToDeviceRequest (1.2.0)

public sealed class SendCommandToDeviceRequest : IMessage<SendCommandToDeviceRequest>, IEquatable<SendCommandToDeviceRequest>, IDeepCloneable<SendCommandToDeviceRequest>, IBufferMessage, IMessage

Request for SendCommandToDevice.

Inheritance

Object > SendCommandToDeviceRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

SendCommandToDeviceRequest()

public SendCommandToDeviceRequest()

SendCommandToDeviceRequest(SendCommandToDeviceRequest)

public SendCommandToDeviceRequest(SendCommandToDeviceRequest other)
Parameter
NameDescription
otherSendCommandToDeviceRequest

Properties

BinaryData

public ByteString BinaryData { get; set; }

Required. The command data to send to the device.

Property Value
TypeDescription
ByteString

DeviceName

public DeviceName DeviceName { get; set; }

DeviceName-typed view over the Name resource name property.

Property Value
TypeDescription
DeviceName

Name

public string Name { get; set; }

Required. The name of the device. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0 or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

Property Value
TypeDescription
String

Subfolder

public string Subfolder { get; set; }

Optional subfolder for the command. If empty, the command will be delivered to the /devices/{device-id}/commands topic, otherwise it will be delivered to the /devices/{device-id}/commands/{subfolder} topic. Multi-level subfolders are allowed. This field must not have more than 256 characters, and must not contain any MQTT wildcards ("+" or "#") or null characters.

Property Value
TypeDescription
String