Enabled returns whether an API's capabilities are enabled.
The wildcard "*" capability matches every capability of an API.
If the underlying RPC fails (if the package is unknown, for example),
false is returned and information is written to the application log.
[[["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 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ecapability\u003c/code\u003e package provides information about outages and scheduled downtime for specific API capabilities in the App Engine standard environment.\u003c/p\u003e\n"],["\u003cp\u003eThis package is not compatible with the App Engine flexible environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnabled\u003c/code\u003e function checks if a specific API capability is currently enabled, returning \u003ccode\u003etrue\u003c/code\u003e if it is and \u003ccode\u003efalse\u003c/code\u003e if not or if the underlying RPC fails.\u003c/p\u003e\n"],["\u003cp\u003eThe package is available in various versions, with the latest being 2.0.6.\u003c/p\u003e\n"]]],[],null,["# Package google.golang.org/appengine/v2/capability (v2.0.6)\n\n**Note:** To get more information about this package, such as access to older versions, view [this package on pkg.go.dev](https://pkg.go.dev/google.golang.org/appengine/v2/capability). \n\u003cbr /\u003e\n\nPackage capability exposes information about outages and scheduled downtime\nfor specific API capabilities.\n\nThis package does not work in App Engine \"flexible environment\".\n\nExample: \n\n```go\nif !capability.Enabled(c, \"datastore_v3\", \"write\") {\n // show user a different page\n}\n``` \n\nFunctions\n---------\n\n### func Enabled\n\n func Enabled(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, api, capability https://pkg.go.dev/builtin#string) https://pkg.go.dev/builtin#bool\n\nEnabled returns whether an API's capabilities are enabled.\nThe wildcard \"\\*\" capability matches every capability of an API.\nIf the underlying RPC fails (if the package is unknown, for example),\nfalse is returned and information is written to the application log."]]