sig
  module CseResource :
    sig
      module SiteSearchFilter :
        sig
          type t = Default | E | I
          val to_string :
            GapiCustomsearchV1Service.CseResource.SiteSearchFilter.t ->
            string
          val of_string :
            string ->
            GapiCustomsearchV1Service.CseResource.SiteSearchFilter.t
        end
      module SearchType :
        sig
          type t = Default | Image
          val to_string :
            GapiCustomsearchV1Service.CseResource.SearchType.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.SearchType.t
        end
      module Safe :
        sig
          type t = Default | High | Medium | Off
          val to_string :
            GapiCustomsearchV1Service.CseResource.Safe.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.Safe.t
        end
      module Lr :
        sig
          type t =
              Default
            | Lang_ar
            | Lang_bg
            | Lang_ca
            | Lang_cs
            | Lang_da
            | Lang_de
            | Lang_el
            | Lang_en
            | Lang_es
            | Lang_et
            | Lang_fi
            | Lang_fr
            | Lang_hr
            | Lang_hu
            | Lang_id
            | Lang_is
            | Lang_it
            | Lang_iw
            | Lang_ja
            | Lang_ko
            | Lang_lt
            | Lang_lv
            | Lang_nl
            | Lang_no
            | Lang_pl
            | Lang_pt
            | Lang_ro
            | Lang_ru
            | Lang_sk
            | Lang_sl
            | Lang_sr
            | Lang_sv
            | Lang_tr
            | Lang_zh_CN
            | Lang_zh_TW
          val to_string :
            GapiCustomsearchV1Service.CseResource.Lr.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.Lr.t
        end
      module ImgType :
        sig
          type t = Default | Clipart | Face | Lineart | News | Photo
          val to_string :
            GapiCustomsearchV1Service.CseResource.ImgType.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.ImgType.t
        end
      module ImgSize :
        sig
          type t =
              Default
            | Huge
            | Icon
            | Large
            | Medium
            | Small
            | Xlarge
            | Xxlarge
          val to_string :
            GapiCustomsearchV1Service.CseResource.ImgSize.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.ImgSize.t
        end
      module ImgDominantColor :
        sig
          type t =
              Default
            | Black
            | Blue
            | Brown
            | Gray
            | Green
            | Pink
            | Purple
            | Teal
            | White
            | Yellow
          val to_string :
            GapiCustomsearchV1Service.CseResource.ImgDominantColor.t ->
            string
          val of_string :
            string ->
            GapiCustomsearchV1Service.CseResource.ImgDominantColor.t
        end
      module ImgColorType :
        sig
          type t = Default | Color | Gray | Mono
          val to_string :
            GapiCustomsearchV1Service.CseResource.ImgColorType.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.ImgColorType.t
        end
      module Filter :
        sig
          type t = Default | V0 | V1
          val to_string :
            GapiCustomsearchV1Service.CseResource.Filter.t -> string
          val of_string :
            string -> GapiCustomsearchV1Service.CseResource.Filter.t
        end
      val list :
        ?base_url:string ->
        ?std_params:GapiService.StandardParameters.t ->
        ?num:int ->
        ?safe:GapiCustomsearchV1Service.CseResource.Safe.t ->
        ?c2coff:string ->
        ?cr:string ->
        ?cref:string ->
        ?cx:string ->
        ?dateRestrict:string ->
        ?exactTerms:string ->
        ?excludeTerms:string ->
        ?fileType:string ->
        ?filter:GapiCustomsearchV1Service.CseResource.Filter.t ->
        ?gl:string ->
        ?googlehost:string ->
        ?highRange:string ->
        ?hl:string ->
        ?hq:string ->
        ?imgColorType:GapiCustomsearchV1Service.CseResource.ImgColorType.t ->
        ?imgDominantColor:GapiCustomsearchV1Service.CseResource.ImgDominantColor.t ->
        ?imgSize:GapiCustomsearchV1Service.CseResource.ImgSize.t ->
        ?imgType:GapiCustomsearchV1Service.CseResource.ImgType.t ->
        ?linkSite:string ->
        ?lowRange:string ->
        ?lr:GapiCustomsearchV1Service.CseResource.Lr.t ->
        ?orTerms:string ->
        ?relatedSite:string ->
        ?rights:string ->
        ?searchType:GapiCustomsearchV1Service.CseResource.SearchType.t ->
        ?siteSearch:string ->
        ?siteSearchFilter:GapiCustomsearchV1Service.CseResource.SiteSearchFilter.t ->
        ?sort:string ->
        ?start:int ->
        q:string ->
        GapiConversation.Session.t ->
        GapiCustomsearchV1Model.Search.t * GapiConversation.Session.t
    end
end