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 |
Updates a configuration's field values.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.configurations.patch
.
Synopsis
- type CustomersConfigurationsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Configuration :> Patch '[JSON] Configuration)))))))))
- customersConfigurationsPatch :: Configuration -> Text -> CustomersConfigurationsPatch
- data CustomersConfigurationsPatch
- ccpXgafv :: Lens' CustomersConfigurationsPatch (Maybe Xgafv)
- ccpUploadProtocol :: Lens' CustomersConfigurationsPatch (Maybe Text)
- ccpUpdateMask :: Lens' CustomersConfigurationsPatch (Maybe GFieldMask)
- ccpAccessToken :: Lens' CustomersConfigurationsPatch (Maybe Text)
- ccpUploadType :: Lens' CustomersConfigurationsPatch (Maybe Text)
- ccpPayload :: Lens' CustomersConfigurationsPatch Configuration
- ccpName :: Lens' CustomersConfigurationsPatch Text
- ccpCallback :: Lens' CustomersConfigurationsPatch (Maybe Text)
REST Resource
type CustomersConfigurationsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Configuration :> Patch '[JSON] Configuration))))))))) Source #
A resource alias for androiddeviceprovisioning.customers.configurations.patch
method which the
CustomersConfigurationsPatch
request conforms to.
Creating a Request
customersConfigurationsPatch Source #
Creates a value of CustomersConfigurationsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersConfigurationsPatch Source #
Updates a configuration's field values.
See: customersConfigurationsPatch
smart constructor.
Instances
Request Lenses
ccpUploadProtocol :: Lens' CustomersConfigurationsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ccpUpdateMask :: Lens' CustomersConfigurationsPatch (Maybe GFieldMask) Source #
Required. The field mask applied to the target `Configuration` before updating the fields. To learn more about using field masks, read FieldMask in the Protocol Buffers documentation.
ccpAccessToken :: Lens' CustomersConfigurationsPatch (Maybe Text) Source #
OAuth access token.
ccpUploadType :: Lens' CustomersConfigurationsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ccpPayload :: Lens' CustomersConfigurationsPatch Configuration Source #
Multipart request metadata.
ccpName :: Lens' CustomersConfigurationsPatch Text Source #
Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
ccpCallback :: Lens' CustomersConfigurationsPatch (Maybe Text) Source #
JSONP