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

Contents

Description

Updates a building. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.buildings.patch method which the ResourcesBuildingsPatch request conforms to.

Creating a Request

resourcesBuildingsPatch Source #

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

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

data ResourcesBuildingsPatch Source #

Updates a building. This method supports patch semantics.

See: resourcesBuildingsPatch smart constructor.

Instances
Eq ResourcesBuildingsPatch Source # 
Instance details

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

Data ResourcesBuildingsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesBuildingsPatch -> Constr #

dataTypeOf :: ResourcesBuildingsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesBuildingsPatch Source # 
Instance details

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

Generic ResourcesBuildingsPatch Source # 
Instance details

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

Associated Types

type Rep ResourcesBuildingsPatch :: Type -> Type #

GoogleRequest ResourcesBuildingsPatch Source # 
Instance details

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

type Rep ResourcesBuildingsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

rbpBuildingId :: Lens' ResourcesBuildingsPatch Text Source #

The ID of the building to update.

rbpCustomer :: Lens' ResourcesBuildingsPatch 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.