gogol-androiddeviceprovisioning-0.4.0: Google Android Device Provisioning Partner SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

Contents

Description

Updates reseller metadata associated with the device.

See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.metadata.

Synopsis

REST Resource

type PartnersDevicesMetadataResource = "v1" :> ("partners" :> (Capture "metadataOwnerId" (Textual Int64) :> ("devices" :> (Capture "deviceId" (Textual Int64) :> ("metadata" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateDeviceMetadataRequest :> Post '[JSON] DeviceMetadata)))))))))))) Source #

A resource alias for androiddeviceprovisioning.partners.devices.metadata method which the PartnersDevicesMetadata request conforms to.

Creating a Request

data PartnersDevicesMetadata Source #

Updates reseller metadata associated with the device.

See: partnersDevicesMetadata smart constructor.

Instances
Eq PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

Data PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartnersDevicesMetadata -> c PartnersDevicesMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartnersDevicesMetadata #

toConstr :: PartnersDevicesMetadata -> Constr #

dataTypeOf :: PartnersDevicesMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartnersDevicesMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartnersDevicesMetadata) #

gmapT :: (forall b. Data b => b -> b) -> PartnersDevicesMetadata -> PartnersDevicesMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartnersDevicesMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartnersDevicesMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartnersDevicesMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartnersDevicesMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartnersDevicesMetadata -> m PartnersDevicesMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartnersDevicesMetadata -> m PartnersDevicesMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartnersDevicesMetadata -> m PartnersDevicesMetadata #

Show PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

Generic PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

Associated Types

type Rep PartnersDevicesMetadata :: Type -> Type #

GoogleRequest PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

type Rep PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

type Rep PartnersDevicesMetadata = D1 (MetaData "PartnersDevicesMetadata" "Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "PartnersDevicesMetadata'" PrefixI True) (((S1 (MetaSel (Just "_pdmXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pdmUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pdmAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdmUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdmPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateDeviceMetadataRequest) :*: S1 (MetaSel (Just "_pdmDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) :*: (S1 (MetaSel (Just "_pdmCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdmMetadataOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

type Rs PartnersDevicesMetadata Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Metadata

Request Lenses

pdmUploadProtocol :: Lens' PartnersDevicesMetadata (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pdmUploadType :: Lens' PartnersDevicesMetadata (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pdmDeviceId :: Lens' PartnersDevicesMetadata Int64 Source #

Required. The ID of the device.

pdmMetadataOwnerId :: Lens' PartnersDevicesMetadata Int64 Source #

Required. The owner of the newly set metadata. Set this to the partner ID.