| 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.Customers.Patch
Description
Updates a customer. This method supports patch semantics.
See: Admin Directory API Reference for directory.customers.patch.
Synopsis
- type CustomersPatchResource = "admin" :> ("directory" :> ("v1" :> ("customers" :> (Capture "customerKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer))))))
- customersPatch :: Text -> Customer -> CustomersPatch
- data CustomersPatch
- cpCustomerKey :: Lens' CustomersPatch Text
- cpPayload :: Lens' CustomersPatch Customer
REST Resource
type CustomersPatchResource = "admin" :> ("directory" :> ("v1" :> ("customers" :> (Capture "customerKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer)))))) Source #
A resource alias for directory.customers.patch method which the
CustomersPatch request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Customer | |
| -> CustomersPatch |
Creates a value of CustomersPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersPatch Source #
Updates a customer. This method supports patch semantics.
See: customersPatch smart constructor.
Instances
Request Lenses
cpCustomerKey :: Lens' CustomersPatch Text Source #
Id of the customer to be updated