PAGESPEEDONLINE

pagespeedonline.pagespeedapi.runpagespeed

enum_CategoryParameter := [ "CATEGORY_UNSPECIFIED", "ACCESSIBILITY", "BEST_PRACTICES", "PERFORMANCE", "PWA", "SEO" ]
enum_StrategyParameter := [ "STRATEGY_UNSPECIFIED", "DESKTOP", "MOBILE" ]

valid {
    input.Qs.captchaToken == STRING
    input.Qs.category == enum_CategoryParameter[_]
    input.Qs.locale == STRING
    input.Qs.strategy == enum_StrategyParameter[_]
    input.Qs.url == STRING
    input.Qs.utm_campaign == STRING
    input.Qs.utm_source == STRING
    input.ProviderMetadata.Region == STRING
}