AllowlistOnly interface
Stay organized with collections
Save and categorize content based on your preferences.
Defines a policy of only allowing regions by explicitly adding them to an allowlist.
Signature:
export interface AllowlistOnly
Properties
Property |
Type |
Description |
allowedRegions |
string[] |
Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json |
AllowlistOnly.allowedRegions
Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
Signature:
allowedRegions: string[];
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-17 UTC.
[null,null,["Last updated 2022-10-17 UTC."],[],[],null,["Defines a policy of only allowing regions by explicitly adding them to an allowlist.\n\n**Signature:** \n\n export interface AllowlistOnly \n\nProperties\n\nAllowlistOnly.allowedRegions\n\nTwo letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json\n\n**Signature:** \n\n allowedRegions: string[];"]]