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.Users.Photos.Delete

Contents

Description

Remove photos for the user

See: Admin Directory API Reference for directory.users.photos.delete.

Synopsis

REST Resource

type UsersPhotosDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("photos" :> ("thumbnail" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #

A resource alias for directory.users.photos.delete method which the UsersPhotosDelete request conforms to.

Creating a Request

usersPhotosDelete Source #

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

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

data UsersPhotosDelete Source #

Remove photos for the user

See: usersPhotosDelete smart constructor.

Instances
Eq UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

Data UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

Methods

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

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

toConstr :: UsersPhotosDelete -> Constr #

dataTypeOf :: UsersPhotosDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

Generic UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

Associated Types

type Rep UsersPhotosDelete :: Type -> Type #

GoogleRequest UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

Associated Types

type Rs UsersPhotosDelete :: Type #

type Scopes UsersPhotosDelete :: [Symbol] #

type Rep UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

type Rep UsersPhotosDelete = D1 (MetaData "UsersPhotosDelete" "Network.Google.Resource.Directory.Users.Photos.Delete" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" True) (C1 (MetaCons "UsersPhotosDelete'" PrefixI True) (S1 (MetaSel (Just "_updUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersPhotosDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

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

Defined in Network.Google.Resource.Directory.Users.Photos.Delete

Request Lenses

updUserKey :: Lens' UsersPhotosDelete Text Source #

Email or immutable ID of the user