Type

Quality optimization type enum.

Enums
TYPE_UNSPECIFIED Invalid. Customer must select one Type.
COMPRESSION Reduce image file size. Detailed params specified in CompressionConfig. If customer do not specify CompressionConfig, it will reduce image file size while not reducing image quality. If customer specify CompressionConfig, we will reduce file size while keeping CompressionParams.target_quality.
ENHANCEMENT Denoise, sharpening, HDR and upscaling. Detailed params specified in EnhancementConfig. If customer do not specify EnhancmentConfig, it will do image enhancement using default values. If upscaleRatio not specified, the output image will have the same resolution as input image.
QUALITY_SCORE Query quality score for an image. Detailed params specified in QualityScoreConfig. If customer does not specify QualityScoreConfig, aesthetic score of image will be returned.