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.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 "orderBy" Text :> (QueryParam "query" Text :> (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 # 
Instance details

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

Data ResourcesCalendarsList Source # 
Instance details

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

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 # 
Instance details

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

Generic ResourcesCalendarsList Source # 
Instance details

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

Associated Types

type Rep ResourcesCalendarsList :: Type -> Type #

GoogleRequest ResourcesCalendarsList Source # 
Instance details

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

type Rep ResourcesCalendarsList Source # 
Instance details

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

type Rep ResourcesCalendarsList = D1 (MetaData "ResourcesCalendarsList" "Network.Google.Resource.Directory.Resources.Calendars.List" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ResourcesCalendarsList'" PrefixI True) ((S1 (MetaSel (Just "_rclOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rclCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rclQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rclMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes ResourcesCalendarsList Source # 
Instance details

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

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

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

Request Lenses

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

Field(s) to sort results by in either ascending or descending order. Supported fields include resourceId, resourceName, capacity, buildingId, and floorName. If no order is specified, defaults to ascending. Should be of the form "field [asc|desc], field [asc|desc], ...". For example buildingId, capacity desc would return results sorted first by buildingId in ascending order then by capacity in descending order.

rclCustomer :: Lens' ResourcesCalendarsList 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.

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

String query used to filter results. Should be of the form "field operator value" where field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match and ':' for prefix match or HAS match where applicable. For prefix match, the value should always be followed by a *. Supported fields include generatedResourceName, name, buildingId, featureInstances.feature.name. For example buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone.

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.