Once the Beosound 2 is connected to your network via Wi-Fi or Ethernet, use the Bang & Olufsen app on your smartphone to access the settings of the product and accepting the Google Cast terms and conditions. It can be enabled at any point via the Bang & Olufsen app by selecting Product settings - Google Cast.
To disable Google Cast again, you will need to perform a reset. To reset, please see here.