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.Schemas.Get

Contents

Description

Retrieve schema

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

Synopsis

REST Resource

type SchemasGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Schema))))))) Source #

A resource alias for directory.schemas.get method which the SchemasGet request conforms to.

Creating a Request

schemasGet Source #

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

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

data SchemasGet Source #

Retrieve schema

See: schemasGet smart constructor.

Instances
Eq SchemasGet Source # 
Instance details

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

Data SchemasGet Source # 
Instance details

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

Methods

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

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

toConstr :: SchemasGet -> Constr #

dataTypeOf :: SchemasGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SchemasGet Source # 
Instance details

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

Generic SchemasGet Source # 
Instance details

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

Associated Types

type Rep SchemasGet :: Type -> Type #

GoogleRequest SchemasGet Source # 
Instance details

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

Associated Types

type Rs SchemasGet :: Type #

type Scopes SchemasGet :: [Symbol] #

type Rep SchemasGet Source # 
Instance details

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

type Rep SchemasGet = D1 (MetaData "SchemasGet" "Network.Google.Resource.Directory.Schemas.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "SchemasGet'" PrefixI True) (S1 (MetaSel (Just "_sgCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgSchemaKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes SchemasGet Source # 
Instance details

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

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

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

Request Lenses

sgCustomerId :: Lens' SchemasGet Text Source #

Immutable ID of the G Suite account

sgSchemaKey :: Lens' SchemasGet Text Source #

Name or immutable ID of the schema