From d1434daa596741685a46f76f3db399ff2cf14411 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi Date: Wed, 8 Aug 2018 10:31:43 -0700 Subject: [PATCH] compute engine credentials and project ids go before service account --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 46f95ffc8ca6..d47b52a9f9d0 100644 --- a/README.md +++ b/README.md @@ -109,10 +109,9 @@ Most `google-cloud` libraries require a project ID. There are multiple ways to 1. The project ID supplied when building the service options 2. Project ID specified by the environment variable `GOOGLE_CLOUD_PROJECT` -3. The App Engine project ID +3. The App Engine / Compute Engine project ID 4. The project ID specified in the JSON credentials file pointed by the `GOOGLE_APPLICATION_CREDENTIALS` environment variable 5. The Google Cloud SDK project ID -6. The Compute Engine project ID In cases where the library may expect a project ID explicitly, we provide a helper that can provide the inferred project ID: ```java