CUSTOMSEARCH

search.cse.list

enum_ImgColorTypeParameter := [ "imgColorTypeUndefined", "mono", "gray", "color", "trans" ]
enum_ImgDominantColorParameter := [ "imgDominantColorUndefined", "black", "blue", "brown", "gray", "green", "orange", "pink", "purple", "red", "teal", "white", "yellow" ]
enum_ImgSizeParameter := [ "imgSizeUndefined", "HUGE", "ICON", "LARGE", "MEDIUM", "SMALL", "XLARGE", "XXLARGE" ]
enum_ImgTypeParameter := [ "imgTypeUndefined", "clipart", "face", "lineart", "stock", "photo", "animated" ]
enum_SafeParameter := [ "safeUndefined", "active", "high", "medium", "off" ]
enum_SearchTypeParameter := [ "searchTypeUndefined", "image" ]
enum_SiteSearchFilterParameter := [ "siteSearchFilterUndefined", "e", "i" ]

valid {
    input.Qs.c2coff == STRING
    input.Qs.cr == STRING
    input.Qs.cx == STRING
    input.Qs.dateRestrict == STRING
    input.Qs.enableAlternateSearchHandler == BOOLEAN
    input.Qs.exactTerms == STRING
    input.Qs.excludeTerms == STRING
    input.Qs.fileType == STRING
    input.Qs.filter == STRING
    input.Qs.gl == STRING
    input.Qs.googlehost == STRING
    input.Qs.highRange == STRING
    input.Qs.hl == STRING
    input.Qs.hq == STRING
    input.Qs.imgColorType == enum_ImgColorTypeParameter[_]
    input.Qs.imgDominantColor == enum_ImgDominantColorParameter[_]
    input.Qs.imgSize == enum_ImgSizeParameter[_]
    input.Qs.imgType == enum_ImgTypeParameter[_]
    input.Qs.linkSite == STRING
    input.Qs.lowRange == STRING
    input.Qs.lr == STRING
    input.Qs.num == INTEGER
    input.Qs.orTerms == STRING
    input.Qs.q == STRING
    input.Qs.relatedSite == STRING
    input.Qs.rights == STRING
    input.Qs.safe == enum_SafeParameter[_]
    input.Qs.searchType == enum_SearchTypeParameter[_]
    input.Qs.siteSearch == STRING
    input.Qs.siteSearchFilter == enum_SiteSearchFilterParameter[_]
    input.Qs.snippetLength == INTEGER
    input.Qs.sort == STRING
    input.Qs.start == INTEGER
    input.ProviderMetadata.Region == STRING
}

search.cse.siterestrict.list

enum_ImgColorTypeParameter := [ "imgColorTypeUndefined", "mono", "gray", "color", "trans" ]
enum_ImgDominantColorParameter := [ "imgDominantColorUndefined", "black", "blue", "brown", "gray", "green", "orange", "pink", "purple", "red", "teal", "white", "yellow" ]
enum_ImgSizeParameter := [ "imgSizeUndefined", "HUGE", "ICON", "LARGE", "MEDIUM", "SMALL", "XLARGE", "XXLARGE" ]
enum_ImgTypeParameter := [ "imgTypeUndefined", "clipart", "face", "lineart", "stock", "photo", "animated" ]
enum_SafeParameter := [ "safeUndefined", "active", "high", "medium", "off" ]
enum_SearchTypeParameter := [ "searchTypeUndefined", "image" ]
enum_SiteSearchFilterParameter := [ "siteSearchFilterUndefined", "e", "i" ]

valid {
    input.Qs.c2coff == STRING
    input.Qs.cr == STRING
    input.Qs.cx == STRING
    input.Qs.dateRestrict == STRING
    input.Qs.enableAlternateSearchHandler == BOOLEAN
    input.Qs.exactTerms == STRING
    input.Qs.excludeTerms == STRING
    input.Qs.fileType == STRING
    input.Qs.filter == STRING
    input.Qs.gl == STRING
    input.Qs.googlehost == STRING
    input.Qs.highRange == STRING
    input.Qs.hl == STRING
    input.Qs.hq == STRING
    input.Qs.imgColorType == enum_ImgColorTypeParameter[_]
    input.Qs.imgDominantColor == enum_ImgDominantColorParameter[_]
    input.Qs.imgSize == enum_ImgSizeParameter[_]
    input.Qs.imgType == enum_ImgTypeParameter[_]
    input.Qs.linkSite == STRING
    input.Qs.lowRange == STRING
    input.Qs.lr == STRING
    input.Qs.num == INTEGER
    input.Qs.orTerms == STRING
    input.Qs.q == STRING
    input.Qs.relatedSite == STRING
    input.Qs.rights == STRING
    input.Qs.safe == enum_SafeParameter[_]
    input.Qs.searchType == enum_SearchTypeParameter[_]
    input.Qs.siteSearch == STRING
    input.Qs.siteSearchFilter == enum_SiteSearchFilterParameter[_]
    input.Qs.snippetLength == INTEGER
    input.Qs.sort == STRING
    input.Qs.start == INTEGER
    input.ProviderMetadata.Region == STRING
}