Class FirewallConnection (2.32.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in FirewallClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type FirewallClient.

To create a concrete instance, see MakeFirewallConnection().

For mocking, see appengine_v1_mocks::MockFirewallConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListIngressRules(google::appengine::v1::ListIngressRulesRequest)

Parameter
Name Description
request google::appengine::v1::ListIngressRulesRequest
Returns
Type Description
StreamRange< google::appengine::v1::FirewallRule >

virtual BatchUpdateIngressRules(google::appengine::v1::BatchUpdateIngressRulesRequest const &)

Parameter
Name Description
request google::appengine::v1::BatchUpdateIngressRulesRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::BatchUpdateIngressRulesResponse >

virtual CreateIngressRule(google::appengine::v1::CreateIngressRuleRequest const &)

Parameter
Name Description
request google::appengine::v1::CreateIngressRuleRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::FirewallRule >

virtual GetIngressRule(google::appengine::v1::GetIngressRuleRequest const &)

Parameter
Name Description
request google::appengine::v1::GetIngressRuleRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::FirewallRule >

virtual UpdateIngressRule(google::appengine::v1::UpdateIngressRuleRequest const &)

Parameter
Name Description
request google::appengine::v1::UpdateIngressRuleRequest const &
Returns
Type Description
StatusOr< google::appengine::v1::FirewallRule >

virtual DeleteIngressRule(google::appengine::v1::DeleteIngressRuleRequest const &)

Parameter
Name Description
request google::appengine::v1::DeleteIngressRuleRequest const &
Returns
Type Description
Status