gogol-androidmanagement-0.4.0: Google Android Management 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.AndroidManagement.Enterprises.Policies.Patch

Contents

Description

Updates or creates a policy.

See: Android Management API Reference for androidmanagement.enterprises.policies.patch.

Synopsis

REST Resource

type EnterprisesPoliciesPatchResource = "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] Policy :> Patch '[JSON] Policy))))))))) Source #

A resource alias for androidmanagement.enterprises.policies.patch method which the EnterprisesPoliciesPatch request conforms to.

Creating a Request

enterprisesPoliciesPatch Source #

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

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

data EnterprisesPoliciesPatch Source #

Updates or creates a policy.

See: enterprisesPoliciesPatch smart constructor.

Instances
Eq EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

Data EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

Methods

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

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

toConstr :: EnterprisesPoliciesPatch -> Constr #

dataTypeOf :: EnterprisesPoliciesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

Generic EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

Associated Types

type Rep EnterprisesPoliciesPatch :: Type -> Type #

GoogleRequest EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

type Rep EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

type Rep EnterprisesPoliciesPatch = D1 (MetaData "EnterprisesPoliciesPatch" "Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesPoliciesPatch'" PrefixI True) (((S1 (MetaSel (Just "_eppXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_eppUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eppUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_eppAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_eppUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Policy)) :*: (S1 (MetaSel (Just "_eppName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eppCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

type Scopes EnterprisesPoliciesPatch = "https://www.googleapis.com/auth/androidmanagement" ': ([] :: [Symbol])
type Rs EnterprisesPoliciesPatch Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.Patch

Request Lenses

eppUploadProtocol :: Lens' EnterprisesPoliciesPatch (Maybe Text) Source #

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

eppUpdateMask :: Lens' EnterprisesPoliciesPatch (Maybe GFieldMask) Source #

The field mask indicating the fields to update. If not set, all modifiable fields will be modified.

eppUploadType :: Lens' EnterprisesPoliciesPatch (Maybe Text) Source #

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

eppPayload :: Lens' EnterprisesPoliciesPatch Policy Source #

Multipart request metadata.

eppName :: Lens' EnterprisesPoliciesPatch Text Source #

The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.