Google Cloud's Free Program page (opens in new tab) says new accounts are preloaded with $300 in free Welcome credit, valid for 90 days, and you are not billed for Google Cloud usage during the Free Trial. Total usage on a Free Trial account is capped at $300.
You also get the always-free Free Tier, for example one e2-micro VM per month in us-west1, us-central1 or us-east1, 5 GB-months of regional Cloud Storage in US regions, and 1 TiB of BigQuery querying per month. Usage above Free Tier limits is paid from the credit.
Trial limits: the credit can't pay for the Gemini API in AI Studio or partner generative AI models offered as managed APIs. On a trial billing account you can't add GPUs to VMs, use Cloud Marketplace, request quota increases, create Windows Server VMs or VMware Engine resources. Crypto mining is not allowed.
When it ends: there is no automatic upgrade. If you don't upgrade to a paid billing account before the 90 days or the $300 run out, the billing account closes and resources stop. You then have 30 days to upgrade and possibly recover them; after that, Free Trial resources are permanently deleted.