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

Contents

Description

Update schema

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

Synopsis

REST Resource

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

A resource alias for directory.schemas.update method which the SchemasUpdate request conforms to.

Creating a Request

schemasUpdate Source #

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

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

data SchemasUpdate Source #

Update schema

See: schemasUpdate smart constructor.

Instances
Eq SchemasUpdate Source # 
Instance details

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

Data SchemasUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: SchemasUpdate -> Constr #

dataTypeOf :: SchemasUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SchemasUpdate Source # 
Instance details

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

Generic SchemasUpdate Source # 
Instance details

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

Associated Types

type Rep SchemasUpdate :: Type -> Type #

GoogleRequest SchemasUpdate Source # 
Instance details

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

Associated Types

type Rs SchemasUpdate :: Type #

type Scopes SchemasUpdate :: [Symbol] #

type Rep SchemasUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

suPayload :: Lens' SchemasUpdate Schema Source #

Multipart request metadata.

suCustomerId :: Lens' SchemasUpdate Text Source #

Immutable ID of the G Suite account

suSchemaKey :: Lens' SchemasUpdate Text Source #

Name or immutable ID of the schema.