On Android 12 (but probably works in older versions), I can go to Settings -> Apps -> Special app access -> Do Not Disturb access. Find "Google play services" and tap it. From there you can toggle it on or off.
Just wanted to jump in here to check to make sure that you saw the response from BinaryJay. Shoutout and huge thank you to BinaryJay for the help here. Please let us know if you have any other questions or concerns as I will be locking this in 24 hours.