Allows cookie authentication to be used for the API. By default, API
methods do not allow cookie authentication, and require the use of
OAuth2. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["The `@ApiAuth` annotation configures authentication for APIs, enabling control over how they are accessed."],["The `allowCookieAuth` element, when set to `true`, permits cookie-based authentication, which defaults to being disabled, requiring OAuth2 instead."],["The `blockedRegions` element allows the specification of ISO region codes, restricting API access from those specific geographical areas, defaulting to allowing all regions."],["By default, the `allowCookieAuth` setting is set to `UNSPECIFIED` and the `blockedRegions` default value is an empty set, representing no regions blocked."]]],[]]