You will need to loop through the local DB rows and create/update a respective row in Google sheet.
See this example image