Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Directory.Schemas.Get
Description
Retrieve schema
See: Admin Directory API Reference for directory.schemas.get
.
Synopsis
- type SchemasGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Schema)))))))
- schemasGet :: Text -> Text -> SchemasGet
- data SchemasGet
- sgCustomerId :: Lens' SchemasGet Text
- sgSchemaKey :: Lens' SchemasGet Text
REST Resource
type SchemasGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Schema))))))) Source #
A resource alias for directory.schemas.get
method which the
SchemasGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> SchemasGet |
Creates a value of SchemasGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SchemasGet Source #
Retrieve schema
See: schemasGet
smart constructor.
Instances
Eq SchemasGet Source # | |
Data SchemasGet Source # | |
Defined in Network.Google.Resource.Directory.Schemas.Get Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SchemasGet -> c SchemasGet # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SchemasGet # toConstr :: SchemasGet -> Constr # dataTypeOf :: SchemasGet -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SchemasGet) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SchemasGet) # gmapT :: (forall b. Data b => b -> b) -> SchemasGet -> SchemasGet # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SchemasGet -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SchemasGet -> r # gmapQ :: (forall d. Data d => d -> u) -> SchemasGet -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SchemasGet -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SchemasGet -> m SchemasGet # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SchemasGet -> m SchemasGet # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SchemasGet -> m SchemasGet # | |
Show SchemasGet Source # | |
Defined in Network.Google.Resource.Directory.Schemas.Get Methods showsPrec :: Int -> SchemasGet -> ShowS # show :: SchemasGet -> String # showList :: [SchemasGet] -> ShowS # | |
Generic SchemasGet Source # | |
Defined in Network.Google.Resource.Directory.Schemas.Get Associated Types type Rep SchemasGet :: Type -> Type # | |
GoogleRequest SchemasGet Source # | |
Defined in Network.Google.Resource.Directory.Schemas.Get Methods requestClient :: SchemasGet -> GClient (Rs SchemasGet) # | |
type Rep SchemasGet Source # | |
Defined in Network.Google.Resource.Directory.Schemas.Get type Rep SchemasGet = D1 (MetaData "SchemasGet" "Network.Google.Resource.Directory.Schemas.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "SchemasGet'" PrefixI True) (S1 (MetaSel (Just "_sgCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgSchemaKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) | |
type Scopes SchemasGet Source # | |
Defined in Network.Google.Resource.Directory.Schemas.Get type Scopes SchemasGet = "https://www.googleapis.com/auth/admin.directory.userschema" ': ("https://www.googleapis.com/auth/admin.directory.userschema.readonly" ': ([] :: [Symbol])) | |
type Rs SchemasGet Source # | |
Request Lenses
sgCustomerId :: Lens' SchemasGet Text Source #
Immutable ID of the G Suite account
sgSchemaKey :: Lens' SchemasGet Text Source #
Name or immutable ID of the schema