gogol-accesscontextmanager-0.4.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.Patch

Contents

Description

Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto.

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

Synopsis

REST Resource

type AccessPoliciesPatchResource = "v1beta" :> (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] AccessPolicy :> Patch '[JSON] Operation))))))))) Source #

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

Creating a Request

accessPoliciesPatch Source #

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

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

data AccessPoliciesPatch Source #

Update an AccessPolicy. The longrunning Operation from this RPC will have a successful status once the changes to the AccessPolicy have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto.

See: accessPoliciesPatch smart constructor.

Instances
Eq AccessPoliciesPatch Source # 
Instance details

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

Data AccessPoliciesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: AccessPoliciesPatch -> Constr #

dataTypeOf :: AccessPoliciesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccessPoliciesPatch Source # 
Instance details

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

Generic AccessPoliciesPatch Source # 
Instance details

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

Associated Types

type Rep AccessPoliciesPatch :: Type -> Type #

GoogleRequest AccessPoliciesPatch Source # 
Instance details

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

Associated Types

type Rs AccessPoliciesPatch :: Type #

type Scopes AccessPoliciesPatch :: [Symbol] #

type Rep AccessPoliciesPatch Source # 
Instance details

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

type Rep AccessPoliciesPatch = D1 (MetaData "AccessPoliciesPatch" "Network.Google.Resource.AccessContextManager.AccessPolicies.Patch" "gogol-accesscontextmanager-0.4.0-34HzU3tNZ3QCokPfddM6sJ" False) (C1 (MetaCons "AccessPoliciesPatch'" PrefixI True) (((S1 (MetaSel (Just "_appXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_appUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_appUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_appAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_appUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_appPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AccessPolicy)) :*: (S1 (MetaSel (Just "_appName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_appCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AccessPoliciesPatch Source # 
Instance details

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

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

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

Request Lenses

appUploadProtocol :: Lens' AccessPoliciesPatch (Maybe Text) Source #

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

appUpdateMask :: Lens' AccessPoliciesPatch (Maybe GFieldMask) Source #

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

appUploadType :: Lens' AccessPoliciesPatch (Maybe Text) Source #

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

appName :: Lens' AccessPoliciesPatch Text Source #

Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}`