The HP M21742-BG1 is a replacement notebook top cover with an integrated keyboard. It is the Swiss-layout version, identified by the -BG1 part-number suffix, for replacing the corresponding keyboard assembly.
The keyboard is backlit, making its keys easier to see in dim surroundings. This part combines the keyboard with the notebook's top cover, as described in HP's service documentation. The confirmed details identify it as an HP notebook spare part with a Swiss keyboard layout.