asBytesOrNull

Casts this GuardrailConverseImageSource as a Bytes and retrieves its kotlin.ByteArray value. Returns null if the GuardrailConverseImageSource is not a Bytes.