Skip to content

Commit bc7ec29

Browse files
leahecoledanoscarmike
authored andcommitted
remove whitelist replace with allowlist [(#4050)](GoogleCloudPlatform/python-docs-samples#4050)
1 parent 50b543a commit bc7ec29

File tree

1 file changed

+1
-1
lines changed
  • packages/google-cloud-translate/samples/snippets

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def translate_text_with_model(target, text, model='nmt'):
7676
# [START translate_text_with_model]
7777
"""Translates text into the target language.
7878
79-
Make sure your project is whitelisted.
79+
Make sure your project is allowlisted.
8080
8181
Target must be an ISO 639-1 language code.
8282
See https://g.co/cloud/translate/v2/translate-reference#supported_languages

0 commit comments

Comments
 (0)