Please refer to the Google Provider Configuration Reference documentation, it mentions many ways to authenticate including OAuth.
Google Provider Configuration Reference
OAuth
[1] https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference