Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a firewall rule for the application.
See: App Engine Admin API Reference for appengine.apps.firewall.ingressRules.create
.
Synopsis
- 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)))))))))))
- appsFirewallIngressRulesCreate :: FirewallRule -> Text -> AppsFirewallIngressRulesCreate
- data AppsFirewallIngressRulesCreate
- afircXgafv :: Lens' AppsFirewallIngressRulesCreate (Maybe Xgafv)
- afircUploadProtocol :: Lens' AppsFirewallIngressRulesCreate (Maybe Text)
- afircAccessToken :: Lens' AppsFirewallIngressRulesCreate (Maybe Text)
- afircUploadType :: Lens' AppsFirewallIngressRulesCreate (Maybe Text)
- afircPayload :: Lens' AppsFirewallIngressRulesCreate FirewallRule
- afircAppsId :: Lens' AppsFirewallIngressRulesCreate Text
- afircCallback :: Lens' AppsFirewallIngressRulesCreate (Maybe Text)
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
Request Lenses
afircXgafv :: Lens' AppsFirewallIngressRulesCreate (Maybe Xgafv) Source #
V1 error format.
afircUploadProtocol :: Lens' AppsFirewallIngressRulesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
afircAccessToken :: Lens' AppsFirewallIngressRulesCreate (Maybe Text) Source #
OAuth access token.
afircUploadType :: Lens' AppsFirewallIngressRulesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
afircPayload :: Lens' AppsFirewallIngressRulesCreate FirewallRule Source #
Multipart request metadata.
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.
afircCallback :: Lens' AppsFirewallIngressRulesCreate (Maybe Text) Source #
JSONP