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. This method supports patch semantics.
See: Admin Directory API Reference for directory.schemas.patch
.
Synopsis
- type SchemasPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Schema :> Patch '[JSON] Schema))))))))
- schemasPatch :: Schema -> Text -> Text -> SchemasPatch
- data SchemasPatch
- spPayload :: Lens' SchemasPatch Schema
- spCustomerId :: Lens' SchemasPatch Text
- spSchemaKey :: Lens' SchemasPatch Text
REST Resource
type SchemasPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("schemas" :> (Capture "schemaKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Schema :> Patch '[JSON] Schema)))))))) Source #
A resource alias for directory.schemas.patch
method which the
SchemasPatch
request conforms to.
Creating a Request
Creates a value of SchemasPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SchemasPatch Source #
Update schema. This method supports patch semantics.
See: schemasPatch
smart constructor.
Instances
Request Lenses
spCustomerId :: Lens' SchemasPatch Text Source #
Immutable ID of the G Suite account
spSchemaKey :: Lens' SchemasPatch Text Source #
Name or immutable ID of the schema.