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

Contents

Description

Updates a feature.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.features.update method which the ResourcesFeaturesUpdate request conforms to.

Creating a Request

resourcesFeaturesUpdate Source #

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

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

data ResourcesFeaturesUpdate Source #

Updates a feature.

See: resourcesFeaturesUpdate smart constructor.

Instances
Eq ResourcesFeaturesUpdate Source # 
Instance details

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

Data ResourcesFeaturesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesFeaturesUpdate -> Constr #

dataTypeOf :: ResourcesFeaturesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesFeaturesUpdate Source # 
Instance details

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

Generic ResourcesFeaturesUpdate Source # 
Instance details

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

Associated Types

type Rep ResourcesFeaturesUpdate :: Type -> Type #

GoogleRequest ResourcesFeaturesUpdate Source # 
Instance details

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

type Rep ResourcesFeaturesUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

rfuPayload :: Lens' ResourcesFeaturesUpdate Feature Source #

Multipart request metadata.

rfuCustomer :: Lens' ResourcesFeaturesUpdate 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.

rfuFeatureKey :: Lens' ResourcesFeaturesUpdate Text Source #

The unique ID of the feature to update.