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.Members.HasMember

Contents

Description

Checks whether the given user is a member of the group. Membership can be direct or nested.

See: Admin Directory API Reference for directory.members.hasMember.

Synopsis

REST Resource

type MembersHasMemberResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("hasMember" :> (Capture "memberKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] MembersHasMember))))))) Source #

A resource alias for directory.members.hasMember method which the MembersHasMember' request conforms to.

Creating a Request

membersHasMember' Source #

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

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

data MembersHasMember' Source #

Checks whether the given user is a member of the group. Membership can be direct or nested.

See: membersHasMember' smart constructor.

Instances
Eq MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

Data MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

Methods

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

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

toConstr :: MembersHasMember' -> Constr #

dataTypeOf :: MembersHasMember' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

Generic MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

Associated Types

type Rep MembersHasMember' :: Type -> Type #

GoogleRequest MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

Associated Types

type Rs MembersHasMember' :: Type #

type Scopes MembersHasMember' :: [Symbol] #

type Rep MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

type Rep MembersHasMember' = D1 (MetaData "MembersHasMember'" "Network.Google.Resource.Directory.Members.HasMember" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "MembersHasMember''" PrefixI True) (S1 (MetaSel (Just "_mhmMemberKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhmGroupKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes MembersHasMember' Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.HasMember

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

Defined in Network.Google.Resource.Directory.Members.HasMember

Request Lenses

mhmMemberKey :: Lens' MembersHasMember' Text Source #

Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID.

mhmGroupKey :: Lens' MembersHasMember' Text Source #

Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.