def __init__(self, allow_cookie_auth=None, blocked_regions=None):
_CheckType(allow_cookie_auth, bool, '<STR_LIT>')<EOL>endpoints_util.check_list_type(blocked_regions, basestring,<EOL>'<STR_LIT>')<EOL>self.__allow_cookie_auth = allow_cookie_auth<EOL>self.__blocked_regions = blocked_regions<EOL>
Constructor for ApiAuth, authentication information for an API.

        Args:
          allow_cookie_auth: boolean, whether cooking auth is allowed. By
            default, API methods do not allow cookie authentication, and
            require the use of OAuth2 or ID tokens. Setting this field to
            True will allow cookies to be used to access the API, with
            potentially dangerous results. Please be very cautious in enabling
            this setting, and make sure to require appropriate XSRF tokens to
            protect your API.
          blocked_regions: list of Strings, a list of 2-letter ISO region codes
            to block.