Class FirewallConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::appengine::v1::ListIngressRulesRequest
Returns
TypeDescription
StreamRange< google::appengine::v1::FirewallRule >

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

Parameter
NameDescription
request google::appengine::v1::BatchUpdateIngressRulesRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::BatchUpdateIngressRulesResponse >

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

Parameter
NameDescription
request google::appengine::v1::CreateIngressRuleRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::FirewallRule >

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

Parameter
NameDescription
request google::appengine::v1::GetIngressRuleRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::FirewallRule >

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

Parameter
NameDescription
request google::appengine::v1::UpdateIngressRuleRequest const &
Returns
TypeDescription
StatusOr< google::appengine::v1::FirewallRule >

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

Parameter
NameDescription
request google::appengine::v1::DeleteIngressRuleRequest const &
Returns
TypeDescription
Status