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

Contents

Description

Retrieves a list of buildings for an account.

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

Synopsis

REST Resource

type ResourcesBuildingsListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("buildings" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Buildings))))))))) Source #

A resource alias for directory.resources.buildings.list method which the ResourcesBuildingsList request conforms to.

Creating a Request

resourcesBuildingsList Source #

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

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

data ResourcesBuildingsList Source #

Retrieves a list of buildings for an account.

See: resourcesBuildingsList smart constructor.

Instances
Eq ResourcesBuildingsList Source # 
Instance details

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

Data ResourcesBuildingsList Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesBuildingsList -> Constr #

dataTypeOf :: ResourcesBuildingsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesBuildingsList Source # 
Instance details

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

Generic ResourcesBuildingsList Source # 
Instance details

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

Associated Types

type Rep ResourcesBuildingsList :: Type -> Type #

GoogleRequest ResourcesBuildingsList Source # 
Instance details

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

type Rep ResourcesBuildingsList Source # 
Instance details

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

type Rep ResourcesBuildingsList = D1 (MetaData "ResourcesBuildingsList" "Network.Google.Resource.Directory.Resources.Buildings.List" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ResourcesBuildingsList'" PrefixI True) (S1 (MetaSel (Just "_rblCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rblPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rblMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes ResourcesBuildingsList Source # 
Instance details

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

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

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

Request Lenses

rblCustomer :: Lens' ResourcesBuildingsList 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.

rblPageToken :: Lens' ResourcesBuildingsList (Maybe Text) Source #

Token to specify the next page in the list.

rblMaxResults :: Lens' ResourcesBuildingsList (Maybe Int32) Source #

Maximum number of results to return.