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 the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read Long‑running batch operations.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.updateMetadataAsync
.
Synopsis
- type PartnersDevicesUpdateMetadataAsyncResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:updateMetadataAsync" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateDeviceMetadataInBatchRequest :> Post '[JSON] Operation))))))))))
- partnersDevicesUpdateMetadataAsync :: Int64 -> UpdateDeviceMetadataInBatchRequest -> PartnersDevicesUpdateMetadataAsync
- data PartnersDevicesUpdateMetadataAsync
- pdumaXgafv :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Xgafv)
- pdumaUploadProtocol :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text)
- pdumaAccessToken :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text)
- pdumaPartnerId :: Lens' PartnersDevicesUpdateMetadataAsync Int64
- pdumaUploadType :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text)
- pdumaPayload :: Lens' PartnersDevicesUpdateMetadataAsync UpdateDeviceMetadataInBatchRequest
- pdumaCallback :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text)
REST Resource
type PartnersDevicesUpdateMetadataAsyncResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:updateMetadataAsync" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateDeviceMetadataInBatchRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for androiddeviceprovisioning.partners.devices.updateMetadataAsync
method which the
PartnersDevicesUpdateMetadataAsync
request conforms to.
Creating a Request
partnersDevicesUpdateMetadataAsync Source #
Creates a value of PartnersDevicesUpdateMetadataAsync
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PartnersDevicesUpdateMetadataAsync Source #
Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read Long‑running batch operations.
See: partnersDevicesUpdateMetadataAsync
smart constructor.
Instances
Request Lenses
pdumaXgafv :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Xgafv) Source #
V1 error format.
pdumaUploadProtocol :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdumaAccessToken :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text) Source #
OAuth access token.
pdumaPartnerId :: Lens' PartnersDevicesUpdateMetadataAsync Int64 Source #
Required. The reseller partner ID.
pdumaUploadType :: Lens' PartnersDevicesUpdateMetadataAsync (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdumaPayload :: Lens' PartnersDevicesUpdateMetadataAsync UpdateDeviceMetadataInBatchRequest Source #
Multipart request metadata.