Reference documentation and code samples for the Compute V1 Client class ImageOptimizationPolicy.
The configuration for Cloud CDN's image optimization feature. This feature dynamically processes and delivers images from the network edge.
Image Optimization is only available for Global External Application Load Balancers. Either Cloud CDN must be enabled on the backend service or backend bucket serving the route, or cache policy must be configured on the same route.
Generated from protobuf message google.cloud.compute.v1.ImageOptimizationPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ query_parameter_interpretation |
string
Specifies whether to interpret query parameters for image optimization. Check the QueryParameterInterpretation enum for the list of possible values. |
getQueryParameterInterpretation
Specifies whether to interpret query parameters for image optimization.
Check the QueryParameterInterpretation enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasQueryParameterInterpretation
clearQueryParameterInterpretation
setQueryParameterInterpretation
Specifies whether to interpret query parameters for image optimization.
Check the QueryParameterInterpretation enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|