gogol-classroom-0.5.0: Google Classroom 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.Classroom.UserProFiles.Get

Contents

Description

Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.

See: Google Classroom API Reference for classroom.userProfiles.get.

Synopsis

REST Resource

type UserProFilesGetResource = "v1" :> ("userProfiles" :> (Capture "userId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UserProFile)))))))) Source #

A resource alias for classroom.userProfiles.get method which the UserProFilesGet request conforms to.

Creating a Request

userProFilesGet Source #

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

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

data UserProFilesGet Source #

Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.

See: userProFilesGet smart constructor.

Instances
Eq UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

Data UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

Methods

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

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

toConstr :: UserProFilesGet -> Constr #

dataTypeOf :: UserProFilesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

Generic UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

Associated Types

type Rep UserProFilesGet :: Type -> Type #

GoogleRequest UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

Associated Types

type Rs UserProFilesGet :: Type #

type Scopes UserProFilesGet :: [Symbol] #

type Rep UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

type Rep UserProFilesGet = D1 (MetaData "UserProFilesGet" "Network.Google.Resource.Classroom.UserProFiles.Get" "gogol-classroom-0.5.0-Dil3ZfW4IuD9vJQ6Q2970g" False) (C1 (MetaCons "UserProFilesGet'" PrefixI True) ((S1 (MetaSel (Just "_upfgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_upfgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upfgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_upfgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_upfgUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_upfgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

type Scopes UserProFilesGet = "https://www.googleapis.com/auth/classroom.profile.emails" ': ("https://www.googleapis.com/auth/classroom.profile.photos" ': ("https://www.googleapis.com/auth/classroom.rosters" ': ("https://www.googleapis.com/auth/classroom.rosters.readonly" ': ([] :: [Symbol]))))
type Rs UserProFilesGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.UserProFiles.Get

Request Lenses

upfgUploadProtocol :: Lens' UserProFilesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

upfgUploadType :: Lens' UserProFilesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

upfgUserId :: Lens' UserProFilesGet Text Source #

Identifier of the profile to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user