From 6be3319632248c82d862aa1cd01cd4478673e598 Mon Sep 17 00:00:00 2001 From: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Date: Tue, 9 Jun 2020 14:34:27 -0700 Subject: [PATCH] Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4022) --- samples/snippets/dataset_test.py | 2 +- samples/snippets/model_test.py | 2 +- samples/snippets/predict_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/snippets/dataset_test.py b/samples/snippets/dataset_test.py index 29e3e5c9..4430ec54 100644 --- a/samples/snippets/dataset_test.py +++ b/samples/snippets/dataset_test.py @@ -21,7 +21,7 @@ import automl_translation_dataset -project_id = os.environ["GCLOUD_PROJECT"] +project_id = os.environ["GOOGLE_CLOUD_PROJECT"] compute_region = "us-central1" diff --git a/samples/snippets/model_test.py b/samples/snippets/model_test.py index 0d37a85c..e19a50ea 100644 --- a/samples/snippets/model_test.py +++ b/samples/snippets/model_test.py @@ -22,7 +22,7 @@ import automl_translation_model -project_id = os.environ["GCLOUD_PROJECT"] +project_id = os.environ["GOOGLE_CLOUD_PROJECT"] compute_region = "us-central1" diff --git a/samples/snippets/predict_test.py b/samples/snippets/predict_test.py index f9d98dfb..d00a4658 100644 --- a/samples/snippets/predict_test.py +++ b/samples/snippets/predict_test.py @@ -18,7 +18,7 @@ import automl_translation_predict -project_id = os.environ["GCLOUD_PROJECT"] +project_id = os.environ["GOOGLE_CLOUD_PROJECT"] compute_region = "us-central1"