Remediation
To be able turn on Shielded VM on an instance, your instance must use an image with Shielded VM support.
From Google Cloud Console
- Go to the 
VM instancespage by visiting: https://console.cloud.google.com/compute/instances. - Click on the instance name to see its 
VM instance detailspage. - Click 
STOPto stop the instance. - When the instance has stopped, click 
EDIT. - In the Shielded VM section, select 
Turn on vTPMandTurn on Integrity Monitoring. - Optionally, if you do not use any custom or unsigned drivers on the instance, also select 
Turn on Secure Boot. - Click the 
Savebutton to modify the instance and then clickSTARTto restart it. 
From Google Cloud CLI
You can only enable Shielded VM options on instances that have Shielded VM support. For a list of Shielded VM public images, run the gcloud compute images list command with the following flags:
        gcloud compute images list --project gce-uefi-images --no-standard-images
- 
Stop the instance:
gcloud compute instances stop <INSTANCE_NAME> - 
Update the instance:
gcloud compute instances update <INSTANCE_NAME> --shielded-vtpm --shielded-vm-integrity-monitoring - 
Optionally, if you do not use any custom or unsigned drivers on the instance, also turn on secure boot.
gcloud compute instances update <INSTANCE_NAME> --shielded-vm-secure-boot - 
Restart the instance:
gcloud compute instances start <INSTANCE_NAME>