{-# 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.Directory.ResolvedAppAccessSettings.ListTrustedApps
(
ResolvedAppAccessSettingsListTrustedAppsResource
, resolvedAppAccessSettingsListTrustedApps
, ResolvedAppAccessSettingsListTrustedApps
) where
import Network.Google.Directory.Types
import Network.Google.Prelude
type ResolvedAppAccessSettingsListTrustedAppsResource
=
"admin" :>
"directory" :>
"v1" :>
"trustedapps" :>
QueryParam "alt" AltJSON :> Get '[JSON] TrustedApps
data ResolvedAppAccessSettingsListTrustedApps =
ResolvedAppAccessSettingsListTrustedApps'
deriving (Eq, Show, Data, Typeable, Generic)
resolvedAppAccessSettingsListTrustedApps
:: ResolvedAppAccessSettingsListTrustedApps
resolvedAppAccessSettingsListTrustedApps =
ResolvedAppAccessSettingsListTrustedApps'
instance GoogleRequest
ResolvedAppAccessSettingsListTrustedApps
where
type Rs ResolvedAppAccessSettingsListTrustedApps =
TrustedApps
type Scopes ResolvedAppAccessSettingsListTrustedApps
= '[]
requestClient
ResolvedAppAccessSettingsListTrustedApps'{}
= go (Just AltJSON) directoryService
where go
= buildClient
(Proxy ::
Proxy
ResolvedAppAccessSettingsListTrustedAppsResource)
mempty