Skip to content

Commit f3f2fd5

Browse files
kurtisvgbusunkim96
authored andcommitted
Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](GoogleCloudPlatform/python-docs-samples#4022)
1 parent 1df65a6 commit f3f2fd5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/google-cloud-translate/samples/snippets/dataset_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import automl_translation_dataset
2323

24-
project_id = os.environ["GCLOUD_PROJECT"]
24+
project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
2525
compute_region = "us-central1"
2626

2727

packages/google-cloud-translate/samples/snippets/model_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
import automl_translation_model
2424

25-
project_id = os.environ["GCLOUD_PROJECT"]
25+
project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
2626
compute_region = "us-central1"
2727

2828

packages/google-cloud-translate/samples/snippets/predict_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import automl_translation_predict
2020

21-
project_id = os.environ["GCLOUD_PROJECT"]
21+
project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
2222
compute_region = "us-central1"
2323

2424

packages/google-cloud-translate/samples/snippets/translate_v3_batch_translate_text_with_model_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import translate_v3_batch_translate_text_with_model
2222

2323

24-
PROJECT_ID = os.environ["GCLOUD_PROJECT"]
24+
PROJECT_ID = os.environ["GOOGLE_CLOUD_PROJECT"]
2525
MODEL_ID = "TRL3128559826197068699"
2626

2727

0 commit comments

Comments
 (0)