gogol-admin-directory-0.4.0: Google Admin Directory SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Directory.Customers.Get

Contents

Description

Retrieves a customer.

See: Admin Directory API Reference for directory.customers.get.

Synopsis

REST Resource

type CustomersGetResource = "admin" :> ("directory" :> ("v1" :> ("customers" :> (Capture "customerKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Customer))))) Source #

A resource alias for directory.customers.get method which the CustomersGet request conforms to.

Creating a Request

customersGet Source #

Creates a value of CustomersGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CustomersGet Source #

Retrieves a customer.

See: customersGet smart constructor.

Instances
Eq CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

Data CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomersGet -> c CustomersGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomersGet #

toConstr :: CustomersGet -> Constr #

dataTypeOf :: CustomersGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CustomersGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomersGet) #

gmapT :: (forall b. Data b => b -> b) -> CustomersGet -> CustomersGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomersGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomersGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomersGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomersGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomersGet -> m CustomersGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomersGet -> m CustomersGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomersGet -> m CustomersGet #

Show CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

Generic CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

Associated Types

type Rep CustomersGet :: Type -> Type #

GoogleRequest CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

Associated Types

type Rs CustomersGet :: Type #

type Scopes CustomersGet :: [Symbol] #

type Rep CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

type Rep CustomersGet = D1 (MetaData "CustomersGet" "Network.Google.Resource.Directory.Customers.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" True) (C1 (MetaCons "CustomersGet'" PrefixI True) (S1 (MetaSel (Just "_cgCustomerKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

type Scopes CustomersGet = "https://www.googleapis.com/auth/admin.directory.customer" ': ("https://www.googleapis.com/auth/admin.directory.customer.readonly" ': ([] :: [Symbol]))
type Rs CustomersGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.Customers.Get

Request Lenses

cgCustomerKey :: Lens' CustomersGet Text Source #

Id of the customer to be retrieved