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.
Enums
Name
Description
UNDEFINED_TYPE
A value indicating that the enum field is not set.
[[["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-28 UTC."],[],[],null,["# Class Type (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.SecurityPolicy.Type)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.SecurityPolicy.Type) \n\n Type(value)\n\nThe type indicates the intended use of the security policy. -\nCLOUD_ARMOR: Cloud Armor backend security policies can be configured\nto filter incoming HTTP requests targeting backend services. They\nfilter requests before they hit the origin servers. -\nCLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be\nconfigured to filter incoming HTTP requests targeting backend\nservices (including Cloud CDN-enabled) as well as backend buckets\n(Cloud Storage). They filter requests before the request is served\nfrom Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor\ninternal service policies can be configured to filter HTTP requests\ntargeting services managed by Traffic Director in a service mesh.\nThey filter requests before the request is served from the\napplication. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can\nbe configured to filter packets targeting network load balancing\nresources such as backend services, target pools, target instances,\nand instances with external IPs. They filter requests before the\nrequest is served from the application. This field can be set only\nat resource creation time."]]