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.Insert

Contents

Description

Create schema.

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

Synopsis

REST Resource

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

A resource alias for directory.schemas.insert method which the SchemasInsert request conforms to.

Creating a Request

schemasInsert Source #

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

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

data SchemasInsert Source #

Create schema.

See: schemasInsert smart constructor.

Instances
Eq SchemasInsert Source # 
Instance details

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

Data SchemasInsert Source # 
Instance details

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

Methods

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

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

toConstr :: SchemasInsert -> Constr #

dataTypeOf :: SchemasInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SchemasInsert Source # 
Instance details

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

Generic SchemasInsert Source # 
Instance details

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

Associated Types

type Rep SchemasInsert :: Type -> Type #

GoogleRequest SchemasInsert Source # 
Instance details

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

Associated Types

type Rs SchemasInsert :: Type #

type Scopes SchemasInsert :: [Symbol] #

type Rep SchemasInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

siPayload :: Lens' SchemasInsert Schema Source #

Multipart request metadata.

siCustomerId :: Lens' SchemasInsert Text Source #

Immutable ID of the G Suite account