[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["\u003cp\u003eThis page provides information on individual commands for use with Google Cloud Armor.\u003c/p\u003e\n"],["\u003cp\u003eSecurity policies can be created and managed using the provided commands and APIs.\u003c/p\u003e\n"],["\u003cp\u003eCommands and APIs are available to attach a security policy to a backend service.\u003c/p\u003e\n"],["\u003cp\u003eFor detailed instructions on using these commands, refer to the Google Cloud Armor how-to guides.\u003c/p\u003e\n"]]],[],null,["# APIs and references\n\nThis page describes individual commands that can be used with Google Cloud Armor.\nFor contextual *how-to* information about using these commands, see the\nCloud Armor [how-to guides](/armor/docs/how-to).\n\n- **Security policies**: Use to create security policies and rules.\n\n [gcloud](/sdk/gcloud/reference/compute/security-policies) \\|\n [API](/compute/docs/reference/rest/v1/securityPolicies)\n- **Backend services**: Use to attach a security policy to a backend service.\n\n [gcloud](/sdk/gcloud/reference/compute/backend-services) \\|\n [API](/compute/docs/reference/rest/v1/backendServices)\n\nTo learn how to write expressions in advanced match conditions for security\npolicy rules, see the\n[Cloud Armor custom rules language reference](/armor/docs/rules-language-reference)."]]