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

Contents

Description

Update schema. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for directory.schemas.patch method which the SchemasPatch request conforms to.

Creating a Request

schemasPatch Source #

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

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

data SchemasPatch Source #

Update schema. This method supports patch semantics.

See: schemasPatch smart constructor.

Instances
Eq SchemasPatch Source # 
Instance details

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

Data SchemasPatch Source # 
Instance details

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

Methods

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

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

toConstr :: SchemasPatch -> Constr #

dataTypeOf :: SchemasPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SchemasPatch Source # 
Instance details

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

Generic SchemasPatch Source # 
Instance details

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

Associated Types

type Rep SchemasPatch :: Type -> Type #

GoogleRequest SchemasPatch Source # 
Instance details

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

Associated Types

type Rs SchemasPatch :: Type #

type Scopes SchemasPatch :: [Symbol] #

type Rep SchemasPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

spPayload :: Lens' SchemasPatch Schema Source #

Multipart request metadata.

spCustomerId :: Lens' SchemasPatch Text Source #

Immutable ID of the G Suite account

spSchemaKey :: Lens' SchemasPatch Text Source #

Name or immutable ID of the schema.