gogol-admin-directory-0.5.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.Get

Contents

Description

Retrieves a building.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.buildings.get method which the ResourcesBuildingsGet request conforms to.

Creating a Request

resourcesBuildingsGet Source #

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

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

data ResourcesBuildingsGet Source #

Retrieves a building.

See: resourcesBuildingsGet smart constructor.

Instances
Eq ResourcesBuildingsGet Source # 
Instance details

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

Data ResourcesBuildingsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesBuildingsGet -> Constr #

dataTypeOf :: ResourcesBuildingsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesBuildingsGet Source # 
Instance details

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

Generic ResourcesBuildingsGet Source # 
Instance details

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

Associated Types

type Rep ResourcesBuildingsGet :: Type -> Type #

GoogleRequest ResourcesBuildingsGet Source # 
Instance details

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

type Rep ResourcesBuildingsGet Source # 
Instance details

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

type Rep ResourcesBuildingsGet = D1 (MetaData "ResourcesBuildingsGet" "Network.Google.Resource.Directory.Resources.Buildings.Get" "gogol-admin-directory-0.5.0-CACG6Jlc7nkAJWZ09aW4bk" False) (C1 (MetaCons "ResourcesBuildingsGet'" PrefixI True) (S1 (MetaSel (Just "_rbgBuildingId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rbgCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ResourcesBuildingsGet Source # 
Instance details

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

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

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

Request Lenses

rbgBuildingId :: Lens' ResourcesBuildingsGet Text Source #

The unique ID of the building to retrieve.

rbgCustomer :: Lens' ResourcesBuildingsGet 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.