Compute Engine v1 API - Class ImageOptimizationPolicy (4.3.0)

public sealed class ImageOptimizationPolicy : IMessage<ImageOptimizationPolicy>, IEquatable<ImageOptimizationPolicy>, IDeepCloneable<ImageOptimizationPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API 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.

Inheritance

object > ImageOptimizationPolicy

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ImageOptimizationPolicy()

public ImageOptimizationPolicy()

ImageOptimizationPolicy(ImageOptimizationPolicy)

public ImageOptimizationPolicy(ImageOptimizationPolicy other)
Parameter
Name Description
other ImageOptimizationPolicy

Properties

HasQueryParameterInterpretation

public bool HasQueryParameterInterpretation { get; }

Gets whether the "query_parameter_interpretation" field is set

Property Value
Type Description
bool

QueryParameterInterpretation

public string QueryParameterInterpretation { get; set; }

Specifies whether to interpret query parameters for image optimization. Check the QueryParameterInterpretation enum for the list of possible values.

Property Value
Type Description
string