Reference documentation and code samples for the Compute Engine v1 API enum SecurityPolicy.Types.Type.
The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eSecurityPolicy.Types.Type\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, highlighting various versions from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eSecurityPolicy.Types.Type\u003c/code\u003e defines the intended use of a security policy, which includes \u003ccode\u003eCLOUD_ARMOR\u003c/code\u003e, \u003ccode\u003eCLOUD_ARMOR_EDGE\u003c/code\u003e, \u003ccode\u003eCLOUD_ARMOR_INTERNAL_SERVICE\u003c/code\u003e, and \u003ccode\u003eCLOUD_ARMOR_NETWORK\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is 3.6.0, with version 2.17.0 also being specifically mentioned, while the oldest available is 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists different use cases for security policies, including filtering requests for backend services, edge services, internal services, and network load balancing resources.\u003c/p\u003e\n"],["\u003cp\u003eThe 'UndefinedType' field is present to allow the user to understand if the field for the enum is not set, along with the fields that can be set such as \u003ccode\u003eCloudArmor\u003c/code\u003e, \u003ccode\u003eCloudArmorEdge\u003c/code\u003e, and \u003ccode\u003eCloudArmorNetwork\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]