AllowByDefault interface
Stay organized with collections
Save and categorize content based on your preferences.
Defines a policy of allowing every region by default and adding disallowed regions to a disallow list.
Signature:
export interface AllowByDefault
Properties
Property |
Type |
Description |
disallowedRegions |
string[] |
Two letter unicode region codes to disallow 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 |
AllowByDefault.disallowedRegions
Two letter unicode region codes to disallow 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:
disallowedRegions: 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 allowing every region by default and adding disallowed regions to a disallow list.\n\n**Signature:** \n\n export interface AllowByDefault \n\nProperties\n\nAllowByDefault.disallowedRegions\n\nTwo letter unicode region codes to disallow 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 disallowedRegions: string[];"]]