gogol-accesscontextmanager-0.5.0: Google Access Context Manager 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.AccessContextManager.AccessPolicies.AccessLevels.Patch

Contents

Description

Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.

See: Access Context Manager API Reference for accesscontextmanager.accessPolicies.accessLevels.patch.

Synopsis

REST Resource

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

A resource alias for accesscontextmanager.accessPolicies.accessLevels.patch method which the AccessPoliciesAccessLevelsPatch request conforms to.

Creating a Request

data AccessPoliciesAccessLevelsPatch Source #

Update an Access Level. The longrunning operation from this RPC will have a successful status once the changes to the Access Level have propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered.

See: accessPoliciesAccessLevelsPatch smart constructor.

Instances
Eq AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

Data AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

Methods

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

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

toConstr :: AccessPoliciesAccessLevelsPatch -> Constr #

dataTypeOf :: AccessPoliciesAccessLevelsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

Generic AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

Associated Types

type Rep AccessPoliciesAccessLevelsPatch :: Type -> Type #

GoogleRequest AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

type Rep AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

type Rep AccessPoliciesAccessLevelsPatch = D1 (MetaData "AccessPoliciesAccessLevelsPatch" "Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch" "gogol-accesscontextmanager-0.5.0-A24113tgsOJExVOXdF2cQn" False) (C1 (MetaCons "AccessPoliciesAccessLevelsPatch'" PrefixI True) (((S1 (MetaSel (Just "_apalpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_apalpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apalpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_apalpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_apalpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apalpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AccessLevel)) :*: (S1 (MetaSel (Just "_apalpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_apalpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

type Scopes AccessPoliciesAccessLevelsPatch = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs AccessPoliciesAccessLevelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Patch

Request Lenses

apalpUploadProtocol :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text) Source #

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

apalpUpdateMask :: Lens' AccessPoliciesAccessLevelsPatch (Maybe GFieldMask) Source #

Required. Mask to control which fields get updated. Must be non-empty.

apalpUploadType :: Lens' AccessPoliciesAccessLevelsPatch (Maybe Text) Source #

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

apalpName :: Lens' AccessPoliciesAccessLevelsPatch Text Source #

Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`