{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.IdentityToolkit.RelyingParty.GetRecaptchaParam
(
RelyingPartyGetRecaptchaParamResource
, relyingPartyGetRecaptchaParam
, RelyingPartyGetRecaptchaParam
) where
import Network.Google.IdentityToolkit.Types
import Network.Google.Prelude
type RelyingPartyGetRecaptchaParamResource =
"identitytoolkit" :>
"v3" :>
"relyingparty" :>
"getRecaptchaParam" :>
QueryParam "alt" AltJSON :>
Get '[JSON] GetRecaptchaParamResponse
data RelyingPartyGetRecaptchaParam =
RelyingPartyGetRecaptchaParam'
deriving (Eq,Show,Data,Typeable,Generic)
relyingPartyGetRecaptchaParam
:: RelyingPartyGetRecaptchaParam
relyingPartyGetRecaptchaParam = RelyingPartyGetRecaptchaParam'
instance GoogleRequest RelyingPartyGetRecaptchaParam
where
type Rs RelyingPartyGetRecaptchaParam =
GetRecaptchaParamResponse
type Scopes RelyingPartyGetRecaptchaParam =
'["https://www.googleapis.com/auth/cloud-platform"]
requestClient RelyingPartyGetRecaptchaParam'{}
= go (Just AltJSON) identityToolkitService
where go
= buildClient
(Proxy ::
Proxy RelyingPartyGetRecaptchaParamResource)
mempty