Code block not rendering in card

I am trying to add code block formatting to a card sent as notification via google chat cardv2 api. But the code block is completely ignored and failed to render. I tried building a card using the card builder, but facing the same issue, refer to the screenshot attached.

I tried both the inline code & multiline code formatting using and

 tags, but the texts are rendered normally, ignoring the tags.