AllowByDefault interface

Defines a policy of allowing every region by default and adding disallowed regions to a disallow list.

Signature:

exportinterfaceAllowByDefault

Properties

PropertyTypeDescription
disallowedRegionsstring[]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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-10-17 UTC.