It looks like you are talking about 'scheduling task'(ex:- starting an instance, stopping an instance etc.) for the GCP instance. If that's the scenario(correct me, if I am wrong), you can make use of CLI (
gcloud commands) or
Google Compute Engine API in your own script to achieve this. I have found similar discussions
here in the same community and '
Stack Overflow' as well. See if that helps you.