func ProjectID(ctx context.Context, projectID string, emulatorEnvVar string, opts ...option.ClientOption) (string, error)
ProjectID tries to detect the project ID from the environment if the sentinel value, "*detect-project-id*", is sent. It looks in the following order: