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

Contents

Description

Inserts a building.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.buildings.insert method which the ResourcesBuildingsInsert request conforms to.

Creating a Request

resourcesBuildingsInsert Source #

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

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

data ResourcesBuildingsInsert Source #

Inserts a building.

See: resourcesBuildingsInsert smart constructor.

Instances
Eq ResourcesBuildingsInsert Source # 
Instance details

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

Data ResourcesBuildingsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesBuildingsInsert -> Constr #

dataTypeOf :: ResourcesBuildingsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesBuildingsInsert Source # 
Instance details

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

Generic ResourcesBuildingsInsert Source # 
Instance details

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

Associated Types

type Rep ResourcesBuildingsInsert :: Type -> Type #

GoogleRequest ResourcesBuildingsInsert Source # 
Instance details

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

type Rep ResourcesBuildingsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

rbiCustomer :: Lens' ResourcesBuildingsInsert 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.