From 46550d97e337cb9fed5b969ac7a71d47731bd19b Mon Sep 17 00:00:00 2001 From: "Leah E. Cole" <6719667+leahecole@users.noreply.github.com> Date: Wed, 10 Jun 2020 16:13:04 -0700 Subject: [PATCH] remove whitelist replace with allowlist [(#4050)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4050) --- samples/snippets/snippets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/snippets.py b/samples/snippets/snippets.py index 2d5232e6..24b45716 100644 --- a/samples/snippets/snippets.py +++ b/samples/snippets/snippets.py @@ -76,7 +76,7 @@ def translate_text_with_model(target, text, model='nmt'): # [START translate_text_with_model] """Translates text into the target language. - Make sure your project is whitelisted. + Make sure your project is allowlisted. Target must be an ISO 639-1 language code. See https://g.co/cloud/translate/v2/translate-reference#supported_languages