asBytes

Casts this GuardrailConverseImageSource as a Bytes and retrieves its kotlin.ByteArray value. Throws an exception if the GuardrailConverseImageSource is not a Bytes.