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

Contents

Description

Deletes a building.

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

Synopsis

REST Resource

type ResourcesBuildingsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (Capture "buildingId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #

A resource alias for directory.resources.buildings.delete method which the ResourcesBuildingsDelete request conforms to.

Creating a Request

resourcesBuildingsDelete Source #

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

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

data ResourcesBuildingsDelete Source #

Deletes a building.

See: resourcesBuildingsDelete smart constructor.

Instances
Eq ResourcesBuildingsDelete Source # 
Instance details

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

Data ResourcesBuildingsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesBuildingsDelete -> Constr #

dataTypeOf :: ResourcesBuildingsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesBuildingsDelete Source # 
Instance details

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

Generic ResourcesBuildingsDelete Source # 
Instance details

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

Associated Types

type Rep ResourcesBuildingsDelete :: Type -> Type #

GoogleRequest ResourcesBuildingsDelete Source # 
Instance details

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

type Rep ResourcesBuildingsDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

rbdBuildingId :: Lens' ResourcesBuildingsDelete Text Source #

The ID of the building to delete.

rbdCustomer :: Lens' ResourcesBuildingsDelete 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.