google_api_cloud_iot v0.18.0 GoogleApi.CloudIot.V1.Model.SendCommandToDeviceRequest View Source

Request for SendCommandToDevice.

Attributes

  • binaryData (type: String.t, default: nil) - Required. The command data to send to the device.
  • subfolder (type: String.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudIot.V1.Model.SendCommandToDeviceRequest{
  binaryData: String.t(),
  subfolder: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.