Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON representation

Code Block
{
  // Union field gateway_or_device can be only one of the following:
  "delegatedDeviceId": string,
  "gatewayId": string
  // End of list of possible types for union field gateway_or_device.
}

Fields

Union field gateway_or_device. Delegated_device_id or gateway_id is set. gateway_or_device can be only one of the following:

delegatedDeviceId

string

The delegated device’s ID. Set only if the request’s resource name corresponds to the gateway.

gatewayId

string

The gateway’s ID. Set only if the request’s resource name corresponds to the delegated device.