| 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.Patch
Description
Update schema. This method supports patch semantics.
See: Admin Directory API Reference for directory.schemas.patch.
- 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)))))))) #
A resource alias for directory.schemas.patch method which the
SchemasPatch request conforms to.
Creating a Request
Arguments
| :: Schema | |
| -> Text | |
| -> Text | |
| -> SchemasPatch |
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 #
Update schema. This method supports patch semantics.
See: schemasPatch smart constructor.
Instances
| Eq SchemasPatch # | |
| Data SchemasPatch # | |
| Show SchemasPatch # | |
| Generic SchemasPatch # | |
| GoogleRequest SchemasPatch # | |
| type Rep SchemasPatch # | |
| type Scopes SchemasPatch # | |
| type Rs SchemasPatch # | |
Request Lenses
spPayload :: Lens' SchemasPatch Schema #
Multipart request metadata.
spCustomerId :: Lens' SchemasPatch Text #
Immutable id of the Google Apps account
spSchemaKey :: Lens' SchemasPatch Text #
Name or immutable Id of the schema.