Class SendCommandToDeviceRequest (1.0.0)

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

Request for SendCommandToDevice.

Inheritance

System.Object > SendCommandToDeviceRequest

Implements

Google.Protobuf.IMessage<SendCommandToDeviceRequest>, System.IEquatable<SendCommandToDeviceRequest>, Google.Protobuf.IDeepCloneable<SendCommandToDeviceRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
Google.Protobuf.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
System.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
System.String