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

Contents

Description

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

See: Access Context Manager API Reference for accesscontextmanager.accessPolicies.servicePerimeters.create.

Synopsis

REST Resource

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

A resource alias for accesscontextmanager.accessPolicies.servicePerimeters.create method which the AccessPoliciesServicePerimetersCreate request conforms to.

Creating a Request

data AccessPoliciesServicePerimetersCreate Source #

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

See: accessPoliciesServicePerimetersCreate smart constructor.

Instances
Eq AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

Data AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

Methods

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

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

toConstr :: AccessPoliciesServicePerimetersCreate -> Constr #

dataTypeOf :: AccessPoliciesServicePerimetersCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

Generic AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

GoogleRequest AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

type Rep AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

type Rep AccessPoliciesServicePerimetersCreate = D1 (MetaData "AccessPoliciesServicePerimetersCreate" "Network.Google.Resource.AccessContextManager.AccessPolicies.ServicePerimeters.Create" "gogol-accesscontextmanager-0.4.0-34HzU3tNZ3QCokPfddM6sJ" False) (C1 (MetaCons "AccessPoliciesServicePerimetersCreate'" PrefixI True) ((S1 (MetaSel (Just "_apspcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_apspcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_apspcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_apspcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apspcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apspcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServicePerimeter) :*: S1 (MetaSel (Just "_apspcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AccessPoliciesServicePerimetersCreate Source # 
Instance details

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

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

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

Request Lenses

apspcParent :: Lens' AccessPoliciesServicePerimetersCreate Text Source #

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

apspcUploadProtocol :: Lens' AccessPoliciesServicePerimetersCreate (Maybe Text) Source #

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

apspcUploadType :: Lens' AccessPoliciesServicePerimetersCreate (Maybe Text) Source #

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