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.Patch

Contents

Description

Updates a configuration's field values.

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

Synopsis

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
Eq CustomersConfigurationsPatch Source # 
Instance details

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

Data CustomersConfigurationsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: CustomersConfigurationsPatch -> Constr #

dataTypeOf :: CustomersConfigurationsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersConfigurationsPatch Source # 
Instance details

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

Generic CustomersConfigurationsPatch Source # 
Instance details

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

Associated Types

type Rep CustomersConfigurationsPatch :: Type -> Type #

GoogleRequest CustomersConfigurationsPatch Source # 
Instance details

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

type Rep CustomersConfigurationsPatch Source # 
Instance details

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

type Rep CustomersConfigurationsPatch = D1 (MetaData "CustomersConfigurationsPatch" "Network.Google.Resource.AndroidDeviceProvisioning.Customers.Configurations.Patch" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "CustomersConfigurationsPatch'" PrefixI True) (((S1 (MetaSel (Just "_ccpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ccpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ccpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_ccpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ccpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Configuration)) :*: (S1 (MetaSel (Just "_ccpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes CustomersConfigurationsPatch Source # 
Instance details

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

type Rs CustomersConfigurationsPatch Source # 
Instance details

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

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.

ccpUploadType :: Lens' CustomersConfigurationsPatch (Maybe Text) Source #

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

ccpName :: Lens' CustomersConfigurationsPatch Text Source #

Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.