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 |
Removes a configuration from device.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.devices.removeConfiguration
.
Synopsis
- type CustomersDevicesRemoveConfigurationResource = "v1" :> (Capture "parent" Text :> ("devices:removeConfiguration" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomerRemoveConfigurationRequest :> Post '[JSON] Empty)))))))))
- customersDevicesRemoveConfiguration :: Text -> CustomerRemoveConfigurationRequest -> CustomersDevicesRemoveConfiguration
- data CustomersDevicesRemoveConfiguration
- cdrcParent :: Lens' CustomersDevicesRemoveConfiguration Text
- cdrcXgafv :: Lens' CustomersDevicesRemoveConfiguration (Maybe Xgafv)
- cdrcUploadProtocol :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text)
- cdrcAccessToken :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text)
- cdrcUploadType :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text)
- cdrcPayload :: Lens' CustomersDevicesRemoveConfiguration CustomerRemoveConfigurationRequest
- cdrcCallback :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text)
REST Resource
type CustomersDevicesRemoveConfigurationResource = "v1" :> (Capture "parent" Text :> ("devices:removeConfiguration" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomerRemoveConfigurationRequest :> Post '[JSON] Empty))))))))) Source #
A resource alias for androiddeviceprovisioning.customers.devices.removeConfiguration
method which the
CustomersDevicesRemoveConfiguration
request conforms to.
Creating a Request
customersDevicesRemoveConfiguration Source #
Creates a value of CustomersDevicesRemoveConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomersDevicesRemoveConfiguration Source #
Removes a configuration from device.
See: customersDevicesRemoveConfiguration
smart constructor.
Instances
Request Lenses
cdrcParent :: Lens' CustomersDevicesRemoveConfiguration Text Source #
Required. The customer managing the device in the format `customers/[CUSTOMER_ID]`.
cdrcUploadProtocol :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cdrcAccessToken :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text) Source #
OAuth access token.
cdrcUploadType :: Lens' CustomersDevicesRemoveConfiguration (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cdrcPayload :: Lens' CustomersDevicesRemoveConfiguration CustomerRemoveConfigurationRequest Source #
Multipart request metadata.