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 |
Update schema
See: Admin Directory API Reference for directory.schemas.update
.
Synopsis
- 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)))))))) Source #
A resource alias for directory.schemas.update
method which the
SchemasUpdate
request conforms to.
Creating a Request
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:
data SchemasUpdate Source #
Update schema
See: schemasUpdate
smart constructor.
Instances
Request Lenses
suCustomerId :: Lens' SchemasUpdate Text Source #
Immutable ID of the G Suite account
suSchemaKey :: Lens' SchemasUpdate Text Source #
Name or immutable ID of the schema.