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.Customers.Configurations.Create

Contents

Description

Creates a new configuration. Once created, a customer can apply the configuration to devices.

See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.customers.configurations.create.

Synopsis

REST Resource

type CustomersConfigurationsCreateResource = "v1" :> (Capture "parent" Text :> ("configurations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Configuration :> Post '[JSON] Configuration))))))))) Source #

A resource alias for androiddeviceprovisioning.customers.configurations.create method which the CustomersConfigurationsCreate request conforms to.

Creating a Request

customersConfigurationsCreate Source #

Creates a value of CustomersConfigurationsCreate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CustomersConfigurationsCreate Source #

Creates a new configuration. Once created, a customer can apply the configuration to devices.

See: customersConfigurationsCreate smart constructor.

Instances
Eq CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

Data CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

Methods

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

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

toConstr :: CustomersConfigurationsCreate -> Constr #

dataTypeOf :: CustomersConfigurationsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

Generic CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

Associated Types

type Rep CustomersConfigurationsCreate :: Type -> Type #

GoogleRequest CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

type Rep CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

type Rep CustomersConfigurationsCreate = D1 (MetaData "CustomersConfigurationsCreate" "Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "CustomersConfigurationsCreate'" PrefixI True) ((S1 (MetaSel (Just "_cccParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_cccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Configuration) :*: S1 (MetaSel (Just "_cccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

type Rs CustomersConfigurationsCreate Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Create

Request Lenses

cccParent :: Lens' CustomersConfigurationsCreate Text Source #

Required. The customer that manages the configuration. An API resource name in the format `customers/[CUSTOMER_ID]`.

cccUploadProtocol :: Lens' CustomersConfigurationsCreate (Maybe Text) Source #

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

cccUploadType :: Lens' CustomersConfigurationsCreate (Maybe Text) Source #

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