gogol-admin-directory-0.2.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.Calendars.List

Contents

Description

Retrieves a list of calendar resources for an account.

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

Synopsis

REST Resource

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

A resource alias for directory.resources.calendars.list method which the ResourcesCalendarsList request conforms to.

Creating a Request

resourcesCalendarsList Source #

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

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

data ResourcesCalendarsList Source #

Retrieves a list of calendar resources for an account.

See: resourcesCalendarsList smart constructor.

Instances

Eq ResourcesCalendarsList Source # 
Data ResourcesCalendarsList Source # 

Methods

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

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

toConstr :: ResourcesCalendarsList -> Constr #

dataTypeOf :: ResourcesCalendarsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesCalendarsList Source # 
Generic ResourcesCalendarsList Source # 
GoogleRequest ResourcesCalendarsList Source # 
type Rep ResourcesCalendarsList Source # 
type Rep ResourcesCalendarsList = D1 (MetaData "ResourcesCalendarsList" "Network.Google.Resource.Directory.Resources.Calendars.List" "gogol-admin-directory-0.2.0-LtLu3aZ0zIMLZgbWZuob8D" False) (C1 (MetaCons "ResourcesCalendarsList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rclCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_rclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rclMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes ResourcesCalendarsList Source # 
type Scopes ResourcesCalendarsList = (:) Symbol "https://www.googleapis.com/auth/admin.directory.resource.calendar" ((:) Symbol "https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly" ([] Symbol))
type Rs ResourcesCalendarsList Source # 

Request Lenses

rclCustomer :: Lens' ResourcesCalendarsList Text Source #

The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

rclPageToken :: Lens' ResourcesCalendarsList (Maybe Text) Source #

Token to specify the next page in the list.

rclMaxResults :: Lens' ResourcesCalendarsList (Maybe Int32) Source #

Maximum number of results to return.