{-# 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.Mirror.Locations.List
(
LocationsListResource
, locationsList
, LocationsList
) where
import Network.Google.Mirror.Types
import Network.Google.Prelude
type LocationsListResource =
"mirror" :>
"v1" :>
"locations" :>
QueryParam "alt" AltJSON :>
Get '[JSON] LocationsListResponse
data LocationsList =
LocationsList'
deriving (Eq,Show,Data,Typeable,Generic)
locationsList
:: LocationsList
locationsList = LocationsList'
instance GoogleRequest LocationsList where
type Rs LocationsList = LocationsListResponse
type Scopes LocationsList =
'["https://www.googleapis.com/auth/glass.location",
"https://www.googleapis.com/auth/glass.timeline"]
requestClient LocationsList'{}
= go (Just AltJSON) mirrorService
where go
= buildClient (Proxy :: Proxy LocationsListResource)
mempty