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 |
Updates the specified firewall rule.
See: App Engine Admin API Reference for appengine.apps.firewall.ingressRules.patch
.
Synopsis
- type AppsFirewallIngressRulesPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("firewall" :> ("ingressRules" :> (Capture "ingressRulesId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FirewallRule :> Patch '[JSON] FirewallRule)))))))))))))
- appsFirewallIngressRulesPatch :: FirewallRule -> Text -> Text -> AppsFirewallIngressRulesPatch
- data AppsFirewallIngressRulesPatch
- afirpXgafv :: Lens' AppsFirewallIngressRulesPatch (Maybe Xgafv)
- afirpUploadProtocol :: Lens' AppsFirewallIngressRulesPatch (Maybe Text)
- afirpUpdateMask :: Lens' AppsFirewallIngressRulesPatch (Maybe GFieldMask)
- afirpAccessToken :: Lens' AppsFirewallIngressRulesPatch (Maybe Text)
- afirpUploadType :: Lens' AppsFirewallIngressRulesPatch (Maybe Text)
- afirpPayload :: Lens' AppsFirewallIngressRulesPatch FirewallRule
- afirpIngressRulesId :: Lens' AppsFirewallIngressRulesPatch Text
- afirpAppsId :: Lens' AppsFirewallIngressRulesPatch Text
- afirpCallback :: Lens' AppsFirewallIngressRulesPatch (Maybe Text)
REST Resource
type AppsFirewallIngressRulesPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("firewall" :> ("ingressRules" :> (Capture "ingressRulesId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FirewallRule :> Patch '[JSON] FirewallRule))))))))))))) Source #
A resource alias for appengine.apps.firewall.ingressRules.patch
method which the
AppsFirewallIngressRulesPatch
request conforms to.
Creating a Request
appsFirewallIngressRulesPatch Source #
Creates a value of AppsFirewallIngressRulesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsFirewallIngressRulesPatch Source #
Updates the specified firewall rule.
See: appsFirewallIngressRulesPatch
smart constructor.
Instances
Request Lenses
afirpXgafv :: Lens' AppsFirewallIngressRulesPatch (Maybe Xgafv) Source #
V1 error format.
afirpUploadProtocol :: Lens' AppsFirewallIngressRulesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
afirpUpdateMask :: Lens' AppsFirewallIngressRulesPatch (Maybe GFieldMask) Source #
Standard field mask for the set of fields to be updated.
afirpAccessToken :: Lens' AppsFirewallIngressRulesPatch (Maybe Text) Source #
OAuth access token.
afirpUploadType :: Lens' AppsFirewallIngressRulesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
afirpPayload :: Lens' AppsFirewallIngressRulesPatch FirewallRule Source #
Multipart request metadata.
afirpIngressRulesId :: Lens' AppsFirewallIngressRulesPatch Text Source #
Part of `name`. See documentation of `appsId`.
afirpAppsId :: Lens' AppsFirewallIngressRulesPatch Text Source #
Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.
afirpCallback :: Lens' AppsFirewallIngressRulesPatch (Maybe Text) Source #
JSONP