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.Update
Description
Update schema
See: Admin Directory API Reference for directory.schemas.update
.
- type SchemasUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Schema :> Put '[JSON] Schema))))))))
- schemasUpdate :: Schema -> Text -> Text -> SchemasUpdate
- data SchemasUpdate
- suPayload :: Lens' SchemasUpdate Schema
- suCustomerId :: Lens' SchemasUpdate Text
- suSchemaKey :: Lens' SchemasUpdate Text
REST Resource
type SchemasUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Schema :> Put '[JSON] Schema)))))))) #
A resource alias for directory.schemas.update
method which the
SchemasUpdate
request conforms to.
Creating a Request
Arguments
:: Schema | |
-> Text | |
-> Text | |
-> SchemasUpdate |
Creates a value of SchemasUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
suPayload :: Lens' SchemasUpdate Schema #
Multipart request metadata.
suCustomerId :: Lens' SchemasUpdate Text #
Immutable id of the Google Apps account
suSchemaKey :: Lens' SchemasUpdate Text #
Name or immutable Id of the schema.