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

Contents

Description

Updates a feature. This method supports patch semantics.

See: Admin Directory API Reference for directory.resources.features.patch.

Synopsis

REST Resource

type ResourcesFeaturesPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("features" :> (Capture "featureKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Feature :> Patch '[JSON] Feature))))))))) Source #

A resource alias for directory.resources.features.patch method which the ResourcesFeaturesPatch request conforms to.

Creating a Request

resourcesFeaturesPatch Source #

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

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

data ResourcesFeaturesPatch Source #

Updates a feature. This method supports patch semantics.

See: resourcesFeaturesPatch smart constructor.

Instances
Eq ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

Data ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

Methods

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

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

toConstr :: ResourcesFeaturesPatch -> Constr #

dataTypeOf :: ResourcesFeaturesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

Generic ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

Associated Types

type Rep ResourcesFeaturesPatch :: Type -> Type #

GoogleRequest ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

type Rep ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

type Rep ResourcesFeaturesPatch = D1 (MetaData "ResourcesFeaturesPatch" "Network.Google.Resource.Directory.Resources.Features.Patch" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ResourcesFeaturesPatch'" PrefixI True) (S1 (MetaSel (Just "_rfpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Feature) :*: (S1 (MetaSel (Just "_rfpCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rfpFeatureKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ResourcesFeaturesPatch Source # 
Instance details

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

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

Defined in Network.Google.Resource.Directory.Resources.Features.Patch

Request Lenses

rfpPayload :: Lens' ResourcesFeaturesPatch Feature Source #

Multipart request metadata.

rfpCustomer :: Lens' ResourcesFeaturesPatch Text Source #

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

rfpFeatureKey :: Lens' ResourcesFeaturesPatch Text Source #

The unique ID of the feature to update.