| 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.Reseller.Customers.Patch
Description
Update a customer account's settings. This method supports patch semantics.
See: Enterprise Apps Reseller API Reference for reseller.customers.patch.
Synopsis
- type CustomersPatchResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer))))))
- customersPatch :: Customer -> Text -> CustomersPatch
- data CustomersPatch
- cpPayload :: Lens' CustomersPatch Customer
- cpCustomerId :: Lens' CustomersPatch Text
REST Resource
type CustomersPatchResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer)))))) Source #
A resource alias for reseller.customers.patch method which the
CustomersPatch request conforms to.
Creating a Request
Arguments
| :: Customer | |
| -> Text | |
| -> 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 #
Update a customer account's settings. This method supports patch semantics.
See: customersPatch smart constructor.
Instances
Request Lenses
cpCustomerId :: Lens' CustomersPatch Text Source #
Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates.