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

Contents

Description

Retrieves a calendar resource.

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

Synopsis

REST Resource

type ResourcesCalendarsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (Capture "calendarResourceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CalendarResource)))))))) Source #

A resource alias for directory.resources.calendars.get method which the ResourcesCalendarsGet request conforms to.

Creating a Request

resourcesCalendarsGet Source #

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

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

data ResourcesCalendarsGet Source #

Retrieves a calendar resource.

See: resourcesCalendarsGet smart constructor.

Instances
Eq ResourcesCalendarsGet Source # 
Instance details

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

Data ResourcesCalendarsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ResourcesCalendarsGet -> Constr #

dataTypeOf :: ResourcesCalendarsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResourcesCalendarsGet Source # 
Instance details

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

Generic ResourcesCalendarsGet Source # 
Instance details

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

Associated Types

type Rep ResourcesCalendarsGet :: Type -> Type #

GoogleRequest ResourcesCalendarsGet Source # 
Instance details

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

type Rep ResourcesCalendarsGet Source # 
Instance details

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

type Rep ResourcesCalendarsGet = D1 (MetaData "ResourcesCalendarsGet" "Network.Google.Resource.Directory.Resources.Calendars.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ResourcesCalendarsGet'" PrefixI True) (S1 (MetaSel (Just "_rcgCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rcgCalendarResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ResourcesCalendarsGet Source # 
Instance details

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

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

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

Request Lenses

rcgCustomer :: Lens' ResourcesCalendarsGet 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.

rcgCalendarResourceId :: Lens' ResourcesCalendarsGet Text Source #

The unique ID of the calendar resource to retrieve.