パッケージ google.golang.org/appengine/capability(v1.6.8)
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
capability パッケージは、特定の API 機能の機能停止や予定されているダウンタイムに関する情報を公開します。
このパッケージは、App Engine の「フレキシブル環境」では動作しません。
例:
if !capability.Enabled(c, "datastore_v3", "write") {
// show user a different page
}
関数
func Enabled
Enabled は、API の機能が有効かどうかを返します。ワイルドカード「*」で機能を指定すると、API のすべての機能に一致します。基になる RPC が失敗した場合(パッケージが不明な場合など)は false が返され、アプリケーション ログに情報が書き込まれます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-11-28 UTC。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]