class AppsFirewallIngressRules extends Resource (View source)

The "ingressRules" collection of methods.

Typical usage is:

 $appengineService = new Google\Service\Appengine(...);
 $ingressRules = $appengineService->apps_firewall_ingressRules;

Methods

batchUpdate(string $appsId, BatchUpdateIngressRulesRequest $postBody, array $optParams = [])

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.

create(string $appsId, FirewallRule $postBody, array $optParams = [])

Creates a firewall rule for the application. (ingressRules.create)

delete(string $appsId, string $ingressRulesId, array $optParams = [])

Deletes the specified firewall rule. (ingressRules.delete)

get(string $appsId, string $ingressRulesId, array $optParams = [])

Gets the specified firewall rule. (ingressRules.get)

listAppsFirewallIngressRules(string $appsId, array $optParams = [])

Lists the firewall rules of an application.

patch(string $appsId, string $ingressRulesId, FirewallRule $postBody, array $optParams = [])

Updates the specified firewall rule. (ingressRules.patch)

Details

BatchUpdateIngressRulesResponse batchUpdate(string $appsId, BatchUpdateIngressRulesRequest $postBody, array $optParams = [])

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.

(ingressRules.batchUpdate)

Parameters

string $appsId

Part of name. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.

BatchUpdateIngressRulesRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchUpdateIngressRulesResponse

Exceptions

Exception

FirewallRule create(string $appsId, FirewallRule $postBody, array $optParams = [])

Creates a firewall rule for the application. (ingressRules.create)

Parameters

string $appsId

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

FirewallRule $postBody
array $optParams

Optional parameters.

Return Value

FirewallRule

Exceptions

Exception

AppengineEmpty delete(string $appsId, string $ingressRulesId, array $optParams = [])

Deletes the specified firewall rule. (ingressRules.delete)

Parameters

string $appsId

Part of name. Name of the Firewall resource to delete. Example: apps/myapp/firewall/ingressRules/100.

string $ingressRulesId

Part of name. See documentation of appsId.

array $optParams

Optional parameters.

Return Value

AppengineEmpty

Exceptions

Exception

FirewallRule get(string $appsId, string $ingressRulesId, array $optParams = [])

Gets the specified firewall rule. (ingressRules.get)

Parameters

string $appsId

Part of name. Name of the Firewall resource to retrieve. Example: apps/myapp/firewall/ingressRules/100.

string $ingressRulesId

Part of name. See documentation of appsId.

array $optParams

Optional parameters.

Return Value

FirewallRule

Exceptions

Exception

ListIngressRulesResponse listAppsFirewallIngressRules(string $appsId, array $optParams = [])

Lists the firewall rules of an application.

(ingressRules.listAppsFirewallIngressRules)

Parameters

string $appsId

Part of parent. Name of the Firewall collection to retrieve. Example: apps/myapp/firewall/ingressRules.

array $optParams

Optional parameters.

Return Value

ListIngressRulesResponse

Exceptions

Exception

FirewallRule patch(string $appsId, string $ingressRulesId, FirewallRule $postBody, array $optParams = [])

Updates the specified firewall rule. (ingressRules.patch)

Parameters

string $appsId

Part of name. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.

string $ingressRulesId

Part of name. See documentation of appsId.

FirewallRule $postBody
array $optParams

Optional parameters.

Return Value

FirewallRule

Exceptions

Exception