@@ -79,6 +79,8 @@ The following arguments are supported:
79
79
80
80
* ` iap ` - (Optional) Specification for the Identity-Aware proxy. Disabled if not specified. Structure is documented below.
81
81
82
+ * ` cdn_policy ` - (Optional) Cloud CDN configuration for this BackendService. Structure is documented below.
83
+
82
84
* ` description ` - (Optional) The textual description for the backend service.
83
85
84
86
* ` enable_cdn ` - (Optional) Whether or not to enable the Cloud CDN on the backend service.
@@ -128,6 +130,29 @@ The `backend` block supports:
128
130
float in the range [ 0.0, 1.0] . This flag can only be provided when the
129
131
balancing mode is ` UTILIZATION ` . Defaults to ` 0.8 ` .
130
132
133
+ The ` cdn_policy ` block supports:
134
+
135
+ * ` cache_key_policy ` - (Optional) The CacheKeyPolicy for this CdnPolicy.
136
+ Structure is documented below.
137
+
138
+ The ` cache_key_policy ` block supports:
139
+
140
+ * ` include_host ` - (Optional) If true, requests to different hosts will be cached separately.
141
+
142
+ * ` include_protocol ` - (Optional) If true, http and https requests will be cached separately.
143
+
144
+ * ` include_query_string ` - (Optional) If true, include query string parameters in the cache key
145
+ according to ` query_string_whitelist ` and ` query_string_blacklist ` . If neither is set, the entire
146
+ query string will be included. If false, the query string will be excluded from the cache key entirely.
147
+
148
+ * ` query_string_blacklist ` - (Optional) Names of query string parameters to exclude in cache keys.
149
+ All other parameters will be included. Either specify ` query_string_whitelist ` or
150
+ ` query_string_blacklist ` , not both. '&' and '=' will be percent encoded and not treated as delimiters.
151
+
152
+ * ` query_string_whitelist ` - (Optional) Names of query string parameters to include in cache keys.
153
+ All other parameters will be excluded. Either specify ` query_string_whitelist ` or
154
+ ` query_string_blacklist ` , not both. '&' and '=' will be percent encoded and not treated as delimiters.
155
+
131
156
The ` iap ` block supports:
132
157
133
158
* ` oauth2_client_id ` - (Required) The client ID for use with OAuth 2.0.
0 commit comments