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.AccessLevels.Create

Contents

Description

Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has 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.create.

Synopsis

REST Resource

type AccessPoliciesAccessLevelsCreateResource = "v1beta" :> (Capture "parent" Text :> ("accessLevels" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccessLevel :> Post '[JSON] Operation))))))))) Source #

A resource alias for accesscontextmanager.accessPolicies.accessLevels.create method which the AccessPoliciesAccessLevelsCreate request conforms to.

Creating a Request

accessPoliciesAccessLevelsCreate Source #

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

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

data AccessPoliciesAccessLevelsCreate Source #

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

See: accessPoliciesAccessLevelsCreate smart constructor.

Instances
Eq AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

Data AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: AccessPoliciesAccessLevelsCreate -> Constr #

dataTypeOf :: AccessPoliciesAccessLevelsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

Generic AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

Associated Types

type Rep AccessPoliciesAccessLevelsCreate :: Type -> Type #

GoogleRequest AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

type Rep AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

type Rep AccessPoliciesAccessLevelsCreate = D1 (MetaData "AccessPoliciesAccessLevelsCreate" "Network.Google.Resource.AccessContextManager.AccessPolicies.AccessLevels.Create" "gogol-accesscontextmanager-0.4.0-34HzU3tNZ3QCokPfddM6sJ" False) (C1 (MetaCons "AccessPoliciesAccessLevelsCreate'" PrefixI True) ((S1 (MetaSel (Just "_apalcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_apalcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_apalcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_apalcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apalcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apalcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AccessLevel) :*: S1 (MetaSel (Just "_apalcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AccessPoliciesAccessLevelsCreate Source # 
Instance details

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

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

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

Request Lenses

apalcParent :: Lens' AccessPoliciesAccessLevelsCreate Text Source #

Required. Resource name for the access policy which owns this Access Level. Format: `accessPolicies/{policy_id}`

apalcUploadProtocol :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text) Source #

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

apalcUploadType :: Lens' AccessPoliciesAccessLevelsCreate (Maybe Text) Source #

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