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

Contents

Description

Inserts a feature.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.features.insert method which the ResourcesFeaturesInsert request conforms to.

Creating a Request

resourcesFeaturesInsert Source #

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

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

data ResourcesFeaturesInsert Source #

Inserts a feature.

See: resourcesFeaturesInsert smart constructor.

Instances
Eq ResourcesFeaturesInsert Source # 
Instance details

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

Data ResourcesFeaturesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesFeaturesInsert -> Constr #

dataTypeOf :: ResourcesFeaturesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesFeaturesInsert Source # 
Instance details

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

Generic ResourcesFeaturesInsert Source # 
Instance details

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

Associated Types

type Rep ResourcesFeaturesInsert :: Type -> Type #

GoogleRequest ResourcesFeaturesInsert Source # 
Instance details

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

type Rep ResourcesFeaturesInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

rfiPayload :: Lens' ResourcesFeaturesInsert Feature Source #

Multipart request metadata.

rfiCustomer :: Lens' ResourcesFeaturesInsert 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.