gogol-appengine-0.4.0: Google App Engine Admin 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.AppEngine.Apps.Firewall.IngressRules.Create

Contents

Description

Creates a firewall rule for the application.

See: App Engine Admin API Reference for appengine.apps.firewall.ingressRules.create.

Synopsis

REST Resource

type AppsFirewallIngressRulesCreateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("firewall" :> ("ingressRules" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FirewallRule :> Post '[JSON] FirewallRule))))))))))) Source #

A resource alias for appengine.apps.firewall.ingressRules.create method which the AppsFirewallIngressRulesCreate request conforms to.

Creating a Request

appsFirewallIngressRulesCreate Source #

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

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

data AppsFirewallIngressRulesCreate Source #

Creates a firewall rule for the application.

See: appsFirewallIngressRulesCreate smart constructor.

Instances
Eq AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

Data AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

Methods

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

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

toConstr :: AppsFirewallIngressRulesCreate -> Constr #

dataTypeOf :: AppsFirewallIngressRulesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

Generic AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

Associated Types

type Rep AppsFirewallIngressRulesCreate :: Type -> Type #

GoogleRequest AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

type Rep AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

type Rep AppsFirewallIngressRulesCreate = D1 (MetaData "AppsFirewallIngressRulesCreate" "Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create" "gogol-appengine-0.4.0-48gH8mpUkemKe8XR9UYlzr" False) (C1 (MetaCons "AppsFirewallIngressRulesCreate'" PrefixI True) ((S1 (MetaSel (Just "_afircXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_afircUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_afircAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_afircUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_afircPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FirewallRule)) :*: (S1 (MetaSel (Just "_afircAppsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_afircCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AppsFirewallIngressRulesCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

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

Defined in Network.Google.Resource.AppEngine.Apps.Firewall.IngressRules.Create

Request Lenses

afircUploadProtocol :: Lens' AppsFirewallIngressRulesCreate (Maybe Text) Source #

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

afircUploadType :: Lens' AppsFirewallIngressRulesCreate (Maybe Text) Source #

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

afircAppsId :: Lens' AppsFirewallIngressRulesCreate Text Source #

Part of `parent`. Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.