How to Hide Integrate Google Drive Admin Menus

function plt_hide_integrate_google_drive_menus() {
	//Hide "Google Drive".
	remove_menu_page('integrate-google-drive');
	//Hide "Google Drive → File Browser".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive');
	//Hide "Google Drive → Shortcode Builder".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive-shortcode-builder');
	//Hide "Google Drive → Users Private Files".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive-private-files');
	//Hide "Google Drive → Getting Started".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive-getting-started');
	//Hide "Google Drive → Settings".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive-settings');
	//Hide "Google Drive → Recommended Plugins".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive-recommended-plugins');
	//Hide "Google Drive → Upgrade".
	remove_submenu_page('integrate-google-drive', 'integrate-google-drive-pricing');
}

add_action('admin_menu', 'plt_hide_integrate_google_drive_menus', 1000000000);

Where do I put this code?