From 0d5d07b8c63d0abbe85cf41c89669dbae278a731 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/api-client/manager/manager_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/api-client/manager/manager_test.py b/samples/api-client/manager/manager_test.py index 7291e1f3..7cb3378d 100644 --- a/samples/api-client/manager/manager_test.py +++ b/samples/api-client/manager/manager_test.py @@ -35,7 +35,7 @@ rsa_private_path = 'resources/rsa_private.pem' # Must match rsa_cert topic_id = 'test-device-events-{}'.format(uuid.uuid4()) -project_id = os.environ['GCLOUD_PROJECT'] +project_id = os.environ['GOOGLE_CLOUD_PROJECT'] service_account_json = os.environ['GOOGLE_APPLICATION_CREDENTIALS'] pubsub_topic = 'projects/{}/topics/{}'.format(project_id, topic_id)