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

Contents

Description

Updates a building.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.buildings.update method which the ResourcesBuildingsUpdate request conforms to.

Creating a Request

resourcesBuildingsUpdate Source #

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

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

data ResourcesBuildingsUpdate Source #

Updates a building.

See: resourcesBuildingsUpdate smart constructor.

Instances
Eq ResourcesBuildingsUpdate Source # 
Instance details

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

Data ResourcesBuildingsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesBuildingsUpdate -> Constr #

dataTypeOf :: ResourcesBuildingsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesBuildingsUpdate Source # 
Instance details

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

Generic ResourcesBuildingsUpdate Source # 
Instance details

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

Associated Types

type Rep ResourcesBuildingsUpdate :: Type -> Type #

GoogleRequest ResourcesBuildingsUpdate Source # 
Instance details

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

type Rep ResourcesBuildingsUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

rbuBuildingId :: Lens' ResourcesBuildingsUpdate Text Source #

The ID of the building to update.

rbuCustomer :: Lens' ResourcesBuildingsUpdate 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.