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 |
Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.If the final rule does not match traffic with the '*' wildcard IP range, then an "allow all" rule is explicitly added to the end of the list.
See: App Engine Admin API Reference for appengine.apps.firewall.ingressRules.batchUpdate
.
Synopsis
- type AppsFirewallIngressRulesBatchUpdateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("firewall" :> ("ingressRules:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchUpdateIngressRulesRequest :> Post '[JSON] BatchUpdateIngressRulesResponse)))))))))))
- appsFirewallIngressRulesBatchUpdate :: BatchUpdateIngressRulesRequest -> Text -> AppsFirewallIngressRulesBatchUpdate
- data AppsFirewallIngressRulesBatchUpdate
- afirbuXgafv :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Xgafv)
- afirbuUploadProtocol :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text)
- afirbuAccessToken :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text)
- afirbuUploadType :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text)
- afirbuPayload :: Lens' AppsFirewallIngressRulesBatchUpdate BatchUpdateIngressRulesRequest
- afirbuAppsId :: Lens' AppsFirewallIngressRulesBatchUpdate Text
- afirbuCallback :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text)
REST Resource
type AppsFirewallIngressRulesBatchUpdateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("firewall" :> ("ingressRules:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchUpdateIngressRulesRequest :> Post '[JSON] BatchUpdateIngressRulesResponse))))))))))) Source #
A resource alias for appengine.apps.firewall.ingressRules.batchUpdate
method which the
AppsFirewallIngressRulesBatchUpdate
request conforms to.
Creating a Request
appsFirewallIngressRulesBatchUpdate Source #
Creates a value of AppsFirewallIngressRulesBatchUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsFirewallIngressRulesBatchUpdate Source #
Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.If the final rule does not match traffic with the '*' wildcard IP range, then an "allow all" rule is explicitly added to the end of the list.
See: appsFirewallIngressRulesBatchUpdate
smart constructor.
Instances
Request Lenses
afirbuXgafv :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Xgafv) Source #
V1 error format.
afirbuUploadProtocol :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
afirbuAccessToken :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text) Source #
OAuth access token.
afirbuUploadType :: Lens' AppsFirewallIngressRulesBatchUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
afirbuPayload :: Lens' AppsFirewallIngressRulesBatchUpdate BatchUpdateIngressRulesRequest Source #
Multipart request metadata.
afirbuAppsId :: Lens' AppsFirewallIngressRulesBatchUpdate Text Source #
Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.