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

Contents

Description

Inserts a calendar resource.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.calendars.insert method which the ResourcesCalendarsInsert request conforms to.

Creating a Request

resourcesCalendarsInsert Source #

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

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

data ResourcesCalendarsInsert Source #

Inserts a calendar resource.

See: resourcesCalendarsInsert smart constructor.

Instances
Eq ResourcesCalendarsInsert Source # 
Instance details

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

Data ResourcesCalendarsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesCalendarsInsert -> Constr #

dataTypeOf :: ResourcesCalendarsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesCalendarsInsert Source # 
Instance details

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

Generic ResourcesCalendarsInsert Source # 
Instance details

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

Associated Types

type Rep ResourcesCalendarsInsert :: Type -> Type #

GoogleRequest ResourcesCalendarsInsert Source # 
Instance details

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

type Rep ResourcesCalendarsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

rciCustomer :: Lens' ResourcesCalendarsInsert 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.