diff --git a/packages/google-cloud-asset/samples/snippets/quickstart_batchgetassetshistory_test.py b/packages/google-cloud-asset/samples/snippets/quickstart_batchgetassetshistory_test.py index 6b446c9f8065..275a97f17ff8 100644 --- a/packages/google-cloud-asset/samples/snippets/quickstart_batchgetassetshistory_test.py +++ b/packages/google-cloud-asset/samples/snippets/quickstart_batchgetassetshistory_test.py @@ -24,7 +24,7 @@ import quickstart_batchgetassetshistory -PROJECT = os.environ['GCLOUD_PROJECT'] +PROJECT = os.environ['GOOGLE_CLOUD_PROJECT'] BUCKET = 'assets-{}'.format(uuid.uuid4().hex) diff --git a/packages/google-cloud-asset/samples/snippets/quickstart_deletefeed_test.py b/packages/google-cloud-asset/samples/snippets/quickstart_deletefeed_test.py index 7d5d81a97a96..5ec6f8021128 100644 --- a/packages/google-cloud-asset/samples/snippets/quickstart_deletefeed_test.py +++ b/packages/google-cloud-asset/samples/snippets/quickstart_deletefeed_test.py @@ -23,7 +23,7 @@ import quickstart_createfeed import quickstart_deletefeed -PROJECT = os.environ['GCLOUD_PROJECT'] +PROJECT = os.environ['GOOGLE_CLOUD_PROJECT'] ASSET_NAME = 'assets-{}'.format(uuid.uuid4().hex) FEED_ID = 'feed-{}'.format(uuid.uuid4().hex) TOPIC = 'topic-{}'.format(uuid.uuid4().hex) diff --git a/packages/google-cloud-asset/samples/snippets/quickstart_exportassets_test.py b/packages/google-cloud-asset/samples/snippets/quickstart_exportassets_test.py index 6b2b4b1c9954..9ed8bbffd8b3 100644 --- a/packages/google-cloud-asset/samples/snippets/quickstart_exportassets_test.py +++ b/packages/google-cloud-asset/samples/snippets/quickstart_exportassets_test.py @@ -22,7 +22,7 @@ import quickstart_exportassets -PROJECT = os.environ['GCLOUD_PROJECT'] +PROJECT = os.environ['GOOGLE_CLOUD_PROJECT'] BUCKET = 'assets-{}'.format(uuid.uuid4().hex) diff --git a/packages/google-cloud-asset/samples/snippets/quickstart_getfeed_test.py b/packages/google-cloud-asset/samples/snippets/quickstart_getfeed_test.py index 9075582c054d..940ce35557fd 100644 --- a/packages/google-cloud-asset/samples/snippets/quickstart_getfeed_test.py +++ b/packages/google-cloud-asset/samples/snippets/quickstart_getfeed_test.py @@ -24,7 +24,7 @@ import quickstart_deletefeed import quickstart_getfeed -PROJECT = os.environ['GCLOUD_PROJECT'] +PROJECT = os.environ['GOOGLE_CLOUD_PROJECT'] ASSET_NAME = 'assets-{}'.format(uuid.uuid4().hex) FEED_ID = 'feed-{}'.format(uuid.uuid4().hex) TOPIC = 'topic-{}'.format(uuid.uuid4().hex) diff --git a/packages/google-cloud-asset/samples/snippets/quickstart_listfeeds_test.py b/packages/google-cloud-asset/samples/snippets/quickstart_listfeeds_test.py index 87678f5d2339..a8982b7c774a 100644 --- a/packages/google-cloud-asset/samples/snippets/quickstart_listfeeds_test.py +++ b/packages/google-cloud-asset/samples/snippets/quickstart_listfeeds_test.py @@ -18,7 +18,7 @@ import quickstart_listfeeds -PROJECT = os.environ['GCLOUD_PROJECT'] +PROJECT = os.environ['GOOGLE_CLOUD_PROJECT'] def test_list_feeds(capsys): diff --git a/packages/google-cloud-asset/samples/snippets/quickstart_updatefeed_test.py b/packages/google-cloud-asset/samples/snippets/quickstart_updatefeed_test.py index ac611c1c9929..c996020ef82e 100644 --- a/packages/google-cloud-asset/samples/snippets/quickstart_updatefeed_test.py +++ b/packages/google-cloud-asset/samples/snippets/quickstart_updatefeed_test.py @@ -24,7 +24,7 @@ import quickstart_deletefeed import quickstart_updatefeed -PROJECT = os.environ['GCLOUD_PROJECT'] +PROJECT = os.environ['GOOGLE_CLOUD_PROJECT'] ASSET_NAME = 'assets-{}'.format(uuid.uuid4().hex) FEED_ID = 'feed-{}'.format(uuid.uuid4().hex) TOPIC = 'topic-{}'.format(uuid.uuid4().hex)