Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 46550d9

Browse files
leahecoledanoscarmike
authored andcommitted
remove whitelist replace with allowlist [(#4050)](GoogleCloudPlatform/python-docs-samples#4050)
1 parent 071b658 commit 46550d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)